You are not logged in.

#1 2013-10-02 10:59:16

IM back
Member
Registered: 2011-08-03
Posts: 12

Troubble With Ati dri lib32

Hi,

So i had FGLRX installt, but recently with the improvents to the ati open source driver (UVD, powerplay) i decidet to switch back to OSS.

Everything works except 32bit applications. Glxgears32 outputs:

libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/r600_dri.so
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: 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: failed to load driver: swrast

unless I

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

but then 64bit programs dont work (as expected).

Also Quake4 and various windows apps under wine crash the xserver with:

xinit /usr/bin/quake4-smp -- :1                      


X.Org X Server 1.14.3
Release Date: 2013-09-12
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.11.0-1-ARCH x86_64 
Current Operating System: Linux UVOSLinux 3.11.2-1-ARCH #1 SMP PREEMPT Fri Sep 27 07:35:36 CEST 2013 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=5a85595d-9cd1-4814-b335-71d22d9c489b rw quiet
Build Date: 13 September 2013  01:28:59PM
 
Current version of pixman: 0.30.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Wed Oct  2 12:46:14 2013
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
setversion 1.4 failed
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
(II) [KMS] Kernel modesetting enabled.
setversion 1.4 failed
Quake4  V1.4.2 linux-x86 Jun 15 2007
found interface lo - loopback
found interface eth0 - 192.168.0.100/255.255.255.0
CPU: AMD CPU with MMX & 3DNow! & SSE & SSE2 & SSE3
enabled Flush-To-Zero mode
--------- Initializing File System ----------
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/game000.pk4 with checksum 0x9321cee4
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/game100.pk4 with checksum 0x74b379d9
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/game200.pk4 with checksum 0xa3c810d9
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak001.pk4 with checksum 0xf2cbc998
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak002.pk4 with checksum 0x7f8d80d1
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak003.pk4 with checksum 0x1b57b207
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak004.pk4 with checksum 0x385aa578
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak005.pk4 with checksum 0x60d50a1d
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak006.pk4 with checksum 0x9099ed11
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak007.pk4 with checksum 0xaf301fff
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak008.pk4 with checksum 0x4ac6f6d9
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak009.pk4 with checksum 0x36030c7d
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak010.pk4 with checksum 0x4b80fbda
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak011.pk4 with checksum 0x8acf4cfa
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak012.pk4 with checksum 0xbe4120b0
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak013.pk4 with checksum 0x6ad67f40
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak014.pk4 with checksum 0xee51cd59
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak015.pk4 with checksum 0xf5bf4e0c
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak016.pk4 with checksum 0x2196f58c
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak017.pk4 with checksum 0x91118a35
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak018.pk4 with checksum 0x98a14f03
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak019.pk4 with checksum 0xbc82ac79
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak020.pk4 with checksum 0xce74cda5
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak021.pk4 with checksum 0x2ba6e70c
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/pak022.pk4 with checksum 0x4e390eec
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/q4cmp_pak001.pk4 with checksum 0xd0813943
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/zpak_english.pk4 with checksum 0x5868f530
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/zpak_english_01.pk4 with checksum 0xd9f04b8b
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/zpak_english_02.pk4 with checksum 0x9dbd91fd
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/zpak_english_03.pk4 with checksum 0x2eb6ad8
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/zpak_english_04.pk4 with checksum 0xd3fefaa1
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/zpak_french.pk4 with checksum 0xbec7cb4
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/zpak_italian.pk4 with checksum 0x1e3aa0f
Loaded pk4 /media/sharedHome/Documents/.quake4/q4base/zpak_spanish.pk4 with checksum 0xb706e2b8
Addon pk4 /media/sharedHome/Documents/.quake4/q4base/q4cmp_pak001.pk4 with checksum 0xd0813943 is on addon list
Current search path:
/home/philipp/.quake4/q4base
/media/sharedHome/Documents/.quake4/q4base
/media/sharedHome/Documents/.quake4/q4base/zpak_spanish.pk4 (3542 files)
/media/sharedHome/Documents/.quake4/q4base/zpak_italian.pk4 (3500 files)
/media/sharedHome/Documents/.quake4/q4base/zpak_french.pk4 (3462 files)
/media/sharedHome/Documents/.quake4/q4base/zpak_english_04.pk4 (3 files)
/media/sharedHome/Documents/.quake4/q4base/zpak_english_03.pk4 (4 files)
/media/sharedHome/Documents/.quake4/q4base/zpak_english_02.pk4 (21 files)
/media/sharedHome/Documents/.quake4/q4base/zpak_english_01.pk4 (1 files)
/media/sharedHome/Documents/.quake4/q4base/zpak_english.pk4 (3457 files)
/media/sharedHome/Documents/.quake4/q4base/pak022.pk4 (14 files)
/media/sharedHome/Documents/.quake4/q4base/pak021.pk4 (89 files)
/media/sharedHome/Documents/.quake4/q4base/pak020.pk4 (11 files)
/media/sharedHome/Documents/.quake4/q4base/pak019.pk4 (1206 files)
/media/sharedHome/Documents/.quake4/q4base/pak018.pk4 (3 files)
/media/sharedHome/Documents/.quake4/q4base/pak017.pk4 (3 files)
/media/sharedHome/Documents/.quake4/q4base/pak016.pk4 (193 files)
/media/sharedHome/Documents/.quake4/q4base/pak015.pk4 (34 files)
/media/sharedHome/Documents/.quake4/q4base/pak014.pk4 (552 files)
/media/sharedHome/Documents/.quake4/q4base/pak013.pk4 (239 files)
/media/sharedHome/Documents/.quake4/q4base/pak012.pk4 (1081 files)
/media/sharedHome/Documents/.quake4/q4base/pak011.pk4 (5620 files)
/media/sharedHome/Documents/.quake4/q4base/pak010.pk4 (5539 files)
/media/sharedHome/Documents/.quake4/q4base/pak009.pk4 (1284 files)
/media/sharedHome/Documents/.quake4/q4base/pak008.pk4 (1289 files)
/media/sharedHome/Documents/.quake4/q4base/pak007.pk4 (1330 files)
/media/sharedHome/Documents/.quake4/q4base/pak006.pk4 (1343 files)
/media/sharedHome/Documents/.quake4/q4base/pak005.pk4 (1395 files)
/media/sharedHome/Documents/.quake4/q4base/pak004.pk4 (2249 files)
/media/sharedHome/Documents/.quake4/q4base/pak003.pk4 (1281 files)
/media/sharedHome/Documents/.quake4/q4base/pak002.pk4 (313 files)
/media/sharedHome/Documents/.quake4/q4base/pak001.pk4 (5837 files)
/media/sharedHome/Documents/.quake4/q4base/game200.pk4 (9 files)
/media/sharedHome/Documents/.quake4/q4base/game100.pk4 (2 files)
/media/sharedHome/Documents/.quake4/q4base/game000.pk4 (2 files)
game DLL: 0x0 in pak: 0x0
Addon pk4s:
/media/sharedHome/Documents/.quake4/q4base/q4cmp_pak001.pk4 (119 files)
file system initialized.
---------------------------------------------
------------ Initializing Decls -------------
Loading guides.... 64 loaded
137ms to load 1125k of material
46ms to load 43k of skin
97ms to load 723k of sound
3ms to load 1k of materialType
179ms to load 2889k of lipSync
24ms to load 105k of playback
721ms to load 1690k of effect
---------------------------------------------
-------- Initializing renderSystem ----------
Spawning back end thread...
...ok
using ARB renderSystem
renderSystem initialized.
---------------------------------------------
Found default language English with VO
.... found additional language 'french' with VO
.... found additional language 'italian' with VO
.... found additional language 'spanish' with VO
696 strings read from strings/english_code.lang
1794 strings read from strings/english_guis.lang
5756 strings read from strings/english_lips.lang
5759 strings read from strings/english_mappack.lang
6235 strings read from strings/english_maps.lang
632 strings read from strings/french_code.lang
1654 strings read from strings/french_guis.lang
5616 strings read from strings/french_lips.lang
5619 strings read from strings/french_mappack.lang
6088 strings read from strings/french_maps.lang
632 strings read from strings/italian_code.lang
1654 strings read from strings/italian_guis.lang
5616 strings read from strings/italian_lips.lang
5619 strings read from strings/italian_mappack.lang
6088 strings read from strings/italian_maps.lang
632 strings read from strings/spanish_code.lang
1654 strings read from strings/spanish_guis.lang
5616 strings read from strings/spanish_lips.lang
5619 strings read from strings/spanish_mappack.lang
6088 strings read from strings/spanish_maps.lang
Couldn't open journal files
execing default.cfg
"ALT" isn't a valid key
"CTRL" isn't a valid key
couldn't exec editor.cfg
execing Quake4Config.cfg
couldn't exec autoexec.cfg
-------- Initializing Sound System ----------
sound system initialized.
---------------------------------------------
--------------- R_InitOpenGL ----------------
Initializing SDL subsystem
Loading GL driver 'libGL.so.1' through SDL
SDL_ListModes:
1680x1050 1440x900 1280x1024 1280x960 1152x864 1024x768 832x624 800x600 720x400 640x480 
SDL_ListModes are currently ignored for resolution filtering. Set r_useSDLModes to 1 if you want it
libGL error: failed to load driver: r600
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.
8/8/8/8 RGBA bits, 24 depth bits, 8 stencil bits
4 pixels multisampling
dlopen(libasound.so.2)
asoundlib version: 1.0.27.2
Alsa is available
------ Alsa Sound Initialization -----
opened Alsa PCM device default for playback
device buffer size: 5644 frames ( 22576 bytes )
allocated a mix buffer of 16384 bytes
--------------------------------------
...using GL_ARB_multitexture
...using GL_ARB_texture_env_combine
...using GL_ARB_texture_cube_map
...using GL_ARB_texture_env_dot3
...using GL_ARB_texture_env_add
...using GL_ARB_texture_non_power_of_two
...using GL_NV_blend_square
...using GL_ARB_texture_compression
...using GL_EXT_texture_compression_s3tc
...using GL_EXT_texture_filter_anisotropic
   maxTextureAnisotropy: 16.000000
