Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
glxgears images all over screen
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Grayman
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 186
Location: South Africa

PostPosted: Sun Dec 23, 2007 1:41 pm    Post subject: glxgears images all over screen Reply with quote

Hi

OK the system is 2.6 pentium 4 with 768 megs ram and nvidia fx5500 vid card - not great but not totally worthless....

From cold, firefox takes around 6 secs to start and kontact fires up in 4 or 5 secs, so the general functionality is not bad. At the moment I suspect any slow ups are graphics/video card related:

running glxgears I get the following

13275 frames in 5.0 seconds = 2654.883 FPS
13328 frames in 5.0 seconds = 2665.495 FPS
13284 frames in 5.0 seconds = 2656.723 FPS
13187 frames in 5.0 seconds = 2637.333 FPS
13312 frames in 5.0 seconds = 2662.326 FPS
2736 frames in 5.0 seconds = 545.331 FPS
2964 frames in 5.0 seconds = 592.794 FPS

the first 5 are with me doing nothing and the last 2 occurred when I was moving the window with the gears around the screen - that is quite a drop - I am just wondering if this is normal or do I need to continue tweaking my setup ? One thing I do know is that my m/board only supports 4x agp, but the vid card can run up to 8x agp

Grayman
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5947

PostPosted: Sun Dec 23, 2007 1:57 pm    Post subject: Reply with quote

it's normal... it has to draw the window moving around... if you ran it in fullscreen it would run even slower...

cheers
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
Grayman
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 186
Location: South Africa

PostPosted: Sun Dec 23, 2007 1:59 pm    Post subject: Reply with quote

I decided to re-emerge kdelibs, and then ran glxgears with no other input or movement (the emerge was run minimised)

4303 frames in 5.0 seconds = 860.474 FPS
4214 frames in 5.0 seconds = 842.624 FPS
4417 frames in 5.0 seconds = 883.385 FPS
4271 frames in 5.0 seconds = 853.878 FPS
3727 frames in 5.0 seconds = 745.398 FPS
3748 frames in 5.0 seconds = 749.549 FPS

so it would see that the gpu is being substantially affected by the usage of the cpu.

does anybody have any suggestions to fix this, or can this be described as normal ?

Grayman
Back to top
View user's profile Send private message
Grayman
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 186
Location: South Africa

PostPosted: Sun Dec 23, 2007 2:01 pm    Post subject: Reply with quote

hello Bunder

we obviously posted at the same time...

any comments on the second batch of measurements

Grayman
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Sun Dec 23, 2007 2:29 pm    Post subject: Reply with quote

This is an old topic, someday I will write a book about it or something. :twisted:

glxgears is not a benchmark
Back to top
View user's profile Send private message
Grayman
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 186
Location: South Africa

PostPosted: Sun Dec 23, 2007 2:36 pm    Post subject: Reply with quote

maybe so but the effect on glxgears is backed up by the effect on the rest of my system - I have been battling with this for over a week now - any emerge I do impacts substantially on even creating a bookmark in firefox - the feeling that my cursor and keyboard have become very expensive rubber bands.

cheers

Grayman
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Sun Dec 23, 2007 2:49 pm    Post subject: Reply with quote

About glxgears, there's enough on Google. There is no mistery about it, and believe me, that fps is way too good for such a graphics card. I have agp 8x and a gf 6200 and my fps in glxgears is usually around 1,4k. Which is -anyway- completely irrelevant, as I already said.

Grayman wrote:
maybe so but the effect on glxgears is backed up by the effect on the rest of my system - I have been battling with this for over a week now - any emerge I do impacts substantially on even creating a bookmark in firefox - the feeling that my cursor and keyboard have become very expensive rubber bands.


When you are emerging a heavy package (i.e. kdelibs) the cpu usage is really high. Compilation is the hardest thing you can do on a pc, along with gaming, 3d and number crunching. I fail to see the mystery... Things you could try are:

1.- check that your applications are not swapping, that will helplessly harm the performance, use top or htop for this
2.- use a better scheduler and enable preemption on your kernel, make sure you use a kernel that is up to date
3.- set PORTAGE_NICENESS to 19 on your make.conf

By the way: it is precisely that what demonstrates that your problem is not the graphics card. The creation of a bookmarks has nothing to do with that. If your mouse and keyboard (and the firefox interface in general) feel slugish, it is because your cpu and ram usage. The fact that glxgears uses a big amount of cpu is normal (glxgears is not an application designed to perform nicely, but just as a very basic test, which is not indicative of any other thing).
Back to top
View user's profile Send private message
Grayman
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 186
Location: South Africa

PostPosted: Sun Dec 23, 2007 3:44 pm    Post subject: Reply with quote

Thanks for the info i92guboj

Wish I had seen it 10 minutes earlier.... in frustration I deleted the entire Gentoo install !!

As I mentioned, this problem - not just with glxgears - but as a general thing regarding slow interface issues has been driving me mad for quite a while now - dmesg and Xorg.0.log didn't have any issues or errors. In fact apart from the unresponsive interface it was a nice stable decent install. The main reason I am going on about this is that I have always found Gentoo far snappier and more responsive than windows xp, with which I dual boot, or Ubuntu 7.10 which I had tried out before. This time around and in spite of hours of searching on the forums, I got no answers.

Anyhow, when I have the time / energy I will have another go at a fresh install - possibly post festivities.

thanks for trying anyhow
Grayman
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum