[i965] External monitor detection broken when using KMS on Intel GM965

Bug #393936 reported by pittipatti
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
Unassigned
Karmic
Fix Released
High
Unassigned

Bug Description

Since kernel version 2.6.30-9.10 the external monitor doesn't get properly detected when it was disconnected before disabling it before, when using KMS.
2.6.30-8.9 was the last version where it worked properly.
intel driver version:
- 2.7.99.1+git20090602.ec2fde7c-0ubuntu2 (Karmic)
- 2.7.99.901+git20090630.170cae0c-0ubuntu0sarvatt (latest git)

Steps to reproduce the bug:
1. screen is on LVDS of the notebook
2. connect external VGA
3. activate external monitor: xrandr --output VGA1 --auto
4. disconnect external monitor
5. deactivate external monitor: xrandr --output VGA1 --off
6. again connect the VGA plug
=> xrandr --query shows: VGA1 disconnected

after that it is impossible to get the external monitor working.
The only solution is to reboot the system.

Tags: karmic
Revision history for this message
pittipatti (pittipatti) wrote : Re: [Bug 393936] [NEW] External monitor detection broken when using KMS on Intel GM965
Revision history for this message
Ludovico Cavedon (cavedon) wrote : Re: External monitor detection broken when using KMS on Intel GM965

Same issue with:
-Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 0c)
-linux-image-2.6.30-020630-generic 2.6.30-020630
-xserver-xorg-video-intel 2:2.7.99.901+git20090701.1e4784bf-0ubuntu0sarvatt~jaunty
-KMS on

One additional note: when you turn the VGA off and then disconnect it, xrandr will still report it as "connected"! It will become disconnected once you try to set it but the monitor is not connected. After becoming disconnected, it will never go back to connected.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Ludovico Cavedon (cavedon) wrote :

This is my Xorg.0.log

Please note that, after disconnecting the VGA and trying to set the outout, X always reports the VGA monitor, even when disconnected, but xrandr never reports it, even when connected.

$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
VGA1 disconnected (normal left inverted right x axis y axis)
LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 304mm x 190mm
   1280x800 59.9*+
   1024x768 60.0
   800x600 60.3
   640x480 59.9
TV1 disconnected (normal left inverted right x axis y axis)

pittipatti (pittipatti)
affects: linux (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel (Ubuntu Karmic):
status: Confirmed → Triaged
tags: added: karmic
Bryce Harrington (bryce)
summary: - External monitor detection broken when using KMS on Intel GM965
+ [i965] External monitor detection broken when using KMS on Intel GM965
Revision history for this message
Bryce Harrington (bryce) wrote :

Can you please re-test this against the latest 2.6.31 kernel and let us know if it is still a problem there?

Changed in xserver-xorg-video-intel (Ubuntu Karmic):
status: Triaged → Incomplete
Revision history for this message
pittipatti (pittipatti) wrote :

Sorry, my time is rare atm so only a short reply, to tell that it is not fixed yet.
I can do some more testing this evening

I tested yesterday with 2.6.31-2.17 and the bug still persists.
after disconnecting the VGA (while not used) xrandr still shows it as connected.

Revision history for this message
pittipatti (pittipatti) wrote :

Bryce:
Good for me I waited until today doing the tests.

Today's version 2.6.31-3.19 fixes all issues mentioned and the bug can be closed as fixed.

Thanks

Revision history for this message
Steve Langasek (vorlon) wrote :

Thanks for following up; I can also confirm here that the bug is fixed. Closing.

affects: xserver-xorg-video-intel (Ubuntu Karmic) → linux (Ubuntu Karmic)
Changed in linux (Ubuntu Karmic):
importance: Undecided → High
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.