Closed richardtatum closed 6 months ago
It might be the amd driver bug mentioned in the FAQ: https://git.dec05eba.com/gpu-screen-recorder/about/ (https://gitlab.freedesktop.org/mesa/mesa/-/issues/10985). Try recording with h264 codec and see if it happens.
I added a custom mode for 3440x1440 to my display and tested it and h264 fixes this issue, so it is that same amd driver bug. The fix was merged 1 month ago in the amd driver and the ffmpeg fix was merged recently too, so this issue should fix itself when arch gets the updates. For now you have to record with h264 video codec option.
This issue hasn't been fixed in ffmpeg yet but I made a workaround for now. The right side is black now instead of that glitched graphics and it moves the video to the center so its less space that appears cut off.
Describe the bug Videos produced when using a 3440x1440 resolution causes the right X number of pixels to be cut off/distorted.
To Reproduce Running with systemd at startup
/bin/sh -c 'AUDIO="${AUDIO_DEVICE:-$(pactl get-default-sink).monitor}"; gpu-screen-recorder -v no -w $WINDOW -c $CONTAINER -q $QUALITY -k $CODEC -ac $AUDIO_CODEC -a "$AUDIO" -f $FRAMERATE -r $REPLAYDURATION -o "$OUTPUTDIR" -mf $MAKEFOLDERS $ADDITIONAL_ARGS -cr $COLOR_RANGE'
Output of
gpu-screen-recorder.env
:Expected behavior The recording to capture the full 3440x1440 resolution
Screenshots Below is a screenshot of a recording, played back with MPV:
Desktop (please complete the following information):
Additional context Does not happen if I use OBS.
mpv --no-config video.mp4
(if applicable)