Getting Started - powwu/pso2-na-linux GitHub Wiki

Hello and welcome! If you are reading this, there is a good chance that you want to play PSO2 on Linux without the hindrance of GameGuard blocking you. If this rings true, you've come to the right place!

Overview

In the following tutorial I will be showing you:

  • How to set up virt-manager for Windows emulation
  • Setting up Looking Glass and GPU passthrough OR setting up OpenGL acceleration
  • Minimizing visible lag and input lag

Without further ado, let's begin.

Installing virt-manager and friends

To begin, we must install virt-manager and all other required packages. These are as follows:

Ubuntu:

sudo apt-get install libvirt-bin bridge-utils virt-manager qemu-kvm ovmf

Arch:

sudo pacman -S libvirt virt-manager ovmf qemu

You should also install a copy of the Windows 10 ISO. Microsoft purposefully limits the connection speed to that link for Linux users, so just wait a bit. The website is loading.

For other Linux distributions, please consult your documentation for the equivalent packages. Wait for the installation to finish, reboot your computer, and then proceed to the next step.

Creating a Windows VM via virt-manager

Now open virt-manager. Inside, you should see a QEMU box, which should be connected. If not, try running the following commands:

sudo systemctl start libvirtd.service 
sudo systemctl start virtlogd.socket
sudo systemctl enable libvirtd.service
sudo systemctl enable virtlogd.socket

Now make a new QEMU virtual machine. Locate your Windows 10 ISO which you installed earlier, and add it to the machine. The following specs are recommended:

  • RAM: Half of your host
  • CPU: Half of your host
  • Storage: 120GB minimum

Make sure you tick the "Customize before install" box. Now that you're in the customization panel, make sure that your firmware is set to OVMF:

MAKE SURE YOUR CHIPSET IS SET TO Q35, NOT I440FX. THE MICROSOFT STORE WILL ERROR OUT

Now, you can press begin installation. (Network default not active? Read the Troubleshooting page.)There is not much important to note here, except:

  • In the OVMF command line, press exit. Then locate your installation media.

  • You must install Windows 10 Pro. Not Home. This is important, as Home does not include secpol.msc (which we will need later).

Wait for the installation to finish, and then continue following the steps.

A fork in the road

Now that you've successfully installed your Windows VM, there are a couple paths you can take depending on what hardware you have.