- Joined
- Jun 22, 2007
- Location
- Texas, USA
One popular myth I hear often usually revolves around a sliver of old truth. “Linux can’t play games.” This sliver of truth was derived from the day’s not too long ago when playing commercially available mainstream games wasn’t an option to Linux users. Granted there were some exceptions to this rule, like EVE Online, and Doom 3. But this myth has kept many unwitting gamers stuck on windows for all the wrong reasons. Allow me to lift the veil on modern Linux gaming.
Linux, and more specifically Ubuntu Linux, has come a long way in a short period of time. Many game developers and freelance Open Source coders are making major strides in gaming tech for us Linux gamers, opening the door on a hidden market that seemed impossible to get into. Much of this success can be attributed to the many developers and supporters of the Wine Project a compatibility environment for Linux that allows Windows programs to run seamlessly in Linux. Wine is actually an acronym that, ironically enough, stands for “Wine Is Not an Emulator.” This is true of it when you launch a program in Wine. It actually runs the program like any other Linux program and as you can see in the many screen shots on the Wine AppDB, the programs are indistinguishable from their Windows installed counterparts. The applications to Linux gaming are limitless with this technology.
So how do I get wine Working?
Go to your "Synaptic Package Manager" under System > Administration > Synaptic Package Manager
Then head over to the repositories section:
Add one of the following apt lines to your repositories list based on which version of Ubuntu you have installed:
For Ubuntu Jaunty (9.04):
For Ubuntu Intrepid (8.10):
For Ubuntu Hardy (8.04):
Next Download Scott Riche's GPG key here by right clicking and hitting save as... (He is the maintainer of the Ubuntu Wine Repositories)
You'll need to pay careful attention to where the .gpg file is saved as you'll need to navigate to it.
Next you need to actually import the .gpg key file you just downloaded. You've most likely saved the .gpg to your home directory so just navigate to it by clicking "File System" then clicking home > your user name > then the .gpg file.
You'll notice the red highlighted area in the picture above, that line is added if you correctly imported the key (minus the red highlighting I added)
At this point you can hit close on everything, even Synaptic itself.
Open a Terminal ( Accessories > Terminal )
Update your sources list
Then install Wine!
The beauty of this is that Wine will self update and wont require you to do any fancy compiling every time it's updated. You'll be updated to the latest build any time it's pushed out.
Now, the fancy part that you may need to do in order to make some games run.
Still in the terminal type the following to get Winetricks
This next part I must caution anyone using is restricted only to people who own copies of any version of Windows, as it relies on software that is copyrighted by Microsoft. So if you legally own ANY version of Windows your fine.
And once that's installed
You'll have to set through a long line of windows EULA'S where you sell your soul to Microsoft forever and agree that you have a License of Windows basically. Accept them and just click next and Finish. don't mess with any of the settings as the defaults work fine for all of them. Even the install paths.
After that, for most game you can just install them like you normally do in Windows, using the CD's and standard installers.
If you don't use Ubuntu Linux you can see specific Wine instructions here.
I have the following games running on Ultra High settings at ~60+FPS
TIP: Pulse audio wrapper
I learned about this recently from a freind.
If you are having the common issue that you can't listen to music or watch videos with sound while a WINE game is running append "padsp" before wine calls to wrap the wine program in a pulse audio wrapper. This let's it play nice with other Linux apps. I have no clue why this isn't implemented by default in Wine, but it works, and it works GREAT.
This is how I launch steam so all my steam apps are in the wrapper:
All benchmarks pertain to my Sig Rig. This is the first set of benchmarks I'll be posting. Once I have my dual terrabyte array I'll install windows on my old (Current) 300GB hard drive and run benchmarks of a few popular Windows games that have benchmarking software built in. (Like Source games and a few others)
For directions on how to install and use this benchmark, click here
A word on GPU Manufacturers
While great strides have been made on the GPU drivers side most Linux Gamers agree that at this time ATi is lackluster in comparison to Nvidia's support. I personally know a few friends that attempted to install Ubuntu using the same methods I described above and were experiencing crashes and artifacts sporadically while playing games that my Lower powered Nvidia GPU had no issues with. ATi has made their drivers open source but that doesn't help when no one is there to develop them. Whereas one can easily download the Nvidia drivers directly from their site and quickly install them without problems. So at this time if you have the option, avoid ATi for Linux gaming as you'll be getting less than positive results.
Links:
Original excerpts from this thread located on my blog at Caedis.net
Linux, and more specifically Ubuntu Linux, has come a long way in a short period of time. Many game developers and freelance Open Source coders are making major strides in gaming tech for us Linux gamers, opening the door on a hidden market that seemed impossible to get into. Much of this success can be attributed to the many developers and supporters of the Wine Project a compatibility environment for Linux that allows Windows programs to run seamlessly in Linux. Wine is actually an acronym that, ironically enough, stands for “Wine Is Not an Emulator.” This is true of it when you launch a program in Wine. It actually runs the program like any other Linux program and as you can see in the many screen shots on the Wine AppDB, the programs are indistinguishable from their Windows installed counterparts. The applications to Linux gaming are limitless with this technology.
So how do I get wine Working?
Go to your "Synaptic Package Manager" under System > Administration > Synaptic Package Manager
Then head over to the repositories section:
Add one of the following apt lines to your repositories list based on which version of Ubuntu you have installed:
For Ubuntu Jaunty (9.04):
Code:
deb http://wine.budgetdedicated.com/apt jaunty main #WineHQ - Ubuntu 9.04 "Jaunty Jackalope"
For Ubuntu Intrepid (8.10):
Code:
deb http://wine.budgetdedicated.com/apt intrepid main #WineHQ - Ubuntu 8.10 "Intrepid Ibex"
For Ubuntu Hardy (8.04):
Code:
deb http://wine.budgetdedicated.com/apt hardy main #WineHQ - Ubuntu 8.04 "Hardy Heron"
Next Download Scott Riche's GPG key here by right clicking and hitting save as... (He is the maintainer of the Ubuntu Wine Repositories)
You'll need to pay careful attention to where the .gpg file is saved as you'll need to navigate to it.
Next you need to actually import the .gpg key file you just downloaded. You've most likely saved the .gpg to your home directory so just navigate to it by clicking "File System" then clicking home > your user name > then the .gpg file.
You'll notice the red highlighted area in the picture above, that line is added if you correctly imported the key (minus the red highlighting I added)
At this point you can hit close on everything, even Synaptic itself.
Open a Terminal ( Accessories > Terminal )
Update your sources list
Code:
sudo apt-get update
Then install Wine!
Code:
sudo apt-get install wine
The beauty of this is that Wine will self update and wont require you to do any fancy compiling every time it's updated. You'll be updated to the latest build any time it's pushed out.
Now, the fancy part that you may need to do in order to make some games run.
Still in the terminal type the following to get Winetricks
Code:
wget http://www.kegel.com/wine/winetricks
This next part I must caution anyone using is restricted only to people who own copies of any version of Windows, as it relies on software that is copyrighted by Microsoft. So if you legally own ANY version of Windows your fine.
Code:
sudo apt-get install cabextract
Code:
sh winetricks vcrun6 allfonts allcodecs dotnet11 dotnet20 directx9 comctl32 comctl32.ocx fontfix mfc40 mfc42 msls31 ole2 pdh urlmon wininet native_mdac
You'll have to set through a long line of windows EULA'S where you sell your soul to Microsoft forever and agree that you have a License of Windows basically. Accept them and just click next and Finish. don't mess with any of the settings as the defaults work fine for all of them. Even the install paths.
After that, for most game you can just install them like you normally do in Windows, using the CD's and standard installers.
If you need to check if a program works, or you are having issues with a game in particular head over to the Wine AppDB and do a search for the game. Most have how-to's. If anyone still cant figure out how to get a game going feel free to reply here or PM me.
If you don't use Ubuntu Linux you can see specific Wine instructions here.
I have the following games running on Ultra High settings at ~60+FPS
- Fallout 3
- Spore
- Left 4 Dead
- Counter Strike: Source
- Half-Life 2
- Garry's Mod
- The Elder Scrolls: Oblivion
- The Elder Scrolls: Morrowind
- World of Warcraft
- Guild Wars
- City of Heroes
- Starcraft
TIP: Pulse audio wrapper
I learned about this recently from a freind.
If you are having the common issue that you can't listen to music or watch videos with sound while a WINE game is running append "padsp" before wine calls to wrap the wine program in a pulse audio wrapper. This let's it play nice with other Linux apps. I have no clue why this isn't implemented by default in Wine, but it works, and it works GREAT.
This is how I launch steam so all my steam apps are in the wrapper:
Code:
padsp wine /home/caedis/games/Steam/Steam.exe
All benchmarks pertain to my Sig Rig. This is the first set of benchmarks I'll be posting. Once I have my dual terrabyte array I'll install windows on my old (Current) 300GB hard drive and run benchmarks of a few popular Windows games that have benchmarking software built in. (Like Source games and a few others)
For directions on how to install and use this benchmark, click here
A word on GPU Manufacturers
While great strides have been made on the GPU drivers side most Linux Gamers agree that at this time ATi is lackluster in comparison to Nvidia's support. I personally know a few friends that attempted to install Ubuntu using the same methods I described above and were experiencing crashes and artifacts sporadically while playing games that my Lower powered Nvidia GPU had no issues with. ATi has made their drivers open source but that doesn't help when no one is there to develop them. Whereas one can easily download the Nvidia drivers directly from their site and quickly install them without problems. So at this time if you have the option, avoid ATi for Linux gaming as you'll be getting less than positive results.
Links:
- If you do have Nvidia, I invite you to check out my Guide on Overclocking Nvidia GPU's in Linux.
- List of FLOSS Games for Native Linux
- My Handy Ubuntu Setup Script that does most of this in 2 clicks.
Original excerpts from this thread located on my blog at Caedis.net
Last edited: