OpenGL apps consume 100% of CPU on nVidia
Bug #174791 reported by
foxy123
This bug report is a duplicate of:
Bug #139107: OpenGL uses 100% CPU without Sync To VBlank.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-kernel-common (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: nvidia-
OpenGL apps like glxgears consume 100% of the CPU, which leads to its overheating and computer switching off. I've got nVidia 7600GT video card and AMD64 Dual core processor. This bug is similar to #139107, but the latter is submitted against the whole Ubuntu rather than any specific package.
To post a comment you must log in.
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.