Bug 27428

Summary: xrandr events delayed until a key is pressed
Product: xorg Reporter: Nicolò Chieffo <84yelo3>
Component: Driver/intelAssignee: Chris Wilson <chris>
Status: RESOLVED NOTOURBUG QA Contact: Xorg Project Team <xorg-team>
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard: 2012BRB_Reviewed
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 44202    
Attachments:
Description Flags
dmesg
none
lspci
none
Xorg.0.log none

Description Nicolò Chieffo 2010-04-02 09:19:06 UTC
The problems I have are minor, and are highlighted by gnome-settings-daemon

Every time I open the laptop lid:
1) the first bulk of keypresses lag some seconds (no matter when I hit the
keys, it can also be 1 minute after I opened the lid) then the keyboard goes
back to normal work
2) some panel icons (apparently all applets) suddenly disappear and reappear
(like a flash). This does not always happen

Without gnome-settings-daemon running, everything is normal.

After having filed a bug to gnome-settings-daemon, developers discovered that some xrandr events are delayed until a key is pressed, and asked to file a bug to Xorg.
Comment 1 Nicolò Chieffo 2010-06-06 08:22:21 UTC
I hope that someone reads this message.

I watched the file /var/log/messages and I found this output

AFTER CLOSING THE LAPTOP LID:
un  6 17:20:14 Latitude-E6400 kernel: [ 5874.520456] Skipping EDID probe due to cached edid
Jun  6 17:20:15 Latitude-E6400 kernel: [ 5875.407947] dell-wmi: Received unknown WMI event (0x11)

AFTER OPENING THE LAPTOP LID:
Jun  6 17:20:27 Latitude-E6400 kernel: [ 5887.682786] Skipping EDID probe due to cached edid
Jun  6 17:20:27 Latitude-E6400 kernel: [ 5887.919909] dell-wmi: Received unknown WMI event (0x11)

AFTER USING THE KEYBOARD:
Jun  6 17:20:40 Latitude-E6400 kernel: [ 5900.510227] Skipping EDID probe due to cached edid
Jun  6 17:20:40 Latitude-E6400 kernel: [ 5901.330366] Skipping EDID probe due to cached edid

Can you please tell me if you think that this problem is in xrandr, or in the kernel? Thanks
Comment 2 Jeremy Huddleston Sequoia 2011-05-28 17:43:41 UTC
I don't see how this could be happening in xorg-server ... my guess is that it is kernel related.

Keith, can you comment?

Nicolo, are you still experiencing with newer kernels?  Can you attach system information:

lspci -v
dmesg
/var/log/Xorg.*.log
etc
Comment 3 Nicolò Chieffo 2011-05-29 02:37:16 UTC
Hello! The problem is that now when I close the lid my laptop suspends, and there's no more an option to disable this behavior.
Any help? (I'm running the developement version of ubuntu)
Comment 4 Nicolò Chieffo 2011-05-29 03:02:05 UTC
Hi back, I managed to remove the automatic sleep changing the dconf keys to "blank" instead of "suspend".
The bug is still present!

I'll attach the requested files
Comment 5 Nicolò Chieffo 2011-05-29 03:02:27 UTC
Created attachment 47265 [details]
dmesg
Comment 6 Nicolò Chieffo 2011-05-29 03:03:06 UTC
Created attachment 47266 [details]
lspci
Comment 7 Nicolò Chieffo 2011-05-29 03:03:32 UTC
Created attachment 47267 [details]
Xorg.0.log
Comment 8 Chris Wilson 2011-11-09 16:24:05 UTC
This just sounds like silly userspace...

However, one question I can easily google: http://askubuntu.com/questions/15520/how-can-i-tell-ubuntu-to-do-nothing-when-i-close-my-laptop-lid

And I'd be concerned about userspace crashing like that upon resume...
Comment 9 Chris Wilson 2012-04-22 14:37:44 UTC
No evidence presented here for the delayed xrandr events.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.