You are not logged in.

#1 2009-10-12 12:55:16

pyokagan
Member
From: Singapore
Registered: 2009-09-01
Posts: 9

(lib32-libgl) libgl will not load 32 bit i965_dri

Running 32 bit libgl in 64 bit system.

libgl (32 bit) does not want to search for the i965 driver at the right library path.

I tried setting the LD_LIBRARY_PATH variable but it does not seem to follow it. Using:

export LD_LIBRARY_PATH="/opt/lib32/usr/lib/:/opt/lib32/lib/:$LD_LIBRARY_PATH:."

Thus, mesa reverts to software rasterization.

Futhermore, this causes 32bit games to not have opengl acceleration.

I'm using the glxinfo in bin32-mesa

snippit of what happens:

[pyokagan ~]% echo $LD_LIBRARY_PATH

[pyokagan ~]% export LD_LIBRARY_PATH="/opt/lib32/usr/lib/:/opt/lib32/lib/:."                 
[pyokagan ~]% cd /opt/bin32/usr/bin 
[pyokagan /opt/bin32/usr/bin]% LIBGL_DEBUG=verbose ./glxinfo
name of display: :0.0
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/i965_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri/i965_dri.so failed (/usr/lib/xorg/modules/dri/i965_dri.so: wrong ELF class: ELFCLASS64)
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/swrast_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri/swrast_dri.so failed (/usr/lib/xorg/modules/dri/swrast_dri.so: wrong ELF class: ELFCLASS64)
libGL error: unable to load driver: swrast_dri.so
libGL error: reverting to indirect rendering
display: :0  screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)

So how do I point libgl to the right path? big_smile

Last edited by pyokagan (2009-10-12 13:11:56)

Offline

#2 2010-05-07 06:18:56

Atlawrie
Member
Registered: 2010-04-18
Posts: 2

Re: (lib32-libgl) libgl will not load 32 bit i965_dri

I've been having this same issue...sorry to revive a dead post.
I use an ATI driver for a Radeon card. Anybody have a solution for this problem?

Offline

Board footer

Powered by FluxBB