Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-26-06, 02:07 PM   #1
Wolfgang Klein
Registered User
 
Join Date: Apr 2006
Posts: 40
Default Glxgears accelerating after switching to another tab

Something interesting is happening on my system:

I start glxgears from a kde-terminal which has several opened tabs. The fps count shows:

5883 frames in 5.0 seconds = 1176.478 FPS
5738 frames in 5.0 seconds = 1147.555 FPS
5866 frames in 5.0 seconds = 1173.144 FPS
5669 frames in 5.0 seconds = 1133.711 FPS
5893 frames in 5.0 seconds = 1178.452 FPS

As soon as I switch to another tab and back again, the counting rises about 50%:

8540 frames in 5.0 seconds = 1707.828 FPS
8523 frames in 5.0 seconds = 1704.564 FPS
8568 frames in 5.0 seconds = 1713.282 FPS
8553 frames in 5.0 seconds = 1710.548 FPS
8554 frames in 5.0 seconds = 1710.676 FPS

This behaviour repeatable! No other switching and no other activity causes this acceleration. It has to be a terminal with tabs.

My system consists of:

- AthlonXP 2600
- GeForce FX 5200
- Ubuntu Edgy
- Kernel 2.6.18.3
- NVidia 1.0-9629

Did I install the wrong driver?
Wolfgang Klein is offline   Reply With Quote
Old 11-26-06, 02:36 PM   #2
mooninite
Registered User
 
Join Date: May 2006
Posts: 477
Default Re: Glxgears accelerating after switching to another tab

http://wiki.cchtml.com/index.php/Glx...ot_a_Benchmark
mooninite is offline   Reply With Quote
Old 11-26-06, 03:32 PM   #3
BashfulTux
Registered User
 
Join Date: Apr 2006
Posts: 147
Default Re: Glxgears accelerating after switching to another tab

Quote:
Originally Posted by Wolfgang Klein
Something interesting is happening on my system:

I start glxgears from a kde-terminal which has several opened tabs. The fps count shows:

5883 frames in 5.0 seconds = 1176.478 FPS
5738 frames in 5.0 seconds = 1147.555 FPS
5866 frames in 5.0 seconds = 1173.144 FPS
5669 frames in 5.0 seconds = 1133.711 FPS
5893 frames in 5.0 seconds = 1178.452 FPS

As soon as I switch to another tab and back again, the counting rises about 50%:

8540 frames in 5.0 seconds = 1707.828 FPS
8523 frames in 5.0 seconds = 1704.564 FPS
8568 frames in 5.0 seconds = 1713.282 FPS
8553 frames in 5.0 seconds = 1710.548 FPS
8554 frames in 5.0 seconds = 1710.676 FPS

This behaviour repeatable! No other switching and no other activity causes this acceleration. It has to be a terminal with tabs.

My system consists of:

- AthlonXP 2600
- GeForce FX 5200
- Ubuntu Edgy
- Kernel 2.6.18.3
- NVidia 1.0-9629

Did I install the wrong driver?
You installed the correct driver. The behavior you see is normal and happens whenever you switch the focus from the glxgears window to another if you look at my output below you can see the difference where I switch the focus and then back again.

Code:
>$ glxgears
28043 frames in 5.0 seconds = 5606.772 FPS
28433 frames in 5.0 seconds = 5686.427 FPS
28418 frames in 5.0 seconds = 5683.562 FPS
28375 frames in 5.0 seconds = 5674.937 FPS
from
33236 frames in 5.0 seconds = 6647.150 FPS  
36161 frames in 5.0 seconds = 7232.039 FPS
36195 frames in 5.0 seconds = 7238.954 FPS
36213 frames in 5.0 seconds = 7242.488 FPS
36022 frames in 5.0 seconds = 7204.363 FPS
33811 frames in 5.0 seconds = 6762.192 FPS
back
28394 frames in 5.0 seconds = 5678.775 FPS
28405 frames in 5.0 seconds = 5680.876 FPS
28330 frames in 5.0 seconds = 5665.960 FPS
28374 frames in 5.0 seconds = 5674.220 FPS
X connection to :0.0 broken (explicit kill or server shutdown).
BashfulTux is offline   Reply With Quote
Old 11-26-06, 06:42 PM   #4
relativity
Registered User
 
Join Date: Nov 2004
Location: Amsterdam
Posts: 4
Default Re: Glxgears accelerating after switching to another tab

