Skip to content

[Bug]: moonlight pc 6.2.21 版本搭配v2026.317.35216的Foundation Sunshine使用时,moonlight会闪退 #536

@slowpoke0520

Description

@slowpoke0520

🏷️ 问题类型

💥 崩溃/卡死

📝 问题描述

moonlight pc 6.2.21 版本搭配不支持独显直连的笔记本v2026.317.35216的Foundation Sunshine使用时,moonlight会闪退。尝试回退到6.2.12版本依然闪退。原项目的moonlight pc v6.1.0版本可以正常使用。安卓版本的moonlight v+可以正常使用。

🔄 复现步骤

启动sunshine后,启动moonlight pc,moonlight弹出黑色窗口,一两秒后窗口消失。

🎯 受影响的游戏/应用

桌面串流

🔁 可复现性

总是发生 (100%)

💻 主机操作系统

Windows 11

📌 Windows 具体版本

Windows 11 专业版 25H2

☀️ Sunshine 版本

2026.317.35216

🎨 显卡厂商

NVIDIA

🎨 显卡型号及驱动

4070ti /595.79

🔧 视频编码器

自动/未知

📱 客户端设备

Windows moonlight-qt 6.2.21以及6.2.12

⚙️ 是否修改过配置?

是,已修改配置

📋 已修改的配置

分辨率,帧率,显示模式 1080p 144fps 窗口化

📸 截图/视频

Desktop.2026.03.17.-.17.37.24.03.mp4

📜 日志输出

