YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
24 stars 8 forks source link

[PS5] Repeated Video Frames/Stutters #4556

Open Dopply opened 9 months ago

Dopply commented 9 months ago

Description

Videos will stutter with repeated frames upon playback (audio is not affected). This does not happen each and every time a video is played, but is still a frequent occurence. Rarely, a video will have intense stutters every 2-3 seconds throughout that is very distracting. Varying video encoding settings will not fix this issue; I am using the Sony-provided SDK sample video to test, and the issue occurs with it.

Additionally, a green bar can be seen at the bottom of the video, though this is not as pressing as the stutter issue.

Steps To Reproduce

  1. Open a video by pressing X. You can pause and resume with Options, or skip and try again by pressing the touchpad button.
  2. If the stutters are not immediately noticed, try playing a video again. This issue is not always immediate, but is very distracting when present. The effect can also be noticed when pausing and resuming a video, and seems to be excaberated by closing a video and then immediately reopening it.

166d9828-b8c7-4f1a-935d-8a0d4a1b9f39

Dopply commented 9 months ago

I have recorded a short clip of the issue occurring. You can see it occur at around 6 seconds into playback, where a previous frame of the video being played is shown. This issue can be severe and repeat several frames throughout. https://drive.google.com/file/d/19Sl5WZfM3pg-cVxMncbVFOETM01zb5Ah/view?usp=sharing

Dopply commented 8 months ago

Hi there, wanted to check on the status of this. My game, Arzette, has been released, and unfortunately it has the reported video stutter issues. It's much easier to see in-game right away than with the example project provided, so I have opened a private support ticket so I can provide a local package of the game for you to build and test. Thank you!

jackerley commented 8 months ago

Hi @Dopply can you try clearing the surface that you are rendering the video to before callling your draw_video function? I'm curious as to whether you're getting an old frame or just a failure to render a new frame. Have you seen this problem on multiple PS5 devkits\retail units? I'm having a hard time reproducing it, even if I go back to the version of your game that you sent on your earlier ticket.

Dopply commented 8 months ago

Hi @Dopply can you try clearing the surface that you are rendering the video to before callling your draw_video function? I'm curious as to whether you're getting an old frame or just a failure to render a new frame. Have you seen this problem on multiple PS5 devkits\retail units? I'm having a hard time reproducing it, even if I go back to the version of your game that you sent on your earlier ticket.

Unfortunately the issue still presents even when clearing the surface prior to using the draw_video function. The easiest way to see the behavior as described is by rapidly pausing and unpausing the game, you're more likely to see the repeat frames there.

I've attached a video: https://drive.google.com/file/d/10vIdjYJBK_lSS0LA-AFOmx-C8sdefuHO/view?usp=sharing

The duplicate frame (which seems to come from a future frame of the video, after inspection) can be found flashing on screen at about 14-15 seconds into playback.

The severity and frequency of the duplicate frames seem to vary considerably, unfortunately, but I've found they are far more likely to occur if the System UI is opened or the video is paused (I would post console output but this most likely is not allowed by platform holders). This issue occurs on retail PS5s in the wild as well as both my and my publisher's dev and test kits.