V High GPU USage

I have a RTX 2070 but Cesium JS seems to be using above 90% of GPU resources even nothing is going on other than loading the globe. If I was to run computer vision object detection is would use only about 4% of the GPU so something doesn’t seem right.

I asked my developer if he is seeing the same but his system isn’t reporting GPU usage for his AMD Radeon card.

Are there any recommendations for working out why GPU usage is so high and how we can overcome this?

My Developers PC
image

1 Like

@alexvizgard

Thank you very much for bringing this to our attention. It clearly seems like Google Chrome is using a significant percentage of your GPU power. Are you sure this usage is coming strictly from CesiumJS? If so, can you provide some more details on what you are doing with CesiumJS that might be using so much GPU bandwidth? One important place to look when investigating GPU power consumption is to understand how you are adding and maintaining your primitives. More information here might be a good place for us to start.

-Sam

Here is a video of the app loading up that shows high usage. Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.

I noticed that the app didn’t appear to query and zoom into my location as it should.

I then refreshed the page and did the same test. This time it did zoom to my location and usage was much lower.

Edit: The usage was lower but if i go almost full screen then the usage goes way up again. See image

@alexvizgard

Thank you for providing more information. As I mentioned above, I think it is important to begin investigating how you are adding and maintaining primitives. Have you begun to look into this?

-Sam

This is how I am loading models on startup
image

Hi @naveedshahzad_o,

Thanks for sharing this. This implementation looks correct to me :+1:

Best,
Sam

@sam.rothstein what can we check next to see what’s causing the v high gpu usage?

It does this even when the map is 2d and Naveed’s pc runs the app fine without using a GPU at all.

I want to run computer vision on my laptop at the same time as using cesium but can’t because the map takes up all the gpu

Not sure if this is your issue, but we’ve had an issue where chrome defaulted to use the integrated graphics over our external graphics card. You can check this in your graphics cards settings and set specific applications to use either integrated/external graphics cards.

Hi Tom, thank you for your suggestion. Chrome was set to use the integrated graphics. I changed it to use my NVIDIA GPU but I still get crazy high GPU utilisation when my map app is open even though I’m not doing anything.

I tried to turn GPU accelleration off on Chrome but that meant my CPU usage was about 95%

@alexvizgard try this out:

especially

scene.requestRenderMode: true
1 Like