question

DavidLiebemann-7854 avatar image
0 Votes"
DavidLiebemann-7854 asked ArtiKearney edited

What are alternatives for using the Desktop Duplication API on Hybrid GPU Systems?

Hi!

I currently have a problem with the Desktop Duplication API when being run against a discrete GPU on a System with both integrated and discrete GPUs. According to https://docs.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/error-when-dda-capable-app-is-against-gpu the only solution is to start the application with the integrated GPU. But the application is developed for VR, so it's required to run on the discrete GPU, if available.

What options do I have? I'd really appreciate it if someone could point me to a good solution, because I seemingly can't find one even after extensive research.

windows-api
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@DavidLiebemann-7854, I am looking into this issue and trying to consult my colleges, will update here if there is any update.

0 Votes 0 ·

Any update on this?

0 Votes 0 ·

1 Answer

ArtiKearney avatar image
1 Vote"
ArtiKearney answered ArtiKearney edited

You might have luck with the windows.graphics.capture APIs. If you're using Unity, here's a library that uses them - you'll have to switch the child prefab's shader to Unlit/Texture to get it to render in both eyes, but after doing that it works fine for me.

cc @aqibbanday


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.