sskodje/ScreenRecorderLib

Win11 23H2 Run Demo program Testapp/TestAppWinforms appear Error

Closed this issue · 2 comments

error infor:
2024-05-19 19:52:00.820 [ERROR] [DesktopDuplicationCaptur | InitializeDesktopDu: 351] >> Failed to get duplicate output in DesktopDuplicationCapture: 2024-05-19 19:52:00.820 [ERROR] [ScreenCaptureManager.cpp | CaptureThreadProc: 813] >> Failed to start capture
2024-05-19 19:52:00.821 [ERROR] [ScreenCaptureManager.cpp | ProcessCaptureHRESU:1280] >> Unexpected error, aborting capture: 2024-05-19 19:52:00.821 [ERROR] [ScreenCaptureManager.cpp | CaptureThreadProc: 983] >> Fatal error in screen capture, exiting..

I have intstall Media Feature Pack for Win11,Thankyou.

There's not enough info here for me to know what's wrong. The fault lies in Windows Desktop Duplication API, but it doesn't seem to return a "well known" error. Does it work if you switch to Windows Graphics Capture API? Desktop Duplication can be wonky some times.

Oh,yes,I change my notebook's Preferred graphics from Nvdia T1000 to Inter6300,the app run Ok.thanyou .Nvdia1000 is a stand alone graphics,but Inter6300 is integration.
thankyou!