Skip to content

Commit

Permalink
[STEAM] Removed the -cef-disable-gpu workaround, it's not needed anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Mar 2, 2024
1 parent 14c9cb1 commit ec77755
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

----

Expand Down
2 changes: 1 addition & 1 deletion install_steam.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit ec77755

Please sign in to comment.