Bug 22085

Summary: [Q35]: cannot switch to virtual terminals (KMS bug)
Product: xorg Reporter: Bryce Harrington <bryce>
Component: Driver/intelAssignee: Jesse Barnes <jbarnes>
Status: RESOLVED NOTABUG QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: high CC: johan.vandewauw
Version: 7.4 (2008.09)Keywords: NEEDINFO
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
XorgLog.txt none

Description Bryce Harrington 2009-06-04 08:25:06 UTC
Forwarding this KMS bug from a Ubuntu reporter:
https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/382719

[Problem]
On the Q35 chipset, VT switching does not cause a console session to be displayed if KMS is enabled.  Works ok if KMS is not enabled.

[Original Report]
After enabling KMS and installing the xorg-edgers X-version
xorg-server 2:1.6.1.901+git20090523+server-1.6-branch.5cd5a012-0ubuntu0sarvatt2
Switching to the virtual terminals doesn't work: When I hit alt+fx the mousecursor disappears, but X remains visible. After hitting alt+f7 again, X is working as if nothing happened.

No such problem occured while using the standard jaunty packages.

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
Package: xorg 1:7.4~5ubuntu18
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersion: Linux version 2.6.30-6-generic (buildd@yellow) (gcc version 4.4.0 (Ubuntu 4.4.0-3ubuntu5) ) #7-Ubuntu SMP Fri May 22 05:15:10 UTC 2009
SourcePackage: xorg
Uname: Linux 2.6.30-6-generic x86_64

[lspci]
00:00.0 Host bridge [0600]: Intel Corporation 82Q35 Express DRAM Controller [8086:29b0] (rev 02)
     Subsystem: Dell Device [1028:0211]
00:02.0 VGA compatible controller [0300]: Intel Corporation 82Q35 Express Integrated Graphics Controller [8086:29b2] (rev 02)
     Subsystem: Dell Device [1028:0211]
Comment 1 Bryce Harrington 2009-06-04 08:25:52 UTC
Created attachment 26435 [details]
XorgLog.txt
Comment 2 Bryce Harrington 2009-06-04 08:26:27 UTC
 distro:             Ubuntu
 architecture:       x86_64
 kernel:             2.6.30-6-generic
 xserver-xorg:       1:7.4~5ubuntu18
 mesa:               7.5.0~git20090523+mesa-7-5-branch.1045481d-0ubuntu0sarvatt
 libdrm:             2.4.11+git20090519.f355ad89-0ubuntu0sarvatt~jaunty
 -intel:             2:2.7.99.1+git20090601.704771f1-0ubuntu0sarvatt~jaunty
Comment 3 Jesse Barnes 2009-06-09 17:06:28 UTC
Sounds like the fbcon driver isn't loaded... Try booting into single user mode, doing 'modprobe fbcon; modprobe i915 modeset=1' and see if you can reproduce the problem.
Comment 4 Johan Van de Wauw 2009-06-10 05:03:26 UTC
Indeed, if I specify video=fbcon or video=intelfb at boottime, the problems disappear.
Comment 5 Jesse Barnes 2009-06-10 08:02:28 UTC
Great, thanks for confirming.  It's important to load a console driver in the KMS case, otherwise there's nothing to switch to when you VT switch! :)

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.