4 ms·
For the folks at home, you can try google-chrome --ignore-gpu-blocklist --enable-features=VaapiVideoDecoder --use-gl=desktop --disable-gpu-driver-bug-workaro
by panda-giddiness 5y ago
For the folks at home, you can try
google-chrome --ignore-gpu-blocklist --enable-features=VaapiVideoDecoder --use-gl=desktop --disable-gpu-driver-bug-workarounds --gpu-testing-vendor-id=0x[vendor_id] --gpu-testing-device-id=0x[device_id] --enable-crashpad --flag-switches-begin --enable-gpu-rasterization --flag-switches-end
The vendor id and device id of your graphics card can be identified via
lspci -nnk
As an example, the output for my graphics card is
02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] [1002:699f] (rev c7)
Subsystem: Sapphire Technology Limited Lexa PRO [Radeon RX 550] [1da2:e367]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
Here the vendor id is 1002 and the device id 699f. You can check whether everything is working by navigating to
chrome://gpu/
Many of the graphics features should now have hardware acceleration enabled.
There are probably a few extra flags here than necessary, but I found these sufficient to force 4K 60 fps Stadia support on Linux. (You would also need the Stadia+ chrome extension if that were your goal: https://chrome.google.com/webstore/detail/stadia%20-extension/bbhmnnecicphphjamhdefpagipoegijd?hl=en https://chrome.google.com/webstore/detail/stadia%20-extensio... .)
- itvision 5y agoThat's not what I could call "working". Most people out there will simply never use such a "solution".
- panda-giddiness 5y agoI think you misunderstood my post. My purpose wasn't to argue that the situation is ideal -- I would much prefer it if the process were automatic, as it is on other operating systems -- but rather to assist others in enabling video acceleration.