Skip to content

Vulkan not working after PR #5056 got merged #5076

@inkatail

Description

@inkatail

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • 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

The Vulkan encoder stopped working for me after I updated to the latest sunshine-git from AUR. When I reverted the PR #5056 myself, it suddenly started working again.
Errors in logs show Driver does not support required encode feedback flags (BUFFER_OFFSET and BYTES_WRITTEN).

Expected Behavior

The encoder should be working and detected just fine

Additional Context

No response

Host Operating System

Linux

Operating System Version

CachyOS 7.0.3-1-cachyos

Architecture

amd64/x86_64

Package

Linux - AUR (Third Party)

GPU Type

AMD

GPU Model

RX 6600

GPU Driver/Mesa Version

26.0.6-2

Capture Method

KMS (Linux)

Apps

Log output

[2026-05-05 13:28:53.487]: Info: Sunshine version: 2026.428.130031.r1.ga90d306 commit: a90d3068e91ca62ff35196971279e89d8e5d9da0
[2026-05-05 13:28:53.487]: Info: Package Publisher: AUR
[2026-05-05 13:28:53.487]: Info: Publisher Website: https://aur.archlinux.org/packages/sunshine-git
[2026-05-05 13:28:53.487]: Info: Get support: https://aur.archlinux.org/packages/sunshine-git
[2026-05-05 13:28:53.487]: Info: config: 'encoder' = vulkan
[2026-05-05 13:28:53.487]: Info: config: 'fec_percentage' = 10
[2026-05-05 13:28:53.487]: Info: config: 'vk_rc_mode' = 2
[2026-05-05 13:28:53.487]: Info: config: 'wan_encryption_mode' = 0
[2026-05-05 13:28:53.488]: Info: [wayland] Found display [wayland-0]
[2026-05-05 13:28:53.488]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-05-05 13:28:53.488]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-05-05 13:28:53.488]: Info: [wayland] Found interface: wl_output(64) version 4
[2026-05-05 13:28:53.488]: Warning: [wlgrab] Missing Wayland wire for wlr-export-dmabuf
[2026-05-05 13:28:53.489]: Info: /dev/dri/card1 -> amdgpu
[2026-05-05 13:28:53.489]: Info: [wayland] Found display [wayland-0]
[2026-05-05 13:28:53.489]: Info: [wayland] Found display [wayland-0]
[2026-05-05 13:28:53.489]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-05-05 13:28:53.489]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-05-05 13:28:53.489]: Info: [wayland] Found interface: wl_output(64) version 4
[2026-05-05 13:28:53.489]: Info: [wayland] Resolution: 1920x1080
[2026-05-05 13:28:53.489]: Info: [wayland] Offset: 0x0
[2026-05-05 13:28:53.489]: Info: [wayland] Logical size: 1920x1080
[2026-05-05 13:28:53.489]: Info: [wayland] Name: HDMI-A-1
[2026-05-05 13:28:53.489]: Info: [wayland] Found monitor: Xiaomi Corporation P27FBA-RAGL
[2026-05-05 13:28:53.489]: Info: -------- Start of KMS monitor list --------
[2026-05-05 13:28:53.489]: Info: Monitor 0 is HDMI-A-1: Xiaomi Corporation P27FBA-RAGL
[2026-05-05 13:28:53.489]: Info: --------- End of KMS monitor list ---------
[2026-05-05 13:28:53.490]: Info: [portalgrab] Loaded portal restore token from disk
[2026-05-05 13:28:53.563]: Info: Trying encoder [vulkan]
[2026-05-05 13:28:53.563]: Info: Screencasting with KMS
[2026-05-05 13:28:53.563]: Info: /dev/dri/card1 -> amdgpu
[2026-05-05 13:28:53.563]: Info: Found monitor for DRM screencasting
[2026-05-05 13:28:53.563]: Info: Found connector ID [459]
[2026-05-05 13:28:53.564]: Info: Found cursor plane [414]
[2026-05-05 13:28:53.564]: Info: Creating encoder [h264_vulkan]
[2026-05-05 13:28:53.564]: Info: Color coding: SDR (Rec. 601)
[2026-05-05 13:28:53.564]: Info: Color depth: 8-bit
[2026-05-05 13:28:53.564]: Info: Color range: JPEG
[2026-05-05 13:28:53.594]: Info: Streaming bitrate is 1000000
[2026-05-05 13:28:53.594]: Error: [h264_vulkan @ 0x5575928114c0] Driver does not support required encode feedback flags (BUFFER_OFFSET and BYTES_WRITTEN).
[2026-05-05 13:28:53.598]: Error: Could not open codec [h264_vulkan]: Operation not supported
[2026-05-05 13:28:53.598]: Info: Creating encoder [h264_vulkan]
[2026-05-05 13:28:53.598]: Info: Color coding: SDR (Rec. 601)
[2026-05-05 13:28:53.598]: Info: Color depth: 8-bit
[2026-05-05 13:28:53.598]: Info: Color range: JPEG
[2026-05-05 13:28:53.608]: Info: Streaming bitrate is 1000000
[2026-05-05 13:28:53.608]: Error: [h264_vulkan @ 0x5575928114c0] Driver does not support required encode feedback flags (BUFFER_OFFSET and BYTES_WRITTEN).
[2026-05-05 13:28:53.609]: Error: Could not open codec [h264_vulkan]: Operation not supported
[2026-05-05 13:28:53.609]: Info: Encoder [vulkan] failed
[2026-05-05 13:28:53.609]: Error: Couldn't find any working encoder matching [vulkan]
[2026-05-05 13:28:53.609]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-05-05 13:28:53.609]: Info: Trying encoder [nvenc]
[2026-05-05 13:28:53.609]: Info: Screencasting with KMS
[2026-05-05 13:28:53.610]: Info: /dev/dri/card1 -> amdgpu
[2026-05-05 13:28:53.610]: Error: Couldn't find monitor [0]
[2026-05-05 13:28:53.610]: Info: /dev/dri/card1 -> amdgpu
[2026-05-05 13:28:53.610]: Error: Couldn't find monitor [0]
[2026-05-05 13:28:53.810]: Info: Screencasting with KMS
[2026-05-05 13:28:53.810]: Info: /dev/dri/card1 -> amdgpu
[2026-05-05 13:28:53.811]: Error: Couldn't find monitor [0]
[2026-05-05 13:28:53.811]: Info: /dev/dri/card1 -> amdgpu
[2026-05-05 13:28:53.811]: Error: Couldn't find monitor [0]
[2026-05-05 13:28:54.011]: Info: Encoder [nvenc] failed
[2026-05-05 13:28:54.011]: Info: Trying encoder [vaapi]
[2026-05-05 13:28:54.011]: Info: Screencasting with KMS
[2026-05-05 13:28:54.011]: Info: /dev/dri/card1 -> amdgpu
[2026-05-05 13:28:54.011]: Info: Found monitor for DRM screencasting
[2026-05-05 13:28:54.011]: Info: Found connector ID [459]
[2026-05-05 13:28:54.011]: Info: Found cursor plane [414]
[2026-05-05 13:28:54.041]: Info: Creating encoder [h264_vaapi]
[2026-05-05 13:28:54.041]: Info: Color coding: SDR (Rec. 601)
[2026-05-05 13:28:54.041]: Info: Color depth: 8-bit
[2026-05-05 13:28:54.041]: Info: Color range: JPEG
[2026-05-05 13:28:54.050]: Info: EGL: context priority set to HIGH
[2026-05-05 13:28:54.055]: Info: vaapi vendor: Mesa Gallium driver 26.0.6-arch2.2 for AMD Radeon RX 6600 (radeonsi, navi23, ACO, DRM 3.64, 7.0.3-1-cachyos)
[2026-05-05 13:28:54.056]: Info: Streaming bitrate is 1000000
[2026-05-05 13:28:54.056]: Info: Using normal encoding mode
[2026-05-05 13:28:54.056]: Info: Using default rate control
[2026-05-05 13:28:54.306]: Info: Creating encoder [hevc_vaapi]
[2026-05-05 13:28:54.306]: Info: Color coding: SDR (Rec. 601)
[2026-05-05 13:28:54.306]: Info: Color depth: 8-bit
[2026-05-05 13:28:54.306]: Info: Color range: JPEG
[2026-05-05 13:28:54.314]: Info: EGL: context priority set to HIGH
[2026-05-05 13:28:54.319]: Info: vaapi vendor: Mesa Gallium driver 26.0.6-arch2.2 for AMD Radeon RX 6600 (radeonsi, navi23, ACO, DRM 3.64, 7.0.3-1-cachyos)
[2026-05-05 13:28:54.319]: Info: Streaming bitrate is 1000000
[2026-05-05 13:28:54.319]: Info: Using normal encoding mode
[2026-05-05 13:28:54.319]: Info: Using default rate control
[2026-05-05 13:28:54.336]: Info: Creating encoder [av1_vaapi]
[2026-05-05 13:28:54.336]: Info: Color coding: SDR (Rec. 601)
[2026-05-05 13:28:54.336]: Info: Color depth: 8-bit
[2026-05-05 13:28:54.336]: Info: Color range: JPEG
[2026-05-05 13:28:54.344]: Info: EGL: context priority set to HIGH
[2026-05-05 13:28:54.348]: Info: vaapi vendor: Mesa Gallium driver 26.0.6-arch2.2 for AMD Radeon RX 6600 (radeonsi, navi23, ACO, DRM 3.64, 7.0.3-1-cachyos)
[2026-05-05 13:28:54.349]: Info: Streaming bitrate is 1000000
[2026-05-05 13:28:54.349]: Error: [av1_vaapi @ 0x5575928114c0] No usable encoding entrypoint found for profile VAProfileAV1Profile0 (32).
[2026-05-05 13:28:54.349]: Error: Could not open codec [av1_vaapi]: Function not implemented
[2026-05-05 13:28:54.351]: Info: Screencasting with KMS
[2026-05-05 13:28:54.351]: Info: /dev/dri/card1 -> amdgpu
[2026-05-05 13:28:54.351]: Info: Found monitor for DRM screencasting
[2026-05-05 13:28:54.351]: Info: Found connector ID [459]
[2026-05-05 13:28:54.351]: Info: Found cursor plane [414]
[2026-05-05 13:28:54.357]: Info: Creating encoder [hevc_vaapi]
[2026-05-05 13:28:54.357]: Info: Color coding: SDR (Rec. 709)
[2026-05-05 13:28:54.357]: Info: Color depth: 10-bit
[2026-05-05 13:28:54.357]: Info: Color range: JPEG
[2026-05-05 13:28:54.365]: Info: EGL: context priority set to HIGH
[2026-05-05 13:28:54.370]: Info: vaapi vendor: Mesa Gallium driver 26.0.6-arch2.2 for AMD Radeon RX 6600 (radeonsi, navi23, ACO, DRM 3.64, 7.0.3-1-cachyos)
[2026-05-05 13:28:54.372]: Info: Streaming bitrate is 1000000
[2026-05-05 13:28:54.372]: Info: Using normal encoding mode
[2026-05-05 13:28:54.372]: Info: Using default rate control
[2026-05-05 13:28:54.389]: Info: 
[2026-05-05 13:28:54.389]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-05-05 13:28:54.389]: Info: 
[2026-05-05 13:28:54.389]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2026-05-05 13:28:54.389]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
[2026-05-05 13:28:54.389]: Info: Starting system tray
[2026-05-05 13:28:54.391]: Info: Configuration UI available at [https://localhost:47990]
[2026-05-05 13:28:54.391]: Info: Adding avahi service inka102
[2026-05-05 13:28:54.711]: Info: System tray created
[2026-05-05 13:28:54.711]: Info: Starting main loop
[2026-05-05 13:28:55.350]: Info: Avahi service inka102 successfully established.

Online logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions