Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Installing from PPA

Nick Sarnie edited this page Dec 25, 2018 · 14 revisions

Installing Wine from an Ubuntu PPA

Requirements:

  • 18.04 (Bionic) or 18.10 (Cosmic)

  • A Gallium-based graphics driver(this means using Mesa, with nouveau, r600, or radeonsi). The AMD and NVIDIA closed source drivers are not supported.

Tutorial

1) Install the oibaf PPA to get an up-to-date Mesa installation

Open a terminal and run the below commands

sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt-get update
sudo apt-get upgrade (type "y" if it prompts you)
sudo apt-get dist-upgrade (type "y" if it prompts you)

The oibaf PPA is now installed!

2) Install Sarnex's Gallium Nine PPA

You can either install pure Wine plus Gallium Nine, or Wine Staging plus Gallium Nine. Wine Staging has many patches on top of wine that may fix bugs, improve performance, or add features. It may also introduce issues.

First, let's add the PPA: In a terminal, please run:

sudo add-apt-repository ppa:commendsarnex/winedri3
sudo apt-get update

Please pick (a) or (b) depending on the Wine style you want

a. Pure Wine plus Gallium Nine Please run the below command in the terminal:

sudo apt-get install wine3.0 (type "y" if it prompts you)

b. Wine Staging plus Gallium Nine Please run the below command in the terminal:

sudo apt-get install wine-d3d9-staging (type "y" if it prompts you)

Wine with Gallium Nine is now installed!

3) Enable Gallium Nine

Gallium Nine is not enabled by default in Wine. Let's enable it:

a. Open a terminal

b. Run "winecfg"

c. Head to the "Staging" tab in the window that comes up

d. Check the "Enable Gallium Nine for better D3D9 graphic performance" checkbox

e. Apply and save

Gallium Nine is now enabled!

4) Confirm it's working

If you have an application that uses Direct3D 9, you can confirm Gallium Nine is working by looking at the Wine output in the terminal.

a. Open a terminal

b. cd to the directory of the executable for your application

c. Run "wine myappname.exe"

d. Search for the following text, which should be in green

Native Direct3D 9 is active.
For more information visit https://wiki.ixit.cz/d3d9

If this appears, Gallium Nine is working! If not, please come to #d3d9 on irc.freenode.net for help.