I am currently stuck analyzing this issue. The following considerations
refer to commit dbd76eb58bd9d7a55de753daa5572ef24867d924.


After adding lots of debug output to displays.c, I noticed a potential issue in

static GPtrArray* xfce_displays_helper_list_outputs
(XfceDisplaysHelper*)

which contains the line of

if (output_info->connection != RR_Connected)


When powering off a screen and powering it on again, the value of 
output_info->connection is always 1 (=RR_Disconnected). Hence, the rest of the 
surrounding loop's iteration is skipped, no modes are detected, etc.

According to my current understanding (which might be completely
erroneous) of how the code works, this is wrong and it could hint to the
actual cause of the issue - which I'm still unable to identify.


Further observations:

xfce_displays_helper_list_outputs is called twice in displays.c - once
by xfce_displays_helper_init(...) and once by
xfce_displays_helper_reload(...). In the former case,
(output_info->connection != RR_Connected) is false for one of my
outputs, thus modes are getting detected, etc. In the latter, it is not.


Can anybody assess whether or not I am on the right track?

Any help debugging this would still be greatly appreciated. :)

-- 
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     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to