[2026-03-17 17:32:47.501]: Info: Sunshine version: v2026.317.35216.杂鱼
[2026-03-17 17:32:47.533]: Info: Running as SYSTEM user (service mode)
[2026-03-17 17:32:47.533]: Info: Package Publisher: qiin2333
[2026-03-17 17:32:47.534]: Info: Publisher Website: https://github.com/qiin2333/Sunshine-Foundation
[2026-03-17 17:32:47.534]: Info: Get support: https://github.com/qiin2333/Sunshine-Foundation/issues
[2026-03-17 17:32:47.535]: Info: Modified config settings: {"display_device_prep": "no_operation", "locale": "zh", "output_name": "{9fb82449-79a3-52b4-b0df-9720b7338545}", "setup_wizard_completed": "true"}
[2026-03-17 17:32:47.535]: Info: [SessionListener] Worker线程已启动
[2026-03-17 17:32:47.536]: Info: [SessionListener] 会话事件监听器初始化成功
[2026-03-17 17:32:47.794]: Info: nvprefs: No need to modify application profile settings
[2026-03-17 17:32:47.795]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile
[2026-03-17 17:32:48.888]: Warning: Gamepad switch is disabled due to gamepads.motion-server-not-available
[2026-03-17 17:32:48.890]: Info: Testing for available encoders - Errors during this phase can be ignored (测试可用编码器 - 此阶段的错误可以忽略)
[2026-03-17 17:32:48.890]: Info: Trying encoder [nvenc]
[2026-03-17 17:32:48.891]: Info: Running in service mode, using DDX capture (WGC not available in services)
[2026-03-17 17:32:48.966]: Info: Device Description : Intel(R) UHD Graphics, Vendor ID: 0x00008086, Device ID: 0x00009BC4, Video Mem: 128 MiB, Feature Level: 0x0000B100, Capture: 1920x1080, Offset: 0x0
[2026-03-17 17:32:48.967]: Info: HAGS: disabled, GPU priority: realtime
[2026-03-17 17:32:48.967]: Info: HDR: DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709, Bits: 8, Luminance: 0.5/270/270 nits
[2026-03-17 17:32:48.968]: Info: Capture gamma: sRGB (G22)
[2026-03-17 17:32:48.969]: Info: Desktop resolution [1920x1080], Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM], Display refresh rate [144.003Hz], Requested frame rate [60fps]
[2026-03-17 17:32:48.975]: Info: Encoder [nvenc] is not supported on this GPU
[2026-03-17 17:32:48.981]: Info: Trying encoder [vulkan]
[2026-03-17 17:32:48.981]: Info: Running in service mode, using DDX capture (WGC not available in services)
[2026-03-17 17:32:48.982]: Error: Failed to create display for: \\.\DISPLAY1
[2026-03-17 17:32:49.194]: Info: Running in service mode, using DDX capture (WGC not available in services)
[2026-03-17 17:32:49.195]: Error: Failed to create display for: \\.\DISPLAY1
[2026-03-17 17:32:49.396]: Info: Encoder [vulkan] failed
[2026-03-17 17:32:49.397]: Info: Trying encoder [quicksync]
[2026-03-17 17:32:49.397]: Info: Running in service mode, using DDX capture (WGC not available in services)
[2026-03-17 17:32:49.425]: Info: Device Description : Intel(R) UHD Graphics, Vendor ID: 0x00008086, Device ID: 0x00009BC4, Video Mem: 128 MiB, Feature Level: 0x0000B100, Capture: 1920x1080, Offset: 0x0
[2026-03-17 17:32:49.426]: Info: HAGS: disabled, GPU priority: realtime
[2026-03-17 17:32:49.427]: Info: HDR: DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709, Bits: 8, Luminance: 0.5/270/270 nits
[2026-03-17 17:32:49.427]: Info: Capture gamma: sRGB (G22)
[2026-03-17 17:32:49.428]: Info: Desktop resolution [1920x1080], Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM], Display refresh rate [144.003Hz], Requested frame rate [60fps]
[2026-03-17 17:32:49.432]: Info: Creating encoder [h264_qsv], Color coding: SDR (Rec. 601), Color depth: 8-bit, Color range: JPEG
[2026-03-17 17:32:49.484]: Info: Streaming bitrate is 1000000
[2026-03-17 17:32:49.514]: Info: Creating encoder [hevc_qsv], Color coding: SDR (Rec. 601), Color depth: 8-bit, Color range: JPEG
[2026-03-17 17:32:49.565]: Info: Streaming bitrate is 1000000
[2026-03-17 17:32:49.569]: Error: [hevc_qsv @ 0000020bbcfd9480] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
[2026-03-17 17:32:49.570]: Info: Retrying with fallback configuration options for [hevc_qsv] after error: Function not implemented
[2026-03-17 17:32:49.613]: Info: Streaming bitrate is 1000000
[2026-03-17 17:32:49.616]: Error: [hevc_qsv @ 0000020bbcfd8d40] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
[2026-03-17 17:32:49.617]: Error: Could not open codec [hevc_qsv]: Function not implemented
[2026-03-17 17:32:49.620]: Info: Creating encoder [av1_qsv], Color coding: SDR (Rec. 601), Color depth: 8-bit, Color range: JPEG
[2026-03-17 17:32:49.669]: Info: Streaming bitrate is 1000000
[2026-03-17 17:32:49.670]: Error: [av1_qsv @ 0000020bbc19fc00] This version of runtime doesn't support AV1 encoding
[2026-03-17 17:32:49.672]: Error: Could not open codec [av1_qsv]: Unknown error occurred
[2026-03-17 17:32:49.674]: Info: Creating encoder [h264_qsv], Color coding: SDR (Rec. 601), Color depth: 8-bit, Color range: MPEG
[2026-03-17 17:32:49.724]: Info: Streaming bitrate is 1000000
[2026-03-17 17:32:49.755]: Info: Running in service mode, using DDX capture (WGC not available in services)
[2026-03-17 17:32:49.781]: Info: Device Description : Intel(R) UHD Graphics, Vendor ID: 0x00008086, Device ID: 0x00009BC4, Video Mem: 128 MiB, Feature Level: 0x0000B100, Capture: 1920x1080, Offset: 0x0
[2026-03-17 17:32:49.782]: Info: HAGS: disabled, GPU priority: realtime
[2026-03-17 17:32:49.782]: Info: HDR: DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709, Bits: 8, Luminance: 0.5/270/270 nits
[2026-03-17 17:32:49.783]: Info: Capture gamma: sRGB (G22)
[2026-03-17 17:32:49.783]: Info: Desktop resolution [1920x1080], Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM], Display refresh rate [144.003Hz], Requested frame rate [60fps]
[2026-03-17 17:32:49.794]: Info: Ignore any errors, Encoder testing completed (忽略任何错误,编码器测试完成)
[2026-03-17 17:32:49.794]: Info: Found H.264 encoder: h264_qsv [quicksync]
[2026-03-17 17:32:49.795]: Info: mDNS broadcast enabled
[2026-03-17 17:32:49.795]: Info: Starting system tray
[2026-03-17 17:32:49.796]: Info: System tray thread initialized successfully
[2026-03-17 17:32:49.797]: Info: No main thread features enabled, skipping event loop
[2026-03-17 17:32:49.798]: Info: System tray thread started
[2026-03-17 17:32:49.798]: Info: Starting nvhttps server on port [47984]
[2026-03-17 17:32:49.799]: Info: Starting nvhttp server on port [47989]
[2026-03-17 17:32:49.824]: Info: System tray created
[2026-03-17 17:32:50.583]: Info: Registered Sunshine mDNS service
[2026-03-17 17:33:09.371]: Info: Use desktop image []
[2026-03-17 17:33:09.372]: Info: Use desktop image []
[2026-03-17 17:33:09.376]: Info: Use desktop image []
[2026-03-17 17:33:14.369]: Info: Use desktop image []
[2026-03-17 17:33:14.369]: Info: Use desktop image []
[2026-03-17 17:33:14.373]: Info: Use desktop image []
[2026-03-17 17:33:14.572]: Info: Launch request from IP: 192.168.1.117, Port: 6728
[2026-03-17 17:33:14.576]: Info: Available display devices: 
DEVICE ID: {9fb82449-79a3-52b4-b0df-9720b7338545}
DISPLAY NAME: \\.\DISPLAY1
FRIENDLY NAME: \\.\DISPLAY1
DEVICE STATE: PRIMARY
HDR STATE: UNKNOWN
[2026-03-17 17:33:14.578]: Info: Available display devices: 
DEVICE ID: {9fb82449-79a3-52b4-b0df-9720b7338545}
DISPLAY NAME: \\.\DISPLAY1
FRIENDLY NAME: \\.\DISPLAY1
DEVICE STATE: PRIMARY
HDR STATE: UNKNOWN
[2026-03-17 17:33:14.580]: Info: Session lock check - Locked: false, SessionFlags: 1 (LOCK=0, UNLOCK=1)
[2026-03-17 17:33:14.582]: Info: Applying configuration to the display device.
[2026-03-17 17:33:14.582]: Info: Display device preparation mode is set to no_operation, topology will not be changed
[2026-03-17 17:33:14.584]: Info: Available display devices: 
DEVICE ID: {9fb82449-79a3-52b4-b0df-9720b7338545}
DISPLAY NAME: \\.\DISPLAY1
FRIENDLY NAME: \\.\DISPLAY1
DEVICE STATE: PRIMARY
HDR STATE: UNKNOWN
[2026-03-17 17:33:14.586]: Info: Changing display modes to: 
{9fb82449-79a3-52b4-b0df-9720b7338545} -> 1920x1080x144
[2026-03-17 17:33:14.590]: Info: 检测到HDR切换操作,等待其他显示器操作稳定...
[2026-03-17 17:33:14.592]: Info: Changing hdr states to: 
{9fb82449-79a3-52b4-b0df-9720b7338545} -> UNKNOWN
[2026-03-17 17:33:14.593]: Info: Display device configuration applied.
[2026-03-17 17:33:14.595]: Info: Encoder reenumeration is required
[2026-03-17 17:33:14.596]: Info: Testing for available encoders - Errors during this phase can be ignored (测试可用编码器 - 此阶段的错误可以忽略)
[2026-03-17 17:33:14.597]: Info: Trying encoder [nvenc]
[2026-03-17 17:33:14.597]: Info: Running in service mode, using DDX capture (WGC not available in services)
[2026-03-17 17:33:14.625]: Info: Device Description : Intel(R) UHD Graphics, Vendor ID: 0x00008086, Device ID: 0x00009BC4, Video Mem: 128 MiB, Feature Level: 0x0000B100, Capture: 1920x1080, Offset: 0x0
[2026-03-17 17:33:14.625]: Info: HAGS: disabled, GPU priority: realtime
[2026-03-17 17:33:14.626]: Info: HDR: DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709, Bits: 8, Luminance: 0.5/270/270 nits
[2026-03-17 17:33:14.627]: Info: Capture gamma: sRGB (G22)
[2026-03-17 17:33:14.627]: Info: Desktop resolution [1920x1080], Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM], Display refresh rate [144.003Hz], Requested frame rate [60fps]
[2026-03-17 17:33:14.631]: Info: Encoder [nvenc] is not supported on this GPU
[2026-03-17 17:33:14.636]: Info: Trying encoder [vulkan]
[2026-03-17 17:33:14.636]: Info: Running in service mode, using DDX capture (WGC not available in services)
[2026-03-17 17:33:14.637]: Error: Failed to create display for: \\.\DISPLAY1
[2026-03-17 17:33:14.852]: Info: Running in service mode, using DDX capture (WGC not available in services)
[2026-03-17 17:33:14.852]: Error: Failed to create display for: \\.\DISPLAY1
[2026-03-17 17:33:15.053]: Info: Encoder [vulkan] failed
[2026-03-17 17:33:15.054]: Info: Trying encoder [quicksync]
[2026-03-17 17:33:15.054]: Info: Running in service mode, using DDX capture (WGC not available in services)
[2026-03-17 17:33:15.083]: Info: Device Description : Intel(R) UHD Graphics, Vendor ID: 0x00008086, Device ID: 0x00009BC4, Video Mem: 128 MiB, Feature Level: 0x0000B100, Capture: 1920x1080, Offset: 0x0
[2026-03-17 17:33:15.083]: Info: HAGS: disabled, GPU priority: realtime
[2026-03-17 17:33:15.084]: Info: HDR: DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709, Bits: 8, Luminance: 0.5/270/270 nits
[2026-03-17 17:33:15.084]: Info: Capture gamma: sRGB (G22)
[2026-03-17 17:33:15.085]: Info: Desktop resolution [1920x1080], Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM], Display refresh rate [144.003Hz], Requested frame rate [60fps]
[2026-03-17 17:33:15.091]: Info: Creating encoder [h264_qsv], Color coding: SDR (Rec. 601), Color depth: 8-bit, Color range: JPEG
[2026-03-17 17:33:15.146]: Info: Streaming bitrate is 1000000
[2026-03-17 17:33:15.174]: Info: Creating encoder [hevc_qsv], Color coding: SDR (Rec. 601), Color depth: 8-bit, Color range: JPEG
[2026-03-17 17:33:15.227]: Info: Streaming bitrate is 1000000
[2026-03-17 17:33:15.230]: Error: [hevc_qsv @ 0000020bbbf3c840] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
[2026-03-17 17:33:15.232]: Info: Retrying with fallback configuration options for [hevc_qsv] after error: Function not implemented
[2026-03-17 17:33:15.276]: Info: Streaming bitrate is 1000000
[2026-03-17 17:33:15.280]: Error: [hevc_qsv @ 0000020bbbf3cc00] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
[2026-03-17 17:33:15.281]: Error: Could not open codec [hevc_qsv]: Function not implemented
[2026-03-17 17:33:15.284]: Info: Creating encoder [av1_qsv], Color coding: SDR (Rec. 601), Color depth: 8-bit, Color range: JPEG
[2026-03-17 17:33:15.337]: Info: Streaming bitrate is 1000000
[2026-03-17 17:33:15.338]: Error: [av1_qsv @ 0000020bbae45100] This version of runtime doesn't support AV1 encoding
[2026-03-17 17:33:15.340]: Error: Could not open codec [av1_qsv]: Unknown error occurred
[2026-03-17 17:33:15.343]: Info: Creating encoder [h264_qsv], Color coding: SDR (Rec. 601), Color depth: 8-bit, Color range: MPEG
[2026-03-17 17:33:15.395]: Info: Streaming bitrate is 1000000
[2026-03-17 17:33:15.428]: Info: Running in service mode, using DDX capture (WGC not available in services)
[2026-03-17 17:33:15.458]: Info: Device Description : Intel(R) UHD Graphics, Vendor ID: 0x00008086, Device ID: 0x00009BC4, Video Mem: 128 MiB, Feature Level: 0x0000B100, Capture: 1920x1080, Offset: 0x0
[2026-03-17 17:33:15.458]: Info: HAGS: disabled, GPU priority: realtime
[2026-03-17 17:33:15.459]: Info: HDR: DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709, Bits: 8, Luminance: 0.5/270/270 nits
[2026-03-17 17:33:15.459]: Info: Capture gamma: sRGB (G22)
[2026-03-17 17:33:15.460]: Info: Desktop resolution [1920x1080], Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM], Display refresh rate [144.003Hz], Requested frame rate [60fps]
[2026-03-17 17:33:15.472]: Info: Ignore any errors, Encoder testing completed (忽略任何错误,编码器测试完成)
[2026-03-17 17:33:15.473]: Info: Found H.264 encoder: h264_qsv [quicksync]
[2026-03-17 17:33:15.474]: Info: Executing [Desktop]
[2026-03-17 17:33:15.562]: Info: RTSP DESCRIBE encryption flags: supported=0xd, requested=0x1 (CONTROL_V2=1, VIDEO=0, AUDIO=0, MIC=0)
[2026-03-17 17:33:15.612]: Info: Client requested stream resolution (clientViewport): 1920x1080
[2026-03-17 17:33:15.613]: Info: New streaming session started [active sessions: 1]
[2026-03-17 17:33:15.615]: Info: Microphone socket started on port 48001
[2026-03-17 17:33:15.615]: Info: Client MyWorkStation: Microphone socket closed (session doesn't require it)
[2026-03-17 17:33:15.892]: Info: nvprefs: No need to modify application profile settings
[2026-03-17 17:33:15.892]: Info: nvprefs: No need to modify global profile settings
[2026-03-17 17:33:15.914]: Info: WLAN interface 0 is now in low latency mode
[2026-03-17 17:33:15.950]: Info: CLIENT CONNECTED
[2026-03-17 17:33:15.974]: Info: Using client-specified display: \\.\DISPLAY1
[2026-03-17 17:33:15.975]: Info: Running in service mode, using DDX capture (WGC not available in services)
[2026-03-17 17:33:16.011]: Info: Device Description : Intel(R) UHD Graphics, Vendor ID: 0x00008086, Device ID: 0x00009BC4, Video Mem: 128 MiB, Feature Level: 0x0000B100, Capture: 1920x1080, Offset: 0x0
[2026-03-17 17:33:16.012]: Info: HAGS: disabled, GPU priority: realtime
[2026-03-17 17:33:16.013]: Info: Fractional framerate: 144/1 (144 fps)
[2026-03-17 17:33:16.014]: Info: HDR: DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709, Bits: 8, Luminance: 0.5/270/270 nits
[2026-03-17 17:33:16.015]: Info: Capture gamma: sRGB (G22)
[2026-03-17 17:33:16.015]: Info: Desktop resolution [1920x1080], Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM], Display refresh rate [144.003Hz], Requested frame rate [144fps]
[2026-03-17 17:33:16.025]: Info: Capture format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-03-17 17:33:16.026]: Info: Initial display: 1920x1080, encoding: 1920x1080, scale: 1x1
[2026-03-17 17:33:16.027]: Info: Creating encoder [h264_qsv], Color coding: SDR (Rec. 601), Color depth: 8-bit, Color range: MPEG
[2026-03-17 17:33:16.098]: Info: Virtual audio device will use 24-bit to match default device
[2026-03-17 17:33:16.107]: Info: Streaming bitrate is 23788000
[2026-03-17 17:33:16.132]: Info: Minimum frame time set to 13.8889ms, based on client-requested target framerate 144.
[2026-03-17 17:33:16.157]: Info: Changed virtual audio sink format to [S24 48000 2.0]
[2026-03-17 17:33:16.217]: Info: Audio mixer format is 32-bit, 48000 Hz, no resampling needed
[2026-03-17 17:33:16.247]: Info: Audio capture format is [F32 48000 2.0]
[2026-03-17 17:33:16.249]: Info: Audio capture initialized successfully, entering sampling loop
[2026-03-17 17:33:16.250]: Info: Opus DRED enabled: 100ms redundancy
[2026-03-17 17:33:16.251]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2026-03-17 17:33:16.898]: Info: Audio encryption status: encryptionFlagsEnabled=0xd, SS_ENC_AUDIO (0x04) check: enabled, will ENCRYPT audio data
[2026-03-17 17:33:16.899]: Info: Audio cipher status: initialized=yes, key_size=16
[2026-03-17 17:33:16.899]: Info: Audio packet encryption: plaintext_size=320, encrypted_size=336, encryption SUCCESS (data is encrypted)

💬 其他补充

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions