LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-25-2014, 11:04 AM   #1
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
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.
 
Old 03-25-2014, 11:18 AM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
What is the output of 'glxinfo | grep -i render'?

Adam
 
Old 03-25-2014, 11:53 AM   #3
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
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,
 
Old 03-25-2014, 11:58 AM   #4
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
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?
 
Old 03-25-2014, 12:11 PM   #5
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Still didn't try because I don't have Linux games, the benchmark the Phoronix Suite was from a game tho.
 
Old 03-25-2014, 12:15 PM   #6
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Was it a 32-bit or 64-bit app?

Adam
e
 
Old 03-25-2014, 12:17 PM   #7
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Pretty sure it was 64bits and, if it was 32bits, we can infer there is something wrong with alien's bob package?
 
Old 03-25-2014, 12:32 PM   #8
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
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
 
Old 03-25-2014, 12:47 PM   #9
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Hmm, was thinking about that too. Yes, it might be something not implemented by the free driver.
 
Old 03-25-2014, 12:49 PM   #10
GazL
LQ Veteran
 
Registered: May 2008
Posts: 7,053

Rep: Reputation: 5205Reputation: 5205Reputation: 5205Reputation: 5205Reputation: 5205Reputation: 5205Reputation: 5205Reputation: 5205Reputation: 5205Reputation: 5205Reputation: 5205
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
 
Old 03-25-2014, 01:38 PM   #11
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Quote:
Originally Posted by GazL View Post
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.

Last edited by moisespedro; 03-25-2014 at 01:43 PM.
 
Old 03-25-2014, 02:13 PM   #12
GazL
LQ Veteran
 
Registered: May 2008
Posts: 7,053

Rep: Reputation: 5205Reputation: 5205Reputation: 5205Reputation: 5205Reputation: 5205Reputation: 5205Reputation: 5205Reputation: 5205Reputation: 5205Reputation: 5205Reputation: 5205
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.
 
Old 03-25-2014, 02:49 PM   #13
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Quote:
Originally Posted by GazL View Post
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
 
Old 03-25-2014, 03:06 PM   #14
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 594

Rep: Reputation: 141Reputation: 141
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.

Last edited by whizje; 03-25-2014 at 03:09 PM. Reason: extra info
 
Old 03-25-2014, 03:31 PM   #15
genss
Member
 
Registered: Nov 2013
Posts: 744

Rep: Reputation: Disabled
Quote:
Originally Posted by GazL View Post
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

Last edited by genss; 03-25-2014 at 03:33 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Benchmark raises questions over SPDY performance LXer Syndicated Linux News 0 06-19-2012 05:30 PM
Open-source 3D benchmark for both OpenGL and Direct3D 10110111 Linux - Software 1 12-26-2010 11:20 AM
Bad opengl performance with two or more OpenGL windows on nvidia drivers (GF 7600 GS) psokol Linux - Software 0 02-21-2009 11:40 AM
Goog tools for hd performance benchmark? matiasar Linux - Hardware 4 08-13-2008 02:51 PM
LXer: SSD vs. SATA RAID: A performance benchmark LXer Syndicated Linux News 0 07-30-2008 09:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration