Vulkan encoding not working on AMDGPU (Radeon 8060S)
还没有人认领这个 Issue。
评估
调研方向
首先跟踪日志中显示的 Vulkan 编码器选择路径,尤其是 h264_vulkan 的创建以及随后发生的编码器失败。将该路径与报告的 VK_KHR_video_encode_av1 支持进行比较,并确定在 H.264 不可用时是否会尝试 AV1。完成标准是选择受支持的硬件编码器,或清楚地报告失败,并且能够复现或解释所提供的 Sunshine 日志。
由索引模型根据 Issue 内容生成。
描述
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?
None
Describe the Bug
sunshine is using x264 sw encoding even though hardware supports AV1
Expected Behavior
vulkan hw accelleration is used for encoding
Additional Context
sunshine output
[2026-08-28 21:10:47.257]: Info: Sunshine version: 2026.516.143833 commit: 14ffa6fdaa53f7b51512be2b3d24f3939695403c
[...]
[2026-08-28 21:10:47.802]: Info: Trying encoder [vulkan]
[2026-08-28 21:10:47.802]: Info: Screencasting with KMS
[2026-08-28 21:10:47.802]: Info: /dev/dri/card1 -> amdgpu
[2026-08-28 21:10:47.802]: Info: Found monitor for DRM screencasting
[2026-08-28 21:10:47.802]: Info: Found connector ID [453]
[2026-08-28 21:10:47.802]: Info: Found cursor plane [421]
[2026-08-28 21:10:47.802]: Info: Creating encoder [h264_vulkan]
[2026-08-28 21:10:47.802]: Info: Color coding: SDR (Rec. 601)
[2026-08-28 21:10:47.802]: Info: Color depth: 8-bit
[2026-08-28 21:10:47.802]: Info: Color range: JPEG
[2026-08-28 21:10:47.888]: Info: Streaming bitrate is 1000000
[2026-08-28 21:10:47.888]: Error: [h264_vulkan @ 0x346bdec0] Device does not support encoding h264!
[2026-08-28 21:10:47.890]: Error: Could not open codec [h264_vulkan]: Function not implemented
[2026-08-28 21:10:47.890]: Info: Creating encoder [h264_vulkan]
[2026-08-28 21:10:47.890]: Info: Color coding: SDR (Rec. 601)
[2026-08-28 21:10:47.890]: Info: Color depth: 8-bit
[2026-08-28 21:10:47.890]: Info: Color range: JPEG
[2026-08-28 21:10:47.972]: Info: Streaming bitrate is 1000000
[2026-08-28 21:10:47.973]: Error: [h264_vulkan @ 0x346bdec0] Device does not support encoding h264!
[2026-08-28 21:10:47.975]: Error: Could not open codec [h264_vulkan]: Function not implemented
[2026-08-28 21:10:47.975]: Info: Encoder [vulkan] failed
vulkaninfo output
Device Extensions: count = 226
[...]
VK_KHR_video_encode_av1 : extension revision 1
VK_KHR_video_encode_intra_refresh : extension revision 1
VK_KHR_video_encode_quantization_map : extension revision 2
VK_KHR_video_encode_queue : extension revision 12
[...]
VkPhysicalDeviceVideoEncodeAV1FeaturesKHR:
------------------------------------------
videoEncodeAV1 = true
VkPhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR:
---------------------------------------------------
videoEncodeIntraRefresh = true
VkPhysicalDeviceVideoEncodeQuantizationMapFeaturesKHR:
------------------------------------------------------
videoEncodeQuantizationMap = true
what's funny is that apparently there is no H.264 encoding HW support, so maybe sunshine errors out before even trying AV1?
Host Operating System
Linux
Operating System Version
Fedora 44
Architecture
amd64/x86_64
Package
Linux - AppImage
GPU Type
AMD
GPU Model
AMD Radeon 8060S Graphics
GPU Driver/Mesa Version
Mesa 26.0.8
Capture Method
KMS (Linux)
Apps
Log output
Online logs
No response
- 主要语言
- C++
- 星标
- 43k
- 派生
- 2.4k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
LizardByte/Sunshine 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
LizardByte/Sunshine#6051 ·
-
PIN pairing fails with "Missing CSRF token" - web UI never fetches/attaches the token可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
LizardByte/Sunshine#5467 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 45/100
LizardByte/Sunshine#6080 ·
-
难度 5/5 一周以上 新手友好度 18/100
LizardByte/Sunshine#6072 ·
-
难度 4/5 3-5 天 新手友好度 45/100
LizardByte/Sunshine#6063 · 1 条评论 ·
查看 LizardByte/Sunshine 的全部 Issue
相似的 Issue
-
help wanted new command
难度 2/5 1-3 小时 新手友好度 76/100
tldr-pages/tldr#25111 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
bug test
难度 2/5 1-3 小时 新手友好度 82/100
OpenAssetIO/OpenAssetIO#1527 ·
-
iOS Fabric pointer-handler reset leaves the next lone touch non-primary可能已有人在做 @alleneubank 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
react/react-native#59919 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
ROCm/rocm-systems#15475 ·
维护者通常 2 天内回复