These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

Linux

 
  • Topic is locked indefinitely.
 

Shader model 3 with r600g

Author
I DontLikeWhatYoureDoing
The Executioners
Capital Punishment.
#1 - 2011-10-02 11:04:28 UTC  |  Edited by: I DontLikeWhatYoureDoing
I'm stuck getting eve to boot up past the SM3 support check. I'm using gallium r600g on an amd hd 5xxx card. I've installed libtxc-dxtn0 and manually installed the equivalent library file to /usr/lib32 from the i386 package. After doing so glxinfo (both i386 and amd64 builds) reports that I have all of these extensions:
Quote:
GL_S3_s3tc, GL_EXT_texture_compression_s3tc, GL_ARB_shader_texture_lod, GL_ARB_draw_buffers_blend

I sudo ldconfig'd and s3tc looks good:
Quote:
$ ldconfig -p|grep txc
libtxc_dxtn.so (libc6,x86-64) => /usr/lib/libtxc_dxtn.so
libtxc_dxtn.so (libc6) => /usr/lib32/libtxc_dxtn.so


I also had to manually export the libGL driver path env var:
Quote:
export LIBGL_DRIVERS_PATH=/usr/lib/x86_64-linux-gnu/dri:/usr/lib32/dri


I'm running the 2.6.39-020639rc4 kernel.

But I am still getting the SM3 error. What have I overlooked?

EDIT: I've confirmed through some quick win32 c code that the d3d9 dll is indeed returning the card as only SM2.0 capable...
I DontLikeWhatYoureDoing
The Executioners
Capital Punishment.
#2 - 2011-10-04 01:07:28 UTC
According to #winehq, GL_EXT_gpu_shader4 is also a required extension for SM3.0 to be reported from the d3d9 dll. Phoronix says work on that extension had a status of "started" on 11 August.

So I guess all those who were using r600g praising eve performance on the older forums were talking pre-SM3.0 requirement...

I'll keep watching for support to drop for that extension. Going back to catalyst :(
Duncan Mileghere
S.T.A.R. Syndicate Germany
#3 - 2011-10-04 05:36:28 UTC  |  Edited by: Duncan Mileghere
I DontLikeWhatYoureDoing wrote:
According to #winehq, GL_EXT_gpu_shader4 is also a required extension for SM3.0 to be reported from the d3d9 dll. Phoronix says work on that extension had a status of "started" on 11 August.

So I guess all those who were using r600g praising eve performance on the older forums were talking pre-SM3.0 requirement...

I'll keep watching for support to drop for that extension. Going back to catalyst :(


Just get the full mesa drivers from git, it works. Ok, well, Station Environment crashes for me but the rest works flawlessly.

That's what I'm using:

Quote:

[xxxx@freakgs ~]$ glxinfo | grep shader
GL_ARB_draw_buffers, GL_ARB_fragment_program, GL_ARB_fragment_shader,
GL_ARB_shader_objects, GL_ARB_vertex_program, GL_ARB_vertex_shader,
GL_EXT_separate_shader_objects, GL_EXT_texture_swizzle,
GL_AMD_shader_stencil_export, GL_ARB_ES2_compatibility,
GL_ARB_shader_stencil_export, GL_ARB_shader_texture_lod,


Quote:

[xxxx@freakgs ~]$ glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD BARTS
OpenGL version string: 2.1 Mesa 7.12-devel (git-dd9574d)
OpenGL shading language version string: 1.20




Btw, I had to get the 32 bit mesa drivers, too, same goes for the s3tc extension.
I DontLikeWhatYoureDoing
The Executioners
Capital Punishment.
#4 - 2011-10-10 05:11:35 UTC
Duncan Mileghere wrote:

Just get the full mesa drivers from git, it works. Btw, I had to get the 32 bit mesa drivers, too, same goes for the s3tc extension.


Interesting that you don't need the shader4 extension. I must have been mislead on irc.

I am using the same exact git version. I'll have to try again, perhaps I was missing some of the 32bit mesa stuff. I did install the 32bit s3tc library.