- Void linux установка steam
- Steam
- Installing Steam through XBPS
- Additional steps on x86_64 machines
- Installing Steam through Flatpak
- Audio issues within Flatpak’d steam
- Troubleshooting
- Libstdc++ Library error and Steam runtime issues
- Games running slowly or not at all, issues with network streaming
- Audio not working
- Void linux установка steam
Void linux установка steam
Void Linux is a general operating system based on the Linux Kernel.
I’ve installed Steam and the appropriate 32-bit libraries on my system ( according to the wiki ) with the exception of libv8-32bit since it wasn’t in the repositories. I’ve also installed the appropriate 32-bit graphics drivers (Intel; I also have an nvidia card but this specific model is notorious for causing crashes on linux so I have it blacklisted). However, when I launch Steam nothing happens. When running LIBGL_DEBUG=verbose steam I get the following output:
/home/erebus/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable /home/erebus/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable Running Steam on void 64-bit /home/erebus/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable STEAM_RUNTIME is enabled automatically Pins up-to-date! Installing breakpad exception handler for appid(steam)/version(1550534751) libGL: Can’t open configuration file /etc/drirc: No such file or directory. libGL: Can’t open configuration file /home/erebus/.drirc: No such file or directory. libGL: Can’t open configuration file /etc/drirc: No such file or directory. libGL: Can’t open configuration file /home/erebus/.drirc: No such file or directory. libGL: pci id for fd 8: 8086:3e9b, driver i965 libGL: OpenDriver: trying /usr/lib32/xorg/modules/drivers/tls/i965_dri.so libGL: OpenDriver: trying /usr/lib32/xorg/modules/drivers/i965_dri.so libGL: Can’t open configuration file /etc/drirc: No such file or directory. libGL: Can’t open configuration file /home/erebus/.drirc: No such file or directory. libGL: Can’t open configuration file /etc/drirc: No such file or directory. libGL: Can’t open configuration file /home/erebus/.drirc: No such file or directory. libGL: Using DRI3 for screen 0 libGL: Can’t open configuration file /etc/drirc: No such file or directory. libGL: Can’t open configuration file /home/erebus/.drirc: No such file or directory. Installing breakpad exception handler for appid(steam)/version(1550534751) . [0314/193044.988523:INFO:crash_reporting.cc(242)] Crash reporting enabled for process: browser [0314/193045.018460:WARNING:crash_reporting.cc(281)] Failed to set crash key: UserID with value: 0 [0314/193045.018503:WARNING:crash_reporting.cc(281)] Failed to set crash key: BuildID with value: 1550527787 [0314/193045.018506:WARNING:crash_reporting.cc(281)] Failed to set crash key: SteamUniverse with value: Public [0314/193045.018508:WARNING:crash_reporting.cc(281)] Failed to set crash key: Vendor with value: Valve [0314/193045.048485:ERROR:gpu_process_transport_factory.cc(1026)] Lost UI shared context. Installing breakpad exception handler for appid(steam)/version(1550534751) .
I tried using the flatpak version of steam as well and got similar errors. Can anyone figure out what’s going wrong here?
EDIT: Sorry for the bad formatting initially, hopefully the full readout is visible now.
Steam
Steam is a gaming distribution platfrom by Valve Software.
Installing Steam through XBPS
To install Steam firstly you need to enable the nonfree repository if you haven’t yet.
# xbps-install -Sy void-repo-nonfree
Next, install the steam package hosted by this repo:
If you are running the i686 distribution this should be enough to get it running.
Additional steps on x86_64 machines
After installation there will be a prompt in the terminal explaining what other packages may be needed depending on the user’s setup. It will tell you which repositories you need to enable and which packages you need.
Steam on x86_64 requires support for OpenGL/Vulkan in 32bits mode, the 32bit packages are available in the `multilib` repository. # xbps-install -Syv void-repo-multilib # xbps-install -S Generic (for all systems): - libgcc-32bit libstdc++-32bit libdrm-32bit libglvnd-32bit For users of the open source drivers: - mesa-dri-32bit For users of the proprietary NVIDIA driver: - nvidia-libs-32bit (latest nvidia package) - nvidia390-libs-32bit (latest previous package) - nvidia340-libs-32bit (latest package for old GPUs) For mesa users this would result in: # xbps-install -Syv libgcc-32bit libstdc++-32bit libdrm-32bit libglvnd-32bit mesa-dri-32bit
Dbus is generally a good idea to have as you can have issue starting Steam or segfaults without it.
# ln -s /etc/sv/dbus /var/service
For some games mono must be installed:
Installing Steam through Flatpak
Note: Installing Steam though Flatpak automates the process of what you will need to run Steam. Some setups require much more dependencies than others and missing some of these dependencies can lead to segfaults and random crashes. If you are switching to Steam on Flatpak you do not need the folders and files created by Steam installed through XBPS which are located in your $HOME or $HOME/.local directories.
Install Flatpak through xbps if you haven’t already and enable the Flatpak repository.
Install Steam through Flatpak
# flatpak install com.valvesoftware.Steam
To run Steam through Flatpak
flatpak run com.valvesoftware.Steam
If you are using a different drive to store you game library run the following commmand where » is the mount point of your drive.
flatpak override com.valvesoftware.Steam —filesystem=
Audio issues within Flatpak’d steam
There are many issues that can occur with the combo of Void Linux, Pulseaudio and Flatpak. If you aren’t receiving sound within Steam there is a simple script that can be used, which works with the recommended Pulseaudio setup. Since how Pulseaudio is handled it will stop once it is not needed, meaning no other intervention is needed other than closing Steam to stop the service from running.
#!/bin/sh pulseaudio --start flatpak run com.valvesoftware.Steam
You may find other «less hacky» fixes for this issues which may not apply to Void Linux due to how the enviorment varible $PULSE_SERVER is handled within Void.
Troubleshooting
Libstdc++ Library error and Steam runtime issues
The Steam Ubuntu bootstrap tarball might use an incompatible libstdc++ library, try:
to see if that’s the case, and then try to remove the supplied libstdc++ from ~/.local/share/steam .
Note that this is a temporary solution, as this file will be restored every time the Steam client is updated. For a more reliable solution, you can try overriding problematic libraries with LD_PRELOAD :
$ LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1' steam
For convenience, you can put this in a script or an alias.
Games running slowly or not at all, issues with network streaming
Verify that your user belongs to the video group.
Audio not working
First, try installing pulseaudio and alsa-plugins-pulseaudio . If you do not have audio in the videos which play within the Steam client, it is possible that the ALSA libs packaged with Steam are not working.
If launching Steam from a terminal and attempting to play a video within the steam client results in an error similar to «ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave«, there is a workaround which involves renaming or deleting some Steam runtime folders and library files. The bugs have already been reported here and here.
The solution is to rename or delete the alsa-lib folder and the libasound.so.* files. They can be found in ~/.steam/steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/ .
This article is issued from Voidlinux. The text is licensed under Creative Commons — Attribution — Sharealike. Additional terms may apply for the media files.
Void linux установка steam
hello, i have installed steam from the official void repo, i have installed mesa 32 drivers as well
at first steam was running normally and it finished downloading runtimes and adding the final touches, then. nothing.
i tried running steam again from the app launcher, still nothing.
i tried running it from the terminal, this happend:
$ steam
/home/relected/.local/share/Steam/steam.sh: line 117: VERSION_ID: unbound variable
/home/relected/.local/share/Steam/steam.sh: line 117: VERSION_ID: unbound variable
Running Steam on void 64-bit
/home/relected/.local/share/Steam/steam.sh: line 117: VERSION_ID: unbound variable
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Steam client’s requirements are satisfied
WARNING: Using default/fallback debugger launch
/home/relected/.local/share/Steam/ubuntu12_32/steam
[2021-06-06 16:12:48] Startup — updater built May 19 2021 01:53:57
Installing breakpad exception handler for appid(steam)/version(1621394999)
libGL error: MESA-LOADER: failed to open i965: /usr/lib32/dri/i965_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib32/dri)
libGL error: failed to load driver: i965
libGL error: MESA-LOADER: failed to open swrast: /usr/lib32/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib32/dri)
libGL error: failed to load driver: swrast
SteamUpdateUI: An X Error occurred
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 150 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 39
xerror_handler: X failed, continuing
Looks like steam didn’t shutdown cleanly, scheduling immediate update check
[2021-06-06 16:12:48] Loading cached metrics from disk (/home/relected/.local/share/Steam/package/steam_client_metrics.bin)
[2021-06-06 16:12:48] Failed to load cached hosts file (File ‘update_hosts_cached.vdf’ not found), using defaults
[2021-06-06 16:12:48] Using the following download hosts for Public, Realm steamglobal
[2021-06-06 16:12:48] 1. http://media.steampowered.com, /client/, Realm ‘steamglobal’, weight was 1, source = ‘baked in’
Installing breakpad exception handler for appid(steam)/version(1621394999)
[2021-06-06 16:12:48] Checking for update on startup
[2021-06-06 16:12:48] Checking for available updates.
[2021-06-06 16:12:48] Downloading manifest: http://media.steampowered.com/client/steam_client_ubuntu12
Installing breakpad exception handler for appid(steam)/version(1621394999)
[2021-06-06 16:12:49] Download skipped: /client/steam_client_ubuntu12 version 1621394999, installed version 1621394999, existing pending version 0
[2021-06-06 16:12:49] Nothing to do
[2021-06-06 16:12:49] Verifying installation.
[2021-06-06 16:12:49] Performing checksum verification of executable files
Installing breakpad exception handler for appid(steam)/version(1621394999)
Installing breakpad exception handler for appid(steam)/version(1621394999)
[2021-06-06 16:12:49] Verification complete
Loaded SDL version 2.0.15-6501165
libGL error: MESA-LOADER: failed to open i965: /usr/lib32/dri/i965_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib32/dri)
libGL error: failed to load driver: i965
libGL error: MESA-LOADER: failed to open swrast: /usr/lib32/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib32/dri)
libGL error: failed to load driver: swrast
Steam: An X Error occurred
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 150
Serial number of failed request: 40
xerror_handler: X failed, continuing
assert_20210606161248_1.dmp[28794]: Uploading dump (out-of-process)
/tmp/dumps/assert_20210606161248_1.dmp
/home/relected/.local/share/Steam/steam.sh: line 771: 28784 Segmentation fault $STEAM_DEBUGGER «$STEAMROOT/$STEAMEXEPATH» «$@»
[relected@ohffs ~]$ assert_20210606161248_1.dmp[28794]: Finished uploading minidump (out-of-process): success = yes
assert_20210606161248_1.dmp[28794]: response: CrashID=bp-1b3e017f-b1b7-407f-9f22-ae4612210606
assert_20210606161248_1.dmp[28794]: file »/tmp/dumps/assert_20210606161248_1.dmp», upload yes: »CrashID=bp-1b3e017f-b1b7-407f-9f22-ae4612210606»
i am running an Intel i5-4210U (4) @ 2.700GHz
my Dedicated GPU is AMD ATI Radeon HD 8550M / R5 M230
my Integrated GPU is Intel Haswell-ULT
any idea about why that happens? thanks 🙂