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.


Turning on Vsync limits it to screen refresh rate(Usually about 60fps), so it 
has more wait time. So CPU utilization would be something really low like 0.5%.


vblank I  think this was mainly used for crt's.
http://en.wikipedia.org/wiki/Vertical_blanking_interval

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 uses 100% CPU without Sync To VBlank
https://bugs.launchpad.net/bugs/139107
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

Reply via email to