|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix | |
How-to: Linux Gaming Explained
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||||||||||||
|
PC Gamer
![]() |
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): Code:
deb http://wine.budgetdedicated.com/apt jaunty main #WineHQ - Ubuntu 9.04 "Jaunty Jackalope" 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 Code:
sudo apt-get install wine 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 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 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
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 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:
FAQ: Quote:
Original excerpts from this thread located on my blog at Caedis.net
__________________
How-to: Linux Gaming Explained | How-to: Nvidia Overclocking in Linux | How-to: Linux Temps and System Monitors How-to: Demystifying the Nvidia Driver
Last edited by Caedis : 06-11-09 at 02:35 PM Reason: Pulse audio wrapper tip |
|||||||||||||
|
|
|
|
|
#2 (permalink) | |||||||||||||
|
PC Gamer
![]() |
Very nice, +1
__________________
I'm part of the <false percentage here> that listens to rap.
|
|||||||||||||
|
|
|
|
|
#3 (permalink) | ||||||||||||||
|
4.0 GHz
![]() |
Cool, i never knew about this, this WAS one of the reasons why i never ran linux
hmmmmmm...
__________________
Q6600 1.325VID 4.0 ghz suicide (H2O) -1.675v xD http://valid.canardpc.com/show_oc.php?id=500919 4 GHz Overclock Club ![]() Quote:
|
||||||||||||||
|
|
|
|
|
#4 (permalink) | ||||||||||||
|
Linux Lobbyist
![]() |
Nice first post.
But, let me be fair. Not all games will run seamlessly in WINE. Yes, it's true that many games will run and that some games will even run faster in WINE than they do on native Windows, but if you are trying to say that all Windows games can be easily played in WINE, then you are being misleading.
__________________
Secure Your Network With Tomato Linux File Permissions HOWTO Secure Ubuntu With AppArmor"I can't bring myself to try Linux Mint because they keep naming the OS after ex-girlfriends or women I've had bad run ins with. Cassandra was a sexual harassing shift manager. And Felicia was a stalker who knew how to turn a good day into a hellish experience in 0-60." -- Anub1s from BBR forums
|
||||||||||||
|
|
|
|
|
#5 (permalink) | |||||||||||||
|
Overclocked and Underpaid
![]() |
Remarkably close to spam, but ???? Looks like one of those video encoder come-ons. And of course being OCN, we want FPS comparison benches.
__________________
|
|||||||||||||
|
|
|
|
#6 (permalink) | ||||||||||||||
|
Meow
![]() |
Quote:
|
||||||||||||||
|
|
|
|
#7 (permalink) | ||||||||||||||
|
PC Gamer
![]() |
Quote:
While I understand your concern that I'm being misleading I do state at the end that ATi has issues and if you are having problems with a game to contact me. I don't think anyone reading this would miss that point I was trying to make. It's not perfect, if it was i wouldn't have disclaimers at the bottom. Quote:
All in all I guess this is how OCN says "Welcome to the forums!" And thank you AIpha. I hope theres more people like you on this forum than the other 2 well wishers I've already met on my first post.
__________________
How-to: Linux Gaming Explained | How-to: Nvidia Overclocking in Linux | How-to: Linux Temps and System Monitors How-to: Demystifying the Nvidia Driver
Last edited by Caedis : 05-08-09 at 11:35 AM |
||||||||||||||
|
|
|
|
|
#8 (permalink) | |||||
|
4.0ghz
![]() |
Good post mate. I don't use linux, but a healthy guide none-the-less.
__________________
Q9550 @ 4.0GHz
|
|||||
|
|
|
|
#9 (permalink) | |||||||||||||
|
Graphics Card Aficionado
![]() |
I will admit it looks similar to some of the DVD ripper, video encoder, etc. ads we get here (except for the whole free/Linuz/WINE part...).
It taught me several useful things about WINE/My Ubuntu (8.10) install. Great guide (and excellent first post)! +:Thumb: ~Error Edit: You've got an E6600 listed as an "E660" in your rig, and you should consider adding some benchmarks (FPS), just to show the difference between WINE and native windows.
__________________
I'm not terribly active at the moment...I'm caught up in school and such, so you have my advance apology if I don't respond to a post/PM the way I usually do. Project: Sruth de athrú - An un-decided and slow-moving techstation project.
|
|||||||||||||
|
|
|
|
|
#10 (permalink) | |||||||||||||
|
PC Gamer
![]() |
Quote:
- - - - - - - - - - - - - - - - - - - - - Posted from my Blackberry
__________________
How-to: Linux Gaming Explained | How-to: Nvidia Overclocking in Linux | How-to: Linux Temps and System Monitors How-to: Demystifying the Nvidia Driver
Last edited by Caedis : 05-08-09 at 09:45 AM |
|||||||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|