Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能够连接到扩展的ParsecVdd虚拟显示器,但是sunshine中无法指定为主显示器。一旦这么做moonlight就进入黑屏 #11

Open
bf109f4 opened this issue Nov 23, 2024 · 1 comment

Comments

@bf109f4
Copy link

bf109f4 commented Nov 23, 2024

基地版更新至最新
已经确认在ParsecVdd中将虚拟屏分配至独显直连
D:\Program_Files\Sunshine\tools>dxgi-info
====== ADAPTER =====
Device Name : Intel(R) UHD Graphics 730
Device Vendor ID : 0x00008086
Device Device ID : 0x00004692
Device Video Mem : 128 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16269 MiB

====== OUTPUT ======
Output Name       : \\.\DISPLAY1
AttachedToDesktop : yes
Resolution        : 1680x1050

====== ADAPTER =====
Device Name : NVIDIA Tesla M40
Device Vendor ID : 0x000010DE
Device Device ID : 0x000017FD
Device Video Mem : 11460 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16269 MiB

====== OUTPUT ======
Output Name       : \\.\DISPLAY22
AttachedToDesktop : yes
Resolution        : 1920x1200

适配器设置为自动选择,输出显示器指定为ParsecVDA(\.\DISPLAY22)。若进入串流时组合态设定为无操作,则一切正常。若设定为“自动激活并设定为主显示器”,则能进入串流但是黑屏。我希望在外地也能通过独显进行串流,但是不设为主显示器是没法用的。。。
通过对比前后日志发现了一些区别。
正常情况下扩展副屏时,日志显示为
[2024-11-23 22:46:29.217]: Info: Changing display modes to:
{8d19459d-0713-55b7-b0ef-72201a69ac48} -> 1680x1050x59.9543
{b516619e-a4d1-5760-a4da-1e27ca237783} -> 1920x1200x60
[2024-11-23 22:46:29.221]: Info: Changing hdr states to:
{8d19459d-0713-55b7-b0ef-72201a69ac48} -> UNKNOWN
{b516619e-a4d1-5760-a4da-1e27ca237783} -> UNKNOWN
[2024-11-23 22:46:29.222]: Info: Display device configuration applied.
[2024-11-23 22:46:29.222]: Info: Encoder reenumeration is required
[2024-11-23 22:46:29.222]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024-11-23 22:46:29.222]: Info: Trying encoder [nvenc]
[2024-11-23 22:46:29.384]: Info:
Device Description : NVIDIA Tesla M40
Device Vendor ID : 0x000010DE
Device Device ID : 0x000017FD
Device Video Mem : 11460 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16269 MiB
Feature Level : 0x0000B100
Capture size : 1920x1200
Offset : 0x1050
Virtual Desktop : 1920x2250
[2024-11-23 22:46:29.385]: Info: Active GPU has HAGS disabled
[2024-11-23 22:46:29.385]: Info: Using realtime GPU priority
[2024-11-23 22:46:29.385]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.149414,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits

但是当我想指定DISPLAY22为 主显示器时,日志显示为
[2024-11-23 23:23:55.217]: Info: Changing primary display to: {b516619e-a4d1-5760-a4da-1e27ca237783}
[2024-11-23 23:23:55.242]: Info: Changing display modes to:
{8d19459d-0713-55b7-b0ef-72201a69ac48} -> 1680x1050x59.9543
{b516619e-a4d1-5760-a4da-1e27ca237783} -> 1920x1200x60
[2024-11-23 23:23:55.251]: Info: Changing hdr states to:
{8d19459d-0713-55b7-b0ef-72201a69ac48} -> UNKNOWN
{b516619e-a4d1-5760-a4da-1e27ca237783} -> UNKNOWN
[2024-11-23 23:23:55.256]: Info: Display device configuration applied.
[2024-11-23 23:23:55.320]: Info: Encoder reenumeration is required
[2024-11-23 23:23:55.320]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024-11-23 23:23:55.320]: Info: Trying encoder [nvenc]
[2024-11-23 23:23:55.408]: Info:
Device Description : Intel(R) UHD Graphics 730
Device Vendor ID : 0x00008086
Device Device ID : 0x00004692
Device Video Mem : 128 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16269 MiB
Feature Level : 0x0000B100
Capture size : 1920x1200
Offset : 0x1050
Virtual Desktop : 1920x2250
[2024-11-23 23:23:55.408]: Info: Active GPU has HAGS disabled
[2024-11-23 23:23:55.408]: Info: Using realtime GPU priority
[2024-11-23 23:23:55.408]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.149414,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits

后面就开始无限循环这串信息。。。
[2024-11-23 22:52:13.624]: Info: Desktop resolution [1920x1200]
[2024-11-23 22:52:13.624]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024-11-23 22:52:13.624]: Info: Display refresh rate [60Hz]
[2024-11-23 22:52:13.624]: Info: Requested frame rate [60fps]
[2024-11-23 22:52:13.625]: Info: Creating encoder [hevc_qsv]
[2024-11-23 22:52:13.625]: Info: Color coding: SDR (Rec. 709)
[2024-11-23 22:52:13.625]: Info: Color depth: 8-bit
[2024-11-23 22:52:13.625]: Info: Color range: MPEG
[2024-11-23 22:52:13.890]: Info:
Device Description : Intel(R) UHD Graphics 730
Device Vendor ID : 0x00008086
Device Device ID : 0x00004692
Device Video Mem : 128 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16269 MiB
Feature Level : 0x0000B100
Capture size : 1920x1200
Offset : 0x1050
Virtual Desktop : 1920x2250
但是1920x1200这个显示器应该挂在NVENC上。1680x1050这个才应该是intel上

@pengtao6993
Copy link

我也出现了类似的问题,显卡是Tesla M4
日志:
`[2024-11-26 21:51:17.742]: Info: Sunshine version: 2024.1112.140600.杂鱼
[2024-11-26 21:51:17.742]: Info: Package Publisher: Third Party Publisher
[2024-11-26 21:51:17.742]: Info: Publisher Website:
[2024-11-26 21:51:17.742]: Info: Get support: https://app.lizardbyte.dev/support
[2024-11-26 21:51:17.757]: Info: Loading persistent display device settings.
[2024-11-26 21:51:17.946]: Info: nvprefs: No need to modify application profile settings
[2024-11-26 21:51:17.946]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile
[2024-11-26 21:51:17.990]: Info: Compiling shaders...
[2024-11-26 21:51:18.006]: Info: System tray created
[2024-11-26 21:51:18.081]: Info: Compiled shaders
[2024-11-26 21:51:18.086]: Info: Trying encoder [nvenc]
[2024-11-26 21:51:18.145]: Info: ddprobe.exe 1 --verify-frame-capture returned 0x00000000
[2024-11-26 21:51:18.145]: Info: Set GPU preference: 1
[2024-11-26 21:51:18.652]: Error: Failed to locate an output device
[2024-11-26 21:51:19.162]: Error: Failed to locate an output device
[2024-11-26 21:51:19.877]: Error: Failed to locate an output device
[2024-11-26 21:51:20.392]: Error: Failed to locate an output device
[2024-11-26 21:51:20.606]: Info: Encoder [nvenc] failed
[2024-11-26 21:51:20.607]: Error: Couldn't find any working encoder matching [nvenc]
[2024-11-26 21:51:20.607]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024-11-26 21:51:20.607]: Info: Trying encoder [quicksync]
[2024-11-26 21:51:21.121]: Error: Failed to locate an output device
[2024-11-26 21:51:21.635]: Error: Failed to locate an output device
[2024-11-26 21:51:22.351]: Error: Failed to locate an output device
[2024-11-26 21:51:22.867]: Error: Failed to locate an output device
[2024-11-26 21:51:23.069]: Info: Encoder [quicksync] failed
[2024-11-26 21:51:23.069]: Info: Trying encoder [amdvce]
[2024-11-26 21:51:23.582]: Error: Failed to locate an output device
[2024-11-26 21:51:24.097]: Error: Failed to locate an output device
[2024-11-26 21:51:24.812]: Error: Failed to locate an output device
[2024-11-26 21:51:25.324]: Error: Failed to locate an output device
[2024-11-26 21:51:25.527]: Info: Encoder [amdvce] failed
[2024-11-26 21:51:25.527]: Info: Trying encoder [software]
[2024-11-26 21:51:26.038]: Error: Failed to locate an output device
[2024-11-26 21:51:26.550]: Error: Failed to locate an output device
[2024-11-26 21:51:27.267]: Error: Failed to locate an output device
[2024-11-26 21:51:27.782]: Error: Failed to locate an output device
[2024-11-26 21:51:27.984]: Info: Encoder [software] failed
[2024-11-26 21:51:27.984]: Fatal: Unable to find display or encoder during startup.
[2024-11-26 21:51:27.984]: Fatal: Please ensure your manually chosen GPU and monitor are connected and powered on.
[2024-11-26 21:51:27.984]: Error: Video failed to find working encoder
[2024-11-26 21:51:27.988]: Info: Configuration UI available at [https://localhost:47990]
[2024-11-26 21:51:28.781]: Info: Registered Sunshine mDNS service
[2024-11-26 21:51:38.520]: Info: Applying configuration to the display device.
[2024-11-26 21:51:38.525]: Info: Steam audio drivers not found. This is expected if you don't have Steam installed.
[2024-11-26 21:51:38.537]: Info: Available display devices:
DEVICE ID: {2bb2012d-f11f-5f14-9f7c-7b8561770d7d}
DISPLAY NAME: NOT AVAILABLE
FRIENDLY NAME: ParsecVDA
DEVICE STATE: INACTIVE
HDR STATE: UNKNOWN

DEVICE ID: {b565ff1a-34bc-5635-9120-2d063d97c226}
DISPLAY NAME: \.\DISPLAY1
FRIENDLY NAME: T2224r
DEVICE STATE: PRIMARY
HDR STATE: UNKNOWN

DEVICE ID: {f0949db4-c7c4-5021-9da1-0c9e1e9b566e}
DISPLAY NAME: \.\DISPLAY2
FRIENDLY NAME: NOT AVAILABLE
DEVICE STATE: PRIMARY
HDR STATE: UNKNOWN

DEVICE ID: {f0cfefd7-be89-5733-a759-8fe046803517}
DISPLAY NAME: NOT AVAILABLE
FRIENDLY NAME: VDD by MTT
DEVICE STATE: INACTIVE
HDR STATE: UNKNOWN
[2024-11-26 21:51:38.538]: Info: Changing display topology to:
[
[
{2bb2012d-f11f-5f14-9f7c-7b8561770d7d}
]
]
[2024-11-26 21:51:39.135]: Info: Display device configuration applied.
[2024-11-26 21:51:39.135]: Info: Trying encoder [nvenc]
[2024-11-26 21:51:39.700]: Error: Failed to locate an output device
[2024-11-26 21:51:40.229]: Error: Failed to locate an output device
[2024-11-26 21:51:40.934]: Error: Failed to locate an output device
[2024-11-26 21:51:41.451]: Error: Failed to locate an output device
[2024-11-26 21:51:41.653]: Info: Encoder [nvenc] failed
[2024-11-26 21:51:41.653]: Error: Couldn't find any working encoder matching [nvenc]
[2024-11-26 21:51:41.653]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024-11-26 21:51:41.654]: Info: Trying encoder [quicksync]
[2024-11-26 21:51:42.170]: Error: Failed to locate an output device
[2024-11-26 21:51:42.684]: Error: Failed to locate an output device
[2024-11-26 21:51:43.390]: Error: Failed to locate an output device
[2024-11-26 21:51:43.906]: Error: Failed to locate an output device
[2024-11-26 21:51:44.111]: Info: Encoder [quicksync] failed
[2024-11-26 21:51:44.111]: Info: Trying encoder [amdvce]
[2024-11-26 21:51:44.625]: Error: Failed to locate an output device
[2024-11-26 21:51:45.139]: Error: Failed to locate an output device
[2024-11-26 21:51:45.854]: Error: Failed to locate an output device
[2024-11-26 21:51:46.369]: Error: Failed to locate an output device
[2024-11-26 21:51:46.570]: Info: Encoder [amdvce] failed
[2024-11-26 21:51:46.570]: Info: Trying encoder [software]
[2024-11-26 21:51:47.087]: Error: Failed to locate an output device
[2024-11-26 21:51:47.600]: Error: Failed to locate an output device
[2024-11-26 21:51:48.314]: Error: Failed to locate an output device
[2024-11-26 21:51:48.829]: Error: Failed to locate an output device
[2024-11-26 21:51:49.045]: Info: Encoder [software] failed
[2024-11-26 21:51:49.045]: Fatal: Unable to find display or encoder during startup.
[2024-11-26 21:51:49.046]: Fatal: Please ensure your manually chosen GPU and monitor are connected and powered on.
[2024-11-26 21:51:49.048]: Info: Reverting display device settings.
[2024-11-26 21:51:49.048]: Info: Changing display topology back to:
[
[
{b565ff1a-34bc-5635-9120-2d063d97c226},
{f0949db4-c7c4-5021-9da1-0c9e1e9b566e}
]
]
[2024-11-26 21:51:49.361]: Info: Display device configuration reverted.
[2024-11-26 21:52:46.854]: Info: Applying configuration to the display device.
[2024-11-26 21:52:46.859]: Info: Steam audio drivers not found. This is expected if you don't have Steam installed.
[2024-11-26 21:52:46.871]: Info: Available display devices:
DEVICE ID: {2bb2012d-f11f-5f14-9f7c-7b8561770d7d}
DISPLAY NAME: NOT AVAILABLE
FRIENDLY NAME: ParsecVDA
DEVICE STATE: INACTIVE
HDR STATE: UNKNOWN

DEVICE ID: {b565ff1a-34bc-5635-9120-2d063d97c226}
DISPLAY NAME: \.\DISPLAY1
FRIENDLY NAME: T2224r
DEVICE STATE: PRIMARY
HDR STATE: UNKNOWN

DEVICE ID: {f0949db4-c7c4-5021-9da1-0c9e1e9b566e}
DISPLAY NAME: \.\DISPLAY2
FRIENDLY NAME: NOT AVAILABLE
DEVICE STATE: PRIMARY
HDR STATE: UNKNOWN

DEVICE ID: {f0cfefd7-be89-5733-a759-8fe046803517}
DISPLAY NAME: NOT AVAILABLE
FRIENDLY NAME: VDD by MTT
DEVICE STATE: INACTIVE
HDR STATE: UNKNOWN
[2024-11-26 21:52:46.872]: Info: Changing display topology to:
[
[
{2bb2012d-f11f-5f14-9f7c-7b8561770d7d}
]
]
[2024-11-26 21:52:47.506]: Info: Display device configuration applied.
[2024-11-26 21:52:47.507]: Info: Trying encoder [nvenc]
[2024-11-26 21:52:48.130]: Error: Failed to locate an output device
[2024-11-26 21:52:48.644]: Error: Failed to locate an output device
[2024-11-26 21:52:49.362]: Error: Failed to locate an output device
[2024-11-26 21:52:49.875]: Error: Failed to locate an output device
[2024-11-26 21:52:50.078]: Info: Encoder [nvenc] failed
[2024-11-26 21:52:50.078]: Error: Couldn't find any working encoder matching [nvenc]
[2024-11-26 21:52:50.078]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024-11-26 21:52:50.078]: Info: Trying encoder [quicksync]
[2024-11-26 21:52:50.596]: Error: Failed to locate an output device
[2024-11-26 21:52:51.110]: Error: Failed to locate an output device
[2024-11-26 21:52:51.827]: Error: Failed to locate an output device
[2024-11-26 21:52:52.339]: Error: Failed to locate an output device
[2024-11-26 21:52:52.540]: Info: Encoder [quicksync] failed
[2024-11-26 21:52:52.540]: Info: Trying encoder [amdvce]
[2024-11-26 21:52:53.055]: Error: Failed to locate an output device
[2024-11-26 21:52:53.570]: Error: Failed to locate an output device
[2024-11-26 21:52:54.285]: Error: Failed to locate an output device
[2024-11-26 21:52:54.802]: Error: Failed to locate an output device
[2024-11-26 21:52:55.005]: Info: Encoder [amdvce] failed
[2024-11-26 21:52:55.005]: Info: Trying encoder [software]
[2024-11-26 21:52:55.520]: Error: Failed to locate an output device
[2024-11-26 21:52:56.036]: Error: Failed to locate an output device
[2024-11-26 21:52:56.754]: Error: Failed to locate an output device
[2024-11-26 21:52:57.267]: Error: Failed to locate an output device
[2024-11-26 21:52:57.470]: Info: Encoder [software] failed
[2024-11-26 21:52:57.470]: Fatal: Unable to find display or encoder during startup.
[2024-11-26 21:52:57.470]: Fatal: Please ensure your manually chosen GPU and monitor are connected and powered on.
[2024-11-26 21:52:57.473]: Info: Reverting display device settings.
[2024-11-26 21:52:57.473]: Info: Changing display topology back to:
[
[
{b565ff1a-34bc-5635-9120-2d063d97c226},
{f0949db4-c7c4-5021-9da1-0c9e1e9b566e}
]
]
[2024-11-26 21:52:58.165]: Info: Display device configuration reverted.`
在开始串流之前手动设置为主显示器就没问题,但是让sunshine自己设置就不行;图形适配器设置为自动的话就黑屏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants