protonscr

Steam doesn't launch after fresh install

steamclosed Distro Family: ArchDistro-provided steam package
ValveSoftware/steam-for-linux#5840 · opened 2018-10-14 by Mati20187 · updated 2019-07-18 · 8 comments · github
MMati20187 2018-10-14 github

Your system information

  • Steam client version (build number or date): 1.0.0.56-1
  • Distribution (e.g. Ubuntu): Antergos
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes

I've installed steam on my fresh install of Antergos with XFCE DE but it doesn't run. I've tried running both native and runtime versions. When clicking on the icons in menu, nothing happens, but when trying to run from terminal, they return errors:

[mati@pc ~]$ steam
/home/mati/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
/home/mati/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
Running Steam on antergos  64-bit
/home/mati/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
/home/mati/.local/share/Steam/steam.sh: line 823: /home/mati/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh: No such file or directory`

`[mati@pc ~]$ steam-native
/home/mati/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
/home/mati/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
Running Steam on antergos  64-bit
STEAM_RUNTIME is disabled by the user

I've tried following methods to fix this problem, but none of them worked:

  • rebooting system
  • updating system
  • reinstalling steam
  • trying to enable steam runtime STEAM_RUNTIME=1 steam

I have proprietary Nvidia drivers installed, my graphics card is GTX 960.

Ddearlygparted 2018-10-17 github

On Arch Linux, steam is an alias for steam-runtime which uses LD_PRELOAD to override problematic libraries. If you want to run Steam with the default launch script, you have to use /usr/lib/steam/steam

All 3 methods for launching Steam (the 2 aforementioned methods as well as steam-native) are working without issue for me on vanilla Arch.

Make sure you've followed the instructions on the Arch Wiki.

Refer to Steam troubleshooting for more help.

MMati20187 2018-10-17 github

On Arch Linux, steam is an alias for steam-runtime which uses LD_PRELOAD to override problematic libraries. If you want to run Steam with the default launch script, you have to use /usr/lib/steam/steam

All 3 methods for launching Steam (the 2 aforementioned methods as well as steam-native) are working without issue for me on vanilla Arch.

Make sure you've followed the instructions on the Arch Wiki.

Refer to Steam troubleshooting for more help.

When I try to run /usr/lib/steam/steam I get this:

[mati@pc steam]$ steam
/home/mati/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
/home/mati/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
Running Steam on antergos  64-bit
/home/mati/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
/home/mati/.local/share/Steam/steam.sh: line 823: /home/mati/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh: No such file or directory
Installing breakpad exception handler for appid(steam)/version(0)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
MMati20187 2018-10-19 github

On Arch Linux, steam is an alias for steam-runtime which uses LD_PRELOAD to override problematic libraries. If you want to run Steam with the default launch script, you have to use /usr/lib/steam/steam

All 3 methods for launching Steam (the 2 aforementioned methods as well as steam-native) are working without issue for me on vanilla Arch.

Make sure you've followed the instructions on the Arch Wiki.

Refer to Steam troubleshooting for more help.

Surprisingly, yesterday steam started working normally, but today it doesn't work again. Now all versions (native, runtime and /usr/lib/steam/steam) show the same error:

[mati@pc ~]$ /usr/lib/steam/steam
/home/mati/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
/home/mati/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
Running Steam on antergos  64-bit
/home/mati/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Kkisak-valve maintainer 2018-10-19 github

Hello @Mati20187, did you update your nvidia driver version since your last restart? If the running nvidia kernel module version does not match the userspace version, it can stall there.

MMati20187 2018-10-19 github

Hello @Mati20187, did you update your nvidia driver version since your last restart? If the running nvidia kernel module version does not match the userspace version, it can stall there.

I've downloaded all available update that were available so it's possible. Is there any way to undo the driver update?

EDIT:
Sorry for replying that often, but i'm constantly trying to figure this out. I found the 106th line that causes the first problem. It refers to system version in a /etc/os-release file. In Antergos Linux, the variable that the script is looking for is named "ID" instead of "VERSION_ID" so I edited the script to find the variable that it was looking for and the problem disappeared.

The second problem: /home/mati/.local/share/Steam/steam.sh: line 823: /home/mati/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh: No such file or directory
I listed the files in this directory and the run.sh script was missing. I've downloaded the steam-runtime package and copied the script to /home/mati/.local/share/Steam/ubuntu12_32/steam-runtime/.
After trying to tun steam, I get this:
[mati@pc ~]$ steam Running Steam on antergos antergos 64-bit STEAM_RUNTIME is enabled automatically Pins up-to-date! [mati@pc ~]$
but steam doesn't launch

Kkisak-valve maintainer 2018-10-19 github

Can you run pacman -Q nvidia nvidia-dkms nvidia-utils lib32-nvidia-utils and verify the versions match (xxx.xx)? I have a hunch that you opt-ed into the testing repo at some point, but missed adding the corresponding multilib-testing repo.

MMati20187 2018-10-19 github

Can you run pacman -Q nvidia nvidia-dkms nvidia-utils lib32-nvidia-utils and verify the versions match (xxx.xx)? I have a hunch that you opt-ed into the testing repo at some point, but missed adding the corresponding multilib-testing repo.

[mati@pc ~]$ pacman -Q nvidia nvidia-dkms nvidia-utils lib32-nvidia-utils nvidia 410.57-6 error: package 'nvidia-dkms' was not found nvidia-utils 410.57-3 error: package 'lib32-nvidia-utils' was not found
I've checked lib32 packages a hundred times but somehow I missed lib32-nvidia-utils.
After installing it everything works perfectly. Thanks so much for help!

Kkisak-valve maintainer 2018-10-19 github

Thanks, closing as this was a system config issue.

Nothing extracted yet.