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

Đang mở
#6,108 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
8/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
operating-systems

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
C++
Star
43k
Fork
2.4k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của LizardByte/Sunshine

Tất cả issue của LizardByte/Sunshine

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.