Open netanelbi opened 1 month ago
I am also facing this issue. I saw that there was a pr that was modifying wgc on windows 10 a few days ago so I tried rolling back to a prior pre-release version and it still doesnt work.
At this moment WGC capture doesn't work when sunshine is running as a service https://github.com/LizardByte/Sunshine/pull/2149#issuecomment-1955746301
@ns6089 thanks, its true. i managed to make it work by launching the portable version of sunshine with my config. any way to make it work with the normal installer ?
You can still use the installer, but you need to disable the service.
I created a simple automated solution for switching from service to exe, and from ddx to wgc and viceversa. https://github.com/LizardByte/Sunshine/pull/2149
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the latest beta/pre-release?
This issue is present in the latest pre-release
Describe the Bug
when trying the new method for capturing the screen i get an error: Error: Screen capture is not supported on this device for this release of Windows: failed to acquire device: [0x80070424]
this is the only error shown in the logs. its shown multiple time and followed by: Fatal: Unable to find display or encoder during startup.
when trying the following sample app on my computer it seems the API itself is working fine https://github.com/robmikh/Win32CaptureSample i am not sure if this the exact same way implemented in sunshine. but in this sample app the xbox gamebar is also shown in the capture. thanks
Expected Behavior
Capture using Windows.Graphics.Capture should work on my machine out of the box.
Additional Context
No response
Host Operating System
Windows
Operating System Version
Windows 11 Pro 24H2 26120.961
Architecture
64 bit
Sunshine commit or version
v2024.707.161755
Package
Windows - installer
GPU Type
Nvidia
GPU Model
NVIDIA GeForce GTX 1650 with Max-Q Design
GPU Driver/Mesa Version
Studio Driver - 555.99
Capture Method
Windows.Graphics.Capture (Windows)
Config
Apps
No response
Relevant log output