desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #133602
[Bug 1471708] Re: SRU: For skylake system, u-s-d cause a black screen when resume from S3 via Lid Close
This bug was fixed in the package unity-settings-daemon -
15.04.1+15.10.20150825-0ubuntu1
---------------
unity-settings-daemon (15.04.1+15.10.20150825-0ubuntu1) wily; urgency=medium
[ Alberto Milone ]
* Make touchscreen mapping non-blocking, and kill it if it takes more
than 3 seconds; finally, in case of failure, try again after a few
seconds. This helps on resume from S3 (LP: #1471708). (LP: #1471708)
-- CI Train Bot <ci-train-bot@xxxxxxxxxxxxx> Tue, 25 Aug 2015 09:09:33
+0000
** Changed in: unity-settings-daemon (Ubuntu)
Status: In Progress => Fix Released
--
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:
Fix Released
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