cancel
Showing results for 
Search instead for 
Did you mean: 
Shibblet
Stadia Player
Stadia Player

Linux Hardware Acceleration - No Workie

So, I asked about this two weeks ago on this forum.  Is there any way that Hardware Acceleration can be enabled, and actually work, for Linux OS's?

I have followed up with this "walkthrough," to absolutely no avail.
How To Enable Hardware Accelerated Video Decode In Google Chrome, Brave, Vivaldi And Opera Browsers ...

I have also followed up with this link as well, as to use a "patched" Chromium Build (Beta & Dev) in order to get it to work.
How To Enable Hardware Acceleration In Chromium On Ubuntu Or Linux Mint (VA-API Patched PPA Builds) ...

I mean, I have kept trying to fix this for over two weeks now, neither one of these seem to help, and nothing seems to work.

I started a different thread 14 days ago... and there were a lot of helpful people... And I'd like to thank the people who helped.  Unfortunately though, there is still no solution.

I really want this to be able to work under Linux, but unfortunately, without Hardware Acceleration, I am limited to 1280x720p, and my processor is pushing all the work.  One of the whole reasons I decided to go with Stadia, is because of the state of Linux Gaming as a whole.  Steam came up with Proton, which helps a lot, but still isn't 100% for all games.

Stadia is 100% for all games!!!  It's the solution to this issue!  Unfortunately, it's been bottlenecked for Linux users who have to rely on their processor to decode 60fps 1080p Video, and Stadia likes to advertise that you can game without a beefy computer.

So, the ultimate questions are:  Can Google add HW Acceleration to their Chrome Browser?  Can Google make a Stadia Client Program for Linux that has HW Acceleration built in?  Or does Google even care that Linux Users have to take a backseat because of their choice of OS?

What can we do here?

1 Kudo
7 Replies
ViviFFIX
Platinum Stadia Guide
Platinum Stadia Guide

Hi Shibblet,

I've looked at your previous posts and I can't think of any additional steps that haven't already been suggested.

I don't think Google will see Linux as a backseat OS as Stadia itself runs on Linux and the benefit of Stadia is that you can use it on any device. I think that a fix can either come from the Linux Distro itself (so reach out to their developers) or from Google on Stadia's side.

The best place for feedback like this so it can potentially be seen by the devs would be through the feedback feature on the Stadia app itself.

- Vivi
Oooh! I have a signature now! Huzzah!
2 Kudos
Orgin
Founder
Founder

As I said in the other thread. This isn't primarily a browser issue. There are browsers you can install with hardware support enabled, but it still won't work because of the complete mess of the rest of the linux hardware video decoding ecosystem.

Read up about the sorry state of things here (Some info is outdated, but still): https://wiki.debian.org/HardwareVideoAcceleration

You'd need an organisation like Canonical to go in and do some major asswoopin' to the involved parties to get this anywhere. Google isn't the correct party to blame for this mess.

3 Kudos
Shibblet
Stadia Player
Stadia Player

I'd like to understand what you are saying, but when applications such as "VLC Player" have VDPAU and VA-API built in, and work directly with the Nvidia Graphics Drivers, It's hard to believe that Google can't do the same with Chrome.

1 Kudo
herfen
Founder
Founder

Jap VP9 shouldn't be an Issue since Geforce 1080 Times are far far away. And AMD doesn't even need Patches to support it. It's just the Chrome Browser.

herfen.com
0 Kudos
Shibblet
Stadia Player
Stadia Player

Well, after a bunch of trying, I have been able to get Hardware Acceleration to work in Linux for YouTube with the "h264ify" extension.  Basically, this extension tells YouTube to send an H.264 Stream (limited to 1080p 60fps, of course) so that my video card can decode it.

Now, if I tell Stadia to use H.264 instead of VP9 (Stadia Enhanced), it still uses Software Decoding.  Even after I got it to work, it still doesn't work?

Any idea why it works in YouTube, but doesn't work in Stadia?

0 Kudos
SpotNick
Stadia Player
Stadia Player

About a year later Google still think that Linux is not enough platform to support it with Stadia. Very bad Google

0 Kudos
blondhead
Stadia Player
Stadia Player

Hello together!

I also have problems with hardware acceleration. At least I can tell you that hardware acceleration is possible under Linux and with Chrome/Chromium. I have to warn you that there can be other problems and also your chrome/chromium can crash or it just doesn't work.

Basically, the Chrom/Chromium only supports the VA-API interface (originally specified by Intel). But I have an Nvidia graphics card running and the proprietary Nvidia driver only provides one driver for the VDPAU interface. In the Arch-Linux Distro wiki there is a comprehensive article on Chromium and also on the subject of hardware acceleration:

https://wiki.archlinux.org/title/chromium#Hardware_video_acceleration 

There is actually a lot of information that I missed in other search results. It is also important with which start parameters you start the chrome/chromium, but everything is described.

The way is now that you install a driver that provides the connection between the two interfaces. I myself have an Nvidia GeForce GTX 1050 that decodes the VP9 and H264 on the hardware side. The libva-vdpau-driver-vp9 offered there solved the problem. Here I just had to download the source code, compile it and now.

 

chrome://gpu

 

Chromium Video Acceleration InformationChromium Video Acceleration Information

 

The result in H264:

H264 - Chromium hardware accelerationH264 - Chromium hardware acceleration

Also VP9 works:

VP9 - Chromium hardware accelerationVP9 - Chromium hardware acceleration


However, new problem with VP9 appeared:

VP9 - Chromium color errorsVP9 - Chromium color errors

Furthermore, I had to notice a strong image flickering when the image was changed quickly (with both codecs). When I recorded a video of this with OB Studio, the flickering was gone. I still can't understand what causes this. It could just be a problem with my settings.

0 Kudos