[KMS] no display with KMS enabled (intel)

Bug #388032 reported by Baptiste Mille-Mathias
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
X.Org X server
Fix Released
Unknown
xorg-server (Ubuntu)
Fix Released
Undecided
Unassigned
xserver-xorg-video-intel (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

I enabled the kms at boot time with i915.modeset=1, so I seen usplash boot screen but I was not able to see gdm login screen.
I was able to see a terminal, and switch between VTs for a while and, no VT switch was possible (or the display was not updated possibily).

ProblemType: Bug
Architecture: i386
Date: Tue Jun 16 19:48:12 2009
DistroRelease: Ubuntu 9.10
GdmLogOld:
 Warning: Failsafe mode was already attempted within 30 seconds.
 Warning: Falling back to gdm to report the issue.
MachineType: LENOVO 7660RPG
Package: xserver-xorg-video-intel 2:2.7.99.1+git20090602.ec2fde7c-0ubuntu2
ProcCmdLine: root=UUID=6ba08a6c-e231-4899-aad0-087d894ef13b ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=fr_FR.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 i686
XorgConf: Error: [Errno 2] Aucun fichier ou dossier de ce type: '/etc/X11/xorg.conf'
dmi.bios.date: 04/25/2008
dmi.bios.vendor: LENOVO
dmi.bios.version: 7LETB7WW (2.17 )
dmi.board.name: 7660RPG
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7LETB7WW(2.17):bd04/25/2008:svnLENOVO:pn7660RPG:pvrThinkPadT61:rvnLENOVO:rn7660RPG:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 7660RPG
dmi.product.version: ThinkPad T61
dmi.sys.vendor: LENOVO
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: i686kernel: 2.6.30-9-generic

Revision history for this message
Baptiste Mille-Mathias (bmillemathias) wrote :
Revision history for this message
Robert Hooker (sarvatt) wrote :

adding i915.modeset=1 isn't the proper way to enable KMS unless i915 is built into the kernel, and it's a module on karmic. please try adding

options i915 modeset=1

to /etc/modprobe.d/i915.conf

the file doesn't exist so you'd be creating it.

Revision history for this message
Baptiste Mille-Mathias (bmillemathias) wrote :

The way I used is given in the wiki https://wiki.ubuntu.com/X/KernelModeSetting so perhaps it should be removed.

summary: - [KMS] no display with KMS enabled
+ [KMS] no display with KMS enabled (intel)
Revision history for this message
Robert Hooker (sarvatt) wrote :

Nowhere on the wiki does it say to pass i915.modeset=1 to grub to use it on jaunty. Perhaps someone might have edited it for a short time to add that but it would have been quickly removed because it is incorrect. I don't see it being on there from a quick glance at the page history but I might have missed something..

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

Sorry, I shouldn't have said "on jaunty" there since you are on karmic, but it does not say to do it under any circumstance regardless. Does the /etc/modprobe.d/i915.conf method work for you?

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

Ah, I have found your problem in your Xorg.0.log.old. You do not have a /etc/X11/xorg.conf which makes xserver use a default detection logic and it has some problems with intel KMS when it is a module in that fbdev tries to take over and crashes the server. it's most likely because intelfb/vesafb is loaded early for the usplash display, and the inteldrmfb gets loaded alot later after thats done.

This has been fixed in debian upstream by this commit which we need to pick up, I added it to xorg-edgers jaunty xserver backport and 3 people have confirmed it fixed it for them in the no xorg.conf situation.
http://git.debian.org/?p=pkg-xorg/xserver/xorg-server.git;a=commit;h=daf26a14473563aa7368c93246f483b11e009d23

To work around this until xorg-server is updated, add this to /etc/X11/xorg.conf and it will work in KMS mode.

Section "Device"
        Identifier "intel"
        Driver "intel"
EndSection

Revision history for this message
Baptiste Mille-Mathias (bmillemathias) wrote :

changing package according wiki page

affects: xserver-xorg-video-intel (Ubuntu) → xorg (Ubuntu)
Changed in xorg-server:
status: Unknown → Confirmed
Revision history for this message
Robert Hooker (sarvatt) wrote :
Revision history for this message
Baptiste Mille-Mathias (bmillemathias) wrote :

Setting an xorg.conf file with the following content made the trick.

------------8<-----------------------------------------------------------------------
 Section "Monitor"
 Identifier "Configured Monitor"
EndSection

Section "Screen"
 Identifier "Default Screen"
 Monitor "Configured Monitor"
 Device "Configured Video Device"
EndSection

Section "Device"
        Identifier "intel"
        Driver "intel"
EndSection
------------8<-----------------------------------------------------------------------

Hopefully once the bug fixed, I'll remove it :)

Bryce Harrington (bryce)
affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Revision history for this message
Bryce Harrington (bryce) wrote :

I packaged this patch for another bug and it's in this PPA:

  https://edge.launchpad.net/~bryceharrington/+archive/orange

If someone could verify it helps solve the problem, we can probably push it into Karmic.

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

I've had 4 people besides myself verify it fixed the same problem using the xserver package with just the extra patch added on xorg-edgers if it helps any. It's easy to reproduce on any intel hardware, just have to delete the xorg.conf and boot in KMS and it'll give the same problem on any machine that has xserver-xorg-video-fbdev installed.

Changed in xorg-server:
status: Confirmed → Fix Released
Revision history for this message
Bryce Harrington (bryce) wrote :

[Closing -intel task since this is actually an xorg-server bug]

Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Invalid
Revision history for this message
Bryce Harrington (bryce) wrote :

Pushed the patch to Karmic, for solving bug #383407, so this can be closed now.

Changed in xorg-server (Ubuntu):
status: New → 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.