Sunshine
Sunshine copied to clipboard
vaapi encoding stopped working on debian 12.7
Is there an existing issue for this?
- [X] I have searched the existing issues
Is your issue described in the documentation?
- [X] I have read the documentation
Is your issue present in the latest beta/pre-release?
This issue is present in the latest pre-release
Describe the Bug
after upgrading to debian 12.7 vaapi encoding has stopped working. software encoding is fine.
Expected Behavior
vaapi encoding should work
Additional Context
No response
Host Operating System
Linux
Operating System Version
debian 12.7
Architecture
64 bit
Sunshine commit or version
v2024.903.123219
Package
Linux - deb
GPU Type
AMD
GPU Model
radeon 590
GPU Driver/Mesa Version
22.3.6
Capture Method
None
Config
more sunshine.conf
sw_preset = veryfast
notify_pre_releases = enabled
resolutions = [
1920x1080
]
min_threads = 6
amd_quality = default
min_log_level = 3
encoder = vaapi
av1_mode = 1
amd_rc = auto
hevc_mode = 1
nv_rc = auto
fps = [60]
nv_preset = default
log_path = /home/jape/sunshine.log
Apps
No response
Relevant log output
--------
[2024-09-03 13:18:05.668]: Error: Couldn't load cuda: -1
[2024-09-03 13:18:05.669]: Error: Environment variable WAYLAND_DISPLAY has not been defined
[2024-09-03 13:18:05.673]: Warning: Gamepad ds5 is disabled due to Permission denied
[2024-09-03 13:18:05.709]: Error: [h264_vaapi @ 0x55ae9f0840c0] No usable encoding entrypoint found for profile VAProfileH264High (7).
[2024-09-03 13:18:05.712]: Warning: [h264_vaapi @ 0x55ae9f1f6c00] Driver does not support some wanted packed headers (wanted 0xd, found 0).
[2024-09-03 13:18:05.837]: Warning: vaapi: h264 missing sps->vui parameters
[2024-09-03 13:18:23.570]: Error: [h264_vaapi @ 0x7fe9201d3440] No usable encoding entrypoint found for profile VAProfileH264High (7).
[2024-09-03 13:18:23.574]: Warning: [h264_vaapi @ 0x7fe9201a1740] Driver does not support some wanted packed headers (wanted 0xd, found 0).
[2024-09-03 13:18:23.711]: Warning: vaapi: h264 missing sps->vui parameters
[2024-09-03 13:18:23.776]: Error: [h264_vaapi @ 0x7fe91c1d8a40] No usable encoding entrypoint found for profile VAProfileH264High (7).
[2024-09-03 13:18:23.779]: Warning: [h264_vaapi @ 0x7fe91c2f5280] Driver does not support some wanted packed headers (wanted 0xd, found 0).
------
$ vainfo
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.17 (libva 2.12.0)
vainfo: Driver version: Mesa Gallium driver 22.3.6 for AMD Radeon RX 590 Series (polaris10, LLVM 15.0.6, DRM 3.49, 6.1.0-25-amd64)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
Some (all?) of those errors are normal during autodetection of AMD's encoders. Please post the entire logfile too for context.
I am not able to reproduce this issue anymore. Closing.