Re-add portal damage tracking (-fm content)

This commit is contained in:
dec05eba
2025-09-06 01:17:56 +02:00
parent 59d16899ab
commit fcb45b82f2
4 changed files with 29 additions and 41 deletions

View File

@@ -173,7 +173,7 @@ Build GPU Screen Recorder with the `-Dplugin_examples=true` meson option to buil
If you record at your monitors refresh rate and enabled vsync in a game then there might be a desync between the game updating a frame and GPU Screen Recorder capturing a frame.
This is an issue in some games.
If you experience this issue then you might want to either disable vsync in the game or use the `-fm content` option to sync capture to the content on the screen. For example: `gpu-screen-recorder -w screen -fm content -o video.mp4`.\
Note that this option is currently only available on X11 (it's not really possible to do on Wayland or it's a hit or miss).
Note that this option is currently only available on X11, or with desktop portal capture on Wayland (`-w portal`).
# Issues
## NVIDIA
Nvidia drivers have an issue where CUDA breaks if CUDA is running when suspend/hibernation happens, and it remains broken until you reload the nvidia driver. `extra/gsr-nvidia.conf` will be installed by default when you install GPU Screen Recorder and that should fix this issue. If this doesn't fix the issue for you then your distro may use a different path for modprobe files. In that case you have to install that `extra/gsr-nvidia.conf` yourself into that location.