You are not logged in.

#1 2014-09-21 18:18:09

colin-one
Member
Registered: 2014-09-21
Posts: 5

libGL error

Hello everybody,

I freshly installed archlinux on my msi laptop. And i have lot of probleme with program zho use opengl.
If i do glxinfo32 | grep OpenGL :

libGL error: dlopen /usr/lib/xorg/modules/dri//r600_dri.so failed (/usr/lib/xorg/modules/dri//r600_dri.so: wrong ELF class: ELFCLASS64)
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
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: failed to load driver: swrast

i have all this errors...

Here my graphic card  lspci | grep VGA:

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Broadway XT [Mobility Radeon HD 5870]

And i installed open driver Ati xf86-video-ati.


For exemple i cant play 3d game or use graphic software ...


Have you any advises ?


Thank you !

Offline

#2 2014-09-21 20:11:05

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

Re: libGL error

Post the output of

pacman -Qs ati-dri mesa
uname -a

Which games and other software are you having problems with?

Last edited by karol (2014-09-21 20:13:13)

Offline

#3 2014-09-21 20:42:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,545
Website

Re: libGL error

Mod note: moved to Apps & DEs as this doesn't seem to be for kernel or hardware issues.

Welcome to the forums.  In addition to the results of Karol's suggestions, could you also describe whether you have enabled multilib?  If you are unsure, please post the contents of your /etc/pacman.conf in code tags.

EDIT: actually it seems obvious (or at least very highly likely) that you do already have multilib as glxinfo32 only resides there.  My appologies, I should have checked that first.

Last edited by Trilby (2014-09-21 20:45:28)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#4 2014-09-21 20:58:31

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: libGL error

have you installed lib32-at-dri? you need that to run 32bit opengl applications on 64bit,

Last edited by ooo (2014-09-21 20:59:21)

Offline

#5 2014-09-21 21:04:11

colin-one
Member
Registered: 2014-09-21
Posts: 5

Re: libGL error

Thanks for reply.

No problem Tribly.


Here my pacman Query :

local/ati-dri 10.2.8-1
    Mesa drivers for AMD/ATI Radeon
local/lib32-ati-dri 10.2.8-1
    Mesa drivers for AMD/ATI Radeon (32-bit)


And my uname -a :

Linux msi001 3.16.3-1-ARCH #1 SMP PREEMPT Wed Sep 17 21:54:13 CEST 2014 x86_64 GNU/Linux


For exemple, Bastion on Steam crash imediately, Modo (3d software) had lot of opengl bugs ...

Thanks again,

Last edited by colin-one (2014-09-21 21:04:45)

Offline

#6 2014-09-22 12:35:16

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,562

Re: libGL error

with lib32-ati-dri installed you shouldn't get the ELFCLASS64 error for r600_dri.so when running glxinfo32 .

please post the output of ls -l /usr/lib32/xorg/modules/dri .

Do you have opengl problems with linux native 64-bit programs like xonotic / oolite , or are the problems all related to 32-bit stuff ?


edit : typo in path for LS command corrected

Last edited by Lone_Wolf (2014-09-23 10:33:13)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2014-09-22 18:54:26

colin-one
Member
Registered: 2014-09-21
Posts: 5

Re: libGL error

Xonotic ... works! so you're right.

And  the output of ls -l /usr/lib32/xorg/modules/dri/   (not /usr/lib32/xorg/modules/modules/dri/  as you write ? ) :

-rwxr-xr-x 2 root root 5944724 Sep 20 12:42 r200_dri.so
-rwxr-xr-x 1 root root 5304268 Sep 20 12:42 r300_dri.so
-rwxr-xr-x 1 root root 5836300 Sep 20 12:42 r600_dri.so
-rwxr-xr-x 2 root root 5944724 Sep 20 12:42 radeon_dri.so
-rwxr-xr-x 1 root root 5180364 Sep 20 12:42 radeonsi_dri.so
-rwxr-xr-x 1 root root 5106316 Sep 20 12:43 swrast_dri.so



How i can fix that ?

Thank you.

Last edited by colin-one (2014-09-22 18:57:15)

Offline

#8 2014-09-22 19:49:43

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

Re: libGL error

What's the output of

file /usr/lib32/xorg/modules/dri/*

Offline

#9 2014-09-22 20:12:15

colin-one
Member
Registered: 2014-09-21
Posts: 5

Re: libGL error

Hey karol.

Here the output:

/usr/lib32/xorg/modules/dri/r200_dri.so:     ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=cf4a35f77acf0c7a6ebb6b8f82addc6bfe579c7e, stripped
/usr/lib32/xorg/modules/dri/r300_dri.so:     ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=a9ef27a7a323cccc202970402a2999b7c6776fcc, stripped
/usr/lib32/xorg/modules/dri/r600_dri.so:     ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=e36f4b8250a25aeb0d3628ca77d5d6908fe32e63, stripped
/usr/lib32/xorg/modules/dri/radeon_dri.so:   ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=cf4a35f77acf0c7a6ebb6b8f82addc6bfe579c7e, stripped
/usr/lib32/xorg/modules/dri/radeonsi_dri.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=5a6329080e8029279beda3cbe571fe9ac2810ae1, stripped
/usr/lib32/xorg/modules/dri/swrast_dri.so:   ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=d6b0e2458bd4474c2150a008cd95e8436a8b6a2b, stripped


Thanks again

Offline

#10 2014-09-22 20:14:35

colin-one
Member
Registered: 2014-09-21
Posts: 5

Re: libGL error

And here for file /usr/lib/xorg/modules/dri/* :

/usr/lib/xorg/modules/dri/fglrx_dri.so:    ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
/usr/lib/xorg/modules/dri/r200_dri.so:     ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=3843c994d070538ba35c6f6557b0d91140d43175, stripped
/usr/lib/xorg/modules/dri/r300_dri.so:     ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=e68ddc60d9be22ef6cc86fd60156f97d7b54dfc2, stripped
/usr/lib/xorg/modules/dri/r600_dri.so:     ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=7b1d1b0e7a43cac3dfc66da8775ec33058344960, stripped
/usr/lib/xorg/modules/dri/radeon_dri.so:   ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=3843c994d070538ba35c6f6557b0d91140d43175, stripped
/usr/lib/xorg/modules/dri/radeonsi_dri.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=3b957e2d7e4f9120e447838375685e829166d985, stripped
/usr/lib/xorg/modules/dri/swrast_dri.so:   ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=f5dd4fad955b255b6d3aa99cd5fe9fe89b058137, stripped


?????? /usr/lib/xorg/modules/dri/fglrx_dri.so:    ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped ??????

Offline

#11 2014-09-23 12:50:16

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 293

Re: libGL error

Probably LIBGL_DRIVERS_PATH is defined somewhere. What is the ouput of 'echo $LIBGL_DRIVERS_PATH'

Offline

Board footer

Powered by FluxBB