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

Aperta
#6,108 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
8/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
cpp

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
C++
Stelle
43k
Fork
2.4k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LizardByte/Sunshine

Tutte le issue di LizardByte/Sunshine

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.