CPU Usage

hello,

all jogl demos running on my computer (win XP prof., amd 1900+, 512mb) with only 10-12% CPU usage ??? and slow 30-35 fps. How to increase the cpu usage of the apps?

thanks

Sounds like the slow part of your system could be the 3d card or the “way from main system to the card”.
Several of the demos aren’t very CPU intensive, but deligate much work to the 3d card. So, if a 700 MHz CPU is enough to all the CPU computing stuff needed, your 1900+ CPU is being bored 2/3 of the time. :slight_smile:

hi archimedes,

thanks for reply, but it’s a geforce3 card with 64mb. the higher the window resolution the slower the framerate instead of an increase of the cpu usage. so it’s not an synchronized probleme. the java main thread seems to run in a low priority…

Perhaps my cpu is only lazy :wink:

You’re almost certainly fill-rate limited, or vSync is capping your framerate. Check your vSync driver options (control panel->display->advanced) and see if they’re disabled by default.

It sounds more likely to be fill limited though, in which case its just your video card being unable to keep up. What resolution exactly? Try changing the colour depth of your desktop and see if that has any effect, and getting the latest drivers.

I’d expect better from that card though. Perhaps it may be an incorrect AGP bus setting? I once had the agp appeture size set wrong (incorrect mobo drivers i think) which caused huge slowdown. You might want to try something like the 3dmark benchmarks and compare your system with what it should be aiming for.

[quote]it’s a geforce3 card with 64mb. the higher the window resolution the slower the framerate instead of an increase of the cpu usage.
[/quote]
Hi,

The screen resolution shouldn’t affect the CPU usage at all. The higher the resolution, the more the graphic card’s GPU has to compute and therefore the framerate will sink.

Does this “low framerate” only apply to the Jogl demos or to other native tasks, too? You could cross-check several of the Jogl-demos by running their native equivalent. The red devil knight (Shadow Volumes) for example is located here: http://www.nvidia.com/view.asp?IO=inf_shadow_volumes