MindShow / USBDisplay

133 stars 50 forks source link

Win8ScreenDriverImpl can't be successfully initialized #6

Closed tiagocunico closed 2 years ago

tiagocunico commented 3 years ago

Hello, it works normally until I connect my 3 monitor on my normal HDMI output. I was looking on the logs and apparently the problem is the way It's using the Win8ScreenDriverImpl.

This is the log i received, i linked the full log too.

[18300/ 9812] 2021-07-26 13:50:21:111 ! Win8ScreenDriverImpl Catched Exception in the Win8ScreenDriverImpl::execute() function: Unable get all DXGI outputs for virtual screen. The exception will consider as critical [18300/ 9812] 2021-07-26 13:50:21:212 ! Win8ScreenDriverImpl has an invalid state. The invalid state can be a part of screen propery changes. An update signal will be generated as a screen size changed signal.

i got this code here, i suppose It's something close to the problem I'm facing.

// Check that all outputs for the virtual screen are found (in case two or more // hardware graphic interfaces are used). It's better to avoid using buggy // Desktop Duplication API here rather than getting the wrong framebuffer. Screen screen; if (screen.getVisibleMonitorCount() != dxgiOutputArray.size()) { throw Exception(_T("Unable get all DXGI outputs for virtual screen")); }

if you have any idea what is happening, or how can I fix it, let me know. currently, I'm unable to use the adapter.

thanks for your attention.

MindShow commented 3 years ago

thanks for your feedback,will you please send more infomation: systerm information,export by dxdiag.exe

From: tiagocunico Date: 2021-07-27 01:06 To: MindShow/USBDisplay CC: Subscribed Subject: [MindShow/USBDisplay] Win8ScreenDriverImpl can't be successfully initialized (#6) Hello, it works normally until I connect my 3 monitor on my normal HDMI output. I was looking on the logs and apparently the problem is the way It's using the Win8ScreenDriverImpl. This is the log i received, i linked the full log too. [18300/ 9812] 2021-07-26 13:50:21:111 ! Win8ScreenDriverImpl Catched Exception in the Win8ScreenDriverImpl::execute() function: Unable get all DXGI outputs for virtual screen. The exception will consider as critical [18300/ 9812] 2021-07-26 13:50:21:212 ! Win8ScreenDriverImpl has an invalid state. The invalid state can be a part of screen propery changes. An update signal will be generated as a screen size changed signal. i got this code here, i suppose It's something close to the problem I'm facing. // Check that all outputs for the virtual screen are found (in case two or more // hardware graphic interfaces are used). It's better to avoid using buggy // Desktop Duplication API here rather than getting the wrong framebuffer. Screen screen; if (screen.getVisibleMonitorCount() != dxgiOutputArray.size()) { throw Exception(_T("Unable get all DXGI outputs for virtual screen")); } if you have any idea what is happening, or how can I fix it, let me know. currently, I'm unable to use the adapter. thanks for your attention. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

tiagocunico commented 3 years ago

Here is the extra information. Hope its helpful :)

easterNday commented 2 years ago

如果你是双屏幕或者双显卡,请到System>Display>Graphics设置MS USB Display的图形选项为集成显卡即可。