← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 1308105] Re: [SRU] Xfce resets TV mode to NULL when power cycled

 

Hello Mario, or anyone else affected,

Accepted xfce4-settings into xenial-proposed. The package will build now
and be available at
https://launchpad.net/ubuntu/+source/xfce4-settings/4.12.0-2ubuntu1.16.04.1
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: xfce4-settings (Ubuntu Xenial)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-xenial

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.
https://bugs.launchpad.net/bugs/1308105

Title:
  [SRU] Xfce resets TV mode to NULL when power cycled

Status in Mythbuntu:
  Confirmed
Status in xfce4-settings:
  Fix Released
Status in nvidia-graphics-drivers package in Ubuntu:
  Invalid
Status in nvidia-graphics-drivers-331 package in Ubuntu:
  Invalid
Status in xfce4-settings package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers source package in Xenial:
  Invalid
Status in nvidia-graphics-drivers-331 source package in Xenial:
  Invalid
Status in xfce4-settings source package in Xenial:
  Fix Committed
Status in nvidia-graphics-drivers source package in Bionic:
  Invalid
Status in nvidia-graphics-drivers-331 source package in Bionic:
  Invalid
Status in xfce4-settings source package in Bionic:
  Fix Released

Bug description:
  [Impact]

   * When a TV is power-cycled, it is no longer detected as an available display.
   
   * The root issue is in xfce4-settings: xfsettingsd.
   
   * The related patch correctly handles the NULL mode the TV enters when powered off.

  [Test Case]

   * Connect a TV to a computer running xfce4-settings 4.12.0, this can be in a single configuration or dual-monitor.
   
   * Power the TV off.
   
   * Power the TV on.
   
   * Expected: TV powers on and remains connected as an available display.
   
   * Actual: TV powers on and is not connected or detected.

  [Regression Potential]

   * Regression potential is minimal: The associated patch targets this
  very specific scenario and behavior, and does not interact with the
  rest of the codebase.

  [Original Report]
  I had an HTPC with Mythbuntu 12.04 installed. Upon upgrading a new behavior that if the TV is power cycled it no longer detects a link with the HTPC.

  When this happens I can find in the xorg log that there is an
  accompanying log item:

  [ 39829.509] (II) NVIDIA(0): Setting mode "NULL"

  After debugging with NVIDIA at
  https://devtalk.nvidia.com/default/topic/729955/linux/tv-stops-being-
  detected/ we've deteremined it's a X client that reacts to the RANDR
  events causing the mode to be set to NULL.

  Working through the list in an Xfce environment, the culprit is
  xfsettingsd. If xfsettingsd is running, it causes the TV to come up in
  a NULL mode. If it's killed, it remains in the mode it was previously
  running in.

  Until this is fixed, this behavior can be worked around with a simple shell script:
  ==============================
  #!/bin/sh
  #Fix TV state when HDMI link is lost.
  #By Mario Limonciello <superm1@xxxxxxxxxx>

  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
  ==============================

To manage notifications about this bug go to:
https://bugs.launchpad.net/mythbuntu/+bug/1308105/+subscriptions