[Bug 174791] Re: OpenGL apps consume 100% of CPU on nVidia

2008-08-06 Thread Michael Nagel
*** This bug is a duplicate of bug 139107 ***
https://bugs.launchpad.net/bugs/139107

** This bug has been marked a duplicate of bug 139107
   OpenGL uses 100% CPU without Sync To VBlank

-- 
OpenGL apps consume 100% of CPU on nVidia
https://bugs.launchpad.net/bugs/174791
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 174791] Re: OpenGL apps consume 100% of CPU on nVidia

2008-01-19 Thread UK-sHaDoW

100% cpu usage is normal.

The idea is that iterates the rendering loop as fast possible. The
faster gpu can render, the more cpu will be utilized, since cpu waits on
gpu to finish rendering each frame.

Wait time is not included in cpu utilization, because while it is
waiting it will be used for other applications.

if you think about like this.

start
cpu tells gpu to render frame
waits to render
Gpu finishes
go back to start.

less wait time, the faster the cpu can iterate the loop, thus more cpu
utilization, thus more fps.

Dual cores should be at about 60/50%, because glxgears is not
multithreaded as far as i know. Are you talking about 100% cpu usge of
one core or both cores?

You could try using vsync, although not a real solution.


Although good programmers, usually put in a purposely placed sleep/wait
command to stop it hogging the cpu and keep the system responsive to
other apps.

Programmer.

-- 
OpenGL apps consume 100% of CPU on nVidia
https://bugs.launchpad.net/bugs/174791
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs