i915 loaded instead of i810 - broken openGL

Bug #1084452 reported by karaluh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

lspci|grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)

So the correct module for this chip is i810, however
cat /var/log/Xorg.0.log|grep "DRI driver"
[ 32.324] (II) intel(0): [DRI2] DRI driver: i915

which results in
glxgears

libGL error: failed to load driver: i915
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
X Error of failed request: BadAlloc (insufficient resources for operation)
  Major opcode of failed request: 153 (GLX)
  Minor opcode of failed request: 3 (X_GLXCreateContext)
  Serial number of failed request: 33
  Current serial number in output stream: 35

Trying to load i810 manualy results in
sudo modprobe i810
FATAL: Error inserting i810 (/lib/modules/3.5.0-19-generic/kernel/drivers/gpu/drm/i810/i810.ko): Invalid argument

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: linux-image (not installed)
ProcVersionSignature: Ubuntu 3.5.0-19.30-generic 3.5.7
Uname: Linux 3.5.0-19-generic i686
ApportVersion: 2.6.1-0ubuntu6
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: karol 2526 F.... pulseaudio
 /dev/snd/pcmC0D0p: karol 2526 F...m pulseaudio
CRDA: Error: [Errno 2] Nie ma takiego pliku ani katalogu: 'iw'
Date: Thu Nov 29 10:48:32 2012
HibernationDevice: RESUME=/dev/md0
IwConfig:
 lo no wireless extensions.

 virbr0 no wireless extensions.

 eth1 no wireless extensions.
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
MarkForUpload: True
ProcEnviron:
 LANGUAGE=pl_PL:pl:en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=pl_PL.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-19-generic root=UUID=d6d9b55b-2a61-4793-a5ba-982b43f9a7f4 ro quiet splash
RelatedPackageVersions:
 linux-restricted-modules-3.5.0-19-generic N/A
 linux-backports-modules-3.5.0-19-generic N/A
 linux-firmware 1.95
RfKill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
UpgradeStatus: Upgraded to quantal on 2012-10-19 (40 days ago)
WpaSupplicantLog:

dmi.bios.date: 06/11/2004
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1002.002
dmi.board.name: P4P800-MX
dmi.board.vendor: ASUSTek Computer Inc.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1002.002:bd06/11/2004:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASUSTekComputerInc.:rnP4P800-MX:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
karaluh (karaluh) wrote :
no longer affects: linux
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.7 kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.7-rc7-raring/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
tags: added: kernel-da-key
Revision history for this message
karaluh (karaluh) wrote :
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
karaluh (karaluh) wrote :

Still there in raring

Revision history for this message
Julian Wiedmann (jwiedmann) wrote :

> Trying to load i810 manualy results in
> sudo modprobe i810
> FATAL: Error inserting i810 (/lib/modules/3.5.0-19-generic/kernel/drivers/gpu/drm/i810/i810.ko): Invalid argument

The naming might be confusing, but i915.ko *is* the correct kernel driver for your graphics chip. And i915_dri.so is the right OpenGL driver.

> libGL error: failed to load driver: i915

This is the problem you need to investigate.

Revision history for this message
karaluh (karaluh) wrote :

This is verbose debug. What could be the problem?
libGL: OpenDriver: trying /usr/lib/dri/tls/i915_dri.so
libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so
libGL error: dlopen /usr/lib/dri/i915_dri.so failed (/usr/lib/dri/i915_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: i915_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i915

Revision history for this message
karaluh (karaluh) wrote :

The issue is caused by /etc/X11/Xsession.d/10fglrx file incorrectly setting driver path. File was left by previous fglrx driver installation - I used to have ATI card.

Revision history for this message
Julian Wiedmann (jwiedmann) wrote :

Glad you managed to fix it!

Changed in linux (Ubuntu):
status: Triaged → Invalid
no longer affects: mesa (Ubuntu)
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.