[Question] How do you open the gamescope-reshade wayland interface?
Is there an existing issue for this?
- [x] I have searched the existing issues
Are you using any gamescope patches or a forked version of gamescope?
- [x] The issue occurs on upstream gamescope without any modifications
Current Behavior
I was able to build gamescope and get reshade shaders to load, but I'm stumped on how to open the gamescope-reshade wayland interface in order to edit the shader options.
Steps To Reproduce
No response
Hardware information
- Distro: Linux Mint 22.1 Cinnamon (Xia)
- CPU: AMD Ryzen 7 7700X
- GPU: NVIDIA GeForce RTX 3070
- Driver Version: NVIDIA 565.77
Software information
- Desktop environment: GNOME
- Session type: X11 (willing to switch to wayland if need be)
- Gamescope version: gamescope version 3.14.24-24-g5e8fddf
- Gamescope launch command(s): gamescope --reshade-effect `effect-file-name.fx` `game`
Which gamescope backends have the issue you are reporting?
- [x] Wayland (default for nested gamescope)
- [ ] DRM (default for embedded gamescope, i.e. gamescope-session)
- [ ] SDL
- [ ] OpenVR
Logging, screenshots, or anything else
No response
Im guessing similar to Vkbasalt you might have to edit the shader files directly
EDIT: nevermind im wrong did you trying running with the gamescope-reshade option? you can also do like i suggested previously. I cant find anything on the gamescope-reshade interface and people seem to be just editing the files.
EDIT2: It might work similar to gamescopectl , try running gamescope-reshade from a terminal
When I try to run gamescope-reshade from a terminal, it just says that the command is not found.
I know nothing about how it works, but I think the only client written to actually access the Gamescope-reshade interface is https://github.com/wheaney/XRLinuxDriver/ which was created by the same person who PR'd the interface itself into Gamescope.
I went to that link and it said to get Breezy if you're looking for a 3dof virtual display, which might have something to do with the wayland interface. Breezy has mentions of gamescope in the repository, so I tried installing it but I could not seem to get it to work correctly, and it seems that you'd need some supported XR glasses to even use it.
While you can edit some shader files directly to change their settings, shaders like the CRT Royale Reshade port can't be edited like that, as far as I know. So sorry for the mention, but since we can't figure this out, @wheaney could you tell us how you're supposed to open the gamescope-reshade wayland interface?
Yeah, you can see an example of how I do it in my XR driver package.
-
This file provides the
wl_interfacestruct definition. - Here is where the registry listener is set up
- Here is where I wait for the reshade interface so I can bind it
- Here is where I set the effect
- Here is where I set a uniform variable
Also, regarding this:
you'd need some supported XR glasses to even use it
You're correct, Breezy doesn't provide a way to interface with reshade. It utilizes the XR driver to apply the effect and IMU positional data from an XR headset.