Intel 915GM/GMA900 upgrade fails 12.04-12.10

Bug #1088147 reported by Harald Rudell
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xf86-video-intel
Invalid
Critical
xserver-xorg-video-intel (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

A 915GM machine using GMA900 does not work with the intel X driver.

After update, from kernel messages Ubuntu goes to black screen:
end of Xorg.0.log:
[ 361.903] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,...
[ 361.911] (II) VESA: driver for VESA chipsets: vesa
[ 361.911] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 361.911] (II) FBDEV: driver for framebuffer: fbdev
[ 361.911] (++) using VT number 7

fix:
sudo dpkg-reconfigure Xorg
restart

then X in low-res, failsafe mode.
end of xorg log (further after the above printouts):
[ 1844.910] (II) intel(0): using device path '/dev/dri/card0'
[ 1844.910] (WW) Falling back to old probe method for vesa
[ 1844.910] (WW) Falling back to old probe method for modesetting
[ 1844.910] (WW) Falling back to old probe method for fbdev
[ 1844.910] (II) Loading sub module "fbdevhw"
[ 1844.910] (II) LoadModule: "fbdevhw"
[ 1844.910] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 1844.918] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 1844.918] compiled for 1.13.0, module version = 0.0.2
[ 1844.918] ABI class: X.Org Video Driver, version 13.0
[ 1844.919] (II) intel(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[ 1844.919] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 1844.919] (==) intel(0): RGB weight 888
[ 1844.919] (==) intel(0): Default visual is TrueColor
[ 1844.919] (--) intel(0): Integrated Graphics Chipset: Intel(R) 915GM
[ 1844.919] (**) intel(0): Relaxed fencing disabled
[ 1844.919] (**) intel(0): Wait on SwapBuffers? enabled
[ 1844.919] (**) intel(0): Triple buffering? enabled
[ 1844.919] (**) intel(0): Framebuffer tiled
[ 1844.919] (**) intel(0): Pixmaps tiled
[ 1844.919] (**) intel(0): 3D buffers tiled
[ 1844.919] (**) intel(0): SwapBuffers wait enabled
[ 1844.919] (==) intel(0): video overlay key set to 0x101fe
[ 1844.919] (EE) intel(0): failed to get resources: Invalid argument
[ 1844.919] (II) UnloadModule: "intel"
[ 1844.919] (EE) Screen(s) found, but none have a usable configuration.
[ 1844.919]
Fatal server error:
[ 1844.919] no screens found
[ 1844.919] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[ 1844.919] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[ 1844.919] (EE)
[ 1844.935] Server terminated with error (1). Closing log file.

Since the Intel graphics don't work, here's a get-around:
create /etc/X11/xorg.conf:
Section "Device"
   Identifier "Intel GMA900"
   Driver "fbdev"
EndSection

X now works, but intel driver doesn't

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: xserver-xorg-video-intel 2:2.20.9-0ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-20.31-generic 3.5.7.1
Uname: Linux 3.5.0-20-generic i686
.tmp.unity.support.test.1:

ApportVersion: 2.6.1-0ubuntu9
Architecture: i386
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
CurrentDmesg:
 [ 45.418801] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
 [ 45.440580] NFSD: starting 90-second grace period
 [ 48.086382] init: plymouth-stop pre-start process (2582) terminated with status 1
 [ 108.032021] Marking TSC unstable due to cpufreq changes
 [ 108.032081] Switching to clocksource hpet
Date: Sun Dec 9 01:35:38 2012
DistUpgraded: 2012-12-08 22:37:40,901 DEBUG enabling apt cron job
DistroCodename: quantal
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller [8086:2592] (rev 04) (prog-if 00 [VGA controller])
   Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device [1297:3041]
   Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device [1297:3041]
MachineType: Shuttle Inc SD11V10
MarkForUpload: True
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.5.0-20-generic root=/dev/mapper/hostname-rfs ro quiet
SourcePackage: xserver-xorg-video-intel
UpgradeStatus: Upgraded to quantal on 2012-12-09 (0 days ago)
XorgConf:
 Section "Device"
    Identifier "Intel GMA3600"
    Driver "fbdev"
 EndSection
dmi.bios.date: 03/24/2006
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: FD11V10
dmi.board.vendor: Shuttle Inc
dmi.chassis.type: 3
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd03/24/2006:svnShuttleInc:pnSD11V10:pvr:rvnShuttleInc:rnFD11V10:rvr:cvn:ct3:cvr:
dmi.product.name: SD11V10
dmi.sys.vendor: Shuttle Inc
version.compiz: compiz 1:0.9.8.4+bzr3412-0ubuntu0.1
version.libdrm2: libdrm2 2.4.39-0ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.0-0ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.0-0ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.13.0-0ubuntu6.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.99.99~git20120913.8637f772-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.20.9-0ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.2-0ubuntu3

Revision history for this message
Harald Rudell (harald-rudell) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
Revision history for this message
Chris Wilson (ickle) wrote :

Your kernel does not have KMS in its i915.ko which is a requirement to use xserver-xorg-video-intel.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Harald Rudell (harald-rudell) wrote :

Your point is correct that kms was disabled (I guess it is in the kernel but i915 is configured to not use it)

I have an /etc/modprobe.d/i915-kms.conf which had in it:
options i915 modeset=0

If I do use kms, I have found no way to launch X since mid-2011.
No matter what I do, the Intel X driver 2.20.9 prints in /var/log/Xorg.0.log:
(EE) intel(0): failed to get resources: Invalid argument

This is similar to the poor soul in Bug #1088271 but I have had it for about two years now. I was just thinking it would eventually start working.

Perhaps you could provide some help and insight with that problem?

Revision history for this message
In , Harald-b (harald-b) wrote :

1. Ever since kms, the X display driver "intel" has not worked with my 915GM/GMA900.

2. Symptom is a message "failed to get resources: Invalid argument"
I remember the first time I saw this when I was forced onto the new kms intel driver, and I have been on the "vesa" driver ever since.

3. The chip is on the list the intel driver claims to support.
   The chip is not on the list of hardware the intel driver is verified with

4. I have the latest quantal-proposed kernel, dated 130207:
linux-image-extra-3.5.0-24-generic

5. X video driver: "intel" module version = 2.20.9

6. kernel kms active

7. hardware: lspci -k -nn -s 0:2
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller [8086:2592] (rev 04)
 Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device [1297:3041]
 Kernel modules: intelfb, i915
00:02.1 Display controller [0380]: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller [8086:2792] (rev 04)
 Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device [1297:3041]

8. end of Xorg.0.log:
(everything dandy above here..., looks line-by-line like my other Intel graphics machine)
[ 3295.346] (**) intel(0): SwapBuffers wait enabled
[ 3295.346] (==) intel(0): video overlay key set to 0x101fe
[ 3295.346] (EE) intel(0): failed to get resources: Invalid argument
[ 3295.346] (II) UnloadModule: "intel"
[ 3295.346] (EE) Screen(s) found, but none have a usable configuration.
[ 3295.346]
Fatal server error:
[ 3295.346] no screens found
[ 3295.346] (EE)

9. Back in 2007, this worked! Here is what I could get out of randr then:
# Output TMDS-1 (DVI-x connector)
# Output VGA (VGA connector)
# Output LVDS (internal)
# Output TV disconnected
# 2 CRTCs, ie. 2 simultanous images

Revision history for this message
In , Chris Wilson (ickle) wrote :

EINVAL here should only be returned if !KMS. So please attach both the full drm.debug=6 dmesg from boot and the full Xorg.0.log with the failure.

Changed in xserver-xorg-video-intel:
importance: Unknown → Critical
status: Unknown → Confirmed
Revision history for this message
In , Harald-b (harald-b) wrote :

Created attachment 74987
dmesg

Revision history for this message
In , Harald-b (harald-b) wrote :

Created attachment 74988
xorg.0.log

Revision history for this message
In , Harald-b (harald-b) wrote :

Attached files are for boot with kms to X Fatal error

Hopefully they will provide clues to what is amiss?

What I did:

On boot, at grub menu, press e
append to the linuz line: drm.debug=6
press F10

The machine ends at a black screen but is otherwise functional, ie. ssh works great.

Thank you.

Revision history for this message
In , Daniel-ffwll (daniel-ffwll) wrote :

You have kernel modesetting disabled and your version of the intel ddx does not support usermodesetting any more. Please remove any i915.modset=0 or nomodeset boot options. If kernelmodesetting doesn't work for you, then we need to fix that (please reopen in that case and provide dmesg with drm.debug=0xe and Xorg.log).

Revision history for this message
In , Harald-b (harald-b) wrote :

Thank you,

That's kind of correct. I had forgot to run

sudo update-initramfs -u

to propagate changes to the boot image. The boot somehow entered the pretty purple 160-column mode either way, but the X driver would not start.

It works now!

Revision history for this message
In , Daniel-ffwll (daniel-ffwll) wrote :

Cool, thanks for reporting back, and I'm happy that kms works ;-)

Revision history for this message
In , Chris Wilson (ickle) wrote :

Also note that I pushed

commit 43ba22ef4a4142f334e9ae2d926250988ecbe8bc
Author: Chris Wilson <email address hidden>
Date: Sun Feb 17 09:25:38 2013 +0000

    Confirm that i915.ko has KMS enabled before binding to the device

to the ddx so that we fail more gracefully here.

Changed in xserver-xorg-video-intel:
status: Confirmed → Invalid
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.