[Ubuntu-x-swat] [Bug 1308105] Re: Xfce resets TV mode to NULL when power cycled
With the current git-master (xfce4-settings 8adbd2e2463f5cc46c7ed94c0acf264155476268) and NO patches the issue does not occur for me. That is, neither when powering my HDMI-connected screen off and on again nor when physically disconnecting and reconnecting it. However, I cannot even reproduce the original issue anymore. Weird! My current configuration: Xubuntu 14.04 x64 Kernel 3.13.0-45-generic Intel Core i5-4590S Intel driver 2.99.911-0intel1 Monitor attached with a HDMI-to-HDMI cable Things that indeed changed: - new, different mainboard (the old one died some weeks ago due to a power supply voltage peak) - new but identical CPU (died due to the same reason) - upgraded packages from the official Xubuntu 14.04 sources (got no related PPAs or such, so it's just regular updates) - new kernel version (probably does not matter) Btw, my machine is not a laptop, so I'm down to 0 outputs when physically disconnecting my screen (I kind of remember this being relevant in the source code). -- 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]
I'm afraid but Sean's patch, fix_for_bug11107.patch, does not fix the issue for me. I tried with both git-master (d532c0f06d4a629aebf11e8bead63617931001d2) and tag 4.11.2 (e329018189663837f2cd9c50807e4376a852cc88). My patch in turn still works with both said commits. However, since my patch only addresses the issue's symptoms but not its actual cause, Sean's patch should be further improved instead of just using mine. It's interesting to see that fix_for_bug11107.patch already fixes the problem for Raj, which makes me think that there's more to this issue than we understand thus far. Btw, I tried both enabling and disabling the Configure new displays when connected feature but that did not have any effect. I'm out of ideas right now. My configuration: Xubuntu 14.04 x64 Kernel 3.13.0-39-generic Intel Core i5-4590S Intel driver 2.99.911-0intel1 Monitor attached with a HDMI-to-HDMI cable -- 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]
Created attachment 5681 HDMI power cycling patch Created and attached a small patch that fixes the issue for me. It applies to any xfce4-settings version starting from dbd76eb58bd9d7a55de753daa5572ef24867d924 (contained in 4.11.1), up to the current origin/master. Can anybody confirm this patch fixing the issue while not introducing undesirable side effects? As I understand, it is indeed a suitable solution (cf. the implementation in 641c6c4d7dda4ac41f811c8c0f9e26738f12a732 which used a corresponding approach) but it might conceal another underlying problem: g_ptr_array_unref(GPtrArray*) is expected to have the same effect as g_ptr_array_free(GPtrArray*, TRUE) in case there is exactly one reference to the given argument. However, in the case at hand, the effects differ, which leads to the conclusion that there is more that just one reference left to the given argument, prior to calling g_ptr_array_unref. This could indicate some bug/leak -- but as I understand, calling g_ptr_array_free with free_seg=TRUE deals with that (somebody correct me if I'm wrong). -- 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