Every article tag can be clicked to get a list of all articles in that category. Every article tag also has an RSS feed! You can customize an RSS feed too!
We do often include affiliate links to earn us some pennies. See more here.

During the ongoing Google for Games Developer Summit 2022 Keynote, one of the Google team just did a talk on "How to write a Windows emulator for Linux from scratch" to help Stadia.

They already have some existing work available to developers who want it, including their "Stadia Porting Toolkit" which actually uses DXVK to translate Direct3D to Vulkan (since Stadia is a Linux system). However, this translator seems to be their newer approach to running Windows games on Stadia.

With only three people working on it, presenter Marcin Undak said they were able to get some games to run but it's still in the R&D phase and not production ready yet with it taking considerable time to work per-game. However, work is ongoing to hook it all up together with Wine and Proton (for 32-bit games specifically they said) which is one of the paths they will be considering going forwards.

There's already Wine and Proton, which are mentioned in the talk as well but it seems Google wanted something different. Why though? One major reason is how thin Stadia is as a platform. While it is Linux, it's stripped down to the core and doesn't have everything Wine needs to build. There's also a ton of things they don't have to care about that normal desktops do and so "90%" of Wine is simply not needed they said. Additionally, Wine is also apparently challenging when it comes to the build system and debugging.

Quite a technical talk but it's quite nicely presented, to give you a basic overview of what they're doing without going into super tech-heavy details to fry your brain if you're not a developer.

YouTube Thumbnail
YouTube videos require cookies, you must accept their cookies to view. View cookie preferences.
Accept Cookies & Show   Direct Link

They are also finally about to open the Stadia store without the need to be signed in, so you will be able to actually look around. Incredible it took them this long to do such a basic thing, I can't imagine how many people that put off. Just think if Steam didn't let you view store pages or anything without a login.

Article taken from GamingOnLinux.com.
24 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 checked 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.
See more from me
The comments on this article are closed.
54 comments
Page: «2/6»
  Go to:

whizse Mar 15, 2022
View PC info
  • Supporter
Quoting: elmapulwhy the Meta tag?
Presumably meta as in news tangential to gaming but not about a game. Not Meta as in Facebook.
elmapul Mar 15, 2022
again, assuming they used reverse enginering, maybe the tools to reverse enginering are better nowadays than do it by hand?
another thing to consider is, unlike wine and most open source projects that are made mostly by volunteers after work in their spare time, this one is made by full time employees.

imagine coding 8 hours to pay the bills, then going home and still having enough energy to reverse enginering windows and re implement its apis...


Last edited by elmapul on 15 March 2022 at 8:18 pm UTC
Shmerl Mar 15, 2022
Where is the source code for this? If it's not FOSS - it will be a waste of effort, especially if Google will decide to pull the plug on Stadia.

Same as stuff like eON and Feral's wrapping code basically will be lost to history.


Last edited by Shmerl on 15 March 2022 at 8:45 pm UTC
tohur Mar 15, 2022
Quoting: Guest
Quoting: tohurIf people for one second thinks Google wrote their own Windows layer you are highly mistaken as WINE has been in development since the 90s and took them YEARS to be able to run basic stuff let alone games... reverse engineering windows is nothing you just do overnight on a whim no matter how large your company is so thus the fact is they are using a wine code base rather you want to believe it or not.

Not true. They're not reimplementing Windows, but instead just enough of it to run the games. DXVK allows them to cut a huge amount of effort out, along with other libraries (FAudio was mentioned). In this way it's similar to eON; they're not after the same goals as WINE, they're limiting the translation to gaming.

It's not exactly an overnight effort of course, but getting some initial games running in a timeframe of months is certainly viable, and then once the core is ready they can more quickly expand out the supported interfaces.

And if I remember right the Witcher 2 binary was disassembled which uses eON and guess what was found.. mostly WINE related code.. fact is Google can hide this fact cause its on their servers but even for games you are NOT reverse engineering Windows on a whim even to a point of just enough to run games..


Last edited by tohur on 15 March 2022 at 8:57 pm UTC
Shmerl Mar 15, 2022
Quoting: tohurAnd if I remember right the Witcher 2 binary was disassembled which uses eON and guess what was found.. mostly WINE related code.. fact is Google can hide this fact cause its on their servers but even for games you are NOT reverse engineering Windows on a whim

That's exactly what I was thinking. Are they building it from the ground up or they are trimming down Wine?

The fact that they are using dxvk and faudio shows they aren't into complete from scratch approach.


Last edited by Shmerl on 15 March 2022 at 8:58 pm UTC
tohur Mar 15, 2022
Quoting: Shmerl
Quoting: tohurAnd if I remember right the Witcher 2 binary was disassembled which uses eON and guess what was found.. mostly WINE related code.. fact is Google can hide this fact cause its on their servers but even for games you are NOT reverse engineering Windows on a whim

That's exactly what I was thinking. Are they building it from the ground up or they are trimming down Wine?

The fact that they are using dxvk and faudio shows they aren't into complete from scratch approach.

Hard to believe ANY company outside of Microsoft can do so considering how many years it took WINE to even be usable and let alone THREE devs from Google.. no they are most certainly using WINE and won't admit it because they would have to abide by the GPL
whizse Mar 15, 2022
View PC info
  • Supporter
Quoting: tohurwon't admit it because they would have to abide by the GPL
LGPL and no. If it's internal to the company they can do whatever they want. (L)GPL covers distribution of the software.
Liam Dawe Mar 15, 2022
Quoting: elmapulwhy the Meta tag?
It covers everything not solely about a specific game.
tohur Mar 15, 2022
Quoting: whizse
Quoting: tohurwon't admit it because they would have to abide by the GPL
LGPL and no. If it's internal to the company they can do whatever they want. (L)GPL covers distribution of the software.

well regardless only a 0.1% chance they are not using wine code but they will never admit it. just rubs me the wrong way
t3g Mar 15, 2022
Wait, Stadia is still around?
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.