NVENC fails on Pascal (GTX 1080 Ti) since 2026.914: cudaErrorNoKernelImageForDevice in RGBA_to_NV12
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- cpp, linux
調査の方向性
RGBA_to_NV12 CUDA 色変換パスから開始し、release ビルドでサポートされている GPU ターゲットと、失敗している Pascal sm_61 デバイスを比較します。別途、X11 の起動ハングについて SelectSources 後のキャプチャプローブを調査します。完了条件は、GTX 1080 Ti で NVENC が再び動作し、X11 で Capture が未設定の場合に起動が無期限にブロックされないことです。
索引モデルが issue の本文から書いたものです。
説明
Is there an existing issue for this?
- I have searched the existing issues
Is your issue present in the latest beta/pre-release?
Tested on the latest release, v2026.914.233613.
Describe the Bug
After upgrading from 2025.923.33222 to 2026.914.233613, NVENC no longer works on a Pascal GPU (GTX 1080 Ti, compute capability 6.1). The encoder probe fails in the CUDA color conversion step, and Sunshine falls back to software libx264:
Info: Trying encoder [nvenc]
Info: Creating encoder [h264_nvenc]
Error: RGBA_to_NV12 failed: cudaErrorNoKernelImageForDevice:no kernel image is available for execution on the device
Error: RGBA_to_NV12 failed: cudaErrorNoKernelImageForDevice:no kernel image is available for execution on the device
Info: Encoder [nvenc] failed
...
Info: Found H.264 encoder: libx264 [software]
cudaErrorNoKernelImageForDevice suggests the bundled CUDA kernels were built without Pascal (sm_61) targets, for example a CUDA 13 toolchain or a CUDA_ARCHITECTURES list that no longer includes 6.1.
Downgrading to 2025.923.33222 on the same machine, with the same driver and config, restores NVENC:
Info: Found H.264 encoder: h264_nvenc [nvenc]
Info: Found HEVC encoder: hevc_nvenc [nvenc]
Expected Behavior
NVENC keeps working on Pascal GPUs, which the 580 driver still supports. If Pascal support was dropped on purpose, it should be in the release notes.
Additional Context
A separate issue in the same release on an X11 session: with no capture option set, startup hangs at "Detecting displays". Debug logs show it stopping after the portal SelectSources call:
Debug: [portalgrab] RemoteDesktop CreateSession response_code: 0
Debug: [portalgrab] SelectDevices response_code: 0
Debug: [portalgrab] SelectSources response_code: 0
<hangs indefinitely; web UI never comes up>
Setting capture = x11 works around it. The portal capture probe probably shouldn't block startup on X11.
Host Operating System
Linux
Operating System Version
Ubuntu 24.04.5 LTS, kernel 7.0.0-31-generic, GNOME on X11
Architecture
amd64/x86_64
Package
Linux - deb (sunshine_2026.914.233613-1+ubuntu24.04_amd64.deb)
GPU Type
NVIDIA
GPU Model
GeForce GTX 1080 Ti (x2), compute capability 6.1
GPU Driver/Mesa Version
NVIDIA 580.173.02
Capture Method
X11 (capture = x11)
- 主要言語
- C++
- スター
- 43k
- フォーク
- 2.4k
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 105
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
LizardByte/Sunshine のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
LizardByte/Sunshine#6051 ·
メンテナーはふだん 1 日以内に返信
-
PIN pairing fails with "Missing CSRF token" - web UI never fetches/attaches the token再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
LizardByte/Sunshine#5467 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 18/100
LizardByte/Sunshine#6072 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
LizardByte/Sunshine#6063 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
LizardByte/Sunshine#6048 ·
メンテナーはふだん 1 日以内に返信
LizardByte/Sunshine の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
ROCm/rocm-systems#15475 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
Sendspin/sendspin-cpp#257 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
pocoproject/poco#5664 ·
メンテナーはふだん 2 日以内に返信
-
community:good-first-issue kind:bug kind:test scope:control status:needs-triage vehicle:rover
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
PX4/PX4-Autopilot#29727 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信