[STEAM] Removed the -cef-disable-gpu workaround, it's not needed anymore

This commit is contained in:
ptitSeb 2024-03-02 17:42:32 +01:00
parent 14c9cb148d
commit ec77755952
3 changed files with 3 additions and 3 deletions

View File

@ -104,7 +104,7 @@ Final note: the Steam BigPicture will work, but also need steamwebhelper (and so
- If you have trouble installing Steam, you can find `install_steam.sh` in the root folder of the box86 repo. This simple script will download and install steam in your home folder, and then create a shortcut to steam in `/usr/local/bin` (and for this it will ask for sudo permission). Simply use `steam` to launch once it's installed. Note that the installation, being in the Home folder, will only work for a single user. Don't use this script if you need a multi-user installation.
- To avoid the "libc.so.6 is absent" message, you can use `STEAMOS=1` and `STEAM_RUNTIME=1` as environment variables (it's automatically there if you used the `install_steam.sh` script)
If you have issue with steam starting, with ` steamwebhelper` not starting, you'll need to start steam with `-cef-disable-gpu`. By default, the ` install_steam.sh` script will now add this setting to the ` /usr/local/bin/steam` shell script. You can modify the script to remove this parameter if you have good gpu driver (for example NVidia works fine, Turnip/Panfrost don't at the time of testing).
If you have issue with steam starting, with `steamwebhelper` not starting, you'll need to start steam with `-cef-disable-gpu` or `-cef-disable-gpu-compositor`.
----

View File

@ -22,7 +22,7 @@ echo "#!/bin/bash
export STEAMOS=1
export STEAM_RUNTIME=1
export DBUS_FATAL_WARNINGS=0
~/steam/bin/steam -cef-disable-gpu $@" > steam
~/steam/bin/steam $@" > steam
# make script executable and move
chmod +x steam

View File

@ -1570,7 +1570,7 @@ int main(int argc, const char **argv, char **env)
{
add_argv("--no-sandbox");
}
if(wine_steam || box86_steam) {
if(wine_steam /*|| box86_steam*/) {
printf_log(LOG_INFO, "Steam%s detected, adding -cef-single-process -cef-in-process-gpu -cef-disable-sandbox -no-cef-sandbox -cef-disable-breakpad to parameters", wine_steam?".exe":"");
add_argv("-cef-single-process");
add_argv("-cef-in-process-gpu");