SolerSoft / Refract

Real-time holographic game streaming for Looking Glass Portrait.
MIT License
25 stars 3 forks source link

Desktop Duplication is Not Supported #3

Open jbienz opened 2 years ago

jbienz commented 2 years ago

Describe the bug When Refract is run a message is displayed on the Portrait stating that Desktop Duplication is not supported.

Expected behavior Refract would run.

Desktop (please complete the following information):

Additional context Name your hardware device here

jbienz commented 2 years ago

Refract uses the uDesktopDuplication library to capture the screen at high frame rates. As noted by the author, some hardware is not supported by Desktop Duplication:

https://github.com/hecomi/uDesktopDuplication/issues/30

If your system has the ability to disable the on-chip (non-discreet) GPU, give that a try.

If you have an nVidia graphics card and have nVidia Control Panel installed, you may be able to force Refract to run on the on-chip (non-discreet) GPU. Performance won't be great, but it could work.

Ideally Refract would get frames directly from the game rather than from screen scraping. This is a feature that is being looked into with help from other community members, but we don't have anything yet to announce on this.

ekidney commented 2 years ago

i'm having same issue. funny thing is that it worked somehow last night, and i played around with it for a while. can't replicate what made it work now though, I'm restarting holoplay service, switching from integrated graphics to nvidia, restarting refract. bit of a mystery!

win 11, gtx1650