dec05eba / gpu-screen-recorder-issues

GPU Screen Recorder issue tracker
20 stars 0 forks source link

[BUG] Recording flickering on latest Nvidia stable driver on Wayland #34

Closed finnstacey closed 4 months ago

finnstacey commented 4 months ago

Describe the bug When using either the Recording or Replay feature, the video flickers revealing the window behind the focused window. It only appears at the edges of the frame and only on Wayland. This issue is not present using X11.

To Reproduce Using the Nvidia 555.58 driver on Wayland with the following settings: Frame rate: 60 Video quality: High Video codec: HEVC Audio codec: Opus Frame rate mode: Auto

Screenshots What the broken frame looks like: Screenshot_20240707_121522

Video of issue: https://youtu.be/D_x0gATdpgw

Desktop (please complete the following information):

Additional context This issue did not occur on previous Nvidia driver. It also does not happen using Nvenc HEVC in OBS Studio.

dec05eba commented 4 months ago

It's likely related to explicit sync in nvidia that was recently added to the nvidia driver and kde plasma. I dont know if it can be fixed until I add support for pipewire capture, but i'll take a look at it. Unfortunately I cant reproduce it myself so I'll just have to guess. Just to verify, the issue only happens in the video right? and you cant see it on your screen while playing the game.

Also please dont exclude things from the issue template, include the output of drm_info as mentioned (by running sudo drm_info > log.txt and upload that file here. You need to install drm_info first).

finnstacey commented 4 months ago

Sorry for missing the drm_info output. It is attached. log.txt

As you guessed, this only appears in the video and not on my screen while I'm playing.

finnstacey commented 4 months ago

This has been fixed by updates to the Nvidia flatpak runtime.

dec05eba commented 4 months ago

Oh ok good to know. I was suspecting that it was an nvidia driver bug but I wasn't sure.