steam: move documentation to README.voidlinux

This commit is contained in:
cinerea0 2021-04-14 17:39:22 -04:00 committed by Andrew Benson
parent 6a00170a7d
commit a4e87af2b5
3 changed files with 54 additions and 24 deletions

View file

@ -1,23 +1,2 @@
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{,-nonfree}
# 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
Consult /usr/share/doc/steam/README.voidlinux for further installation
instructions and troubleshooting information.

View file

@ -0,0 +1,48 @@
Steam on i686 should work without needing to install any extra packages.
Steam on x86_64 requires support for OpenGL/Vulkan in 32bits mode,
the 32bit packages are available in the multilib repository.
# xbps-install -S void-repo-multilib{,-nonfree}
# 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)
For mesa users this would result in:
# xbps-install -S libgcc-32bit libstdc++-32bit libdrm-32bit libglvnd-32bit mesa-dri-32bit
The dbus service must be enabled, and the mono package will need to be
installed for some games to function.
If games are running slowly or not at all, or there are issues with network
streaming, verify that your user belongs to the video group.
If your audio is not working, try installing pulseaudio and
alsa-plugins-pulseaudio.
If you are encountering runtime errors, the Steam Ubuntu bootstrap tarball might
be using an incompatible libstdc++ library. You can verify this by running the
following command:
$ LIBGL_DEBUG=verbose steam
If that is the issue, removing the supplied libstdc++ from
~/.local/share/steam will fix it. 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.

View file

@ -1,7 +1,7 @@
# Template file for 'steam'
pkgname=steam
version=1.0.0.70
revision=1
revision=2
archs="i686 x86_64"
wrksrc=steam-launcher
depends="zenity xz curl dbus freetype gdk-pixbuf hicolor-icon-theme desktop-file-utils
@ -30,4 +30,7 @@ do_install() {
# Device support for Steam-related hardware (e.g. controllers over Steam Link)
vinstall ${FILESDIR}/60-steam-input.rules 644 usr/lib/udev/rules.d
vinstall ${FILESDIR}/60-steam-vr.rules 644 usr/lib/udev/rules.d
# Void-specific documentation.
vdoc "${FILESDIR}/README.voidlinux"
}