Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix

Reply
 
LinkBack Thread Tools
Old 05-07-09   #1 (permalink)
PC Gamer
 
Caedis's Avatar
 
intel nvidia

Join Date: May 2009
Location: Texas
Posts: 177

Rep: 65 Caedis is acknowledged by some
Unique Rep: 55
Trader Rating: 0
Cool How-to: Linux Gaming Explained

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.


Click to enlarge

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.


Click to enlarge



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
And once that's installed
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:
FAQ:
Quote:
Originally Posted by TestECull View Post
Also, needs moar fullscreen. If it will run in fullscreen, as it does in Windows, please add this + screenshots to the OP. Idunno about you, but the one thing more distracting than griefers is seeing half your desktop to the right...makes me want to shoot my icons, mistaking them for targets, and often miss things...blarg.
I didn't use fullscreen pics simply because I would have been accused of getting windows screenshots. When the game is fullscreen you cant tell it's running on Linux, however if I put them to windowed mode you can see the Linux desktop.



Original excerpts from this thread located on my blog at Caedis.net

System: Nova II
CPU
Core i5-750 Lynnfield
Motherboard
ASUS P7P55D Deluxe
Memory
Mushkin Enhanced Blackline 4GB (2 x 2GB)
Graphics Card
XFX 9800 GTX+ / GTS 250
Hard Drive
300GB WD SATA
Power Supply
700W
Case
Coolermaster HAF 932
CPU cooling
Liquid Cooled
GPU cooling
Stock
OS
Ubuntu 9.10, Win 7
Monitor
19" Rosewill + 40" Sony HDTV w/ DVI in

Last edited by Caedis : 06-11-09 at 02:35 PM Reason: Pulse audio wrapper tip
Caedis is offline   Reply With Quote
Old 05-07-09   #2 (permalink)
PC Gamer
 
AIpha's Avatar
 
amd nvidia

Join Date: Nov 2008
Location: Kentucky
Posts: 1,225

Rep: 76 AIpha is acknowledged by some
Unique Rep: 65
Trader Rating: 3
Default

Very nice, +1
__________________
I'm part of the <false percentage here> that listens to rap.

System: Coldstorm
CPU
Phenom 920@3.8GHz
Motherboard
GIGABYTE GA-MA790X-UD4
Memory
G Skill 2x2(4gb) DDR2-800
Graphics Card
XFX GTX 260 Core 216
Hard Drive
500gb Seagate Barracuda 7200.12
Sound Card
Onboard
Power Supply
OCZ StealthXStream 600w
Case
CoolerMaster Storm Sniper BE
CPU cooling
Zigmatek S1283 Dark Knight
GPU cooling
Stock
OS
Windows 7 Home Premium 64x
Monitor
20' Acer x203Wbd
AIpha is offline   Reply With Quote
Old 05-07-09   #3 (permalink)
4.0 GHz
 
heelsparky0501's Avatar
 
intel ati

Join Date: Apr 2008
Location: Southington, Ct
Posts: 1,211

Rep: 95 heelsparky0501 is acknowledged by some
Unique Rep: 87
Trader Rating: 15
Default

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:
Originally Posted by DarkNite View Post
Yeah I thought you were going to say your brother was "lapping his pole". Y'know

System: Tar Baby
CPU
Q6600 1.325vid @ 3.8
Motherboard
Asus P5Q Deluxe P45
Memory
4Gb Corsair XMS2 DHX
Graphics Card
XFX 4870X2
Hard Drive
250GB Seagate Barracuda Sata II
Sound Card
ASUS Xonar DX Pcie
Power Supply
Seventeam 750 Modular
Case
Antec 1200
CPU cooling
D-Tek Fuzion v2
GPU cooling
Stock
OS
Windows 7 Ultimate x64 RC
Monitor
22in ASUS VH226H 1080P
heelsparky0501 is offline   Reply With Quote
Old 05-07-09   #4 (permalink)
Linux Lobbyist
 
