Refract icon indicating copy to clipboard operation
Refract copied to clipboard

Desktop Duplication is Not Supported

Open jbienz opened this issue 3 years ago • 2 comments

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 avatar Dec 31 '21 03:12 jbienz

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.

jbienz avatar Dec 31 '21 03:12 jbienz

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

ekidney avatar Jan 11 '22 15:01 ekidney