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

Message "Sorry this display is unsupported" appearing #30

Open
paulIVRE opened this issue Apr 3, 2019 · 3 comments
Open

Message "Sorry this display is unsupported" appearing #30

paulIVRE opened this issue Apr 3, 2019 · 3 comments

Comments

@paulIVRE
Copy link

paulIVRE commented Apr 3, 2019

On my laptop I get a big green message saying "Sorry this display is unsupported" when I try and use your plugin. I think the problem is that I have two adapters, one is used to display the desktop and another one for high apps that need high level performance. The app is run on the high performance GPU.

I could fix this my changing my app to run on the low performance adapter but I would prefer not to do this. Is it possible to make it so you can run the app on the high performance GPU while grabbing the screen from the desktop one? Thanks

@hecomi
Copy link
Owner

hecomi commented Apr 6, 2019

Sorry, uDD doesn't work with graphics hardwares which have on-chip/discrete GPUs like your laptop because the plugin uses Windows Desktop Duplication API (DDA) and this API doesn't allows it to run app on discrete GPU.

I heard from my some friends that there are some PCs which can disable the on-chip GPU completely and DDA works with the setting. But if not, we cannot run app with discrete GPU sadly.

I've also developed a window capture plugin, uWindowCapture (https://github.com/hecomi/uWindowCapture), and it also has a desktop-capture function. The capture itself is done asynchronously so the main thread doesn't get affected but its performance is slower than uDesktopDuplication, but you can run your app with high-performance GPU. Some people use this plugin as a fallback of uDesktopDuplication. Please think about using this depending on your use case.

@DiscreteTom
Copy link

How about capturing desktop using Desktop Duplication API in a standalone process, then use shared memory to load those data in the unity3d process?

@DiscreteTom
Copy link

How about capturing desktop using Desktop Duplication API in a standalone process, then use shared memory to load those data in the unity3d process?

I implemented this approach in a new lib: https://github.com/DiscreteTom/HyperDesktopDuplication

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

3 participants