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

Abierto
#6,108 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
8/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
cpp

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
C++
Estrellas
43k
Forks
2.4k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de LizardByte/Sunshine

Todos los issues de LizardByte/Sunshine

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.