Sunshine crashes (nvcuda64.dll, c0000005) when creating 10-bit HEVC NVENC encoder on RTX 4060
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- cpp
調査の方向性
報告されているRTX 4060を使用してsunshine.exeのエンコーダーテストフェーズを再現し、SDR Rec. 709 10-bit出力に対して「Creating encoder [hevc_nvenc]」の後に到達するNVENCパスを調査します。先行するH.264、HEVC、AV1、yuv444のエンコーダー試行と比較します。HEVC 10-bitテストが成功するか、プロセスをクラッシュさせずに適切に失敗し、フォールバック動作が維持されれば完了です。
索引モデルが 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
Describe the bug
Sunshine crashes with an access violation (c0000005) in nvcuda64.dll every time it tries to create the second-pass HEVC 10-bit NVENC encoder during the encoder testing phase. This happens consistently, even when running sunshine.exe manually (not as a service).
To Reproduce
- Run sunshine.exe (manually via cmd, or via service)
- Sunshine successfully creates: H.264 (8-bit), HEVC (8-bit), AV1 (8-bit), H.264 yuv444
- Crashes immediately when creating HEVC 10-bit encoder (Color coding: SDR Rec. 709, Color depth: 10-bit)
Expected behavior
Sunshine should either successfully create the 10-bit encoder, or fail gracefully and fall back to another encoder, instead of crashing the entire process.
System info
- GPU: NVIDIA GeForce RTX 4060 (Desktop)
- OS: Windows 10 Pro 22H2
- Sunshine versions tested: v2025.628.4510 and v2025.924.154138 (both crash identically)
- NVIDIA drivers tested: 616.56, 591.74 (both crash identically, ruling out driver issue)
- Also tried: full DDU clean uninstall + reinstall, still crashes
- Workaround: setting
encoder = softwarein sunshine.conf avoids the crash entirely
Crash details (from Windows Event Viewer, Application Error)
- Faulting module: nvcuda64.dll
- Exception code: 0xc0000005
- Consistent across all 3 driver versions tested (32.0.16.1656, 32.0.15.9597, 32.0.15.9174)
Logs
[Adjunta aquí una captura o copia del log de consola desde "Trying encoder [nvenc]" hasta el crash]
Expected Behavior
No response
Additional Context
No response
Host Operating System
Windows
Operating System Version
win 10
Architecture
amd64/x86_64
Package
Windows - exe installer
GPU Type
NVIDIA
GPU Model
Geforce rtx 4060
GPU Driver/Mesa Version
591.74 (also tested with 616.56)
Capture Method
Desktop Duplication API (Windows)
Apps
Log output
[2026-08-30 16:09:16.720]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-08-30 16:09:16.720]: Info: Trying encoder [nvenc]
[2026-08-30 16:09:16.968]: Info:
Device Description : NVIDIA GeForce RTX 4060
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002882
Device Video Mem : 7957 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16356 MiB
Feature Level : 0x0000B100
Capture size : 1920x1080
Offset : 0x0
Virtual Desktop : 1920x1080
[2026-08-30 16:09:16.970]: Info: Active GPU has HAGS disabled
[2026-08-30 16:09:16.970]: Info: Using realtime GPU priority
[2026-08-30 16:09:16.973]: Info: Creating encoder [h264_nvenc]
[2026-08-30 16:09:16.973]: Info: Color coding: SDR (Rec. 601)
[2026-08-30 16:09:16.974]: Info: Color depth: 8-bit
[2026-08-30 16:09:16.974]: Info: Color range: JPEG
[2026-08-30 16:09:17.046]: Info: NvEnc: created encoder H.264 P1 async two-pass rfi
[2026-08-30 16:09:17.074]: Info: Creating encoder [hevc_nvenc]
[2026-08-30 16:09:17.074]: Info: Color coding: SDR (Rec. 601)
[2026-08-30 16:09:17.074]: Info: Color depth: 8-bit
[2026-08-30 16:09:17.076]: Info: Color range: JPEG
[2026-08-30 16:09:17.140]: Info: NvEnc: created encoder HEVC P1 async two-pass rfi
[2026-08-30 16:09:17.168]: Info: Creating encoder [av1_nvenc]
[2026-08-30 16:09:17.168]: Info: Color coding: SDR (Rec. 601)
[2026-08-30 16:09:17.168]: Info: Color depth: 8-bit
[2026-08-30 16:09:17.169]: Info: Color range: JPEG
[2026-08-30 16:09:17.222]: Info: NvEnc: created encoder AV1 P1 async two-pass rfi
[2026-08-30 16:09:17.246]: Info: Creating encoder [h264_nvenc]
[2026-08-30 16:09:17.246]: Info: Color coding: SDR (Rec. 601)
[2026-08-30 16:09:17.247]: Info: Color depth: 8-bit
[2026-08-30 16:09:17.248]: Info: Color range: JPEG
[2026-08-30 16:09:17.303]: Info: NvEnc: created encoder H.264 P1 async yuv444 two-pass rfi
[2026-08-30 16:09:17.550]: Info:
Device Description : NVIDIA GeForce RTX 4060
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002882
Device Video Mem : 7957 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16356 MiB
Feature Level : 0x0000B100
Capture size : 1920x1080
Offset : 0x0
Virtual Desktop : 1920x1080
[2026-08-30 16:09:17.555]: Info: Active GPU has HAGS disabled
[2026-08-30 16:09:17.555]: Info: Using realtime GPU priority
[2026-08-30 16:09:17.557]: Info: Creating encoder [hevc_nvenc]
[2026-08-30 16:09:17.557]: Info: Color coding: SDR (Rec. 709)
[2026-08-30 16:09:17.558]: Info: Color depth: 10-bit
[2026-08-30 16:09:17.558]: Info: Color range: JPEG
--- PROCESS CRASHES HERE, no further log output ---
Windows Event Viewer (Application Error) details:
Faulting application name: sunshine.exe
Faulting module name: nvcuda64.dll, version: 32.0.15.9174
Exception code: 0xc0000005
Faulting module path: C:\WINDOWS\system32\DriverStore\FileRepository\nv_dispi.inf_amd64_7840b4313191ae17\nvcuda64.dll
Online logs
No response
- 主要言語
- 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時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
charmplusplus/charm#4210 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
[BUG] VPN auth dialog spawned by the secret agent fails with "TLS support is not available" on NixOSオープンbug nixos umbriel
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
noctalia-dev/noctalia#5310 ·
メンテナーはふだん 1 日以内に返信
-
area/docdb kind/bug priority/medium status/awaiting-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
yugabyte/yugabyte-db#37426 ·
メンテナーはふだん 1 日以内に返信