Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
d3d9_tutorial [2015/11/19 15:19]
sarnex
d3d9_tutorial [2018/07/08 13:34]
sarnex
Line 2: Line 2:
 ==== Ubuntu/Mint ==== ==== Ubuntu/Mint ====
 Hi guys. This is a tutorial to enable Gallium Nine on Ubuntu and Linux Mint. Hi guys. This is a tutorial to enable Gallium Nine on Ubuntu and Linux Mint.
-This tutorial is written for Ubuntu 14.04-15.04, and Mint 17-17.1. +This tutorial is written for the latest version of Ubuntu available.
-I recommend Ubuntu 14.10 or Mint 17.2.+
  
-Systems with only Intel cards are not supported by Nine since the Intel Gallium driver doesn't work with 3D games currently.+**Systems with only Intel cards are not supported by Nine since the Intel Gallium ([[https://phoronix.com/scan.php?page=news_item&px=Intel-ILO-Gallium3D-Dropping|ILO]])driver doesn't work with 3D games currently.**
  
 If you have an Intel GPU along with some other card, make sure you are using a recent kernel (>3.15) with render nodes enabled. Read up on DRI_PRIME to get your games using the second GPU. Always run games with thread_submit=true. If you have an Intel GPU along with some other card, make sure you are using a recent kernel (>3.15) with render nodes enabled. Read up on DRI_PRIME to get your games using the second GPU. Always run games with thread_submit=true.
Line 24: Line 23:
  
 Step 3. Install  oibaf's PPA. To do that, run this command <code> sudo add-apt-repository ppa:oibaf/graphics-drivers</code> Enter your password and press Enter when requested. Step 3. Install  oibaf's PPA. To do that, run this command <code> sudo add-apt-repository ppa:oibaf/graphics-drivers</code> Enter your password and press Enter when requested.
- 
-Step 3a. If you have have an Intel GPU with some other card, or want experimental Gallium Nine changes, also run the command <code> sudo add-apt-repository ppa:commendsarnex/ixitmaster</code> 
  
  
Line 33: Line 30:
 After that, run <code> sudo apt-get dist-upgrade </code> to update the important packages. After that, run <code> sudo apt-get dist-upgrade </code> to update the important packages.
  
-Step 6. Install wine. Run <code>sudo apt-get install aptitude && sudo aptitude install wine1.7</code> Now, wait for it to install.+Step 6. Install wine. Run <code>sudo apt-get install aptitude && sudo aptitude install wine3.0</code> Now, wait for it to install.
 You may have to accept an EULA agreement for Microsoft Corefonts. Read the EULA and use Tab and Enter to agree. You may have to accept an EULA agreement for Microsoft Corefonts. Read the EULA and use Tab and Enter to agree.
  
Line 42: Line 39:
  
 Step 8b. If you're not using PlayOnLinux, run <code>winecfg</code> in the WinePrefix you want to run your games in. If your WinePrefix is not in /home/user/.wine, you can change the location with the WINEPREFIX environment variable. For example, if my WinePrefix were in /home/sarnex/games, I would run <code>WINEPREFIX=/home/sarnex/games winecfg</code> Step 8b. If you're not using PlayOnLinux, run <code>winecfg</code> in the WinePrefix you want to run your games in. If your WinePrefix is not in /home/user/.wine, you can change the location with the WINEPREFIX environment variable. For example, if my WinePrefix were in /home/sarnex/games, I would run <code>WINEPREFIX=/home/sarnex/games winecfg</code>
-Go to the Graphics Tab at the top of the winecfg window and check the option at the bottom named 'Prefer native Direct3D 9.  +Go to the Staging Tab at the top of the winecfg window and check the option at the bottom named 'Enabled Gallium Nine for better D3D9 performance'.  
  
 Step 9. Run your game in the terminal using <code>wine /path/to/the/game.exe</code> If you are using PlayOnLinux, you can highlight your game and click the Debug option on the left instead.  Step 9. Run your game in the terminal using <code>wine /path/to/the/game.exe</code> If you are using PlayOnLinux, you can highlight your game and click the Debug option on the left instead.