thiussat's Avatar
 
amd nvidia

Join Date: Apr 2008
Location: USA
Posts: 1,213

Rep: 186 thiussat is acknowledged by manythiussat is acknowledged by many
Unique Rep: 130
Trader Rating: 0
Default

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.
__________________


"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

System: Windows Immune
CPU
X2 4000+ Brisbane@2.8 GHZ
Motherboard
Gigabyte GA-M57SLI-S4
Memory
1x2 GB Corsair XMS2 PC6400
Graphics Card
Geforce 8400GS
Hard Drive
WD5000AAKS 500GB SATA
Sound Card
Soundblaster Live! 5.1
Power Supply
Xclio X14-S4P3 500W
Case
NZXT Lexa Blackline
CPU cooling
Rosewill RCX-Z940-LX (lapped)
OS
Gentoo X86_64
Monitor
Asus VH242 24" 1920x1080p
thiussat is offline   Reply With Quote
Old 05-07-09   #5 (permalink)
Overclocked and Underpaid
 
losttsol's Avatar
 
intel nvidia

Join Date: Feb 2007
Location: Virginia
Posts: 4,553

Rep: 353 losttsol is a proven memberlosttsol is a proven memberlosttsol is a proven memberlosttsol is a proven member
Unique Rep: 297
Hardware Reviews: 3
Trader Rating: 15
Default

Remarkably close to spam, but ???? Looks like one of those video encoder come-ons. And of course being OCN, we want FPS comparison benches.
__________________

System: Low Tide
CPU
Q9650 @ 4.3GHz 1.36v
Motherboard
Asus Rampage Formula X48
Memory
G. Skill 2x2GB PC2 8500
Graphics Card
EVGA GTX 295 Plus
Hard Drive
150GB Raptor X + 320GB Barracuda
Sound Card
X-Fi XtremeGamer
Power Supply
Corsair TX850W
Case
Lian Li Armorsuit PC-P50
CPU cooling
D-Tek FuZion v1, MCR320-QP, MCP655
GPU cooling
Stock Fan + Backplate
OS
Windows 7 Ultimate RC
Monitor
Acer 22" AL2223Wd
losttsol is offline Overclocked Account losttsol's Gallery   Reply With Quote
Old 05-07-09   #6 (permalink)
OJX
Meow
 
OJX's Avatar
 
intel ati

Join Date: Aug 2005
Location: Oakville, Canada
Posts: 3,082

Rep: 289 OJX is a proven memberOJX is a proven memberOJX is a proven member
Unique Rep: 206
FAQs Submitted: 3
Hardware Reviews: 1
Trader Rating: 8
Default

Quote:
Originally Posted by thiussat View Post
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.
__________________


System: Cool n' Quiet
CPU
E8400 @ 3.6GHz
Motherboard
Asus P5B
Memory
2x2 G.Skill
Graphics Card
HD3870 840|2402
Hard Drive
320GB Seagate
Sound Card
X-Fi Xtreme Gamer
Power Supply
Earthwatts 500w
Case
Antec 300
CPU cooling
AC Freezer 7
GPU cooling
Accelero Passive
OS
Vista SP2 x64
Monitor
LG Flatron 20.1"
OJX is offline Overclocked Account   Reply With Quote
Old 05-07-09   #7 (permalink)
PC Gamer
 
Caedis's Avatar
 
intel nvidia

Join Date: May 2009
Location: Texas
Posts: 177

Rep: 65 Caedis is acknowledged by some
Unique Rep: 55
Trader Rating: 0
Default

Quote:
Originally Posted by thiussat View Post
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.
"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."

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:
Originally Posted by losttsol View Post
Remarkably close to spam, but ???? Looks like one of those video encoder come-ons. And of course being OCN, we want FPS comparison benches.
Glad to know a post that took 2-3 hours to pull together with graphics and step-by-step instructions is considered spam.



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.

