You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When playing an animation with the HTML producer, the animation will sometimes freeze on the final frame, which will stay on-screen until another update to the HTML page occurs. This only happens on Windows with enable-gpu set to true.
My best guess for what's happening is that when CEF calls OnAcceleratedPaint, sometimes the GPU hasn't yet executed the write to the shared texture, so caspar might end up reading an old frame when it goes to copy the frame into its queue. Because OnAcceleratedPaint is only called whenever the content changes, caspar stays on this old frame until there's another update to the HTML page.
I suspect that #1431 and #1441 are caused by the same root issue.
Start caspar with enable-gpu set to true on the HTML producer
Play the above file: PLAY 1-1 [HTML] file:////path/to/index.html
Observe that sometimes the red square will stop mid-animation. It seems highly variable how often this happens but should occur at least once within a couple of minutes.
Expected behaviour
Animations always play to completion
Current behaviour
When playing an animation with the HTML producer, the animation will sometimes freeze on the final frame, which will stay on-screen until another update to the HTML page occurs. This only happens on Windows with
enable-gpu
set to true.My best guess for what's happening is that when CEF calls
OnAcceleratedPaint
, sometimes the GPU hasn't yet executed the write to the shared texture, so caspar might end up reading an old frame when it goes to copy the frame into its queue. BecauseOnAcceleratedPaint
is only called whenever the content changes, caspar stays on this old frame until there's another update to the HTML page.I suspect that #1431 and #1441 are caused by the same root issue.
Steps to reproduce
index.html
Start caspar with
enable-gpu
set to true on the HTML producerPlay the above file:
PLAY 1-1 [HTML] file:////path/to/index.html
Observe that sometimes the red square will stop mid-animation. It seems highly variable how often this happens but should occur at least once within a couple of minutes.
Environment
We have also reproduced this on the 2.3.3 stable release, but it seems more common on the above commit.
Screenshots
See 0:09 and 0:18 in the video:
caspar_animation_freezing.mp4
The text was updated successfully, but these errors were encountered: