Linux, GSdx plugin on Ati card
#1
Hi All!

Im used 64bit(multilib) gentoo system. Set up an 32 bit chroot, get the source from svn (5210) and compiled it. The ZZ OGL works fine but slow. The GSdx plugin Software/Hardware not work. The error messages is:

Code:
glX-Version 1.4 with Direct Rendering
GL_ARB_separate_shader_objects is not supported

But glxinfo says:
Code:
$ glxinfo |grep -i GL_ARB_separate_shader_objects
    GL_ARB_seamless_cube_map, GL_ARB_separate_shader_objects,

Code:
glxinfo |grep -i opengl
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: ATI Radeon HD 5700 Series
OpenGL version string: 4.2.11631 Compatibility Profile Context
OpenGL shading language version string: 4.20

Is it possible to get working GSdx plugin on Ati card or must use one of Nvidia cards?


ps: sorry for my english
Reply

Sponsored links

#2
gsdx plugin requires directx.
are you sure Directx can be compiled under Gentoo ?
CPU : AMD Ryzen 7 3800X
Mobo : Asus PRIME B450-PLUS
GPU : NVIDIA GeForce RTX 3070
RAM : 16 Go
Reply
#3
(05-16-2012, 08:20 PM)jesalvein Wrote: gsdx plugin requires directx.
are you sure Directx can be compiled under Gentoo ?

Yep, its libGSdx may somthing new experimental don't know.
Code:
file libGSdx-0.1.16.so
libGSdx-0.1.16.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (GNU/Linux), dynamically linked, stripped

[Image: 3b0a72d53b3ec1272296345110c845d4.jpg]
Reply
#4
@jesalvein,
Actually I do an experimental port of GSdx to opengl. The hardware renderer is a bit buggy but SW renderer must be good. The major requirement is to have a DX10 capable GPU.

@player0,
Normally you can use the SW renderer on AMD GPU. Which version of glew did you use? Can you check the extensions with glewinfo instead (note you must use the one inside the chroot).
Reply
#5
(05-17-2012, 11:36 AM)gregory Wrote: @player0,
Normally you can use the SW renderer on AMD GPU. Which version of glew did you use? Can you check the extensions with glewinfo instead (note you must use the one inside the chroot).

Glew version is 1.6. Libs/drivers are same version in both environment.

glewinfo:
Code:
glewinfo |grep -i GL_ARB_separate_shader
GL_ARB_separate_shader_objects:                                OK

My video card is 5770 it is support DX11. The offical ati driver (fglrx) is installed and set up correctly.

I will update glew to 1.7 recompile the new svn source and post the results.

From the glew site:
Quote:[08-26-11] GLEW 1.7.0 adds support for OpenGL 4.2, new extensions, fixes bugs

I hope the glew update solve my problem.
Reply
#6
yes libglew 1.7 would help. Actually my gpu is an hd5770 too;-) By the way I advice to use a recent enough drivers (12.3 at least). If it doesn t work tell me, in worst case update the code to remove the check.
Reply
#7
Same problem. Update glew did not solve my issue (ati-drivers 12.4). From GSdx only SDL version works (first time to compile with sdl support).

When try Hardware/Software the gs error messages is:
Code:
glX-Version 1.4 with Direct Rendering
GL_ARB_separate_shader_objects is not supported

If run GSdx with SDL and after try to change Software or Hardware mode the messages in console:
Code:
1mlX-Version 1.4 with Direct Rendering
Error: Failed to init glew :Missing GL version

1mlX-Version is not typing issue, may that is the wrong part?

Code:
glewinfo |grep -i version
GLEW version 1.7.0
OpenGL version 4.2.11631 Compatibility Profile Context is supported
GL_VERSION_1_1:                                                OK
GL_VERSION_1_2:                                                OK
GL_VERSION_1_2_1:                                              OK
GL_VERSION_1_3:                                                OK
GL_VERSION_1_4:                                                OK
GL_VERSION_1_5:                                                OK
GL_VERSION_2_0:                                                OK
GL_VERSION_2_1:                                                OK
GL_VERSION_3_0:                                                OK
GL_VERSION_3_1:                                                OK
GL_VERSION_3_2:                                                OK
GL_VERSION_3_3:                                                OK
GL_VERSION_4_0:                                                OK
GL_VERSION_4_1:                                                OK
GL_VERSION_4_2:                                                OK
GLX_VERSION_1_2:                                               OK
GLX_VERSION_1_3:                                               OK
GLX_VERSION_1_4:                                               OK
Reply
#8
better drop sdl. Edit GSdeviceOGL.cpp and remove the shader separate check
Reply
#9
(05-17-2012, 10:37 PM)gregory Wrote: better drop sdl. Edit GSdeviceOGL.cpp and remove the shader separate check

Im not a programmer but try to do what you say so i removed the next part of the code:
Code:
    if ( !glewIsSupported("GL_ARB_separate_shader_objects")) {
        fprintf(stderr, "GL_ARB_separate_shader_objects is not supported\n");
    return false;
    }
Error messages gone but didn't solve the problem.

Tried with ati-drivers 12.2, 12.3 and 12.4
Reply
#10
Compiz, 3D shooter (Urban Terror, etc) works fine. Glxgears from chroot environment works too.

Code:
user@user / $ which glxgears
/usr/bin/glxgears
user@user / $ file /usr/bin/glxgears
/usr/bin/glxgears: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
user@user / $ glxgears
37851 frames in 5.0 seconds = 7570.145 FPS
37834 frames in 5.0 seconds = 7566.771 FPS
37828 frames in 5.0 seconds = 7565.509 FPS
Reply




Users browsing this thread: 1 Guest(s)