Hi,
Regarding casparcg and html templates-
I’ve used only WEBP images around my template,
When I play on caspar it’s stuttering, I was wondering if you guys have any tips on how to optimize both the scene and the caspar engine to utilize the GPU (I got an nvidia A5000) on this machine,
I’ve set the
<html>
<enable-gpu>true</enable-gpu>
</html>
any other thing I might have missed? it’s a windows 10 machine with 64gb ram running at 29.97.
Template is configure to 30fps (not sure if its affecting anything)
Before giving you a more specific recommendation, need a bit more information about your setup. The stuttering could be caused by a number of things, so seeing your exact configuration will help narrow it down.
Could you please share the following?
A sample of your HTML template code
Your CasparCG channel configuration from your casparcg.config file.
I think this is related to the new CEF version that 2.4 uses. There’s an open issue on GitHub: https://github.com/CasparCG/server/issues/1583
It only affects templates with WebM files when running using GPU acceleration.
Thanks for the reply,
The channel section of the config is below.
as for the template code, I know it might make it more difficult, but i’m not sure the customer would like if I shared their designs.
I can tell you that I have a sequence of ~100 webp images at half-HD res (960x540)
I build more complicated templates (with >100 images, and it was running fine at 25fps)
The new template is less heavy than previous ones I built, yet it’s stuttering at 29.97fps
I was wondering if I need to add casparcg to nvidia’s program list (nvidia control panel > manage 3d settings > program settings) or anything like that…
If you are using the default settings, then change the power profile either for the app or as the default config (look for the “Power management mode” and “Texture filtering - Quality” settings):
Also on workstation GPUs you would want to change the usage mode to “Dedicate to graphics tasks” under Workstation > Manage GPU Utilization, though your card most likely doesn’t get hit that hard by HTML templates.
If you’re just animating images, it should run smoothly.
If you think it is related to 29.97fps, you can test your new template on the 25fps channel to make sure. You can also try with Enable GPU false.
GPU Utilization:
yes you can try with it to ensure the dedicated GPU is used and is configured for maximum performance.