Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
systems:steam [2024/02/05 21:44] – [Steam's stuck on waiting for network] toccata10systems:steam [2025/03/26 21:01] (current) jolting_jolter
Line 5: Line 5:
 ====== Steam ====== ====== Steam ======
  
-Steam became available in Batocera **v31** via manual Flatpak installation, and in **v32** it became an integrated system! You can only install Steam on //x86_64// platforms (unfortunately we aren't magic).+You can only install Steam on //x86_64// platforms (unfortunately we aren't magic).
  
 <WRAP center round important> <WRAP center round important>
Line 43: Line 43:
 Since Steam is a Flatpak, it too saves program data to the saves folder instead as well. Only the shortcuts are stored in the ROMs folder. Since Steam is a Flatpak, it too saves program data to the saves folder instead as well. Only the shortcuts are stored in the ROMs folder.
 </WRAP> </WRAP>
 +
  
 ===== Installation ===== ===== Installation =====
  
 <WRAP center round important> <WRAP center round important>
-A mouse and keyboard will be required for installation.+A mouse and keyboard will be required for the first launch of Steam.
 </WRAP> </WRAP>
 +
  
 ==== Installing the Steam flatpak ==== ==== Installing the Steam flatpak ====
  
-Steam will be installed via Flatpak. The recommended way to do so is [[systems:flatpak#using_flatpak-config|using the flatpak-config GUI]]. Search for "Steam" and install the appropriate package.+=== Using the GUI === 
 + 
 +This video shows the install process using the flatpak-config UI, and the launch of the Steam application via the Steam system menu in EmulationStation. 
 +This applies from Batocera v40 and later. 
 + 
 +{{ :emulators:steamv40.mp4?direct&720 |}} 
 + 
 +Steam will be installed via Flatpak. The recommended way to do so is [[systems:flatpak#using_flatpak-config|using the flatpak-config GUI]]. Add the Flathub remote, search for "Steam" and install the appropriate package. See the video above for more details.
  
 {{ :systems:virtualbox_batocera.linux_for_pc_31x64_18_10_2021_07_54_52.png?direct&720 |}} {{ :systems:virtualbox_batocera.linux_for_pc_31x64_18_10_2021_07_54_52.png?direct&720 |}}
  
-If for some reason that doesn't work, you can always install Steam via [[:access_the_batocera_via_ssh|SSH]]:+=== Using SSH === 
 + 
 +If for some reason that doesn't work, you can install Steam via [[:access_the_batocera_via_ssh|SSH]]:
  
 <code> <code>
-flatpak install com.valvesoftware.Steam +flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
-</code>+
  
-<WRAP center round info> +flatpak install com.valvesoftware.Steam 
-For Batocera **v31**, if this is the first time you've used [[systems:flatpak|Flatpak]] you'll need to add the repository first: +Looking for matches… 
- +Required runtime for com.valvesoftware.Steam/x86_64/stable (runtime/org.freedesktop.Platform/x86_64/24.08) found in remote flathub 
-<code> +Do you want to install it? [Y/n]:
-flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo+
 </code> </code>
  
-Batocera **v32** and higher already have this set as the default repository. +Some older Batocera releases may already have the `flathub` remote installed.
-</WRAP>+
  
-=== Update Flatpak game list === 
  
-Once that's done, simply update the game list to see Steam in the Ports system!+=== Update game list ===
  
-{{ https://wiki.batocera.org/_media/systems:screenshot-2021.09.05-15h48.38.jpg?nolink&720 |Steam's icon showing up in the Ports system. Ah, familiarity.}}+To add Steam to EmulationStation from **v40** or higher you need to update the Games List to get the Steam system on your main menu:
  
-To do this via SSH:+{{:systems:screenshot-2024.07.25-13h07.30.png?720|}} 
 +{{:systems:screenshot-2024.07.25-13h07.06.png?720|}}
  
-<code> +**NoteEnsure you launch Steam from within the Steam systems menu to allow the initial configuration.**
-batocera-flatpak-update +
-</code> +
- +
-The output should be: +
- +
-<code> +
-adding Steam +
-updating permissions on files... +
-</code>+
  
-Then launch Steam! It will have to install its updatesthen you'll be greeted by the Steam login dialog. If you have two-factor authentication, you'll need your phone handy as well. Sign in and wait patiently for Steam to do some house-cleaning.+When launched, Steam will have to install its updates and then you'll be greeted by the Steam login dialog. If you have two-factor authentication, you'll need your phone handy as well. Sign in and wait patiently for Steam to do some house-cleaning.
  
 <WRAP center round important> <WRAP center round important>
Line 426: Line 425:
 ==== Steam crashes on windows games ==== ==== Steam crashes on windows games ====
 The proton version coming with steam is not very compatible with the flatpak version. Install an alternate version of proton by following [[https://wiki.batocera.org/systems:steam#installing_alternate_versions_of_proton]] , then launch your windows games with one of the proton community builds. The proton version coming with steam is not very compatible with the flatpak version. Install an alternate version of proton by following [[https://wiki.batocera.org/systems:steam#installing_alternate_versions_of_proton]] , then launch your windows games with one of the proton community builds.
 +
 +==== My laptop has a hybrid gpu and performance is very poor ====
 +It's possible that Steam is using the iGpu instead of your discrete Gpu.
 +
 +Possible workarounds for a nvidia discrete card are:
 +  * Edit your launch options with:
 +<code>
 +VK_ICD_FILENAMES=/usr/share/vulkan/nvidia/nvidia_production_icd.x86_64.json %command%
 +</code>
 +  * For some games, you need:
 +<code>
 +VK_ICD_FILENAMES=/usr/share/vulkan/nvidia/nvidia_production_icd.x86_64.json DXVK_FILTER_DEVICE_NAME="NVIDIA" %command%
 +</code>
 +  * If you want to use FSR, the launch option will be:
 +<code>
 +VK_ICD_FILENAMES=/usr/share/vulkan/nvidia/nvidia_production_icd.x86_64.json WINE_FULLSCREEN_FSR=1 %command%
 +</code>
 +Remember to use "Fullscreen" in your game settings and to lower the resolution for FSR to take effect.
 +  * if you don't want to modify the launch option for each game, you can also edit your ''/userdata/system/custom.sh'' to export this environment variable with
 +<code>
 +#!/bin/bash
 +case "$1" in
 +    start) 
 +        # Code in here will only be executed on boot.
 +        export VK_ICD_FILENAMES=/usr/share/vulkan/nvidia/nvidia_production_icd.x86_64.json
 +</code> 
 +
 +
 +
  • systems/steam.1707169489.txt.gz
  • Last modified: 2 years ago
  • by toccata10