Public bug reported: Hi guys,
A typical busy day at work requires me to connect my laptop and switch between various external displays (projector, monitor, video conf equipment) about 20 times a day, all while going through sleep/resume cycles inbetween.. (I hope you do test against these use cases?) Hardware: Lenovo X200, built-in Intel X4500 graphics Karmic (9.10) Ubuntu/Xubuntu I booted my Lenovo X200 on an official Ubuntu live disk, connected first to my desk monitor via VGA plug, ran 'xrandr' just by itself and get the full capabilities of my monitor as expected. I can successfully use xrandr to get my desktop extended over both monitors. I then use "xrandr --output VGA1 --off" to turn off the external monitor before unplugging it. So far so good. But as soon as I try to connect to the VGA plug of a projector or any other monitor and run 'xrandr' again, it reports resolutions from the previous monitor and not the current one. As a result xrandr doesn't let me display anything on that new monitor. When I connect my laptop to the 2nd monitor or projector first, xrandr works on that monitor nicely. But then it doesn't work anymore with my desk monitor. It is as if xrandr is only working the very first time after boot-up. I also did this other test of using xrandr to turn on and off the same external monitor repeatedly. It seems that that confuses xrandr massively after the 2nd or 3rd time. Xrandr is unexpectedly turning off all monitors or showing big black areas on the desktop etc.. Despite the mess happening on my monitors, xrandr keep reporting capabilities from the very first external monitor only: $ xrandr Screen 0: minimum 320 x 200, current 3200 x 1200, maximum 8192 x 8192 VGA1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 519mm x 324mm 1920x1200 60.0*+ 1280x1024 75.0 1024x768 75.1 60.0 800x600 75.0 60.3 640x480 75.0 60.0 720x400 70.1 LVDS1 connected 1280x800+1920+0 (normal left inverted right x axis y axis) 261mm x 163mm 1280x800 60.0*+ 50.0 1024x768 85.0 75.0 70.1 60.0 832x624 74.6 800x600 85.1 72.2 75.0 60.3 56.2 640x480 85.0 72.8 75.0 59.9 720x400 85.0 640x400 85.1 640x350 85.1 HDMI1 disconnected (normal left inverted right x axis y axis) DP1 disconnected (normal left inverted right x axis y axis) HDMI2 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis y axis) DP3 disconnected (normal left inverted right x axis y axis I have attached my Xorg.0.log It should show this sequence of activities: - booted up without any external monitors connected - then I connected to "Manufacturer: DEL Model: a016 Serial#: 808604243" - disconnected from that and - connected to a video conference device (which Xorg.0.log wrongly lists as "Manufacturer: DEL Model: a016 Serial#: 808604243") - ran xrandr to activate VGA1 (unsuccessfully) - disconnected from video conference device - reconnected to desk monitor "DEL Model: a016 Serial#: 808604243" ** Affects: libxrandr (Ubuntu) Importance: Undecided Status: New -- Karmic's xrandr doesn't update when connected to different external monitor https://bugs.launchpad.net/bugs/495063 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs