i915 3D Acceleration not working

Bug #26411 reported by Martin Willemoes Hansen
12
Affects Status Importance Assigned to Milestone
discover1-data (Ubuntu)
Fix Released
Low
Paul Sladen

Bug Description

HPNC4200 laptop, dapper beta 1.

direct rendering: No
glxgears runs really slow.

0000:00:02.0 VGA compatible controller: Intel Corporation Mobile
915GM/GMS/910GML Express Graphics Controller (rev 03) (prog-if 00 [VGA])
        Subsystem: Hewlett-Packard Company: Unknown device 0938
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at d0800000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at 5000 [size=8]
        Memory at c0000000 (32-bit, prefetchable) [size=256M]
        Memory at d0880000 (32-bit, non-prefetchable) [size=256K]
        Capabilities: [d0] Power Management version 2

Revision history for this message
Daniel Stone (daniels) wrote :

this would've been libgl1-mesa-dri falling out of the seeds

Revision history for this message
Martin Willemoes Hansen (mwh) wrote :

Same issue in flight 3

Changed in xserver-xorg-driver-rendition:
status: Rejected → Unconfirmed
Revision history for this message
Danilo Piazzalunga (danilopiazza) wrote :

Please report the output of

grep -i rendering /var/log/Xorg.0.log

If it says that direct rendering is enabled, then simply install libgl1-mesa-dri: glxinfo should then say that direct rendering is enabled. This seed problem should have been fixed after Flight 1

If Xorg.0.log says that it is disabled, then I guess it is a driver problem and you should confirm this bug.

Changed in xserver-xorg-driver-rendition:
status: Unconfirmed → Needs Info
Revision history for this message
Martin Willemoes Hansen (mwh) wrote :

grep -i rendering /var/log/Xorg.0.log does not give any output at all.

Looked at the log and found this, which might be interesting:
(II) LoadModule: "GLcore"
(II) Loading /usr/lib/xorg/modules/extensions/libGLcore.so
dlopen: /usr/lib/xorg/modules/extensions/libGLcore.so: undefined symbol: __glXLastContext
(EE) Failed to load /usr/lib/xorg/modules/extensions/libGLcore.so

Revision history for this message
Danilo Piazzalunga (danilopiazza) wrote :

Try to look further in the log, you should see that GLcore gets loaded later, together with glx.:

(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/lib/xorg/modules/extensions/libGLcore.so
(II) Module GLcore: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension GLX

Does Xorg's log contain anything about "drm" ?

Revision history for this message
Martin Willemoes Hansen (mwh) wrote :

I see, here is the output:
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 6.99.99.904, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/lib/xorg/modules/extensions/libGLcore.so
(II) Module GLcore: vendor="X.Org Foundation"
        compiled for 6.99.99.904, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension GLX

Yes, here is the log about drm:
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/lib/xorg/modules/linux/libdrm.so
(II) Module drm: vendor="X.Org Foundation"
        compiled for 6.99.99.904, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension XFree86-DRI

Revision history for this message
Martin Willemoes Hansen (mwh) wrote :

Tested with Flight 4, 3D still doesn't work :(

Revision history for this message
Martin Willemoes Hansen (mwh) wrote :

Is there anything I can do to help with the correction of this bug?

It is a regression in Dapper, 3D works nicely in hoary, and brezy.

Need anymore info or?

Daniel Stone (daniels)
Changed in xserver-xorg-driver-rendition:
assignee: daniels → nobody
Revision history for this message
Martin Willemoes Hansen (mwh) wrote :

Same problem in Flight 5.

Revision history for this message
Paul Sladen (sladen) wrote :

Can you dist-upgrade to the latest packages, there have been a couple of tweaks.

Could you also attach an:

  lspci -n | grep 0000:00:02

Revision history for this message
Paul Sladen (sladen) wrote :

Raising the priority, this is a regression.

Revision history for this message
Martin Willemoes Hansen (mwh) wrote :

Substituting "vesa" with "i810" in /etc/x11/xorg.conf fixes this problem.

lspci -n | grep 0000:00:02

0000:00:02.0 0300: 8086:2592 (rev 03)
0000:00:02.1 0380: 8086:2792 (rev 03)

Revision history for this message
Paul Sladen (sladen) wrote :

This would seem to be an auto-detection issue. The ThinkPad R52 I'm using at the moment has the same:

  0000:00:02.0 0300: 8086:2592 (rev 03)
  0000:00:02.1 0380: 8086:2792 (rev 03)

I uploaded a fix that added these PCI IDs. Could you check with the latestest updates and confirm that this is fixed for you.

Changed in xserver-xorg-driver-i810:
assignee: nobody → sladen
Revision history for this message
Martin Willemoes Hansen (mwh) wrote :

I did a complete upgrade of Flight 5 and rebooted, but still the problem persists.

Should I do something else to make this work or...?

Revision history for this message
Paul Sladen (sladen) wrote :

Flight 5 doesn't have those IDs in. Please can you try:

  $ sudo dpkg-reconfigure -phigh xserver-xorg

and if that doesn't work, can you paste the output of:

  $ sudo discover --disable-all --enable=pci --format="%V %M\t%S\t%D\n" video

and:

  $ lspci -n | grep 0000:00:0

which should also show the bridge address. And can we have a quick which package versions you've got installed:

  $ dpkg -l | awk '/^ii.*(libgl1|linux-image|driver-i810|xserver-xorg )/{print $2,$3}'

Many Thanks!

Revision history for this message
Martin Willemoes Hansen (mwh) wrote :

sudo dpkg-reconfigure -phigh xserver-xorg fixes the config file just alright :)

Revision history for this message
Paul Sladen (sladen) wrote :

Excellent, excellent :)

Changed in discover1-data:
status: Needs Info → Fix Released
Revision history for this message
Martin Willemoes Hansen (mwh) wrote :

Works out of the box in Flight 6

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.