LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Pitty performance on OpenGL benchmark (https://www.linuxquestions.org/questions/slackware-14/pitty-performance-on-opengl-benchmark-4175499408/)

moisespedro 03-25-2014 10:04 AM

Pitty performance on OpenGL benchmark
 
Hi, I am running Slackware64 14.1 with 3.13.6 kernel, radeon 6670, latest mesa 64 bits (forgot the number, I am not on my system now) and alien's bob mesa compat32 version. I decided to run the Phoronix benchmark tool and I tried the OpenGL test and I was getting 3 fps on it! Is is normal? I mean, for the free radeon driver? I wonder if I ddi something wrong while compiling mesa.

adamk75 03-25-2014 10:18 AM

What is the output of 'glxinfo | grep -i render'?

Adam

moisespedro 03-25-2014 10:53 AM

pedro@darkstar:~$ glxinfo | grep -i render
direct rendering: Yes
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
OpenGL renderer string: Gallium 0.4 on AMD TURKS
GL_MESA_texture_signed_rgba, GL_NV_conditional_render, GL_NV_depth_clamp,
GL_NV_blend_square, GL_NV_conditional_render, GL_NV_depth_clamp,

adamk75 03-25-2014 10:58 AM

Well your drivers (at least the 64-bit version of them) are installed properly. Have you tried playing any native OpenGL games to see how they work?

moisespedro 03-25-2014 11:11 AM

Still didn't try because I don't have Linux games, the benchmark the Phoronix Suite was from a game tho.

adamk75 03-25-2014 11:15 AM

Was it a 32-bit or 64-bit app?

Adam
e

moisespedro 03-25-2014 11:17 AM

Pretty sure it was 64bits and, if it was 32bits, we can infer there is something wrong with alien's bob package?

adamk75 03-25-2014 11:32 AM

Not necessarily. The app could be 32-bits, your drivers could be just fine, but the benchmark might simply want functionality that isn't present in the free radeon driver.

Adam

moisespedro 03-25-2014 11:47 AM

Hmm, was thinking about that too. Yes, it might be something not implemented by the free driver.

GazL 03-25-2014 11:49 AM

If you've not got any games installed and want to put OpenGL through it's paces then you could give the screensaver hacks shipped with xscreensaver a go.

/usr/libexec/xscreensaver/glschool -fps -fog -nfish 250 -delay 1

moisespedro 03-25-2014 12:38 PM

Quote:

Originally Posted by GazL (Post 5141004)
If you've not got any games installed and want to put OpenGL through it's paces then you could give the screensaver hacks shipped with xscreensaver a go.

/usr/libexec/xscreensaver/glschool -fps -fog -nfish 250 -delay 1

I am running mesa stock version now, will give it a try then upgrade to latest mesa and see if there is any difference.

EDIT: Oh, nvm, thought it was a more intensive task. Getting 30FPS and 72000 polys on it. Is that any good?
EDIT2: Slightly better perfomance with latest mesa, a solid 30FPS while the stock version was between 25 and 30. Not much but it is better than nothing.

GazL 03-25-2014 01:13 PM

If you want to see the true speed you'll need to deactivate SYNC to VBlank. Otherwise you'll get a multiple of 30fps.
__GL_SYNC_TO_VBLANK=0 /usr/libexec/xscreensaver/glschool -fps -delay 1 -nfish 250

That gives me 75fps with the nvidia blob, but that's probably limited by the fact that the glschool process is pegging a CPU at 100%. If I start a second instance, they both run at that speed so I suspect the graphics processor still has some headroom and my dual core cpu is the bottleneck.


It's not really intended as a benchmark, just thought it'd give you something to compare.

moisespedro 03-25-2014 01:49 PM

Quote:

Originally Posted by GazL (Post 5141048)
If you want to see the true speed you'll need to deactivate SYNC to VBlank. Otherwise you'll get a multiple of 30fps.
__GL_SYNC_TO_VBLANK=0 /usr/libexec/xscreensaver/glschool -fps -delay 1 -nfish 250

That gives me 75fps with the nvidia blob, but that's probably limited by the fact that the glschool process is pegging a CPU at 100%. If I start a second instance, they both run at that speed so I suspect the graphics processor still has some headroom and my dual core cpu is the bottleneck.


It's not really intended as a benchmark, just thought it'd give you something to compare.

What video card you have? Because 30 vs 75 is a huge difference

whizje 03-25-2014 02:06 PM

I have a Radeon HD5750 and I reach between 24 and 28 fps.
Code:

bash-4.2$ glxinfo | grep -i render                                                                                         
direct rendering: Yes                                                                                                                         
OpenGL renderer string: Gallium 0.4 on AMD JUNIPER                                                                                             
    GL_MESA_window_pos, GL_NV_blend_square, GL_NV_conditional_render,

You can achieve more performance with the amd catalyst driver.

genss 03-25-2014 02:31 PM

Quote:

Originally Posted by GazL (Post 5141048)
If you want to see the true speed you'll need to deactivate SYNC to VBlank. Otherwise you'll get a multiple of 30fps.
__GL_SYNC_TO_VBLANK=0 /usr/libexec/xscreensaver/glschool -fps -delay 1 -nfish 250

...

It's not really intended as a benchmark, just thought it'd give you something to compare.

checked this with perf
it is very cpu intensive (it calls pow() a lot)

i usually test with xonotic (tool comes with it)
but even that is more towards cpu bottleneck


All times are GMT -5. The time now is 03:03 AM.