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
d3d9_tutorial [2015/11/19 15:19]
sarnex
d3d9_tutorial [2022/04/28 17:33]
okias OFTC + small nitpicks
Line 1: Line 1:
 ====== D3D9 Installation Tutorials ====== ====== D3D9 Installation Tutorials ======
 ==== Ubuntu/Mint ==== ==== Ubuntu/Mint ====
-Hi guys. This is a tutorial to enable Gallium Nine on Ubuntu and Linux Mint. +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 older 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.
- 
-**Remember, this is still an experimental project and you may run into bugs with Mesa.** 
  
 This tutorial is based on a fresh OS install.  This tutorial is based on a fresh OS install. 
- 
  
  
Line 24: Line 20:
  
 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 27:
 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 36:
  
 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. 
Line 50: Line 44:
 If you see “Native Direct3D 9 is disabled”, you forgot the checkbox in winecfg or didn't set your WinePrefix correctly! If you see “Native Direct3D 9 is disabled”, you forgot the checkbox in winecfg or didn't set your WinePrefix correctly!
  
-If you see “Native Direct3D 9 will be unavailable”, something broke. Join #d3d9 on irc.freenode.net and ping me(sarnex).+If you see “Native Direct3D 9 will be unavailable”, something broke. Join IRC channel and ping me (nickname sarnex).
  
-If you have any problems, questions or comments, join #d3d9 on irc.freenode.net!+If you have any problems, questions or comments, join #d3d9 on irc.oftc.net!