Hi,
I really like playing games on pc and Im also interested in linux. When I have first used stadia I tried it on windows and on the same pc. On windows it was all smooth, it had no lag and I could enjoy it. Now I installed linux and here it lags a lot and it has poor quality. What could cause the problem? Can anybody help?
Your computer probably uses software decoding of the video stream which takes a lot of CPU in higher resolutions. You really need hardware decoding for the best performance.
Getting hardware decoding to work properly on linux can be a bit difficult. And if you have a nvidia GPU , impossible. Your only options then are to get a really beefy cpu to decode the video stream or to buy an AMD och Intel graphics card that can decode VP9 and/or H264 video.
If you have an AMD or Intel GPU then you can google for a guide on how to get it to use hardware decoding.
Thank you for your answer, but there's still sg that I don't understand clearly. Why does this problem only occurs on linux and not on windows when I use them on the same pc. So I'm just guessing because I'm pretty new to this linux thing since I used windows since I was 10 but I don't think this is about the hardware. Is it possible to be a problem that's caused by the op system?
It's related to linux and also a bit to the fact that Chrome does not support hardware decoding on Linux. There are patched chromium based browsers that has the necessary bindings for hardware decoding. Unfortunately the underlying software layer between the browser and the hardware is not well maintained. Even Ubuntu does not have the necessary stuff built in to make it happen (and again, nvidia is a complete no go, atleast with the official nvidia drivers). There are some guides that will help you set it up, but it will require some messing about in your system.
So it's not Stadia itself that is failing. It's software support for hardware decoding on Linux that is failing. And with no entity (line canonical) willing to clean up the mess it's unlikely that things will improve any time soon.
Well Linux in general does support gpu hardware acceleration. Though only Google somehow for some reason will not support Chrome do to that by default. VLC and Firefox for example take advantage of the acceleration on Linux. But depending which OS and hardware you need to install your drivers and vaapi software and make Chrome to see them.
If you take a look at https://wiki.archlinux.org/title/Hardware_video_acceleration for your hardware related drivers and such. And then a look at https://wiki.archlinux.org/title/chromium on how to enable gpu acceleration, then there is a good chance it will work for you. Though those articals are for Arch Linux but most of the info will go for other distro's too.
@BlintWave wrote:Well Linux in general does support gpu hardware acceleration. Though only Google somehow for some reason will not support Chrome do to that by default. VLC and Firefox for example take advantage of the acceleration on Linux. But depending which OS and hardware you need to install your drivers and vaapi software and make Chrome to see them.
If you take a look at https://wiki.archlinux.org/title/Hardware_video_acceleration for your hardware related drivers and such. And then a look at https://wiki.archlinux.org/title/chromium on how to enable gpu acceleration, then there is a good chance it will work for you. Though those articals are for Arch Linux but most of the info will go for other distro's too.
The solution provided does enable hardware acceleration for YouTube, but not for Stadia. x264ify and other Chrome extensions that force this type of video for older video-cards that do Hardware Decoding, does not activate (or can not be used) in Stadia.
There is something else going on here that keeps Stadia from working with Hardware Acceleration.
Hi everyone,
It's been a little bit since this topic has been updated. Just wanted to hop in here to see if there were any additional questions or comments. If not, we'll go ahead and close this conversation in another day or so.
Thank you,
James
The issue remains unresolved.
Hi again everyone,
I know that we don't exactly have a solution here, but based on the comments, it looks like we've been able to gain more understanding. Thanks for everyone's input.
Best,
James
@JamesFromGoogle wrote:Hi again everyone,
I know that we don't exactly have a solution here, but based on the comments, it looks like we've been able to gain more understanding. Thanks for everyone's input.
Best,James
What do you plan on doing with this (apparently) new found understanding?
Look... I'm sorry to sound like I am being demanding, or have some strange sense of entitlement about this... but it's insanely frustrating to me that Linux users STILL have to take the back-seat whenever something that resolves other issues becomes available.
Do you realize, that Stadia brought "Destiny" to Linux users? We've been wanting that since it came out!!! But now that it's available, we can't "really" play it, because even Google's browser (which actually has the ability) can't decode a video stream in hardware?
It's like... Here's your new McLaren... but we put a governor on it. Is that cool?