Vulkan encoding not working on AMDGPU (Radeon 8060S)

オープン
#5,572 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp, linux
領域
backend

調査の方向性

まず、ログに示されている 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
平均マージ
1日 15時間
マージ済み PR(30日)
105

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

LizardByte/Sunshine のほかの issue

LizardByte/Sunshine の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。