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

Package request: gamescope #48451

Closed
jaminW55 opened this issue Jan 31, 2024 · 3 comments
Closed

Package request: gamescope #48451

jaminW55 opened this issue Jan 31, 2024 · 3 comments
Labels
request Package request

Comments

@jaminW55
Copy link

Package name

gamescope

Package homepage

https://github.com/ValveSoftware/gamescope

Description

In an embedded session usecase, gamescope does the same thing as steamcompmgr, but with less extra copies and latency:

It's getting game frames through Wayland by way of Xwayland, so there's no copy within X itself before it gets the frame.
It can use DRM/KMS to directly flip game frames to the screen, even when stretching or when notifications are up, removing another copy.
When it does need to composite with the GPU, it does so with async Vulkan compute, meaning you get to see your frame quick even if the game already has the GPU busy with the next frame.

It also runs on top of a regular desktop, the 'nested' usecase steamcompmgr didn't support.

Because the game is running in its own personal Xwayland sandbox desktop, it can't interfere with your desktop and your desktop can't interfere with it.
You can spoof a virtual screen with a desired resolution and refresh rate as the only thing the game sees, and control/resize the output as needed. This can be useful in exotic display configurations like ultrawide or multi-monitor setups that involve rotation.

It runs on Mesa + AMD or Intel, and could be made to run on other Mesa/DRM drivers with minimal work. AMD requires Mesa 20.3+, Intel requires Mesa 21.2+. For NVIDIA's proprietary driver, version 515.43.04+ is required (make sure the nvidia-drm.modeset=1 kernel parameter is set).

If running RadeonSI clients with older cards (GFX8 and below), currently have to set R600_DEBUG=nodcc, or corruption will be observed until the stack picks up DRM modifiers support.

Does the requested package meet the package requirements?

System, Compiled

Is the requested package released?

Yes

@jaminW55 jaminW55 added the request Package request label Jan 31, 2024
@jaminW55
Copy link
Author

jaminW55 commented Jan 31, 2024

I may start working on this soon, but I'd like to use this program to run certain programs in isolation from my main system; or games with HDR on an X11 session.

I also think this would be used by many other Void users and would be attractive for the platform to have in general.

@chrysos349
Copy link
Contributor

#48354

@jaminW55
Copy link
Author

#48354

Neglected to check this time!

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

No branches or pull requests

2 participants