Windows BSOD (0xD1) with Sunshine running — stable after disabling Sunshine service

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
8/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
cpp

調査の方向性

There is no code path named here; the only concrete artefact is the linked minidump. Start by loading it in WinDbg with !analyze -v (and lmvm on the faulting module) to see whether the stack points at an NVIDIA kernel driver or at Sunshine's own capture/encode path, then compare with the Desktop Duplication and NVENC code in the Windows capture sources. Done means the faulting component is identified, or the crash is reproduced under Sunshine with a captured stack, before any code change is proposed.

索引モデルが 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

Windows BSOD (0xD1) with Sunshine running — stable after disabling Sunshine service

Description

I have experienced repeated unexpected Windows restarts while Sunshine was installed and running.

The system had previously been stable, and the crashes only started occurring after installing Sunshine.

The recorded BSODs on 14 November 2026 had the same bugcheck code:

0x000000D1 — DRIVER_IRQL_NOT_LESS_OR_EQUAL

After stopping the Sunshine service, the system remained stable for more than 24 hours, including during intensive GPU workloads.

I suspect Sunshine may be triggering a problem in the NVIDIA driver or another kernel-level component involved in capture or streaming.

System configuration

  • OS: Windows 10 Pro 64-bit (22H2)
  • CPU: AMD Ryzen 5 3600
  • GPU: NVIDIA Quadro RTX 8000 (48 GB)
  • Remote client: Moonlight
  • Network: 10 GbE
  • Streaming resolution: 4K
  • Sunshine version: To be confirmed
  • NVIDIA driver version: To be confirmed

Windows crash information

The first recorded BSOD on 14 November 2026:

  • Bugcheck: 0x000000D1
  • Minidump: 111426-27515-01.dmp
  • Event ID: 1001 (Windows Error Reporting)

Bugcheck parameters:

0xfffff80670d73dc0
0x0000000000000002
0x0000000000000008
0xfffff80670d73dc0

I am providing this first minidump for investigation.

Hardware testing performed

To investigate whether the graphics card itself was defective, I performed several independent tests with Sunshine stopped.

1. Vulkan GPU memory test

  • Tool: memtest_vulkan v0.5.0
  • Standard five-minute test completed successfully
  • 1,450 iterations passed
  • No reported memory errors
  • Memory bandwidth approximately 389 GB/s write and 437 GB/s check

2. OCCT GPU stress test

  • 15 minutes of intensive 3D testing
  • GPU utilisation approximately 97–98%
  • Power consumption approximately 250 W
  • Temperature stable at approximately 78°C
  • Zero reported errors
  • Also performed 2D testing without reported problems

3. AI inference and general workloads

  • Ran LM Studio Bionic with a long-running AI coding task
  • Used Autodesk Fusion 360 extensively
  • No crashes with Sunshine stopped

4. Independent NVIDIA NVENC testing

Used FFmpeg to test the hardware video encoder without Sunshine.

Single-stream test:

  • H.264 NVENC
  • 3840 × 2160 at 60 FPS
  • 35 Mbps
  • 36,000 frames successfully encoded
  • Average throughput: 103 FPS
  • Encoder utilisation approximately 90%
  • No errors or crashes

I also ran three simultaneous FFmpeg encoding processes:

  • Video Encode utilisation reached 99%
  • Approximately 40 FPS per process
  • Combined throughput approximately 120 FPS
  • GPU power consumption approximately 130 W

These tests demonstrate that NVENC can operate at high utilisation independently of Sunshine without reproducing the Windows crashes during the observed testing period.

Observed behaviour

With Sunshine running:

  • Repeated unexpected Windows restarts
  • Multiple BSODs with bugcheck 0xD1

With Sunshine service stopped:

  • More than 24 hours without a restart
  • Normal Fusion 360 operation
  • Successful GPU memory, graphics and NVENC stress tests

Expected behaviour

Sunshine should operate without triggering a Windows crash.

If a graphics driver or another kernel component is responsible, it would be useful to identify which component Sunshine is triggering.

Crash dump

I am attaching one Windows minidump from the first recorded crash:

111426-27515-01.dmp

I have not analysed the dump with WinDbg.

Additional notes

I understand that Sunshine runs primarily in user mode and that a Windows bugcheck is generally caused by a kernel-level problem.

However, the timing of the crashes, the repeated bugcheck code and the system's stability after disabling Sunshine suggest that Sunshine or its interaction with another driver may be involved.

I would appreciate it if the developers could examine the attached minidump and advise whether this is a known issue involving NVIDIA drivers, desktop capture, NVENC or another component.

crash.dmp

Expected Behavior

No response

Additional Context

No response

Host Operating System

Windows

Operating System Version

OS: Windows 10 Pro 64-bit (22H2)

Architecture

amd64/x86_64

Package

Windows - msi installer (recommended)

GPU Type

NVIDIA

GPU Model

QUATRO RTX8000

GPU Driver/Mesa Version

Quadro RTX 8000, 621.14

Capture Method

Desktop Duplication API (Windows)

Apps

Log output

Online logs

No response

主要言語
C++
スター
43k
フォーク
2.4k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

LizardByte/Sunshine のほかの issue

LizardByte/Sunshine の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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