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

Desktop Duplication is Not Supported #3

Open
jbienz opened this issue Dec 31, 2021 · 2 comments
Open

Desktop Duplication is Not Supported #3

jbienz opened this issue Dec 31, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@jbienz
Copy link
Contributor

jbienz commented Dec 31, 2021

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):

  • OS: Windows 10
  • Version 1.0

Additional context
Name your hardware device here

@jbienz jbienz added the enhancement New feature or request label Dec 31, 2021
@jbienz
Copy link
Contributor Author

jbienz commented Dec 31, 2021

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:

hecomi/uDesktopDuplication#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
Copy link

ekidney commented Jan 11, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants