[Ubuntu-x-swat] [Bug 1308105] Re: Xfce resets TV mode to NULL when power cycled
Hi all, Some days ago appeared xfce 4.12, I've made an sudo apt-get update and upgrade but problem is not solved. Have I done something wrong or the problem is still not solved? Regards -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to nvidia-graphics-drivers in Ubuntu. https://bugs.launchpad.net/bugs/1308105 Title: Xfce resets TV mode to NULL when power cycled To manage notifications about this bug go to: https://bugs.launchpad.net/mythbuntu/+bug/1308105/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1308105] Re: Xfce resets TV mode to NULL when power cycled
I've spent a good amount of hours researching and making tests, unfortunately I can't make it work and I'm really desperate, so I'd really thank any help. I hope someone can lend me a hand (mainly on the procedures of patches of alexander and sean, I can't make them work). The script of first solution works (in my case replacing HDMI-0 with HDMI1), I create it in ~/fixhdmi.sh and chmod 755 it. The question here is automating the process, and in this I've not been able to, It only works running script manually from terminal (I've no try to make a shortcut, it's not valid for my needs) :( I even added a wait time before the process (since the TV takes some time in beign ready I thought it could help) and a message after with zenity: [code]#!/bin/sh #Fix TV state when HDMI link is lost. #By Mario Limonciello email address hidden sleep 10 OUTPUT=HDMI1 BAD_MODE=1280x720 GOOD_MODE=1920x1080 for MODE in $BAD_MODE $GOOD_MODE; do DISPLAY=:0 xrandr --output $OUTPUT --mode $MODE sleep 2 done zenity --info --title=HDMI --text=fixhdmi.sh has been executed [/code] I've found a few entries explaining the procedure of udev, so I've create a the file /etc/udev/rules.d/hdmi.rules with this content [code]KERNEL==card0, SUBSYSTEM==drm, ACTION==change, RUN+=/home/fkervin/fixhdmi.sh[/code] I also tryed: [code]SUBSYSTEM==drm, ACTION==change, RUN+=/home/fkervin/fixhdmi.sh[/code] I tried another ones I don't remember... The result without the udev entry is no signal message, with it I have cursor on screen over black for a seconds but then dissapear and no signal message again. It makes me think that the udev could be working on TV disconnect but not on connect (only an idea). Later when I tried the alexander's mod I had the same effect, (cursor and blank screen), I don't how it there is any relation. I've try udevadm in a power-off/power-on of the TV, having this result: [code] fkervin@fkervin:~$ sudo udevadm monitor [sudo] password for fkervin: monitor will print the received events for: UDEV - the event which udev sends out after rule processing KERNEL - the kernel uevent KERNEL[121.525065] change /devices/pci:00/:00:02.0/drm/card0 (drm) UDEV [135.590008] change /devices/pci:00/:00:02.0/drm/card0 (drm) KERNEL[142.156140] change /devices/pci:00/:00:02.0/drm/card0 (drm) UDEV [156.226634] change /devices/pci:00/:00:02.0/drm/card0 (drm) [/code] I can't figure out how to make udev rule work :( - I've try to install Xfce 4.12 packages: [code] sudo add-apt-repository ppa:xubuntu-dev/xfce-4.12 sudo apt-get update sudo apt-get upgrade [/code] It unfortunately doesn't solve the problem. -- killing xfsettingsd makes it work, but since it interfere on the icons, text and many elements, it's not appropiate. -- In the option of installing an older xfce4-settings: by adding the saucy mirrors to you sources.list, and running apt-get update apt-get install xfce4-settings/saucy or apt-get -t saucy install xfce4-settings I don't know what should I add to sources.list. -- Alexander and sean's procedures: I've try several times with no results, for example: fkervin@fkervin:~$ sudo apt-get install xfce4-dev-tools libexo-1-dev libgarcon-1-0-dev libxfce4ui-1-dev Result in pastebin: [url]http://pastebin.com/eWsYxqY7[/url] fkervin@fkervin:~$ git clone git://git.xfce.org/xfce/xfce4-settings [code]Cloning into 'xfce4-settings'... remote: Counting objects: 11824, done. remote: Compressing objects: 100% (5517/5517), done. remote: Total 11824 (delta 9542), reused 7817 (delta 6301) Receiving objects: 100% (11824/11824), 4.66 MiB | 3.55 MiB/s, done. Resolving deltas: 100% (9542/9542), done. Checking connectivity... done.[/code] fkervin@fkervin:~$ cd xfce4-settings fkervin@fkervin:~/xfce4-settings$ curl [url]https://bugzilla.xfce.org/attachment.cgi?id=5681[/url] alexander-patch.diff [code] % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 0 00 00 0 0 0 --:--:-- --:--:-- --:--:-- 0 fkervin@fkervin:~/xfce4-settings$ [/code] elhtpc@elhtpc:~/xfce4-settings$ patch -p1 alexander-patch.diff (this command returns nothing) fkervin@fkervin:~/xfce4-settings$ ./autogen.sh make sudo make install result: [url]http://pastebin.com/ig8GSefj[/url] I also tried as you suggested me, sixsixfive: ./autogen.sh --prefix=/usr make sudo checkinstall fkervin@fkervin:~/xfce4-settings$ /usr/local/bin/xfsettingsd --replace [code]fkervin@fkervin:~/xfce4-settings$ /usr/share/themes/Cratos-lion/gtk-2.0/gtkrc:269: Unable to locate image file in pixmap_path: Range/null.png /usr/share/themes/Cratos-lion/gtk-2.0/gtkrc:272: Background image options specified without filename (xfsettingsd:11819): Gtk-WARNING **: Unable to locate theme engine in module_path: clearlooks, /usr/share/themes/Cratos-lion/gtk-2.0/gtkrc:537: Unable to locate
[Ubuntu-x-swat] [Bug 1308105] Re: Xfce resets TV mode to NULL when power cycled
Hi Everyone, I'm glad to have found this thread (Many thanks to ToZ in forum.xfce.org): https://forum.xfce.org/viewtopic.php?id=9391 My problem is I read so many possible solutions that I really don't know what to do. I have an intel onboard graphics card and if I turn off TV i have blank screen when later I switch it on again (Xubuntu 14.04) What is the procedure you reccomend me to do? From last posts here it seems to be a fixed releaded, how do I install? I've make a recopilation of all the possible solutions I've read here: FIRST - Use this script when problem happends: == #!/bin/sh #Fix TV state when HDMI link is lost. #By Mario Limonciello email address hidden OUTPUT=HDMI-0 BAD_MODE=1280x720 GOOD_MODE=1920x1080 for MODE in $BAD_MODE $GOOD_MODE; do DISPLAY=:0 xrandr --output $OUTPUT --mode $MODE sleep 2 done == My question is: How can I run the script when HDMI link is lost if I've no video signal? SECOND - install gnome-settings-daemon and launch on system boot. It seems too easy to be true, hehe, Do i try? THIRD - killall xfsettingsd In my case I can leave computer on with desktop on screen, so I can't do this on any program boot. Whose are the consequences of killing this application on system boot? I've read it can causes an undesired problem, fonts are unreadable (could cause some problem with image quality) FOUR - Using DVI cable instead of HDMI I could use a DVI to HDMI cable, at last I can get sound from it, althought I'd prefer maintaining the DVI connection. FIVE - downgrade xfce-settings to the 4.11.0 package from Saucy, and locked it at that version (4.11.3 causes the problem). How can I do this? SEVEN - Create xorg.conf and add those lines: Option ConnectedMonitor DFP1 Option UseDisplayDevice DFP1 OR Option ConnectedMonitor DFP-0 Option UseDisplayDevice DFP-0 to the devices section of /etc/X11/xorg.conf. Only for nVidia cards EIGHT - Install a patched 4.11.3 (from my PPA here: https://launchpad.net/~landronimirc/+archive/ubuntu/collection , includes fix_for_bug11107.patch). The person who told this seems to not have solved with this procedure. How can I do this? I mean, How can I Install this patched version. NINE - Sean's patch, fix_for_bug11107.patch I don't know where to download it from or how to install, it seems to be explained in next option (TEN) TEN - Alexander's patch, also Sean's, explained here: For Ubuntu 14.04, this is how your you can build xfsettings with the patches: sudo apt-get install xfce4-dev-tools libexo-1-dev libgarcon-1-0-dev libxfce4ui-1-dev git clone git://git.xfce.org/xfce/xfce4-settings cd xfce4-settings curl https://bugzilla.xfce.org/attachment.cgi?id=5681 alexander-patch.diff curl https://bugzilla.xfce.org/attachment.cgi?id=5723 sean-patch.diff Choose a patch to Apply: patch -p1 patch ./autogen.sh make sudo make install /usr/local/bin/xfsettings --replace If you wanna to try other patch, first remove what's applied: patch -R -p1 applied patch After playing, remember to remove the installed xfsettings: sudo make uninstall How to test?: - if I do `/usr/bin/xfsettingsd --replace` (4.11.3), then I can easily replicate the crash - if I do `/usr/local/bin/xfsettingsd --replace` (GIT master with Sean's updated patch), the I can no longer replicate the crash Problem: Mirror display is not available. So I would really thank if someone can lend me a hand Regards and thanks in advance -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to nvidia-graphics-drivers in Ubuntu. https://bugs.launchpad.net/bugs/1308105 Title: Xfce resets TV mode to NULL when power cycled To manage notifications about this bug go to: https://bugs.launchpad.net/mythbuntu/+bug/1308105/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp