Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenGL programs get stucked every second
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
meyerm
Veteran
Veteran


Joined: 27 Jun 2002
Posts: 1311
Location: Munich / Germany

PostPosted: Sat Mar 08, 2003 2:53 am    Post subject: OpenGL programs get stucked every second Reply with quote

Hi there,

I just installed XFree 4.3 with xfree-drm for my ati mobility radeon 9000. Now I get at least 2000 fps with glxgears. Acceptable for the moment. :-)

But the problem is: it stucks circa every second for a very short time. It's not long, but really noticable. Even in self written OpenGL progs (using GLUT) this problem occurs. That's quite annoying...

Did anybody exprienced the same problem? Since it's quite runny despite of these apparent stucks I just don't have a clue what it could be...

Thanks,
Marcel
Back to top
View user's profile Send private message
rbonthond
Apprentice
Apprentice


Joined: 24 Jun 2002
Posts: 190

PostPosted: Fri Mar 21, 2003 12:11 am    Post subject: Reply with quote

i had the same problem, until i disabled seti@home running in the background
Back to top
View user's profile Send private message
TwoSlick
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2002
Posts: 114
Location: Rolla, MO

PostPosted: Fri Mar 21, 2003 4:41 am    Post subject: Reply with quote

It's probably just the OS task switching. Glxgears is just being forced to pause for a sec while another task gets to run. This'll usually happen if a higher priority program is wanting to use the CPU too. If you want to see what I mean, just fire up 10 instances of glxgears. You'll probably be able to see a pattern of pauses as each instance gets it's share of the cpu.

- TwoSlick
Back to top
View user's profile Send private message
meyerm
Veteran
Veteran


Joined: 27 Jun 2002
Posts: 1311
Location: Munich / Germany

PostPosted: Fri Mar 21, 2003 12:29 pm    Post subject: Reply with quote

Hi.

Thank you for your answers. I didn't have any computing processes in the background. But meanwhile I recompiled my system (I wanted to optimize to my new processor) and now I works great... I really don't understand since a bad optimisation should decrease the fps and not stagnate glxgears...

Well, now it works. Thank you for your answers however. :-)

Bye,
Marcel
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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