Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Vaapi] Driver does not support some wanted packed headers (wanted 0xd, found 0x1). #399

Open
V9x7t opened this issue Nov 17, 2024 · 1 comment

Comments

@V9x7t
Copy link

V9x7t commented Nov 17, 2024

hw encoder on Steamdeck Doesn't work. No such issue on my other system with Radeon 6800xt running same CachyOS.

verbose log in another comment bellow.

log.txt

[2024-11-17 21:10:43.058]: Info: Sunshine version: 0.0.0.dirty
[2024-11-17 21:10:43.058]: Info: Package Publisher: Third Party Publisher
[2024-11-17 21:10:43.058]: Info: Publisher Website: 
[2024-11-17 21:10:43.058]: Info: Get support: https://app.lizardbyte.dev/support
[2024-11-17 21:10:43.078]: Info: Found display [wayland-0]
[2024-11-17 21:10:43.078]: Info: Found interface: zxdg_output_manager_v1(31) version 3
[2024-11-17 21:10:43.078]: Info: Found interface: wl_output(72) version 4
[2024-11-17 21:10:43.078]: Warning: Missing Wayland wire for wlr-export-dmabuf
[2024-11-17 21:10:43.078]: Info: /dev/dri/card0 -> amdgpu
[2024-11-17 21:10:43.081]: Info: Found display [wayland-0]
[2024-11-17 21:10:43.081]: Info: Found display [wayland-0]
[2024-11-17 21:10:43.081]: Info: Found interface: zxdg_output_manager_v1(31) version 3
[2024-11-17 21:10:43.081]: Info: Found interface: wl_output(72) version 4
[2024-11-17 21:10:43.081]: Info: Resolution: 1920x1080
[2024-11-17 21:10:43.081]: Info: Offset: 0x0
[2024-11-17 21:10:43.081]: Info: Logical size: 1920x1080
[2024-11-17 21:10:43.081]: Info: Name: DP-1
[2024-11-17 21:10:43.081]: Info: Found monitor: @@@   /0x00000001
[2024-11-17 21:10:43.081]: Info: -------- Start of KMS monitor list --------
[2024-11-17 21:10:43.081]: Info: Monitor 0 is DP-1: @@@   /0x00000001
[2024-11-17 21:10:43.081]: Info: --------- End of KMS monitor list ---------
[2024-11-17 21:10:43.084]: Warning: Gamepad ds5 is disabled due to Permission denied
[2024-11-17 21:10:43.084]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024-11-17 21:10:43.084]: Info: Trying encoder [nvenc]
[2024-11-17 21:10:43.084]: Info: Screencasting with KMS
[2024-11-17 21:10:43.084]: Info: /dev/dri/card0 -> amdgpu
[2024-11-17 21:10:43.089]: Error: Couldn't find monitor [0]
[2024-11-17 21:10:43.092]: Info: /dev/dri/card0 -> amdgpu
[2024-11-17 21:10:43.092]: Error: Couldn't find monitor [0]
[2024-11-17 21:10:43.132]: Info: System tray created
[2024-11-17 21:10:43.292]: Info: Screencasting with KMS
[2024-11-17 21:10:43.292]: Info: /dev/dri/card0 -> amdgpu
[2024-11-17 21:10:43.295]: Error: Couldn't find monitor [0]
[2024-11-17 21:10:43.295]: Info: /dev/dri/card0 -> amdgpu
[2024-11-17 21:10:43.295]: Error: Couldn't find monitor [0]
[2024-11-17 21:10:43.495]: Info: Encoder [nvenc] failed
[2024-11-17 21:10:43.495]: Info: Trying encoder [vaapi]
[2024-11-17 21:10:43.495]: Info: Screencasting with KMS
[2024-11-17 21:10:43.495]: Info: /dev/dri/card0 -> amdgpu
[2024-11-17 21:10:43.495]: Info: Found monitor for DRM screencasting
[2024-11-17 21:10:43.496]: Info: Found connector ID [116]
[2024-11-17 21:10:43.496]: Info: Found cursor plane [90]
[2024-11-17 21:10:43.508]: Info: Creating encoder [h264_vaapi]
[2024-11-17 21:10:43.509]: Info: Color coding: SDR (Rec. 601)
[2024-11-17 21:10:43.509]: Info: Color depth: 8-bit
[2024-11-17 21:10:43.509]: Info: Color range: JPEG
[2024-11-17 21:10:43.524]: Info: vaapi vendor: Mesa Gallium driver 24.2.7-cachyos1.2 for AMD Custom GPU 0405 (radeonsi, vangogh, LLVM 18.1.8, DRM 3.59, 6.11.8-2-cachyos-deckify)
[2024-11-17 21:10:43.528]: Info: Using normal encoding mode
[2024-11-17 21:10:43.528]: Info: Using default rate control
[2024-11-17 21:10:43.528]: Warning: [h264_vaapi @ 0x5b0f29314e00] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
[2024-11-17 21:10:43.563]: Info: Creating encoder [hevc_vaapi]
[2024-11-17 21:10:43.563]: Info: Color coding: SDR (Rec. 601)
[2024-11-17 21:10:43.563]: Info: Color depth: 8-bit
[2024-11-17 21:10:43.563]: Info: Color range: JPEG
[2024-11-17 21:10:43.578]: Info: vaapi vendor: Mesa Gallium driver 24.2.7-cachyos1.2 for AMD Custom GPU 0405 (radeonsi, vangogh, LLVM 18.1.8, DRM 3.59, 6.11.8-2-cachyos-deckify)
[2024-11-17 21:10:43.581]: Info: Using normal encoding mode
[2024-11-17 21:10:43.581]: Info: Using default rate control
[2024-11-17 21:10:43.581]: Warning: [hevc_vaapi @ 0x5b0f2940a4c0] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
[2024-11-17 21:10:43.611]: Info: Creating encoder [av1_vaapi]
[2024-11-17 21:10:43.612]: Info: Color coding: SDR (Rec. 601)
[2024-11-17 21:10:43.612]: Info: Color depth: 8-bit
[2024-11-17 21:10:43.612]: Info: Color range: JPEG
[2024-11-17 21:10:43.624]: Info: vaapi vendor: Mesa Gallium driver 24.2.7-cachyos1.2 for AMD Custom GPU 0405 (radeonsi, vangogh, LLVM 18.1.8, DRM 3.59, 6.11.8-2-cachyos-deckify)
[2024-11-17 21:10:43.627]: Error: [av1_vaapi @ 0x5b0f29f9b000] No usable encoding entrypoint found for profile VAProfileAV1Profile0 (32).
[2024-11-17 21:10:43.627]: Error: Could not open codec [av1_vaapi]: Function not implemented
[2024-11-17 21:10:43.630]: Info: Screencasting with KMS
[2024-11-17 21:10:43.630]: Info: /dev/dri/card0 -> amdgpu
[2024-11-17 21:10:43.630]: Info: Found monitor for DRM screencasting
[2024-11-17 21:10:43.630]: Info: Found connector ID [116]
[2024-11-17 21:10:43.631]: Info: Found cursor plane [90]
[2024-11-17 21:10:43.639]: Info: Creating encoder [hevc_vaapi]
[2024-11-17 21:10:43.639]: Info: Color coding: SDR (Rec. 709)
[2024-11-17 21:10:43.639]: Info: Color depth: 10-bit
[2024-11-17 21:10:43.639]: Info: Color range: JPEG
[2024-11-17 21:10:43.653]: Info: vaapi vendor: Mesa Gallium driver 24.2.7-cachyos1.2 for AMD Custom GPU 0405 (radeonsi, vangogh, LLVM 18.1.8, DRM 3.59, 6.11.8-2-cachyos-deckify)
[2024-11-17 21:10:43.656]: Info: Using normal encoding mode
[2024-11-17 21:10:43.656]: Info: Using default rate control
[2024-11-17 21:10:43.656]: Warning: [hevc_vaapi @ 0x5b0f293da0c0] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
[2024-11-17 21:10:43.697]: Info: 
[2024-11-17 21:10:43.698]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024-11-17 21:10:43.698]: Info: 
[2024-11-17 21:10:43.698]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2024-11-17 21:10:43.698]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
[2024-11-17 21:10:43.702]: Info: Configuration UI available at [https://localhost:47990]
[2024-11-17 21:10:43.703]: Info: Adding avahi service Hageri
[2024-11-17 21:10:44.548]: Info: Avahi service Hageri successfully established.
[2024-11-17 21:10:47.100]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024-11-17 21:10:47.100]: Info: Trying encoder [nvenc]
[2024-11-17 21:10:47.100]: Info: Screencasting with KMS
[2024-11-17 21:10:47.100]: Info: /dev/dri/card0 -> amdgpu
[2024-11-17 21:10:47.103]: Error: Couldn't find monitor [0]
[2024-11-17 21:10:47.103]: Info: /dev/dri/card0 -> amdgpu
[2024-11-17 21:10:47.103]: Error: Couldn't find monitor [0]
[2024-11-17 21:10:47.303]: Info: Screencasting with KMS
[2024-11-17 21:10:47.304]: Info: /dev/dri/card0 -> amdgpu
[2024-11-17 21:10:47.306]: Error: Couldn't find monitor [0]
[2024-11-17 21:10:47.307]: Info: /dev/dri/card0 -> amdgpu
[2024-11-17 21:10:47.307]: Error: Couldn't find monitor [0]
[2024-11-17 21:10:47.507]: Info: Encoder [nvenc] failed
[2024-11-17 21:10:47.507]: Info: Trying encoder [vaapi]
[2024-11-17 21:10:47.507]: Info: Screencasting with KMS
[2024-11-17 21:10:47.507]: Info: /dev/dri/card0 -> amdgpu
[2024-11-17 21:10:47.508]: Info: Found monitor for DRM screencasting
[2024-11-17 21:10:47.508]: Info: Found connector ID [116]
[2024-11-17 21:10:47.508]: Info: Found cursor plane [90]
[2024-11-17 21:10:47.517]: Info: Creating encoder [h264_vaapi]
[2024-11-17 21:10:47.517]: Info: Color coding: SDR (Rec. 601)
[2024-11-17 21:10:47.517]: Info: Color depth: 8-bit
[2024-11-17 21:10:47.517]: Info: Color range: JPEG
[2024-11-17 21:10:47.531]: Info: vaapi vendor: Mesa Gallium driver 24.2.7-cachyos1.2 for AMD Custom GPU 0405 (radeonsi, vangogh, LLVM 18.1.8, DRM 3.59, 6.11.8-2-cachyos-deckify)
[2024-11-17 21:10:47.534]: Info: Using normal encoding mode
[2024-11-17 21:10:47.534]: Info: Using default rate control
[2024-11-17 21:10:47.534]: Warning: [h264_vaapi @ 0x778d60039100] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
[2024-11-17 21:10:47.571]: Info: Creating encoder [hevc_vaapi]
[2024-11-17 21:10:47.571]: Info: Color coding: SDR (Rec. 601)
[2024-11-17 21:10:47.571]: Info: Color depth: 8-bit
[2024-11-17 21:10:47.571]: Info: Color range: JPEG
[2024-11-17 21:10:47.587]: Info: vaapi vendor: Mesa Gallium driver 24.2.7-cachyos1.2 for AMD Custom GPU 0405 (radeonsi, vangogh, LLVM 18.1.8, DRM 3.59, 6.11.8-2-cachyos-deckify)
[2024-11-17 21:10:47.589]: Info: Using normal encoding mode
[2024-11-17 21:10:47.589]: Info: Using default rate control
[2024-11-17 21:10:47.589]: Warning: [hevc_vaapi @ 0x778d60035c80] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
[2024-11-17 21:10:47.622]: Info: Creating encoder [av1_vaapi]
[2024-11-17 21:10:47.622]: Info: Color coding: SDR (Rec. 601)
[2024-11-17 21:10:47.622]: Info: Color depth: 8-bit
[2024-11-17 21:10:47.622]: Info: Color range: JPEG
[2024-11-17 21:10:47.634]: Info: vaapi vendor: Mesa Gallium driver 24.2.7-cachyos1.2 for AMD Custom GPU 0405 (radeonsi, vangogh, LLVM 18.1.8, DRM 3.59, 6.11.8-2-cachyos-deckify)
[2024-11-17 21:10:47.637]: Error: [av1_vaapi @ 0x778d60037c40] No usable encoding entrypoint found for profile VAProfileAV1Profile0 (32).
[2024-11-17 21:10:47.637]: Error: Could not open codec [av1_vaapi]: Function not implemented
[2024-11-17 21:10:47.640]: Info: Screencasting with KMS
[2024-11-17 21:10:47.640]: Info: /dev/dri/card0 -> amdgpu
[2024-11-17 21:10:47.640]: Info: Found monitor for DRM screencasting
[2024-11-17 21:10:47.640]: Info: Found connector ID [116]
[2024-11-17 21:10:47.641]: Info: Found cursor plane [90]
[2024-11-17 21:10:47.649]: Info: Creating encoder [hevc_vaapi]
[2024-11-17 21:10:47.649]: Info: Color coding: SDR (Rec. 709)
[2024-11-17 21:10:47.649]: Info: Color depth: 10-bit
[2024-11-17 21:10:47.649]: Info: Color range: JPEG
[2024-11-17 21:10:47.664]: Info: vaapi vendor: Mesa Gallium driver 24.2.7-cachyos1.2 for AMD Custom GPU 0405 (radeonsi, vangogh, LLVM 18.1.8, DRM 3.59, 6.11.8-2-cachyos-deckify)
[2024-11-17 21:10:47.666]: Info: Using normal encoding mode
[2024-11-17 21:10:47.666]: Info: Using default rate control
[2024-11-17 21:10:47.666]: Warning: [hevc_vaapi @ 0x778d600e4380] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
[2024-11-17 21:10:47.708]: Info: 
[2024-11-17 21:10:47.708]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024-11-17 21:10:47.708]: Info: 
[2024-11-17 21:10:47.708]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2024-11-17 21:10:47.708]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
[2024-11-17 21:10:47.708]: Info: Executing [Desktop]
[2024-11-17 21:10:47.722]: Info: New streaming session started [active sessions: 1]
[2024-11-17 21:10:47.745]: Info: CLIENT CONNECTED
[2024-11-17 21:10:47.746]: Info: /dev/dri/card0 -> amdgpu
[2024-11-17 21:10:47.750]: Info: Found display [wayland-0]
[2024-11-17 21:10:47.750]: Info: Found interface: zxdg_output_manager_v1(31) version 3
[2024-11-17 21:10:47.750]: Info: Found interface: wl_output(72) version 4
[2024-11-17 21:10:47.750]: Info: Resolution: 1920x1080
[2024-11-17 21:10:47.750]: Info: Offset: 0x0
[2024-11-17 21:10:47.750]: Info: Logical size: 1920x1080
[2024-11-17 21:10:47.750]: Info: Name: DP-1
[2024-11-17 21:10:47.750]: Info: Found monitor: @@@   /0x00000001
[2024-11-17 21:10:47.750]: Info: -------- Start of KMS monitor list --------
[2024-11-17 21:10:47.750]: Info: Monitor 0 is DP-1: @@@   /0x00000001
[2024-11-17 21:10:47.750]: Info: --------- End of KMS monitor list ---------
[2024-11-17 21:10:47.750]: Info: Screencasting with KMS
[2024-11-17 21:10:47.750]: Info: /dev/dri/card0 -> amdgpu
[2024-11-17 21:10:47.750]: Info: Found monitor for DRM screencasting
[2024-11-17 21:10:47.751]: Info: Found connector ID [116]
[2024-11-17 21:10:47.751]: Info: Found cursor plane [90]
[2024-11-17 21:10:47.762]: Info: Creating encoder [h264_vaapi]
[2024-11-17 21:10:47.762]: Info: Color coding: SDR (Rec. 601)
[2024-11-17 21:10:47.762]: Info: Color depth: 8-bit
[2024-11-17 21:10:47.762]: Info: Color range: MPEG
[2024-11-17 21:10:47.781]: Info: vaapi vendor: Mesa Gallium driver 24.2.7-cachyos1.2 for AMD Custom GPU 0405 (radeonsi, vangogh, LLVM 18.1.8, DRM 3.59, 6.11.8-2-cachyos-deckify)
[2024-11-17 21:10:47.784]: Info: Using normal encoding mode
[2024-11-17 21:10:47.784]: Info: Using default rate control
[2024-11-17 21:10:47.784]: Warning: [h264_vaapi @ 0x778d300666c0] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
[2024-11-17 21:10:48.236]: Info: Setting default sink to: [sink-sunshine-stereo]
[2024-11-17 21:10:48.237]: Info: Found default monitor by name: sink-sunshine-stereo.monitor
[2024-11-17 21:10:48.276]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY```

@V9x7t
Copy link
Author

V9x7t commented Nov 29, 2024

Resolved:

Recompile the driver while passing following into the build system. -Dvideo-codecs=h264enc,h265enc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant