Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I've attempted to replace the Mesa driver with the standard Arch Linux one, which does support VAProfileH264Main according to a vainfo command.
When attempting to use Steam Link with this, I am currently getting the following errors:
For those wanting to continue where I left off for now, I am currently using this script to install the Arch Linux package on SteamOS:
I have moved to mixing the old versions of libva-mesa-driver, lib32-libva-mesa-driver, mesa-vdpau and lib32-mesa-vdpau with the current version of the rest of the package.
This risky mix of versions results in the following streaming log:
Which might be solvable, I will continue on this path to see if it can be made to work, knowing that it might break in an update (after re-installing).
It would be a better approach to compile a new package of one version, as attempted in https://github.com/ValveSoftware/SteamOS/issues/903#issuecomment-1312727044 but for now I am sticking to the Valve-compiled ones.
To install these older packages, I am using the following script:
But here is another script to restore the Mesa packages to the at the time of writing current version:
Downgrading the Mesa driver to the version used in the beta restored hardware accelerated video encoding.
Here is a screenshot of Okami HD being streamed to my desktop, with low CPU usage:
https://steamcommunity.com/sharedfiles/filedetails/?id=2890726528
streaming_log.txt confirms that it is using hardware acceleration:
Out of curiosity to the reports of it not launching, I tested Linux native Portal, which started fine on SteamOS 3.4 Preview with the downgraded Mesa driver:
https://steamcommunity.com/sharedfiles/filedetails/?id=2890726569
The technical details
By installing the missing dependencies I have gotten Valve's 22.0.2.150118 Mesa version to work on the current SteamOS 3.4 Preview build 20221116.100.
The older driver requires version 13.[something] of llvm-libs and lib32-llvm-libs, but the rest of SteamOS needs version 14.[something].
While Arch Linux's llvm13-libs package can be successfully installed alongside the normal version, the 32-bit version and Valve's packages downgrade the main package instead, which breaks SteamOS.
Installing the versions alongside each other is possible, either by making a package for this or by installing it manually, without using pacman.
Tomorrow I will follow up with a script for those daring enough to replicate this driver downgrade but unable to follow along.
I do not know how reliable this is, I only know that it works for how I use my Deck, FOR NOW.
For those wanting to experiment with the current SteamOS 3.4 Preview build 20221116.100 but are running into driver related regressions, here is a script to downgrade the Mesa video driver to version 20.0.2, the one used in SteamOS 3.3.2.
Run this script is at your own risk.
For me the downgraded driver appears to work correctly, but this might not be the case for you or in later SteamOS 3.4 builds.
Instructions (Desktop Mode):
The script for downgrading to Mesa 20.0.2:
SteamOS even appears to detect the downgrade correctly and re-downloads the shader cashes for the older version.
The new KDE Plasma version and inclusion of KDE Connect are nice upgrades and work well on Mesa 20.0.2.
Downgrading even appears to solve the onscreen keyboard related crashes in Desktop Mode:
https://steamcommunity.com/app/1675200/discussions/1/5568165891228744102/#c3541546590719815755
If you do run into problems after downgrading the driver, post about it here, it might be solvable.
PS. The recent 20221121.100 Slightly More Evil update is practically identical to 20221116.100, as with any OS update it does require running the script again.
Downgrading the driver works correctly in this build as well, besides LLVM 13 all other dependencies are present.
Build 20221121.100 had one similar desktop crash while typing, but this was the only crash I had since downgrading and is probably unrelated.
Make sure this app has the permission to use hardware acceleration, install and use the Flatseal app to make sure this is the case.
I did a quick test in OBS and the hardware encoding is working there for me, both appearing in the settings and using less CPU than x264 when recording.
https://steamcommunity.com/sharedfiles/filedetails/?id=2898711220
You are correct in that the script does not take Flatpak into account, which also uses their own runtime so it might be isolated, but as I have working h264, the SteamOS driver could have something to do with it.
As the latter only gets downgraded if the script fully completes, did this happen?
It should only be ran on SteamOS 3.4, ask for a password that should have been set before with a passwd command, then typing Y to confirm that you want to install the old driver and finish with rebooting the Deck.
If it didn't do this you can make sure all the prerequisites are met and run it again.
Another KDE Platform update just arrived via Discover, which fixed yesterday's issues (when using Moonlight) on my side.
Edit: Talking about the issues in the stable branch here.