LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-09-2007, 08:35 AM   #1
WebGraphics
Member
 
Registered: Jan 2006
Location: Canada, AB
Distribution: Slackware 12.1
Posts: 70

Rep: Reputation: 18
glxgears showing <10 FPS with 2.2 ghz machine


Direct rendering is on.

Specs:
CPU: AMD Athlon(tm) 64 Processor 3700+
Video Card: GeForce 6100/PCI/SSE2/3DNOW!
Driver Version: 2.1.0 NVIDIA 96.29 (current)

Yet when I run glxgears I get this:

52 frames in 5.1 seconds = 10.198 FPS
50 frames in 5.0 seconds = 9.999 FPS
50 frames in 5.0 seconds = 9.999 FPS
50 frames in 5.0 seconds = 9.960 FPS

So obviously something is wrong here. Any suggestions?

EDIT: I tried shrinking the glxgears window to the smallest possible size. This is what I got
49 frames in 5.1 seconds = 9.648 FPS
50 frames in 5.1 seconds = 9.865 FPS
50 frames in 5.0 seconds = 9.999 FPS
50 frames in 5.1 seconds = 9.842 FPS
50 frames in 5.0 seconds = 9.975 FPS
50 frames in 5.0 seconds = 9.999 FPS

So in other words shringking the window size had no effect at all.

Last edited by WebGraphics; 01-09-2007 at 08:43 AM.
 
Old 01-09-2007, 08:56 AM   #2
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
i noticed Slackware-11 with Xorg-6.9 has noticeably slower 3D acceleration (on my machine) than Slackware-10.2 that uses Xorg-6.8.2

956 frames in 5.0 seconds = 191.200 FPS
956 frames in 5.0 seconds = 191.200 FPS
956 frames in 5.0 seconds = 191.200 FPS
956 frames in 5.0 seconds = 191.200 FPS
956 frames in 5.0 seconds = 191.200 FPS
956 frames in 5.0 seconds = 191.200 FPS

i am getting these speeds with just an old GeForce2 5500FX & a 17' CRT

i am sticking with Slackware10-2 because i was a little disappointed with Slackware-11 (hopefully Pat's next release will improve performance)
 
Old 01-09-2007, 10:33 AM   #3
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
Quote:
Originally Posted by WebGraphics
Direct rendering is on.

Specs:
CPU: AMD Athlon(tm) 64 Processor 3700+
Video Card: GeForce 6100/PCI/SSE2/3DNOW!
Driver Version: 2.1.0 NVIDIA 96.29 (current)
The most current driver version is 97.46
Code:
$ glxinfo | grep -i "opengl version"
OpenGL version string: 2.1.0 NVIDIA 97.46
I think there is no problem with your CPU but your video card is actually that slow. I have a CPU just like that one, 2.2 GHz 1Mb L2 cache San Diego core 90 nm, but I got a GeForce 7900GTX:
Code:
$ glxgears
93266 frames in 5.0 seconds = 18653.163 FPS
94775 frames in 5.0 seconds = 18954.864 FPS
94772 frames in 5.0 seconds = 18954.386 FPS
94665 frames in 5.0 seconds = 18932.913 FPS
94711 frames in 5.0 seconds = 18942.173 FPS
94769 frames in 5.0 seconds = 18953.789 FPS
94749 frames in 5.0 seconds = 18949.621 FPS
94755 frames in 5.0 seconds = 18951.000 FPS
94759 frames in 5.0 seconds = 18951.641 FPS
94738 frames in 5.0 seconds = 18947.558 FPS
I know that glxgears is not a proper benchmarking tool, but the difference in performance should be pretty obvious.

Last edited by raska; 01-09-2007 at 10:35 AM.
 
Old 01-09-2007, 04:09 PM   #4
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Also, with ATI cards it has been showing slow too.

As long as your video seems to beworking, and
Code:
glxinfo | grep direct
shows dri working, don't worry about it.

If it isn't working, check my dri post (link in my sig)

Mostly, it seems the newer drivers just don't like glxgears....lol
 
Old 01-09-2007, 06:43 PM   #5
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581

Rep: Reputation: 38
Not sure what your problem is, but I'm sure you can't blame it on Slack 11. I've just fresh installed Slack 11 on my server, which is powered by an AMD K6, running at 450MHz, with 256Meg of memory. The video card is a "generic" GeForce2 MX/MX 400, with 64Meg, that cost me less than $10 at Frys. Running the NVidia 96.31 driver (my card isn't supported by 97.46), I get a GLXGears frame rate of 640 FPS.

heers.
 
Old 01-09-2007, 08:47 PM   #6
WebGraphics
Member
 
Registered: Jan 2006
Location: Canada, AB
Distribution: Slackware 12.1
Posts: 70

Original Poster
Rep: Reputation: 18
Well I seem to have resolved the issue, only problem is that I'm not sure exactly how I did it. I installed the latest nvidia drivers and the FPS went up quite a bit...

Only the problem is not (or was not) that simple because the FPS used to be high, then it went very low (not sure why), and now it is back to normal... to anyone experiencing a similar problem I would reccomend just installing the nvidia drivers for linux, if you're using nvidia card.

For the record this is what I get now:

4317 frames in 5.0 seconds = 863.214 FPS
4319 frames in 5.0 seconds = 863.699 FPS
4306 frames in 5.0 seconds = 861.129 FPS
4313 frames in 5.0 seconds = 862.483 FPS
 
Old 01-09-2007, 08:59 PM   #7
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
raska has some really high framerates, i wonder if he was running the glxgear window in full screen, when i first open glxgears it defaults to a small window and i get those super high framerates too, maximize the window and see what you get
 
Old 01-09-2007, 11:31 PM   #8
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
Logically maximizing the window gives me less frames, though don't how you get them higher instead
Code:
$ glxgears
75200 frames in 5.0 seconds = 15039.847 FPS
90682 frames in 5.0 seconds = 18136.225 FPS
91133 frames in 5.0 seconds = 18226.574 FPS
92007 frames in 5.0 seconds = 18401.289 FPS
91906 frames in 5.0 seconds = 18381.163 FPS
24104 frames in 5.0 seconds = 4820.764 FPS  <<--- maximized window from here
24122 frames in 5.0 seconds = 4824.292 FPS
24107 frames in 5.0 seconds = 4821.357 FPS
24108 frames in 5.0 seconds = 4821.551 FPS
 
Old 01-10-2007, 05:11 AM   #9
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
i raska, thanks, i guess my hardware is getting old, this PC only has a 1.4 gig AMD CPU and 1 gig RAM,

i could build a new PC with the latest & greatest but i rather save the cash for a rainy day...
 
Old 01-10-2007, 10:01 PM   #10
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581

Rep: Reputation: 38
@Okie

Hardware isn't your problem.

Quote:
Originally Posted by MQMan
Not sure what your problem is, but I'm sure you can't blame it on Slack 11. I've just fresh installed Slack 11 on my server, which is powered by an AMD K6, running at 450MHz, with 256Meg of memory. The video card is a "generic" GeForce2 MX/MX 400, with 64Meg, that cost me less than $10 at Frys. Running the NVidia 96.31 driver (my card isn't supported by 97.46), I get a GLXGears frame rate of 640 FPS.

Cheers.
 
Old 01-11-2007, 12:15 AM   #11
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
You will get low numbers (3-digit) if composite is on. I get 472 FPS (fullscreen) with my 6800 GS, but with composite off I know it will be a 4 or even 5 digit number.

Last edited by Ilgar; 01-11-2007 at 12:17 AM.
 
  


Reply



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
Glxgears ( gives me low fps ) MalachiX Linux - Newbie 6 03-31-2005 03:01 PM
low fps in glxgears tehnick Debian 12 02-23-2005 02:40 PM
8500LE getting 75 FPS on glxgears McKnight Linux - Software 0 07-01-2004 11:16 PM
GLXGears :: 128 FPS?!?! nealkochhar Linux - Newbie 4 05-31-2004 11:20 AM
low fps in glxgears? kleptophobiac Linux - Hardware 17 02-08-2004 08:51 PM

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

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

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