[Q35]: cannot switch to virtual terminals; video=fbcon must be specified (KMS bug)

Bug #382719 reported by Johan Van de Wauw
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xf86-video-intel
Invalid
High
linux (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: xorg

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]

Revision history for this message
Johan Van de Wauw (johanvdw) wrote :
Bryce Harrington (bryce)
affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Bryce Harrington (bryce)
description: updated
Revision history for this message
Johan Van de Wauw (johanvdw) wrote :

I forgot to mention this: the problem is only happening if KMS is enabled. If I disable KMS, everything works fine (also with the xorg-edgers package).

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

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]

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

Created an attachment (id=26435)
XorgLog.txt

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

 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

Bryce Harrington (bryce)
summary: - [KMS][intel 82Q35]: cannot switch to virtual terminals
+ [Q35]: cannot switch to virtual terminals (KMS bug)
Revision history for this message
Bryce Harrington (bryce) wrote : Re: [Q35]: cannot switch to virtual terminals (KMS bug)

Thanks Johan, I've forwarded this bug upstream at https://bugs.freedesktop.org/show_bug.cgi?id=22085 - please subscribe to that bug in case upstream needs further information or wishes you to test something.

Note that we have a slightly newer snapshot in Karmic right now, although in reviewing its changelog none of the changes look like they would fix this bug. But if you test it and find the issue goes away, that would be good to know.

Also, even newer snapshots will appear in xorg-edgers, so if you continue to test that and find the issue goes away with one of the updates let us know so we can resolve this bug report.

Changed in xserver-xorg-video-intel (Ubuntu):
importance: Undecided → High
status: New → Triaged
Changed in xserver-xorg-video-intel:
status: Unknown → Confirmed
Revision history for this message
In , Jesse Barnes (jbarnes-virtuousgeek) wrote :

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.

Revision history for this message
In , Johan Van de Wauw (johanvdw) wrote :

Indeed, if I specify video=fbcon or video=intelfb at boottime, the problems disappear.

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

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! :)

Revision history for this message
Bryce Harrington (bryce) wrote : Re: [Q35]: cannot switch to virtual terminals (KMS bug)

From the upstream bug, it sounds like this may be a kernel module integration issue rather than a driver problem:

"Indeed, if I specify video=fbcon or video=intelfb at boottime, the problems disappear."

So I'm retargeting this bug to the kernel.

affects: xserver-xorg-video-intel (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: Triaged → New
tags: added: xorg-needs-kernel-fix
summary: - [Q35]: cannot switch to virtual terminals (KMS bug)
+ [Q35]: cannot switch to virtual terminals; video=fbcon must be specified
+ (KMS bug)
Changed in xserver-xorg-video-intel:
status: Confirmed → Invalid
Changed in linux (Ubuntu):
status: New → Triaged
Revision history for this message
Robert Hooker (sarvatt) wrote :

If you are using xorg-edgers, please do a

 sudo apt-get install linux-image-2.6.30-9-generic linux-headers-2.6.30-9-generic linux-headers-2.6.30-9

The problem shouldn't exist with the karmic kernel that is in there because KMS is enabled in the kernel config so fbdev is correctly linked with i915 for KMS usage.

Revision history for this message
Robert Hooker (sarvatt) wrote :

Sorry, I meant fbcon in the previous post.

Revision history for this message
Andy Whitcroft (apw) wrote :

Mirroring Roberts comment, could you indicate whether this still is occuring with the latest Karmic kernel, 2.6.30-9.10 is current at this time. Please report back here. Thanks!

Changed in linux (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Johan Van de Wauw (johanvdw) wrote :

Sorry for my late reaction: using the latest kernel, this problem is indeed solved!

Revision history for this message
Johan Van de Wauw (johanvdw) wrote :

While checking the X/intel/kms wiki page, I noticed someone else had similar problems.
https://wiki.ubuntu.com/X/KernelModeSetting
gotunandan: https://launchpad.net/~gotunandan

Works fine with modprobe.d method.
When using vga=xxx in kernal boot options, Ctrl+Alt+F[1-6] does not switch to the command line interface, instead shows a frozen GUI but mouse pointer disappears. But Ctrl+Alt+F7, gets back the GUI normally. Doing this multiple times restarts X

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

I'm marking this Fix Released per Johan's comment #8 - https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/382719/comments/8 .

Johan, it would also be better to open a new bug report regarding the X restart issue mentioned in comment 9 if indeed it is still an issue.

Changed in linux (Ubuntu):
status: In Progress → Fix Released
Changed in xserver-xorg-video-intel:
importance: Unknown → High
Changed in xserver-xorg-video-intel:
importance: High → Unknown
Changed in xserver-xorg-video-intel:
importance: Unknown → High
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.