Difference between revisions of "Steam"

From Funtoo
Jump to navigation Jump to search
(added warning about Proton and linked relevant ticket)
 
(66 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{PageNeedsUpdates}}
{{Subpages|Docker}}


Steam is a content delivery system available for GNU/Linux gaming.
Steam is a content delivery system and ecosystem for gaming, developed by Valve Software. It offers hundreds of games, from popular ones such as DOTA 2 to many other less popular and even obscure community games. Steam runs on Microsoft Windows, MacOS, and also Linux.


=== Install ===
{{warning|Steam Proton support is currently experimental.  You can help improve this! {{bug|FL-8521}} }}
In order to install Steam, we must first install {{package|app-portage/layman}}.


Once layman is installed and synced, we must add the {{c|gamerlay}} repository:
== Current Supported Options ==


{{console|body=
The current recommended method for running Steam on Funtoo is via use of [[Flatpak]]. The steps for setting this up are listed on the [[Flatpak]] page and will get you up and running with Steam. The Flatpak Steam image is based on Ubuntu 12.
###i## layman -S
###i## layman -a gamerlay
}}


Ok, now we can install steam by running:
In the past we have also offered a Docker image for Steam, but this method is no longer officially supported. See [[Steam/Docker]] for details on this image. It actually works very similarly to the Flatpak method, and interested developers may want to play with it or study it. It was missing some things like desktop icon integration. Since it requires a decent amount of work to maintain, and the Flatpak Steam image is actively maintained by others, and works well, Daniel Robbins decided it would be best to just use the Flatpak version as our official method.


{{console|body=
While these two options use different technologies, under the hood they are actually quite similar. They both use a containerized version of Ubuntu which contains the SteamOS runtime.
###i## emerge steam-launcher
}}


== install part 2 ==
== History on Funtoo ==
Make sure your user is in the 'games' group by typing:
<console>###i## groups youruser</console>


If not add your user to the 'games' group by typing:
Through Funtoo Linux 1.2, it was possible to play Steam directly under Funtoo. However, with the move to Funtoo Linux 1.3, 32-bit support was dropped from Funtoo, and Steam is currently dependent on a host of 32-bit libraries.
<console>###i## usermod -a -G games youruser</console>


Steam has its own internal package management system. Portage will not track its files, or games installed. the ebuild simply pulls in the steam installer, to run the steam installer:
Thus, Steam no longer worked under Funtoo directly. However, it is still possible to run Steam under Funtoo via use of containerization technology. Initially, much of the setup was left to users to figure out. But now, there are officially supported options for Steam that are easy to set up.


<console>###i## /usr/games/bin/steam</console>
[[Category:Official Documentation]]
 
[[Category:Containers]]
The installer will prompt you with several questions, once done running the installer command will load the latest version of steam.
[[Category:Docker]]
 
[[Category:Games]]
== Troubleshooting ==
=== Text is corrupt or missing ===
Steam makes heavy usage of the Arial font. A decent Arial font to use is ttf-liberation.
<console>
# ##i##emerge liberation-fonts
# ##i##eselect fontconfig enable 60-liberation.conf
</console>
 
=== Steam segfaults after 2nd start! ===
I do not know much about this behaviour, but I found a workaround.
If you saved your password, you need to backup all your games and reset Steam.
{{console|body=
$ ##i##mkdir -p ~/backup
$ ##i##mv ~/.local/share/Steam/steamapps ~/backup
$ ##i##steam --reset
$ ##i##mv ~/backup ~/.local/share/Steam/steamapps
}}
Start Steam again, enter username and password, but do not check "Remember my password", it is the thing that causes all the troubles. You will need to enter password every time you start Steam.
 
=== My screen in Dota 2 (and other Source games) is all red! ===
{{console|body=
# ##i##echo 'media-libs/libtxc_dxtn abi_x86_32' >> /etc/portage/package.use
# ##i##emerge media-libs/libtxc_dxtn
}}
 
=== OpenGL GLX context is not using direct rendering ===
This can happen when the latest version of mesa drivers use glibc, but steam still looks for libstdc++ and libgcc_s. Those come from GCC; not glibc[1].
 
