Bug 38783

Summary: etqw fail to run with a texture format error
Product: Mesa Reporter: Laurent carlier <lordheavym>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium CC: sa
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: glxinfo output
etqw output
glxinfo32 output

Description Laurent carlier 2011-06-29 13:36:35 UTC
Created attachment 48567 [details]
glxinfo output

* Archlinux
* radeon HD4850, x86_64 with 32 libs installed
* kernel 2.6.39.2, 3.0.rc4
* mesa 7.11 snapshot (fc8c4a3a7b92a1134cd3a9312063abba9e14b0fe)
* libtxc_dxtn and lib32-libtxc_dxtn 1.0.1

etqw fail to run and show the following line:
Sys_Error: Image '_default' was generated with internal format 0x83f0 but GL returned 0x30291e2

No error message in the kernel's log
Comment 1 Laurent carlier 2011-06-29 13:37:06 UTC
Created attachment 48568 [details]
etqw output
Comment 2 Sven Arvidsson 2011-06-29 14:52:53 UTC
Are you sure this isn't already fixed? 6f998b58bc61f2507cd53204d7567299379c42ca mentions fixing a regression introduced by the same commit.
Comment 3 Laurent carlier 2011-06-30 04:28:25 UTC
Moving to a lastest snapshot of mesa (4f799e614264d2409fd32e3e3992405bb3fd924f) doesn't fix the problem.
Comment 4 Andy Furniss 2011-06-30 04:37:27 UTC
(In reply to comment #0)
> Created an attachment (id=48567) [details]
> glxinfo output

OpenGL renderer string: Gallium 0.4 on llvmpipe

Looks like you are getting software rendering for some reason.
Comment 5 Sven Arvidsson 2011-06-30 04:57:24 UTC
The OpenGL version string doesn't contain a git commit either, so it doesn't look like you're actually using the snapshot installed?

Can you set LIBGL_DEBUG=verbose when running both glxinfo and ETQW to make sure that it's picking up the right driver? You should see something like:

libGL: OpenDriver: trying /path/to/r600_dri.so
Comment 6 Laurent carlier 2011-06-30 04:59:19 UTC
Created attachment 48591 [details]
glxinfo32 output

Should be better now :-) but still no luck:


OpenGL renderer string: Gallium 0.4 on AMD RV770
OpenGL version string: 2.1 Mesa 7.12-devel
OpenGL shading language version string: 1.20
Comment 7 Laurent carlier 2011-06-30 05:01:30 UTC
(In reply to comment #5)
> The OpenGL version string doesn't contain a git commit either, so it doesn't
> look like you're actually using the snapshot installed?
> 
> Can you set LIBGL_DEBUG=verbose when running both glxinfo and ETQW to make sure
> that it's picking up the right driver? You should see something like:
> 
> libGL: OpenDriver: trying /path/to/r600_dri.so

got this revelant from etqw:


Failed to open server license code file for reading.
SDL_ListModes:
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: OpenDriver: trying /usr/lib32/xorg/modules/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/r600_dri.so
libGL error: dlopen /usr/lib32/xorg/modules/dri/r600_dri.so failed (libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib32/xorg/modules/dri/r600_dri.so))
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
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 (libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib32/xorg/modules/dri/swrast_dri.so))
libGL error: unable to load driver: swrast_dri.so
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/tls/swrastg_dri.so
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/swrastg_dri.so
libGL error: dlopen /usr/lib32/xorg/modules/dri/swrastg_dri.so failed (libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib32/xorg/modules/dri/swrastg_dri.so))
libGL error: unable to load driver: swrastg_dri.so
libGL error: reverting to indirect rendering
8/8/8/8 RGBA bits, 24 depth bits, 8 stencil bits
no multisampling
vsync: SDL reports -6454968 - broken?
Comment 8 Sven Arvidsson 2011-06-30 05:15:36 UTC
That's what I thought, it's a problem with the libs shipped with the game. 

Try moving/removing libgcc_s.so.1 and libstdc++.so.6 from the ETQW install and it should work.
Comment 9 Laurent carlier 2011-06-30 05:21:45 UTC
Thanks that fixed the problem, so closing it as "NOTOURBUG"

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.