System: Nova II
CPU
Core i5-750 Lynnfield
Motherboard
ASUS P7P55D Deluxe
Memory
Mushkin Enhanced Blackline 4GB (2 x 2GB)
Graphics Card
XFX 9800 GTX+ / GTS 250
Hard Drive
300GB WD SATA
Power Supply
700W
Case
Coolermaster HAF 932
CPU cooling
Liquid Cooled
GPU cooling
Stock
OS
Ubuntu 9.10, Win 7
Monitor
19" Rosewill + 40" Sony HDTV w/ DVI in

Last edited by Caedis : 05-08-09 at 11:35 AM
Caedis is offline   Reply With Quote
Old 05-07-09   #8 (permalink)
4.0ghz
 
NrGx's Avatar
 
intel nvidia

Join Date: Jun 2006
Posts: 6,837

Rep: 484 NrGx is a proven memberNrGx is a proven memberNrGx is a proven memberNrGx is a proven memberNrGx is a proven member
Unique Rep: 391
FAQs Submitted: 3
Hardware Reviews: 1
Trader Rating: 4
Default

Good post mate. I don't use linux, but a healthy guide none-the-less.
__________________
Q9550 @ 4.0GHz

System: Summer '09
CPU
Q9550 E0 @ 3.53 [1.25v]
Motherboard
GA-EP45-UD3R [NB:1.2v][VTT:1.26v]
Memory
4GB OCZ Platinum DDR2-800 @ 942 [5-4-5-15]
Graphics Card
XFX GTX 260 [Core: 621]
NrGx is offline Overclocked Account   Reply With Quote
Old 05-07-09   #9 (permalink)
Graphics Card Aficionado
 
Error 404's Avatar
 
amd ati

Join Date: Sep 2008
Posts: 958

Rep: 84 Error 404 is acknowledged by some
Unique Rep: 76
Trader Rating: 4
Default

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.


4850 at 720 core/1100 mem - 1.2vGPU
3.5GHz Unlocked @ 1.42VCore Stable so far

Project: Sruth de athrú - An un-decided and slow-moving techstation project.

System: Baby Dragon
CPU
Phenomnom II 720 BE Unlocked.
Motherboard
GA-MA790XT-UD4P
Memory
2x1 GB Crucial "Value" D9JNL
Graphics Card
MSI R4850 512 MB
Hard Drive
500GB 'Cuda/40GB WD/20GB 'Cuda
Sound Card
Onboard
Power Supply
OCZ StealthXStream 600W
Case
CM 690
CPU cooling
AMD 4-heat pipe cooler + IC7
GPU cooling
Stock with shroud removed + IC7
OS
Windows 7 RC x64/Ubuntu 9.04 x64
Monitor
Samsung 2343BWX High Density
Error 404 is offline   Reply With Quote
Old 05-07-09   #10 (permalink)
PC Gamer
 
Caedis's Avatar
 
intel nvidia

Join Date: May 2009
Location: Texas
Posts: 177

Rep: 65 Caedis is acknowledged by some
Unique Rep: 55
Trader Rating: 0
Default

Quote:
Originally Posted by NrGx View Post
Good post mate. I don't use linux, but a healthy guide none-the-less.
Thanks!

- - - - - - - - - - - - - - - - - - - - -
Posted from my Blackberry

System: Nova II
CPU
Core i5-750 Lynnfield
Motherboard
ASUS P7P55D Deluxe
Memory
Mushkin Enhanced Blackline 4GB (2 x 2GB)
Graphics Card
XFX 9800 GTX+ / GTS 250
Hard Drive
300GB WD SATA
Power Supply
700W
Case
Coolermaster HAF 932
CPU cooling
Liquid Cooled
GPU cooling
Stock
OS
Ubuntu 9.10, Win 7
Monitor
19" Rosewill + 40" Sony HDTV w/ DVI in

Last edited by Caedis : 05-08-09 at 09:45 AM
Caedis is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 02:08 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.16539 seconds with 9 queries