-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Description
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?
I'm too lazy to test
Describe the Bug
My PC frequently restart because of BSOD. First I think about hardware issues but after testing VRAM, GPU usage, it is not the case. Then someday I noticed sunshine icon on taskbar is appear/disappear repeatedly, so I disabled sunshine service from autostart, PC was free from BSOD since.
About BSOD, It happened frequently at boot, when it was not, it happened randomly when PC was idle, when switching monitor, when playing lightweight game, when compiling shader, when playing mpc-hc. All were not in streaming Moonlight at all, sunshine was idle.
This is BSOD:
Expected Behavior
No BSOD.
Additional Context
Host Operating System
Windows
Operating System Version
Windows 11
Architecture
amd64/x86_64
Sunshine commit or version
Windows 11
Package
Windows - installer (recommended)
GPU Type
NVIDIA
GPU Model
RTX 5060 Ti 16GB
GPU Driver/Mesa Version
591.74
Capture Method
None
Config
gamepad = x360
nvenc_spatial_aq = enabled
nvenc_twopass = disabled
sw_preset = ultrafastApps
Relevant log output
[2026-01-25 13:20:46.432]: Info: Sunshine version: 2026.105.231052 commit: c9e0bb864ed263da6dd5c2fff5541c268f94cfaf
[2026-01-25 13:20:46.432]: Info: Package Publisher: LizardByte
[2026-01-25 13:20:46.432]: Info: Publisher Website: https://app.lizardbyte.dev
[2026-01-25 13:20:46.432]: Info: Get support: https://app.lizardbyte.dev/support
[2026-01-25 13:20:46.432]: Info: config: 'gamepad' = x360
[2026-01-25 13:20:46.432]: Info: config: 'nvenc_spatial_aq' = enabled
[2026-01-25 13:20:46.432]: Info: config: 'nvenc_twopass' = disabled
[2026-01-25 13:20:46.432]: Info: config: 'sw_preset' = ultrafast
[2026-01-25 13:20:46.432]: Info: Provided workaround settings for SettingsManager:
{
"hdr_blank_delay": null
}
[2026-01-25 13:20:46.435]: Info: Currently available display devices:
[
{
"device_id": "{bd9e8e81-9aca-5071-b5c2-6225ee7056e4}",
"display_name": "\\\\.\\DISPLAY1",
"edid": {
"manufacturer_id": "XMD",
"product_code": "009A",
"serial_number": 0
},
"friendly_name": "DummyPlug",
"info": {
"hdr_state": "Disabled",
"origin_point": {
"x": 0,
"y": 0
},
"primary": true,
"refresh_rate": {
"type": "rational",
"value": {
"denominator": 1,
"numerator": 60
}
},
"resolution": {
"height": 1080,
"width": 2400
},
"resolution_scale": {
"type": "rational",
"value": {
"denominator": 100,
"numerator": 125
}
}
}
}
]
[2026-01-25 13:20:46.623]: Info: nvprefs: No need to modify application profile settings
[2026-01-25 13:20:46.623]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile
[2026-01-25 13:20:46.694]: Info: Compiling shaders...
[2026-01-25 13:20:46.909]: Info: Compiled shaders
[2026-01-25 13:20:46.919]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-01-25 13:20:46.919]: Info: Trying encoder [nvenc]
[2026-01-25 13:20:47.216]: Info:
Device Description : NVIDIA GeForce RTX 5060 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002D04
Device Video Mem : 16050 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 32723 MiB
Feature Level : 0x0000B100
Capture size : 2400x1080
Offset : 0x0
Virtual Desktop : 2400x1080
[2026-01-25 13:20:47.216]: Info: Active GPU has HAGS enabled
[2026-01-25 13:20:47.217]: Info: Using realtime GPU priority
[2026-01-25 13:20:47.217]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.339844]
Green Primary : [0.299805,0.69043]
Blue Primary : [0.137695,0.0380859]
White Point : [0.282227,0.296875]
Min Luminance : 0.01 nits
Max Luminance : 1499 nits
Max Full Luminance : 799 nits
[2026-01-25 13:20:47.217]: Info: Desktop resolution [2400x1080]
[2026-01-25 13:20:47.217]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-01-25 13:20:47.217]: Info: Display refresh rate [60Hz]
[2026-01-25 13:20:47.217]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-01-25 13:20:47.218]: Info: Creating encoder [h264_nvenc]
[2026-01-25 13:20:47.218]: Info: Color coding: SDR (Rec. 601)
[2026-01-25 13:20:47.218]: Info: Color depth: 8-bit
[2026-01-25 13:20:47.218]: Info: Color range: JPEG
[2026-01-25 13:20:47.278]: Info: NvEnc: created encoder H.264 P1 async rfi spatial-aq
[2026-01-25 13:20:47.300]: Info: Creating encoder [hevc_nvenc]
[2026-01-25 13:20:47.300]: Info: Color coding: SDR (Rec. 601)
[2026-01-25 13:20:47.300]: Info: Color depth: 8-bit
[2026-01-25 13:20:47.300]: Info: Color range: JPEG
[2026-01-25 13:20:47.356]: Info: NvEnc: created encoder HEVC P1 async rfi spatial-aq
[2026-01-25 13:20:47.379]: Info: Creating encoder [av1_nvenc]
[2026-01-25 13:20:47.379]: Info: Color coding: SDR (Rec. 601)
[2026-01-25 13:20:47.379]: Info: Color depth: 8-bit
[2026-01-25 13:20:47.379]: Info: Color range: JPEG
[2026-01-25 13:20:47.429]: Info: NvEnc: created encoder AV1 P1 async rfi spatial-aq
[2026-01-25 13:20:47.452]: Info: Creating encoder [h264_nvenc]
[2026-01-25 13:20:47.452]: Info: Color coding: SDR (Rec. 601)
[2026-01-25 13:20:47.452]: Info: Color depth: 8-bit
[2026-01-25 13:20:47.452]: Info: Color range: JPEG
[2026-01-25 13:20:47.504]: Info: NvEnc: created encoder H.264 P1 async yuv444 rfi spatial-aq
[2026-01-25 13:20:47.763]: Info:
Device Description : NVIDIA GeForce RTX 5060 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002D04
Device Video Mem : 16050 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 32723 MiB
Feature Level : 0x0000B100
Capture size : 2400x1080
Offset : 0x0
Virtual Desktop : 2400x1080
[2026-01-25 13:20:47.764]: Info: Active GPU has HAGS enabled
[2026-01-25 13:20:47.764]: Info: Using realtime GPU priority
[2026-01-25 13:20:47.764]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.339844]
Green Primary : [0.299805,0.69043]
Blue Primary : [0.137695,0.0380859]
White Point : [0.282227,0.296875]
Min Luminance : 0.01 nits
Max Luminance : 1499 nits
Max Full Luminance : 799 nits
[2026-01-25 13:20:47.764]: Info: Desktop resolution [2400x1080]
[2026-01-25 13:20:47.764]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-01-25 13:20:47.764]: Info: Display refresh rate [60Hz]
[2026-01-25 13:20:47.764]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-01-25 13:20:47.765]: Info: Creating encoder [hevc_nvenc]
[2026-01-25 13:20:47.765]: Info: Color coding: SDR (Rec. 709)
[2026-01-25 13:20:47.765]: Info: Color depth: 10-bit
[2026-01-25 13:20:47.765]: Info: Color range: JPEG
[2026-01-25 13:20:47.896]: Info: NvEnc: created encoder HEVC P1 async yuv444 10-bit rfi spatial-aq
[2026-01-25 13:20:47.938]: Info: Creating encoder [av1_nvenc]
[2026-01-25 13:20:47.938]: Info: Color coding: SDR (Rec. 709)
[2026-01-25 13:20:47.938]: Info: Color depth: 10-bit
[2026-01-25 13:20:47.938]: Info: Color range: JPEG
[2026-01-25 13:20:48.023]: Error: NvEnc: gpu doesn't support YUV444 encode
[2026-01-25 13:20:48.023]: Error: NvEnc: NvEncUnregisterAsyncEvent() failed: NV_ENC_ERR_DEVICE_NOT_EXIST
[2026-01-25 13:20:48.045]: Info: Creating encoder [av1_nvenc]
[2026-01-25 13:20:48.045]: Info: Color coding: SDR (Rec. 709)
[2026-01-25 13:20:48.045]: Info: Color depth: 10-bit
[2026-01-25 13:20:48.045]: Info: Color range: JPEG
[2026-01-25 13:20:48.098]: Info: NvEnc: created encoder AV1 P1 async 10-bit rfi spatial-aq
[2026-01-25 13:20:48.132]: Info:
[2026-01-25 13:20:48.132]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-01-25 13:20:48.132]: Info:
[2026-01-25 13:20:48.132]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2026-01-25 13:20:48.132]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2026-01-25 13:20:48.132]: Info: Found AV1 encoder: av1_nvenc [nvenc]
[2026-01-25 13:20:48.140]: Info: Starting system tray
[2026-01-25 13:20:48.140]: Info: System tray thread initialized successfully
[2026-01-25 13:20:48.140]: Info: No main thread features enabled, skipping event loop
[2026-01-25 13:20:48.140]: Info: System tray thread started
[2026-01-25 13:20:48.147]: Info: Configuration UI available at [https://localhost:47990]
[2026-01-25 13:20:48.172]: Info: System tray created
[2026-01-25 13:20:48.929]: Info: Registered Sunshine mDNS service
[2026-01-25 13:20:58.599]: Info: Encoder reenumeration is required
[2026-01-25 13:20:58.599]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-01-25 13:20:58.599]: Info: Trying encoder [nvenc]
[2026-01-25 13:20:58.842]: Info:
Device Description : NVIDIA GeForce RTX 5060 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002D04
Device Video Mem : 16050 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 32723 MiB
Feature Level : 0x0000B100
Capture size : 2400x1080
Offset : 0x0
Virtual Desktop : 2400x1080
[2026-01-25 13:20:58.842]: Info: Active GPU has HAGS enabled
[2026-01-25 13:20:58.842]: Info: Using realtime GPU priority
[2026-01-25 13:20:58.842]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.339844]
Green Primary : [0.299805,0.69043]
Blue Primary : [0.137695,0.0380859]
White Point : [0.282227,0.296875]
Min Luminance : 0.01 nits
Max Luminance : 1499 nits
Max Full Luminance : 799 nits
[2026-01-25 13:20:58.843]: Info: Desktop resolution [2400x1080]
[2026-01-25 13:20:58.843]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-01-25 13:20:58.843]: Info: Display refresh rate [60Hz]
[2026-01-25 13:20:58.843]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-01-25 13:20:58.843]: Info: Creating encoder [h264_nvenc]
[2026-01-25 13:20:58.843]: Info: Color coding: SDR (Rec. 601)
[2026-01-25 13:20:58.843]: Info: Color depth: 8-bit
[2026-01-25 13:20:58.843]: Info: Color range: JPEG
[2026-01-25 13:20:58.896]: Info: NvEnc: created encoder H.264 P1 async rfi spatial-aq
[2026-01-25 13:20:58.918]: Info: Creating encoder [hevc_nvenc]
[2026-01-25 13:20:58.918]: Info: Color coding: SDR (Rec. 601)
[2026-01-25 13:20:58.918]: Info: Color depth: 8-bit
[2026-01-25 13:20:58.918]: Info: Color range: JPEG
[2026-01-25 13:20:58.977]: Info: NvEnc: created encoder HEVC P1 async rfi spatial-aq
[2026-01-25 13:20:58.999]: Info: Creating encoder [av1_nvenc]
[2026-01-25 13:20:58.999]: Info: Color coding: SDR (Rec. 601)
[2026-01-25 13:20:58.999]: Info: Color depth: 8-bit
[2026-01-25 13:20:58.999]: Info: Color range: JPEG
[2026-01-25 13:20:59.051]: Info: NvEnc: created encoder AV1 P1 async rfi spatial-aq
[2026-01-25 13:20:59.073]: Info: Creating encoder [h264_nvenc]
[2026-01-25 13:20:59.073]: Info: Color coding: SDR (Rec. 601)
[2026-01-25 13:20:59.073]: Info: Color depth: 8-bit
[2026-01-25 13:20:59.074]: Info: Color range: JPEG
[2026-01-25 13:20:59.125]: Info: NvEnc: created encoder H.264 P1 async yuv444 rfi spatial-aq
[2026-01-25 13:20:59.401]: Info:
Device Description : NVIDIA GeForce RTX 5060 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002D04
Device Video Mem : 16050 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 32723 MiB
Feature Level : 0x0000B100
Capture size : 2400x1080
Offset : 0x0
Virtual Desktop : 2400x1080
[2026-01-25 13:20:59.401]: Info: Active GPU has HAGS enabled
[2026-01-25 13:20:59.401]: Info: Using realtime GPU priority
[2026-01-25 13:20:59.402]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.339844]
Green Primary : [0.299805,0.69043]
Blue Primary : [0.137695,0.0380859]
White Point : [0.282227,0.296875]
Min Luminance : 0.01 nits
Max Luminance : 1499 nits
Max Full Luminance : 799 nits
[2026-01-25 13:20:59.402]: Info: Desktop resolution [2400x1080]
[2026-01-25 13:20:59.402]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-01-25 13:20:59.402]: Info: Display refresh rate [60Hz]
[2026-01-25 13:20:59.402]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-01-25 13:20:59.402]: Info: Creating encoder [hevc_nvenc]
[2026-01-25 13:20:59.402]: Info: Color coding: SDR (Rec. 709)
[2026-01-25 13:20:59.403]: Info: Color depth: 10-bit
[2026-01-25 13:20:59.403]: Info: Color range: JPEG
[2026-01-25 13:20:59.512]: Info: NvEnc: created encoder HEVC P1 async yuv444 10-bit rfi spatial-aq
[2026-01-25 13:20:59.553]: Info: Creating encoder [av1_nvenc]
[2026-01-25 13:20:59.553]: Info: Color coding: SDR (Rec. 709)
[2026-01-25 13:20:59.553]: Info: Color depth: 10-bit
[2026-01-25 13:20:59.553]: Info: Color range: JPEG
[2026-01-25 13:20:59.638]: Error: NvEnc: gpu doesn't support YUV444 encode
[2026-01-25 13:20:59.638]: Error: NvEnc: NvEncUnregisterAsyncEvent() failed: NV_ENC_ERR_DEVICE_NOT_EXIST
[2026-01-25 13:20:59.663]: Info: Creating encoder [av1_nvenc]
[2026-01-25 13:20:59.663]: Info: Color coding: SDR (Rec. 709)
[2026-01-25 13:20:59.663]: Info: Color depth: 10-bit
[2026-01-25 13:20:59.663]: Info: Color range: JPEG
[2026-01-25 13:20:59.719]: Info: NvEnc: created encoder AV1 P1 async 10-bit rfi spatial-aq
[2026-01-25 13:20:59.760]: Info:
[2026-01-25 13:20:59.760]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-01-25 13:20:59.760]: Info:
[2026-01-25 13:20:59.760]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2026-01-25 13:20:59.760]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2026-01-25 13:20:59.760]: Info: Found AV1 encoder: av1_nvenc [nvenc]
[2026-01-25 13:20:59.761]: Info: Spawning [cmd /C "C:\apps\QRes.exe /x:%SUNSHINE_CLIENT_WIDTH% /y:%SUNSHINE_CLIENT_HEIGHT% /r:60" ] in ["C:\Windows\system32"]
[2026-01-25 13:20:59.769]: Info: cmd /C "C:\apps\QRes.exe /x:%SUNSHINE_CLIENT_WIDTH% /y:%SUNSHINE_CLIENT_HEIGHT% /r:60" running with PID 15272
[2026-01-25 13:20:59.769]: Info: Executing [Desktop]
[2026-01-25 13:20:59.893]: Info: New streaming session started [active sessions: 1]
[2026-01-25 13:21:00.190]: Info: nvprefs: No need to modify application profile settings
[2026-01-25 13:21:00.190]: Info: nvprefs: No need to modify global profile settings
[2026-01-25 13:21:00.391]: Info: CLIENT CONNECTED
[2026-01-25 13:21:00.403]: Info: Audio mixer format is 32-bit, 48000 Hz, no resampling needed
[2026-01-25 13:21:00.406]: Info: Audio capture format is [F32 48000 2.0]
[2026-01-25 13:21:00.408]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2026-01-25 13:21:00.777]: Info:
Device Description : NVIDIA GeForce RTX 5060 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002D04
Device Video Mem : 16050 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 32723 MiB
Feature Level : 0x0000B100
Capture size : 2400x1080
Offset : 0x0
Virtual Desktop : 2400x1080
[2026-01-25 13:21:00.777]: Info: Active GPU has HAGS enabled
[2026-01-25 13:21:00.777]: Info: Using realtime GPU priority
[2026-01-25 13:21:00.778]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.339844]
Green Primary : [0.299805,0.69043]
Blue Primary : [0.137695,0.0380859]
White Point : [0.282227,0.296875]
Min Luminance : 0.01 nits
Max Luminance : 1499 nits
Max Full Luminance : 799 nits
[2026-01-25 13:21:00.778]: Info: Desktop resolution [2400x1080]
[2026-01-25 13:21:00.778]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-01-25 13:21:00.778]: Info: Display refresh rate [60Hz]
[2026-01-25 13:21:00.778]: Info: Requested frame rate [60fps]
[2026-01-25 13:21:00.779]: Info: Creating encoder [h264_nvenc]
[2026-01-25 13:21:00.779]: Info: Color coding: SDR (Rec. 601)
[2026-01-25 13:21:00.779]: Info: Color depth: 8-bit
[2026-01-25 13:21:00.779]: Info: Color range: MPEG
[2026-01-25 13:21:00.796]: Info: Capture format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-01-25 13:21:00.837]: Info: NvEnc: created encoder H.264 P1 async yuv444 rfi spatial-aq
[2026-01-25 13:21:00.837]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-01-25 13:21:03.730]: Info: CLIENT DISCONNECTED
[2026-01-25 13:21:03.760]: Info: Starting async encoder teardown
[2026-01-25 13:21:03.783]: Info: Async encoder teardown complete
[2026-01-25 13:21:10.741]: Info: Interrupt handler called
[2026-01-25 13:21:10.741]: Error: Couldn't accept incoming connections: The I/O operation has been aborted because of either a thread exit or an application request
[2026-01-25 13:21:10.742]: Info: System tray thread ended
[2026-01-25 13:21:10.922]: Info: nvprefs: Restored OGL_CPL_PREFER_DXPRESENT for base profile
[2026-01-25 13:21:10.961]: Info: Unregistered Sunshine mDNS serviceMetadata
Metadata
Assignees
Labels
No labels