Quote:
Originally Posted by mooninite
Yes, correct.
Now please provide us a link to a small benchmark that can quickly/properly check 3d performance.
I would be very grateful.

Relativity
relativity is offline   Reply With Quote
Old 11-26-06, 06:49 PM   #5
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Glxgears accelerating after switching to another tab

I'm not aware of any small benchmarks for OpenGL, as to accurately & comprehensively benchmark OpenGL, you need to perform a wide variety of tests. A widely used OpenGL benchmark is Spec.org's ViewPerf. It is, however, not small.
netllama is offline   Reply With Quote
Old 11-27-06, 04:16 AM   #6
Wolfgang Klein
Registered User
 
Join Date: Apr 2006
Posts: 40
Default Re: Glxgears accelerating after switching to another tab

Quote:
Originally Posted by mooninite
I am aware of the fact that glxgears is not meant to be used as a benchmark test, but a 50% increase of counted fps is a strange fact in any test, no matter how accurate it is.
Wolfgang Klein is offline   Reply With Quote
Old 11-27-06, 04:17 AM   #7
Wolfgang Klein
Registered User
 
Join Date: Apr 2006
Posts: 40
Default Re: Glxgears accelerating after switching to another tab

Quote:
Originally Posted by BashfulTux
You installed the correct driver. The behavior you see is normal and happens whenever you switch the focus from the glxgears window to another
Thanks for this info.

Quote:
if you look at my output below you can see the difference where I switch the focus and then back again.

Code:
>$ glxgears
28043 frames in 5.0 seconds = 5606.772 FPS
...
Whow! What kind of system are you using?
Wolfgang Klein is offline   Reply With Quote
Old 11-27-06, 07:36 AM   #8
BashfulTux
Registered User
 
Join Date: Apr 2006
Posts: 147
Default Re: Glxgears accelerating after switching to another tab

Quote:
Originally Posted by Wolfgang Klein
Thanks for this info.
Your welcome

Quote:
Whow! What kind of system are you using?
5900 for the video card, AMD64 X2 3800+ for CPU and a gig of RAM but as far as I can tell the glxgears speed only really shows the memory bandwidth of the card. I used to have a 5200 in the machine and got just about mid 1000's for it put in the 5900 which has about 4x memory bandwidth the gears number went up ~ 4x doesn't matter if the machine is overclocked or not the same gears number.
BashfulTux is offline   Reply With Quote

Old 11-27-06, 07:57 AM   #9
TPG
Unregistered User
 
TPG's Avatar
 
Join Date: Apr 2006
Location: Poland, Warsaw
Posts: 203
Default Re: Glxgears accelerating after switching to another tab

Well there is quite nice benchmark it is called GLOBS.

http://globs.sourceforge.net

There was also a thread about this benchmark, unfortunately i can't find it :\
__________________
mandriva > all
kthnxbai
TPG is offline   Reply With Quote
Old 11-27-06, 01:14 PM   #10
mooninite
Registered User
 
Join Date: May 2006
Posts: 477
Default Re: Glxgears accelerating after switching to another tab

Quote:
Originally Posted by Wolfgang Klein
I am aware of the fact that glxgears is not meant to be used as a benchmark test, but a 50% increase of counted fps is a strange fact in any test, no matter how accurate it is.
I wasn't providing that link to tell you that glxgears is not a benchmark. I was providing the link to show you why your numbers would be significantly different by switching tasks.
mooninite is offline   Reply With Quote
Old 11-27-06, 02:24 PM   #11
Wolfgang Klein
Registered User
 
Join Date: Apr 2006
Posts: 40
Default Re: Glxgears accelerating after switching to another tab

Quote:
Originally Posted by mooninite
I wasn't providing that link to tell you that glxgears is not a benchmark. I was providing the link to show you why your numbers would be significantly different by switching tasks.
Oh... sorry for the misunderstanding!
Wolfgang Klein is offline   Reply With Quote
Old 11-27-06, 02:29 PM   #12
Wolfgang Klein
Registered User
 
Join Date: Apr 2006
Posts: 40
Default Re: Glxgears accelerating after switching to another tab

Quote:
Originally Posted by BashfulTux
5900 for the video card, AMD64 X2 3800+ for CPU and a gig of RAM...
...

If you intended to make me jealous I can tell you that you succeeded... but only a little bit.
Wolfgang Klein is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:00 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.