[GM45] [KMS] Display not disabled again after VT switch

Bug #386907 reported by Kai Jauch
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xf86-video-intel
Fix Released
Medium
linux (Ubuntu)
Won't Fix
Medium
Unassigned
xserver-xorg-video-intel (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

I have an internal laptop display and an external display attached via DVI. Both displays are enabled during boot.

1. Disable laptop display (System -> Settings -> Display), leaving the external display the only one being enabled
2. Switch to another vt -> both displays are activated and show the console
3. Switch back to X -> laptop display is not disabled and still showing the console, while the external display is displaying X

ProblemType: Bug
Architecture: amd64
Date: Sun Jun 14 10:56:49 2009
DistroRelease: Ubuntu 9.10
MachineType: Dell Inc. Latitude E6400
Package: xserver-xorg-video-intel 2:2.7.99.1+git20090602.ec2fde7c-0ubuntu2
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.30-9-generic root=UUID=8a24f1b2-f134-4248-b51f-c06d4095205f ro quiet i915.modeset=1
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.30-9.10-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4~5ubuntu21
 libgl1-mesa-glx 7.4.1-1ubuntu2
 libdrm2 2.4.11-0ubuntu1
 xserver-xorg-video-intel 2:2.7.99.1+git20090602.ec2fde7c-0ubuntu2
 xserver-xorg-video-ati 1:6.12.2-2ubuntu1
SourcePackage: xserver-xorg-video-intel
Uname: Linux 2.6.30-9-generic x86_64
dmi.bios.date: 05/11/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A14
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA14:bd05/11/2009:svnDellInc.:pnLatitudeE6400:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Latitude E6400
dmi.sys.vendor: Dell Inc.
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: x86_64kernel: 2.6.30-9-generic

Revision history for this message
Kai Jauch (kaijauch) wrote :
Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
Geir Ove Myhr (gomyhr)
tags: added: gm45 karmic vt-switch
summary: - [KMS] Display not disabled again after VT switch
+ [GM45] [KMS] Display not disabled again after VT switch
Revision history for this message
In , Bryce Harrington (bryce) wrote :

Created an attachment (id=27649)
CurrentDmesg.txt

Forwarding this bug from Ubuntu reporter Kai Jauch:
https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/386907

[Problem]
If you disable a display then vt switch to console the display gets re-enabled. Also, vt switching back into X does not re-disable the display.

[Original Report]
I have an internal laptop display and an external display attached via DVI. Both displays are enabled during boot.

1. Disable laptop display (System -> Settings -> Display), leaving the external display the only one being enabled
2. Switch to another vt -> both displays are activated and show the console
3. Switch back to X -> laptop display is not disabled and still showing the console, while the external display is displaying X

ProblemType: Bug
Architecture: amd64
Date: Sun Jun 14 10:56:49 2009
DistroRelease: Ubuntu 9.10
MachineType: Dell Inc. Latitude E6400
Package: xserver-xorg-video-intel 2:2.7.99.1+git20090602.ec2fde7c-0ubuntu2
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.30-9-generic root=UUID=8a24f1b2-f134-4248-b51f-c06d4095205f ro quiet i915.modeset=1
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.30-9.10-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4~5ubuntu21
 libgl1-mesa-glx 7.4.1-1ubuntu2
 libdrm2 2.4.11-0ubuntu1
 xserver-xorg-video-intel 2:2.7.99.1+git20090602.ec2fde7c-0ubuntu2
 xserver-xorg-video-ati 1:6.12.2-2ubuntu1
SourcePackage: xserver-xorg-video-intel
Uname: Linux 2.6.30-9-generic x86_64
dmi.bios.date: 05/11/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A14
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA14:bd05/11/2009:svnDellInc.:pnLatitudeE6400:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Latitude E6400
dmi.sys.vendor: Dell Inc.
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: x86_64kernel: 2.6.30-9-generic

Revision history for this message
In , Bryce Harrington (bryce) wrote :

Created an attachment (id=27650)
XorgLog.txt

Revision history for this message
Bryce Harrington (bryce) wrote :

Hi Kai,

I've forwarded this bug upstream to https://bugs.freedesktop.org/show_bug.cgi?id=22757 - please subscribe to this bug in case upstream needs more info or has something for you to test. Thanks.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Low
Changed in xserver-xorg-video-intel:
status: Unknown → Confirmed
Revision history for this message
In , Bryce Harrington (bryce) wrote :

Sort of a different use case, but seems to be essentially the same bug:
https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/398278

Revision history for this message
Bryce Harrington (bryce) wrote :

Hi andy, this is the bug report regarding the vt switching that we just discussed. It has been sent upstream but would be nice to get investigated further ourselves.

Changed in xserver-xorg-video-intel (Ubuntu):
assignee: nobody → Bryce Harrington (bryceharrington)
milestone: none → karmic-alpha-5
Changed in linux (Ubuntu):
assignee: nobody → Andy Whitcroft (apw)
milestone: none → karmic-alpha-4
Revision history for this message
In , Kai Jauch (kaijauch) wrote :

Just noticed the following:
LVDS1 is disabled by GNOME according to the display settings set there. VT-switching enables LVDS1 and shows the console. If I switch back to X, I first have to manually enable LVDS1 (xrandr --output LVDS1 --auto) before I can turn it off again (xrandr --output LVDS1 --off). After I've done that, LVDS1 isn't enabled anymore when I vt-switch and stays off, on console and X.

xrandr -q reports the following (before switching to vt1 the first time, while LVDS1 displays the console although I switched back to X and after I manually disabled it):

Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 8192 x 8192
VGA1 disconnected (normal left inverted right x axis y axis)
LVDS1 connected (normal left inverted right x axis y axis)
   1440x900 60.0 + 59.9 40.0
   1360x768 59.8
   1152x864 100.0 85.1 85.0 75.0 75.0 70.0 60.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
DVI1 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 432mm x 324mm
   1600x1200 60.0*+
   1280x1024 75.0
   1152x864 75.0
   1024x768 75.1 70.1 60.0
   832x624 74.6
   800x600 72.2 75.0 60.3 56.2
   640x480 72.8 75.0 66.7 60.0
   720x400 70.1
DP1 disconnected (normal left inverted right x axis y axis)
DVI2 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)
TV1 disconnected (normal left inverted right x axis y axis)

Revision history for this message
In , Kai Jauch (kaijauch) wrote :

Forgot to include package versions. Tested with xserver-xorg-video-intel 2:2.8.0-0ubuntu1 and linux-image-2.6.31-4-generic.

Revision history for this message
Kai Jauch (kaijauch) wrote :

Just noticed the following:
LVDS1 is disabled by GNOME according to the display settings set there.
VT-switching enables LVDS1 and shows the console. If I switch back to X, I
first have to manually enable LVDS1 (xrandr --output LVDS1 --auto) before I can
turn it off again (xrandr --output LVDS1 --off). After I've done that, LVDS1
isn't enabled anymore when I vt-switch and stays off, on console and X.

xrandr -q reports the following (before switching to vt1 the first time, while
LVDS1 displays the console although I switched back to X and after I manually
disabled it):

Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 8192 x 8192
VGA1 disconnected (normal left inverted right x axis y axis)
LVDS1 connected (normal left inverted right x axis y axis)
   1440x900 60.0 + 59.9 40.0
   1360x768 59.8
   1152x864 100.0 85.1 85.0 75.0 75.0 70.0 60.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
DVI1 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 432mm x
324mm
   1600x1200 60.0*+
   1280x1024 75.0
   1152x864 75.0
   1024x768 75.1 70.1 60.0
   832x624 74.6
   800x600 72.2 75.0 60.3 56.2
   640x480 72.8 75.0 66.7 60.0
   720x400 70.1
DP1 disconnected (normal left inverted right x axis y axis)
DVI2 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)
TV1 disconnected (normal left inverted right x axis y axis)

Tested with xserver-xorg-video-intel 2:2.8.0-0ubuntu1 and linux-image-2.6.31-4-generic.

Revision history for this message
In , Jesse Barnes (jbarnes-virtuousgeek) wrote :

I think this should be fixed by the kernel commit:

commit e87b2c42b397ae64ac13a390011931f7ef222321
Author: Jesse Barnes <email address hidden>
Date: Thu Sep 17 18:14:41 2009 -0700

    drm: fix drm_fb_helper handling of kernel crtcs

Revision history for this message
Bryce Harrington (bryce) wrote :

According to upstream, this was resolved with a kernel fix on Sept 17th.

Changed in xserver-xorg-video-intel (Ubuntu):
milestone: karmic-alpha-5 → none
status: Triaged → Invalid
tags: added: xorg-needs-kernel-fix
Changed in xserver-xorg-video-intel (Ubuntu):
assignee: Bryce Harrington (bryceharrington) → nobody
Changed in xserver-xorg-video-intel:
status: Confirmed → Fix Released
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Seems the patch went in upstream post 2.6.31. As an interim solution you can try running one of the latest mainline kernel builds which should contains this patch - For ex http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32-rc4/

ogasawara@yoji:~/linux-2.6$ git show e87b2c42b397ae64ac13a390011931f7ef222321

commit e87b2c42b397ae64ac13a390011931f7ef222321

Author: Jesse Barnes <email address hidden>

Date: Thu Sep 17 18:14:41 2009 -0700

    drm: fix drm_fb_helper handling of kernel crtcs

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Triaged a while ago but has not had any updated comments for quite some time. Please let us know if this issue remains in the current Ubuntu release, http://www.ubuntu.com/getubuntu/download . If the issue remains, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

Andy Whitcroft (apw)
Changed in linux (Ubuntu):
assignee: Andy Whitcroft (apw) → nobody
Changed in xserver-xorg-video-intel:
importance: Unknown → Medium
Changed in xserver-xorg-video-intel:
importance: Medium → Unknown
Changed in xserver-xorg-video-intel:
importance: Unknown → Medium
Bryce Harrington (bryce)
tags: removed: xorg-needs-kernel-fix
tags: added: kernel-handoff-graphics
Revision history for this message
Brad Figg (brad-figg) wrote : Unsupported series, setting status to "Won't Fix".

This bug was filed against a series that is no longer supported and so is being marked as Won't Fix. If this issue still exists in a supported series, please file a new bug.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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