Don't want to see articles from a certain category? When logged in, go to your User Settings and adjust your feed in the Content Preferences section where you can block tags!
We do often include affiliate links to earn us some pennies. See more here.

Google detail more on how Steam on Chrome OS works with Linux

By - | Views: 29,325

Want to get more info behind the scenes on how Steam for Chrome OS works? It uses Linux but it's a little bit complicated and Google has put out the first in a series of blog posts to talk more about it.

The good news of course for normal Linux desktop fans, is that developers will need to ensure their games work on Linux directly. Either through a Native build, which should work out of the box, or ensuring and testing their Windows builds with Proton. Although, Steam Play Proton is not turned on by default for Chrome OS as there's various issues right now.

How does it work then? Through the magic of virtual machines! Using work they've done in the past with Crostini, an already existing way to run normal Linux apps on Chrome OS and "Chrome OS's own virtual machine monitor (VMM), crosvm⁠". They say running Steam and games in a container like this "provides another layer of security above normal Linux systems" that's used for Crostini, Android, and Parallels.

Their system, much like SteamOS for the Steam Deck, is based on Arch Linux which they codenamed "Borealis", and it's automatically kept up to date for you with each Chrome OS release. Keeping it simple, while hiding all the technical parts for users, as they say "we have aimed to make the VM invisible to the user – from both an operational and from a performance perspective". They do this by using "Linux's KVM⁠ hypervisor" and "paravirtualized virtio-based devices instead of emulation" and that to play the latest games they built a Vulkan virtualization driver called "Venus".

Borealis and Crostini differ in a number of ways, while still sharing the core graphics and display pipeline, so applications support Vulkan and OpenGL using Mesa drivers. It uses XWayland, together with "sommelier", which they say is their "proxying Wayland compositor" and then it all moves over to "exo" which is their own Wayland display server. The big difference is user experience with Borealis targeting end users and Crostini for developers, with Borealis enabling one-click installs like Steam. The other big difference is that Borealis is based on Arch Linux, while Crostini is based on Debian.

The way they've configured it sounds a lot like the Steam Deck too, with the VM being read-only while having a separate read-write partition for data and they're shipping newer versions of Mesa than what is usually tagged as a release upstream.

Google said to expect "deep dives" on their Steam integration, their Vulkan virtualization, how to develop games for ChromeOS and much more. We can also expect "new devices, new features, better integration and improved performance".

Article taken from GamingOnLinux.com.
19 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.
12 comments
Page: 1/2»
  Go to:

mr-victory Apr 13, 2022
Does this mean I will start hearing ChromeOS users saying I use Arch btw? I hope not!
dopeytree Apr 13, 2022
Have you toyed with the other chrome version in discover... much snappier!

It's titled 'chrome (unstabble)' v102.0.4987.0.1
In tests it is loading pages instantly!!!

The other version on Discover is: v100.0.4896.88-1

Valves bundled version is: Version 100.0.4896.75
Serious_Table Apr 13, 2022
Quoting: mr-victoryDoes this mean I will start hearing ChromeOS users saying I use Arch btw? I hope not!

This has been Arch's goal the entire time! Everyone is moving to Arch, whether they like it or not!
sarmad Apr 13, 2022
What a bunch of hacks. One can only wonder about the performance and memory impact of this. Google could've simply made ChromeOS a regular Linux distro and built their own custom DE for it, just like Valve did, instead of this mess.
Linas Apr 13, 2022
View PC info
  • Supporter Plus
QuoteThey say running Steam and games in a container like this "provides another layer of security above normal Linux systems"...
Except that is just an excuse for bad design. Linux has multiple ways to secure a system without the complexity and overhead of a VM: containers / cgroups, chroots, read-only filesystems, etc. And if that is not enough, SELinux exist.

Yeah, I don't particularly like ChromeOS...


Last edited by Linas on 13 April 2022 at 6:45 pm UTC
elmapul Apr 13, 2022
what an alphabet soup, it sound like an over complicated work arround...

i dont like how any of this sounds,android didnt helped linux desktop, instead it created its own ecosystem , and nowadays its painfull to run android apps on desktop linux and linux softwares on android.
hell its easier to find an good android emulator for windows than for linux.

and now with chromeOS, i can see the samething happening again, i can understand the security argument, but we always trusted the comunity to make an safe system, chromeOS seem to be more closed than android or even windows in that regard.

it help nothing that the games on googleplay are basically 'free ads for the true product, in game itens' i want linux to grow at the desktop, but not to get something worse than windows.
Linas Apr 13, 2022
View PC info
  • Supporter Plus
Quoting: elmapuli dont like how any of this sounds,android didnt helped linux desktop, instead it created its own ecosystem
I don't think this will have any big impact on desktop Linux at all. On a global scale there are about as many Chrome OS users as there are desktop Linux users. And even then, only selected few Chromebooks will be able to run Steam, so even a smaller userbase. If anything it seems that Google is trying to catch up with the desktop Linux, not the other way round.
elmapul Apr 14, 2022
Quoting: Linas
Quoting: elmapuli dont like how any of this sounds,android didnt helped linux desktop, instead it created its own ecosystem
I don't think this will have any big impact on desktop Linux at all. On a global scale there are about as many Chrome OS users as there are desktop Linux users. And even then, only selected few Chromebooks will be able to run Steam, so even a smaller userbase. If anything it seems that Google is trying to catch up with the desktop Linux, not the other way round.
nope, looks like you are will informed.

a lot of stats show chromebook marketshare already surpased all other linux desktops.
keep in mind that this is concentrated on only a few regions, where google heavly promoted then, i remember that chromebooks were on the "best seling" devices from amazon-usa for a few weeks or months, im not sure the category i think it was laptops.
Linas Apr 14, 2022
View PC info
  • Supporter Plus
Quoting: elmapula lot of stats show chromebook marketshare already surpased all other linux desktops.
keep in mind that this is concentrated on only a few regions
That is why I said on a global scale. Also the fact remains that only the high end Chromebooks will be able to run Steam.

I am not trying to say that Chrome OS is less relevant than desktop Linux, because in the big picture they are both miniscule. It's just that Chrome OS and desktop Linux don't overlap all that much.

Google are setting themselves up for the worst case scenario here. Anyone who tried gaming in a VM knows how janky that can be. Input device passthrough, GPU virtualization, etc. all have caveats. Also they are using Wayland, which still has issues with Proton. Not only that, they are making their own Wayland server, their own drivers, their own VM software, none of which is relevant on desktop Linux. Neither is it in any way representative of a desktop Linux system when it comes to game compatibility and testing for developers.
kokoko3k Apr 14, 2022
Quoting: elmapulwhat an alphabet soup, it sound like an over complicated work arround...

i dont like how any of this sounds,android didnt helped linux desktop, instead it created its own ecosystem , and nowadays its painfull to run android apps on desktop linux and linux softwares on android.
hell its easier to find an good android emulator for windows than for linux.

and now with chromeOS, i can see the samething happening again, i can understand the security argument, but we always trusted the comunity to make an safe system, chromeOS seem to be more closed than android or even windows in that regard.

it help nothing that the games on googleplay are basically 'free ads for the true product, in game itens' i want linux to grow at the desktop, but not to get something worse than windows.
Let they do what they want.
As kong as it will brings more playable games, i'm fine with it.
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.