...using GL_EXT_texture_lod
...using GL_1.4_texture_lod_bias
X..GL_EXT_shared_texture_palette not found
...using GL_EXT_draw_range_elements
...using GL_EXT_blend_minmax
X..GL_NV_float_buffer not found
...using GL_EXT_texture3D
...using GL_EXT_stencil_wrap
X..GL_NV_register_combiners not found
X..NV_vertex_program not found
...using GL_EXT_stencil_two_side
X..GL_ATI_fragment_shader not found
X..GL_ATI_text_fragment_shader not found
X..GL_ARB_vertex_buffer_object not found
...using GL_ARB_vertex_program
...using GL_ARB_fragment_program
X..GL_ARB_shader_objects not found
X..EXT_depth_bounds_test not found
---------------- R_NV20_Init ----------------
Not available.
----------------- R200_Init -----------------
Not available.
---------------- R_ARB2_Init ----------------
Available.
---------------------------------------------
------------ R_ReloadARBPrograms ------------
glprogs/test.vfp
GL_PROGRAM_ERROR_STRING_ARB: (null)
GL_PROGRAM_ERROR_POSITION_ARB < 0 with error
glprogs/test.vfp
GL_PROGRAM_ERROR_STRING_ARB: (null)
GL_PROGRAM_ERROR_POSITION_ARB < 0 with error
glprogs/interaction.vfp
GL_PROGRAM_ERROR_STRING_ARB: (null)
GL_PROGRAM_ERROR_POSITION_ARB < 0 with error
glprogs/interaction.vfp
GL_PROGRAM_ERROR_STRING_ARB: (null)
GL_PROGRAM_ERROR_POSITION_ARB < 0 with error
glprogs/bumpyEnvironment.vfp
GL_PROGRAM_ERROR_STRING_ARB: (null)
GL_PROGRAM_ERROR_POSITION_ARB < 0 with error
glprogs/bumpyEnvironment.vfp
GL_PROGRAM_ERROR_STRING_ARB: (null)
GL_PROGRAM_ERROR_POSITION_ARB < 0 with error
glprogs/ambientLight.vfp
GL_PROGRAM_ERROR_STRING_ARB: (null)
GL_PROGRAM_ERROR_POSITION_ARB < 0 with error
glprogs/ambientLight.vfp
GL_PROGRAM_ERROR_STRING_ARB: (null)
GL_PROGRAM_ERROR_POSITION_ARB < 0 with error
glprogs/SimpleInteraction.vfp
GL_PROGRAM_ERROR_STRING_ARB: (null)
GL_PROGRAM_ERROR_POSITION_ARB < 0 with error
glprogs/SimpleInteraction.vfp
GL_PROGRAM_ERROR_STRING_ARB: (null)
GL_PROGRAM_ERROR_POSITION_ARB < 0 with error
glprogs/shadow.vp
GL_PROGRAM_ERROR_STRING_ARB: (null)
GL_PROGRAM_ERROR_POSITION_ARB < 0 with error
glprogs/R200_interaction.vp
GL_PROGRAM_ERROR_STRING_ARB: (null)
GL_PROGRAM_ERROR_POSITION_ARB < 0 with error
glprogs/nv20_bumpAndLight.vp
GL_PROGRAM_ERROR_STRING_ARB: (null)
GL_PROGRAM_ERROR_POSITION_ARB < 0 with error
glprogs/nv20_diffuseColor.vp
GL_PROGRAM_ERROR_STRING_ARB: (null)
GL_PROGRAM_ERROR_POSITION_ARB < 0 with error
glprogs/nv20_specularColor.vp
GL_PROGRAM_ERROR_STRING_ARB: (null)
GL_PROGRAM_ERROR_POSITION_ARB < 0 with error
glprogs/nv20_diffuseAndSpecularColor.vp
GL_PROGRAM_ERROR_STRING_ARB: (null)
GL_PROGRAM_ERROR_POSITION_ARB < 0 with error
glprogs/environment.vfp
GL_PROGRAM_ERROR_STRING_ARB: (null)
GL_PROGRAM_ERROR_POSITION_ARB < 0 with error
glprogs/environment.vfp
GL_PROGRAM_ERROR_STRING_ARB: (null)
GL_PROGRAM_ERROR_POSITION_ARB < 0 with error
glprogs/arbVP_glasswarp.txt
GL_PROGRAM_ERROR_STRING_ARB: (null)
GL_PROGRAM_ERROR_POSITION_ARB < 0 with error
glprogs/arbFP_glasswarp.txt
GL_PROGRAM_ERROR_STRING_ARB: (null)
GL_PROGRAM_ERROR_POSITION_ARB < 0 with error
---------------------------------------------
WARNING: vertex array range in virtual memory (SLOW)
using ARB2 renderSystem
reloading textures/common/debuggraph.
reloading makeIntensity( gfx/lights/squarelight1a).
reloading gfx/lights/squarelight1.
reloading gfx/lights/round.
reloading gfx/guis/mainmenu/splash.
reloading gfx/guis/soundmeter/audiobg.
reloading gfx/guis/white.
reloading gfx/guis/guicursor_arrow.
reloading gfx/guis/guicursor_hand.
reloading gfx/guis/scrollbarh.
reloading gfx/guis/scrollbarv.
reloading gfx/guis/scrollbar_thumb.
reloading gfx/guis/scrollbar_right.
reloading gfx/guis/scrollbar_left.
reloading gfx/guis/scrollbar_up.
reloading gfx/guis/scrollbar_down.
reloading fonts/english/bigchars.
ENABLE_INTEL_VERTEXCACHE_OPT: Possible Junk (!block->vbo)
ENABLE_INTEL_VERTEXCACHE_OPT: Possible Junk (!block->vbo)
ENABLE_INTEL_VERTEXCACHE_OPT: Possible Junk (!block->vbo)
ENABLE_INTEL_VERTEXCACHE_OPT: Possible Junk (!block->vbo)
(EE) 
(EE) Backtrace:
(EE) 0: X (xorg_backtrace+0x3d) [0x57f67d]
(EE) 1: X (0x400000+0x1833e9) [0x5833e9]
(EE) 2: /lib/libpthread.so.0 (0x7f1076c60000+0xf870) [0x7f1076c6f870]
(EE) 3: /usr/lib/xorg/modules/dri/r600_dri.so (0x7f1070de3000+0x9aabd) [0x7f1070e7dabd]
(EE) 4: /usr/lib/xorg/modules/extensions/libglx.so (0x7f1071ea3000+0x3897e) [0x7f1071edb97e]
(EE) 5: /usr/lib/xorg/modules/extensions/libglx.so (0x7f1071ea3000+0x3adb8) [0x7f1071edddb8]
(EE) 6: X (0x400000+0x373be) [0x4373be]
(EE) 7: X (0x400000+0x2693a) [0x42693a]
(EE) 8: /lib/libc.so.6 (__libc_start_main+0xf5) [0x7f1075ce3bc5]
(EE) 9: X (0x400000+0x26c81) [0x426c81]
(EE) 
(EE) Segmentation fault at address 0x1
(EE) 
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
(EE) 
(II) AIGLX: Suspending AIGLX clients for VT switch
(EE) Server terminated with error (1). Closing log file.
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":1"
      after 312 requests (312 known processed) with 0 events remaining.
xinit: connection to X server lost
signal caught: Hangup
si_code 0
Trying to exit gracefully..
pure virtual method called
terminate called without an active exception
double fault Aborted, bailing out

I have nothing in /etc/profile.d/ related to FGLRX.

Offline

#2 2013-10-03 12:31:49

sas
Member
Registered: 2009-11-24
Posts: 153

Re: Troubble With Ati dri lib32

That seems strange.

Make sure that there are no more remnants of the previous FGLRX setup left in places such as /etc/pacman.conf or /etc/X11/{xorg.conf,xorg.conf.d/*}, etc.

Another thing I'd try is to make sure the system is fully upgraded (and all .pacnew files merged), and then force-reinstall all related packages (heeding any warnings or post-install messages that may be printed):

pacman -Syu
pacman -S --asdeps xf86-video-ati ati-dri mesa lib32-ati-dri lib32-mesa lib32-mesa-libgl lib32-mesa-demos

my AUR packages ~~ my community contributions ~~ my referral link for Copy.com (an Arch Linux compatible free cloud storage service - if you sign up via this link both of us get 5GB bonus storage!)

Offline

Board footer

Powered by FluxBB