1. Install the N card driver
- Install the official recommended 450 driver:,
sudo apt install nvidia-driver-450
you don’t have to worry about installing it before, if you can’t install it, just search for an N card driver installation tutorial online - Install vulcan:
sudo apt install libvulkan1 libvulkan1:i386
- Non-N card users see here: https://github.com/lutris/docs/blob/master/InstallingDrivers.md
Two, install Lutris game platform
- New source:
sudo add-apt-repository paa:lutris-team/lutris
- Update source:
sudo apt-get update
- Install lutris:
sudo apt-get install lutris
- Register an account from Lutris official website (no email verification required)
- Start lutris for the first time and start it with a terminal (under non-root):,
lutris
if there is an error, solve it step by step according to the prompt until lutris can be started normally
Three, modify the maximum number of files in linux
-
Obtain root permissions:
su root
-
In
sudo gedit /etc/systemd/system.conf
andsudo gedit /etc/systemd/user.conf
add fields underDefaultLimitNOFILE=524288
-
In the
sudo gedit /etc/security/limits.conf
Add field underUSERNAME
your user name* soft nproc 524288 * hard nproc 524288 * soft nofile 524288 * hard nofile 524288 root soft nproc 524288 root hard nproc 524288 root soft nofile 524288 root hard nofile 524288 USERNAME soft nproc 524288 USERNAME hard nproc 524288 USERNAME soft nofile 524288 USERNAME hard nofile 524288
-
In the
sudo gedit /etc/pam.d/common-session
next Add fieldsession required pam_limits.so
-
Reboot
reboot
-
Use to
ulimit -Hn
verify that the maximum number of files is 524288
Third, install Overwatch
- Open the Overwatch Lutris page from firefox , click Install to jump to the lutris installation
- The installation path is arbitrary, at least 30GB of free capacity
- Follow the prompts to install the plugin step by step
- Start to install Battle.net and Overwatch, and the installation paths are all set by default, do not change
- After the installation is complete, exit the virtual machine and return to lutris to check whether the Esync and NVIDIA Prime rendering uninstallation is enabled in the configuration of Overwatch . After confirming that everything is completed, you can run the game
- When the game is run for the first time, it is displayed in the lower left corner
Compliling Shaders...
, wait for it to disappear and the number of game frames will return to normal