Ubuntu 18.04 installation of Overwatch tutorial (Lutris game platform)

1. Install the N card driver

  1. Install the official recommended 450 driver:, sudo apt install nvidia-driver-450you 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
  2. Install vulcan:sudo apt install libvulkan1 libvulkan1:i386
  3. Non-N card users see here: https://github.com/lutris/docs/blob/master/InstallingDrivers.md

Two, install Lutris game platform

  1. New source:sudo add-apt-repository paa:lutris-team/lutris
  2. Update source:sudo apt-get update
  3. Install lutris:sudo apt-get install lutris
  4. Register an account from Lutris official website (no email verification required)
  5. Start lutris for the first time and start it with a terminal (under non-root):, lutrisif 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

  1. Obtain root permissions:su root

  2. In sudo gedit /etc/systemd/system.confand sudo gedit /etc/systemd/user.confadd fields underDefaultLimitNOFILE=524288

  3. In the sudo gedit /etc/security/limits.confAdd field under USERNAMEyour 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
    
  4. In the sudo gedit /etc/pam.d/common-sessionnext Add fieldsession required pam_limits.so

  5. Rebootreboot

  6. Use to ulimit -Hnverify that the maximum number of files is 524288

Third, install Overwatch

  1. Open the Overwatch Lutris page from firefox , click Install to jump to the lutris installation
  2. The installation path is arbitrary, at least 30GB of free capacity
  3. Follow the prompts to install the plugin step by step
  4. Start to install Battle.net and Overwatch, and the installation paths are all set by default, do not change
  5. 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
  6. 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

Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_43713224/article/details/109024457