bryal / dxgcap-rs

Screen capturing with DXGI for Windows in Rust
GNU Affero General Public License v3.0
49 stars 15 forks source link

blank (black?) image with DirectX 12 #6

Closed mallochine closed 5 years ago

bryal commented 6 years ago

Could you please expand on your issue? What is the context, i.e. what are you doing. What is the expected behaviour. What actually happens.

There exists a known problem where full-screen DirectX applications are opened in protected mode per default. The DXGI desktop duplication API respects this flag, and as such we can't capture the screen in this context.

If this is your problem, I'm afraid I don't know of any fix, except for making use of dll injection á la Fraps. This, however, is outside the scope of what I want to implement in this software. If someone else wants to implement this kind of functionality, I'd probably have no objections to merging it in.