You can sign up to get a daily email of our articles, see the Mailing List page.
We do often include affiliate links to earn us some pennies. See more here.

Recently, a Valve developer revived steamcompmgr (the SteamOS compositing and window manager) and renamed it to Gamescope. After writing about it yesterday here on GOL, they've now given some more info on what it actually does.

Valve developer Pierre-Loup Griffais is spearheading the effort and a few hours ago they actually gave it a readme, mentioning that "gamescope does the same thing as steamcompmgr, but with less extra copies and latency". From the readme:

- 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.
 
The features of that second part are working, but aren't exposed to the user yet.

Right now, they said it runs on an AMD GPU with Mesa but could be made to work with other drivers "with minimal work". NVIDIA would need to support accelerated Xwayland to work with Gamescope.

Definitely going to be interesting to find out their actual plan for it. A revived Steam Machine effort, perhaps with an AMD GPU? Or something else to help with whatever Steam Cloud Gaming turns out to be—a simple Linux front end for it perhaps? Back down to reality for a moment, it's more likely it's linked to their container effort to make Linux games run exactly how they want them across the many different distributions and desktops.

Many questions. I've emailed Valve to see if they want to give us any insight, although they're usually tight-lipped though so we might have to just wait and see if it's for a big plan or just a fun project for now.

Article taken from GamingOnLinux.com.
39 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly. Find me on Mastodon.
See more from me
The comments on this article are closed.
36 comments
Page: 1/4»
  Go to:

Ehvis Jan 16, 2020
View PC info
  • Supporter Plus
I'm also interested in how this would impact specific use case where Wayland is still incomplete. I'm thinking of G-SYNC/Freesync and VR.
rustybroomhandle Jan 16, 2020
Wonder if this will help with games that have iffy alt-tab support.
SirBubbles Jan 16, 2020
I would love to see some wayland support from nvidia. Looks like it'll be required for team green users to get any joy out of this gamescope thing, so fingers crossed, I guess. I'm also intrigued by what gamescope is trying to do, so I'll be keeping my eyes on this!
BielFPs Jan 16, 2020
Nice to see improvements using Wayland, I hope this become something which benefits other distros too.

Looks like I'll need to change my Desktop Environment soon...
Felipe Jan 16, 2020
I'd love to see Steam games coming out for Wayland in mind.
SteamOS would been better with an Wayland Steam compositor. Hopes they aim to that now.

Quoting: EhvisI'm also interested in how this would impact specific use case where Wayland is still incomplete. I'm thinking of G-SYNC/Freesync and VR.

That too.
djazz Jan 16, 2020
Gamescope has my attention! I use steamcompmgr today with steamos-compositor-plus from AUR, running on AMD hardware. This is great news! Steamcompmgr has many bugs (black screen, scaling, cropping) and requires to be run standalone (no other compositors).
Linas Jan 16, 2020
View PC info
  • Supporter Plus
I wonder if this could allow for integer scaling on 4K displays? If so, I'm really excited.
Mohandevir Jan 16, 2020
Really look forward to try that piece of tech. ^_^
lejimster Jan 16, 2020
Am I understanding that correctly? Can it run alongside a Gnomes mutter compositor, so that regular gnome desktop users can reap the benefits too?
orochi_kyo Jan 16, 2020
I won't wait Nvidia to come to its senses and release some sort of support or opensource drivers.

All my next PC shoppings will be entirely AMD, both processors, and video cards.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.