To make sure that steam does not look for libstdc++ and libgcc_s, they may be removed[2]:
<console>
# ##i##rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/installed/libstdc++6-4.6-pic_4.6.3-1ubuntu5+srt4_amd64 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/installed/libstdc++6-4.6-pic_4.6.3-1ubuntu5+srt4_amd64.md5 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/installed/libstdc++6_4.8.1-2ubuntu1~12.04+steamrt2+srt1_amd64 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/installed/libstdc++6_4.8.1-2ubuntu1~12.04+steamrt2+srt1_amd64.md5 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++_pic.a && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++_pic.map && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/share/doc/libstdc++6 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/share/doc/libstdc++6-4.6-pic && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/installed/libstdc++6-4.6-pic_4.6.3-1ubuntu5+srt4_i386 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/installed/libstdc++6-4.6-pic_4.6.3-1ubuntu5+srt4_i386.md5 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/installed/libstdc++6_4.8.1-2ubuntu1~12.04+steamrt2+srt1_i386 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/installed/libstdc++6_4.8.1-2ubuntu1~12.04+steamrt2+srt1_i386.md5 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/gcc/i686-linux-gnu/4.6/libstdc++_pic.a && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/gcc/i686-linux-gnu/4.6/libstdc++_pic.map && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6.0.18 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/share/doc/libstdc++6 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/share/doc/libstdc++6-4.6-pic && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/share/doc/libstdc++6
</console>
and
<console>
# ##i##rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libgcc_s.so.1 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1
</console>
 
=== Removal ===
To remove steam, and content in case of corruption:
{{console|body=
$##i## rm -rf .local/share/Steam
$##i## rm -rf .Steam
}}
 
== References ==
[1]: archtum. [http://www.reddit.com/r/linux_gaming/comments/2w9x3f/games_run_but_not_from_steam/cop2tgm archtum comments on Games Run, But Not From Steam], [http://www.reddit.com/r/linux_gaming/ GNU/Linux Gaming on Reddit], February 17th, 2015. Retrieved July 14th, 2015.
 
[2]: altiris. [https://bbs.archlinux.org/viewtopic.php?id=193802 [SOLVED<nowiki>]</nowiki> Steam won't open, libGL errors], [https://bbs.archlinux.org/ Arch Linux Forums], February 18, 2015. Retrieved July 14th, 2015.

Latest revision as of 06:11, August 4, 2022

Subpages:

Steam is a content delivery system and ecosystem for gaming, developed by Valve Software. It offers hundreds of games, from popular ones such as DOTA 2 to many other less popular and even obscure community games. Steam runs on Microsoft Windows, MacOS, and also Linux.

   Warning

Steam Proton support is currently experimental. You can help improve this! FL-8521

Current Supported Options

The current recommended method for running Steam on Funtoo is via use of Flatpak. The steps for setting this up are listed on the Flatpak page and will get you up and running with Steam. The Flatpak Steam image is based on Ubuntu 12.

In the past we have also offered a Docker image for Steam, but this method is no longer officially supported. See Steam/Docker for details on this image. It actually works very similarly to the Flatpak method, and interested developers may want to play with it or study it. It was missing some things like desktop icon integration. Since it requires a decent amount of work to maintain, and the Flatpak Steam image is actively maintained by others, and works well, Daniel Robbins decided it would be best to just use the Flatpak version as our official method.

While these two options use different technologies, under the hood they are actually quite similar. They both use a containerized version of Ubuntu which contains the SteamOS runtime.

History on Funtoo

Through Funtoo Linux 1.2, it was possible to play Steam directly under Funtoo. However, with the move to Funtoo Linux 1.3, 32-bit support was dropped from Funtoo, and Steam is currently dependent on a host of 32-bit libraries.

Thus, Steam no longer worked under Funtoo directly. However, it is still possible to run Steam under Funtoo via use of containerization technology. Initially, much of the setup was left to users to figure out. But now, there are officially supported options for Steam that are easy to set up.