You are not logged in.

#1 2012-10-20 08:44:08

spiritwalker
Member
From: USA
Registered: 2010-07-15
Posts: 85

[SOLVED] intel driver issue

I'm getting the following error when I run this command:

LIBGL_DEBUG=verbose glxinfo|grep rend
LIBGL_DEBUG=verbose glxinfo|grep rend
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/i965_dri.so
libGL error: dlopen /usr/lib32/xorg/modules/dri/i965_dri.so failed (/usr/lib32/xorg/modules/dri/i965_dri.so: wrong ELF class: ELFCLASS32)
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/swrast_dri.so
libGL error: dlopen /usr/lib32/xorg/modules/dri/swrast_dri.so failed (/usr/lib32/xorg/modules/dri/swrast_dri.so: wrong ELF class: ELFCLASS32)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Serial number of failed request:  27
  Current serial number in output stream:  30

How do I get rid of the error messages?
I have these packages installed: intel-dri, lib32-intel-dri, mesa, mesa-demos.

Last edited by spiritwalker (2012-10-20 14:41:03)

Offline

#2 2012-10-20 10:41:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,433

Re: [SOLVED] intel driver issue

I'm getting similar output on a 32-bit Arch, only the numbers in two last lines differ. It's glxinfo, llpp-git, chromium-bsu etc.

$ chromium-bsu 
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:  25
  Current serial number in output stream:  26
$ chromium-bsu 
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:  25
  Current serial number in output stream:  26
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)

The issue exists only if I'm using SNA. With UXA, all is good.

Offline

#3 2012-10-20 13:24:49

spiritwalker
Member
From: USA
Registered: 2010-07-15
Posts: 85

Re: [SOLVED] intel driver issue

karol,

Am I doing it right to switch to UXA?

I have created a file '/etc/X11/xorg.conf.d/20-intel.conf' with the following contents

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "AccelMethod"  "uxa"
EndSection

This is what I get after rebooting:

$ chromium-bsu 
libGL error: failed to load driver: i965
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:  154 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Serial number of failed request:  30
  Current serial number in output stream:  31

Also, here is an extra bit of info:

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)

Last edited by spiritwalker (2012-10-20 13:26:10)

Offline

#4 2012-10-20 14:40:46

spiritwalker
Member
From: USA
Registered: 2010-07-15
Posts: 85

Re: [SOLVED] intel driver issue

karol, never mind.

I had this line in ~/.bashrc

export LIBGL_DRIVERS_PATH=/usr/lib32/xorg/modules/dri

This file was copied over from my old installation, so removing it solved the problem.
Thanks

Offline

#5 2012-10-20 15:44:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,433

Re: [SOLVED] intel driver issue

I'm using a 32-bit Arch and my GPU is so old, it's not fully supported anymore.
I have to use

Option "NoAccel" "true"

not to get GPU hangups.
UXA is the default so

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "NoAccel" "true"
EndSection

is enough.

Yes, you lose the acceleration this way :-(

Offline

Board footer

Powered by FluxBB