Gaming on Linux - aesser11/home-lab GitHub Wiki
Overview
Main thing to note: Try and use the windows versions of games with proton as much as possible (it'll interact with existing cache in lancache and those games typically receive more development than a native linux version).
Install drivers, and wine per the documentation below (pulled from Lutris docs).
Then install Lutris, and Steam.
For any games that won't work -- install qemu-kvm with looking glass (docs coming for these)
Install Drivers
Install Wine
Install Lutris
0. Pre-reqs
Enable 32 bit architecture:
sudo dpkg --add-architecture i386
1. Install Drivers
Ubuntu
Nvidia:
Proprietary Nvidia GPU Drivers PPA:
sudo add-apt-repository ppa:graphics-drivers/ppa
Update to refresh packages:
sudo apt update
Warning: Please ensure your graphics card is supported by the driver before installing.
Install the 470 driver:
sudo apt install nvidia-driver-470
Install support for Vulkan API (will be functional only if you have a Vulkan capable GPU):
sudo apt install libvulkan1 libvulkan1:i386
Reboot to apply changes.
AMD / Intel:
Add kisak-mesa PPA:
sudo add-apt-repository ppa:kisak/kisak-mesa
Upgrade your system:
sudo apt update && sudo apt upgrade
Install support for 32-bit games:
sudo apt install libgl1-mesa-dri:i386
Install support for Vulkan API (will be functional only if you have a Vulkan capable GPU):
sudo apt install mesa-vulkan-drivers mesa-vulkan-drivers:i386
Reboot to apply changes.
Note: Only Ubuntu 18.04 and higher is supported for AMD and Intel graphics.
Note for Intel integrated graphics users: Only Skylake, Kaby Lake, and Coffee Lake offer full Vulkan support. Broadwell, Haswell and Ivy Bridge only offer partial support, which may not work with a lot of games. Sandy Bridge and older lack any Vulkan support whatsoever.
2. Install Wine
It is recommended to install Wine system-wide through your package manager.
Ubuntu/Linux Mint/Ubuntu derivatives
Download and add the repository key:
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
Add the repository:
For this version: | Use this command: |
---|---|
Ubuntu 21.04 | sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main' |
Ubuntu 20.10 | sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ groovy main' |
Ubuntu 20.04 | sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' |
Ubuntu 19.10 | sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main' |
Ubuntu 19.04 | sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ disco main' |
Ubuntu 18.10 | sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic main' |
Update packages:
sudo apt-get update && apt-get upgrade
Install Wine
sudo apt-get install --install-recommends winehq-stable
If you receive this error: The following packages have unmet dependencies
, refer to the Lutris docs linked above
For compatibility reasons, install these additional libraries:
sudo apt-get install libgnutls30:i386 libldap-2.4-2:i386 libgpg-error0:i386 libxml2:i386 libasound2-plugins:i386 \
libsdl2-2.0-0:i386 libfreetype6:i386 libdbus-1-3:i386 libsqlite3-0:i386
These libraries may be used by games, launchers, or applications. E.g. Origin, Battle.net, Uplay etc. It's good practice to install these in addition to Wine.
3. Install Lutris
sudo add-apt-repository ppa:lutris-team/lutris
sudo apt update
sudo apt install lutris
Other Considerations
- install steam and enable steamplay in settings (this enables proton)
- install qemu-kvm
sudo apt install virt-manager qemu-kvm
- install looking glass
https://looking-glass.io/docs/stable/install/#
- install looking glass