dec05eba/gpu-screen-recorder-issues

[BUG] No longer able to record after system update

Closed this issue · 3 comments

Describe the bug
I have no idea what relevant package changed, but it seems that I'm no longer able to record anything using gpu-screen-recorder

To Reproduce

$ gpu-screen-recorder -w screen -f 60 -o video.mp4
Info: using h264 encoder because a codec was not specified
[h264_vaapi @ 0x59ee1ed07e40] ignoring invalid SAR: 0/0
[h264_vaapi @ 0x59ee1ed07e40] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
Error: no available output found

Screenshots
GTK GUI Without DRI_PRIME=1:
image

GTK GUI With DRI_PRIME=1:
image

Desktop (please complete the following information):

  • X11 or Wayland: X11 and Wayland
  • Desktop environment/Window Manager: GNOME
  • Distro: Arch
  • GPU: Radeon RX 580
  • Version (latest flatpak version, aur or source): aur

Additional context
OBS still seems to recognize both cards and can capture videos from them.

  • I played the video with the command mpv --no-config video.mp4 (if applicable)
  • I use a laptop with an integrated GPU and a dedicated GPU
  • I use a desktop with an integrated GPU and a dedicated GPU

Please dont remove things from the issue template.. Run sudo drm_info > log.txt (drm_info is available in the drm_info arch package) and upload that log file here.

Look like it's related to using amdgpu.dc=0 kernel parameter.
Display Core is such a pain in the ass due to https://gitlab.freedesktop.org/drm/amd/-/issues/662