Bug 238961
Summary: | xrandr 1.2 is causing overlapping xinerama geometry by default which messes up gnome-screensaver | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Valent Turkovic <valent.turkovic> | ||||||||||||||||
Component: | gnome-screensaver | Assignee: | Ray Strode [halfline] <rstrode> | ||||||||||||||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||||||||||||||
Severity: | high | Docs Contact: | |||||||||||||||||
Priority: | medium | ||||||||||||||||||
Version: | rawhide | CC: | jmccann, krh, rstrode, sdl.web, wwoods | ||||||||||||||||
Target Milestone: | --- | ||||||||||||||||||
Target Release: | --- | ||||||||||||||||||
Hardware: | All | ||||||||||||||||||
OS: | Linux | ||||||||||||||||||
Whiteboard: | |||||||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||
Clone Of: | |||||||||||||||||||
: | 530309 (view as bug list) | Environment: | |||||||||||||||||
Last Closed: | 2007-05-22 01:28:34 UTC | Type: | --- | ||||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||
Embargoed: | |||||||||||||||||||
Bug Depends On: | |||||||||||||||||||
Bug Blocks: | 150226, 530309 | ||||||||||||||||||
Attachments: |
|
Description
Valent Turkovic
2007-05-04 08:01:11 UTC
can you attach your /etc/pam.d/system-auth file please? Also, the output of xdpyinfo would be useful Created attachment 154147 [details]
output of xdpyinfo
output of xdpyinfo
Created attachment 154148 [details]
system-auth file
system-auth file
and you switch to a virtual console, log in as root, and run strace -p $(/sbin/pidof gnome-screensaver) and report the results? Created attachment 154266 [details]
here is a strace log
I did
strace -p $(/sbin/pidof gnome-screensaver)
as you said with external monitor attached, but log only fills up when I move
my mouse...
If you would like to see how it looks like go to my youtube video: http://www.youtube.com/watch?v=Yc9bDbK9T_8 Looks like you are cloning the displays so it is probably this: http://bugzilla.gnome.org/show_bug.cgi?id=354663 And I didn't config anything. This xorg.conf is self-made during the bootup I guess because I at work I use external monitor and at home I don't. Here is my xorg.conf with external monitor attached: # cat /mnt/etc/X11/xorg.conf # Xorg configuration created by system-config-display Section "ServerLayout" Identifier "Multihead layout" Screen 0 "Screen0" LeftOf "Screen1" Screen 1 "Screen1" 0 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Synaptics" "CorePointer" Option "Xinerama" "off" Option "Clone" "on" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "hr" EndSection Section "InputDevice" Identifier "Synaptics" Driver "synaptics" Option "Device" "/dev/input/mice" Option "Protocol" "auto-dev" Option "Emulate3Buttons" "yes" EndSection Section "Monitor" Identifier "Monitor1" VendorName "Monitor Vendor" ModelName "LCD Panel 1280x1024" HorizSync 31.5 - 67.0 VertRefresh 50.0 - 75.0 Option "dpms" EndSection Section "Monitor" Identifier "Monitor1" VendorName "Monitor Vendor" ModelName "LCD Panel 1280x1024" HorizSync 31.5 - 67.0 VertRefresh 50.0 - 75.0 Option "dpms" EndSection Section "Device" Identifier "Videocard0" Driver "intel" EndSection Section "Device" Identifier "Videocard1" Driver "vesa" VendorName "Videocard Vendor" BoardName "Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller" BusID "PCI:0:2:1" Screen 1 EndSection Section "Screen" Identifier "Screen0" Device "Videocard0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Videocard1" Monitor "Monitor1" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x800" EndSubSection EndSection Ok, now I reverted back to the original fedora xorg.conf file and the bug is still the same! So I guess that it is not the same as the clone nVidia bug, but it has the same manifestation. Here is my present xorg.conf : # cat /etc/X11/xorg.conf # Xorg configuration created by pyxf86config Section "ServerLayout" Identifier "Default Layout" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Synaptics" "CorePointer" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "hr" EndSection Section "InputDevice" Identifier "Synaptics" Driver "synaptics" Option "Device" "/dev/input/mice" Option "Protocol" "auto-dev" Option "Emulate3Buttons" "yes" EndSection Section "Device" Identifier "Videocard0" Driver "intel" EndSection Section "Screen" Identifier "Screen0" Device "Videocard0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection If you need some more info please tell me and I'll do my best to give you quality feedback. I updated my system today with a bunch of new updates... and this bug is still present. Do you need any more help from me in order to fix this bug? Please look at the bug in this video I made: http://www.youtube.com/watch?v=Yc9bDbK9T_8 Hi Valent, Can you add *.* /var/log/debug_messages to /etc/syslog.conf and then (as root) run: /sbin/service syslog restart Then, can you bring up a terminal in your session and run pkill gnome-screensaver gnome-screensaver --no-daemon --debug >& screensaver.log lock the screen, reproduce the problem and then attach screensaver.log and /var/log/debug_messages to this report? I did all you asked. Here are the attachements. Created attachment 154735 [details]
screensaver.log
screensaver.log
Created attachment 154736 [details]
debug_messages
debug_messages
So just to be clear, in the above log you: 1) Locked your screen 2) Wiggled your mouse and no dialog appeared 3) typed your password blind and got returned to your session ? From your debug log: [gs_manager_create_window] gs-manager.c:1343 (15:44:50): Creating 2 windows for screen 0 This still seems like the xinerama bug I mentioned in comment #7. The problem seems to be that gdk reports the wrong geometry/# of monitors and we place two windows on top of one another. You can try to test this using: gtk+/tests/testxinerama http://svn.gnome.org/viewcvs/gtk%2B/trunk/tests/testxinerama.c?view=markup Hey Jon, I didn't even see comment 7. Thanks for the insight. So this is probably some xrandr 1.2 wonkiness. Valent, can you attach the output of xrandr ? replay to Ray in comment 16: 1. yes 2. yes - but only when I have external monitor attached 3. yes You can see all that in the youtube video I posted. # xrandr Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 1280 x 1280 VGA connected 1280x1024+0+0 (normal left inverted right) 376mm x 301mm 1280x1024 60.0*+ 75.0 59.9 1280x960 59.9 1152x864 75.0 74.8 1024x768 75.1 70.1 60.0 832x624 74.6 800x600 72.2 75.0 60.3 56.2 640x480 75.0 72.8 66.7 60.0 720x400 70.1 LVDS connected 1280x800+0+0 (normal left inverted right) 331mm x 207mm 1280x800 60.0*+ 60.0 1280x768 60.0 1280x720 60.0 1024x768 60.0 800x600 60.3 640x480 59.9 TV disconnected (normal left inverted right) yea, so xrandr is returning overlapping information about the heads... We could probably work around that in gnome-screensaver, but it's better to get this fixed at the source I think. Reassigning... Adding to blocker list because "can't see unlock dialog" is pretty bad. Hi Valent and Will, Would one (or both) of you guys mind trying the packages at http://koji.fedoraproject.org/koji/buildinfo?buildID=6692 ? They add a workaround that I think may cope with this bug. I don't mind, on the contrary I would love to test it but koji site is unavailable. If you mail the files I need to install I'll test them. Adding Kristian to CC list at his request. Valent, it seems to be working now. Hi Valent, About the xrandr output you posted in comment #20: is that with or without the external monitor attached? Could you attach xrandr output with and without an external monitor attached and your /var/log/Xorg.0.log after running those two xrandr commands? Thanks. (In reply to comment #21) > yea, so xrandr is returning overlapping information about the heads... We could > probably work around that in gnome-screensaver, but it's better to get this > fixed at the source I think. What else is randr supposed to do? If the heads are scanning out overlapping areas, then that's what it has to report. Doesn't fix the problem for me - unlock dialog still appears on phantom non-existent extra screen. So I talked to ajax a bit about this and apparently Xinerama has always supported advertising overlapping information. We just have to make gnome-screensaver cope with it. Okay, one more try: http://koji.fedoraproject.org/koji/buildinfo?buildID=6724 comment #20 was with connected external monitor. here is xrandr only with laptop screen: $ xrandr Screen 0: minimum 320 x 200, current 1280 x 800, maximum 1280 x 1280 VGA disconnected (normal left inverted right) LVDS connected 1280x800+0+0 (normal left inverted right) 331mm x 207mm 1280x800 60.0*+ 60.0 1280x768 60.0 1280x720 60.0 1024x768 60.0 800x600 60.3 640x480 59.9 TV disconnected (normal left inverted right) Created attachment 154976 [details]
Xorg.0.log with laptop only screen
Xorg.0.log with laptop only screen
I installed gnome-screensaver-2.18.0-10.fc7.i386.rpm, rebooted the laptop and here is the result: http://www.youtube.com/watch?v=wCJmZ2XUhuw the bug is still persists, and now you can see one thing also - GLSlideshow screensaver shows it clearly on my video - the screens are overlapping. and again xrandr output with external monitor connected as shown on video. $ xrandr Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 1280 x 1280 VGA connected 1280x1024+0+0 (normal left inverted right) 376mm x 301mm 1280x1024 60.0*+ 75.0 59.9 1280x960 59.9 1152x864 75.0 74.8 1024x768 75.1 70.1 60.0 832x624 74.6 800x600 72.2 75.0 60.3 56.2 640x480 75.0 72.8 66.7 60.0 720x400 70.1 LVDS connected 1280x800+0+0 (normal left inverted right) 331mm x 207mm 1280x800 60.0*+ 60.0 1280x768 60.0 1280x720 60.0 1024x768 60.0 800x600 60.3 640x480 59.9 TV disconnected (normal left inverted right) Very strange that raising the window didn't work... Ray, do you know how I can view patches in koji? I see them here: http://koji.fedoraproject.org/koji/rpminfo?rpmID=70926 But I can't see a download or view option. I don't think you can. It's all in CVS though. I guess the best thing to do, is the windows to never overlap each other--subtract out overlapping regions. Created attachment 155012 [details]
maybe something like this
Can you give this a try: http://koji.fedoraproject.org/koji/getfile?taskID=10503&name=gnome-screensaver-2.18.0-11.fc7.i386.rpm http://koji.fedoraproject.org/koji/getfile?taskID=10502&name=gnome-screensaver-2.18.0-11.fc7.x86_64.rpm If these don't work, i'll have to setup a test environment rather than keep shooting in the dark. Hooray! -11 works for me on x86_64. Valent, can you confirm? I was off for the weekend on a trip - just a sec. I'll boot my F7 and try it out... I can confirm this fixes the issue - I was just looking to file a report when I found this ticket and the test rpm :) One thing I might suggest, but probably really belongs upstream: it would be smart to show the password dialog on each screen, just in case the one it would be shown on has been disconnected (rather common with highly mobile laptops like mine). Works like a charm with i386 - great work! Thank you. *** Bug 239270 has been marked as a duplicate of this bug. *** -13 with this fix is built and tagged for tomorrow's rawhide This bug is present in Red Hat Enterprise Linux 5. Can it be reopened? No. If you want to open a bug for RHEL5, either clone this bug or create a new one. Do not reopen this bug. bugreports2005, for RHEL support, please go to https://www.redhat.com/apps/support/ |