← Back to team overview

desktop-packages team mailing list archive

[Bug 1471708] Re: SRU: For skylake system, u-s-d cause a black screen when resume from S3 via Lid Close

 

Hello Tim, or anyone else affected,

Accepted unity-settings-daemon into trusty-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/unity-settings-daemon/14.04.0+14.04.20150825-0ubuntu1 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 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 to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

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

** Changed in: unity-settings-daemon (Ubuntu Trusty)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/1471708

Title:
  SRU: For skylake system, u-s-d cause a black screen when resume from
  S3 via Lid Close

Status in OEM Priority Project:
  Triaged
Status in OEM Priority Project trusty series:
  Triaged
Status in unity-settings-daemon package in Ubuntu:
  In Progress
Status in unity-settings-daemon source package in Trusty:
  Fix Committed

Bug description:
  OEM LP private bug: https://bugs.launchpad.net/bugs/1466441

  Title: Sometimes system turns a black screen when resume from S3 via
  Lid Close

  [Impact]

  Sometimes system turns a black screen when resume from S3 via Lid Close
  It only has cursor on screen but still can switch to tty1.
  Failure rate ~ 1/5

  [Test Case]
  1. install Ubuntu 14.04.2 & 3.19+ kernel and boot to OS
  2. Close the lid
  3. Open the lid
  4. check the display status

  Expected results: System should resume to the log in screen when open
  the lid

  Actual results:
  System sometimes fails to resume back to the log in screen but blackscreen instead.
  (Failure rate~ 1/5)

  [Regression Potential]
  Low. Killing touchscreen mapping after 3 seconds should not affect any other input device.

  Details:

  unity-settings-deamon will call "xinput --map-to-output 11 eDP1" at background,
  and it's being blocked so only cursor will show on screen.

  1. Switch to tty1 when this happen
  2. Login with user account on tty1.
  3. Use "DISPLAY=:0 xrandr " on commandline you'll see it's being blocked.

  Since xinput is being blocked for some unknown reason (in gdb it shows
  polling on xcb_connect_to_fd() in XOpenDisplay() ),

  a possible workaround is to set a timeout for xinput in u-s-d.

  === modified file 'plugins/xrandr/gsd-xrandr-manager.c'
  --- plugins/xrandr/gsd-xrandr-manager.c	2014-06-05 11:56:15 +0000
  +++ plugins/xrandr/gsd-xrandr-manager.c	2015-07-01 08:59:56 +0000
  @@ -2199,7 +2199,7 @@
           if (gnome_rr_output_info_is_active(output)) {
                   g_debug ("Mapping touchscreen %d onto output %s",
                            device_id, name);
  - sprintf (command, "xinput --map-to-output %d %s",
  + sprintf (command, "timeout 3s xinput --map-to-output %d %s",
                            device_id, name);
                   status = system (command);
           }

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1471708/+subscriptions


References