Overclock.net › Forums › Video Games › PC Gaming › Linux Gaming › [Linux] Game Specific Performance Tweaks (unofficial)
New Posts  All Forums:Forum Nav:

[Linux] Game Specific Performance Tweaks (unofficial)

post #1 of 14
Thread Starter 
Xaero252's Linux Game Specific Tweaks Thread

Purpose:
Catalog settings, tweaks, hacks, workarounds, and patches for playing games in Wine with optimal performance. Providing an quick reference to make games easier to install for new users and veterans alike, without having to dig through outdated information to find a working method.

Why not just use the AppDB?
The Wine AppDB is a great resource, unfortunately often pages are left out of date, are incomplete or don't include some 3rd party additions or tweaks that aren't supported directly by WineHQ.

Sounds good, but how do you plan to catalog all games?
I don't, I couldn't possible go out there and purchase/test every single title from menu to credits on my own. I'm hoping to turn this into another OCN-powered community project. Basically, I expect users to do the same thing they do with overclocking results in the SuperPi threads and other such clubs. I myself will of course provide settings and tweaks for games I get working, starting with the second post in this thread.

Game ______ works flawlessly and on par/superior to Windows with no tweaks, should I post this?
Sure, I don't see a reason why this can't be allowed.

Game ______ doesn't work at all, no matter what you do, due to a missing feature or bug in Wine do I post this?
Yes of course! However, be certain that the game positively won't work, and if possible post any related Wine bug reports.

I have an application that needs a lot of tweaks or settings to get working, but its not a game should I post that here?
Unfortunately, I'd like to keep this thread specifically games for now. I might change my mind on that down the road, or start a separate thread.

What format should my post be in?
Well, for ease of reading, and to keep things uniform, and simple; I suggest using the following format:
Code:
[b]Title:[/b] Game Name Here
[b]Compatibility:[/b] (Perfect/Playable/Slow/In-Game/Glitches/Crashes/Menu/Nothing)
[b]Issues:[/b] List of known issues.
[b]Tweaks:[/b]
Any and all required/optional tweaks to get the game running well/perfectly. This can include scripts, wine patches, game settings, registry edits, workarounds and winetricks, this should be the bulk of your post.


And without further adieu, the list (although currently only two games):

Games
  • Massively Multiplayer Online Games
  • First Person Shooters
  • Platformers
  • Action/Adventure
  • Role Playing Games
  • Real Time Strategy

Edited by Xaero252 - 12/16/12 at 11:23pm
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
post #2 of 14
Thread Starter 
Title: World of Warcraft (Current Release)
Compatibility: Nearly-Pefect
Issues: Graphics card detection isn't perfect, some settings unavailable using OpenGL due to outdated OpenGL backend, rare crashes, occasional shadow glitches. Wine logging causes performance issues due to mass quantity of debug information.
Tweaks:


General Tweaks:
  • Preferably start with a clean wine prefix, this is not required.
  • First use winetricks to install all required packages for proper gameplay:
    Code:
    winetricks vcrun2005sp1 ie8 flash d3dx9
    
  • This should be sufficient to get the launcher working pretty, and the game starting let me know if I missed anything.
  • Install the game client using the official installer, or copy from an existing Windows installation.
  • nvidia users can choose to use either OpenGL or Direct3d, without much impact in performance either way, due to threaded optimizations being included in 310+ drivers.
  • ATi users are strongly encouraged to use OpenGL mode and the rgl library for optimal performance
  • In-game settings are largely dependent on your computer's specifications, and are generally up to you, however it is important to note that Vertical Sync is known to cause issues, and that the highest option for Shadows requires a very powerful computer due to its poor implementation, this issue is not Linux-specific.

nvidia specific tweaks:
  • I strongly encourage the use of a game-startup script, which allows you to enable driver-specific optimizations, and quickly launch the game.
    playwow.sh:
    Code:
    __GL_THREADED_OPTIMIZATIONS=1 WINEDEBUG=-all wine wow-64.exe
    
  • DirectX 9 works very well in our case, however OpenGL is more stable, the choice is yours. To force OpenGL mode add "-opengl" to the end of the line of code above. 32-bit users should use the 32-bit binary instead.

ATi specific tweaks:
  • ATi users should use the OpenGL backend and the RGL library to force threaded optimizations. DirectX 9 will still work, and turning off wine debugging when using DX9 will allow for acceptable performance, however the game will be far less stable.
  • To use rgl, you need to download rgl.so from here: http://www.aewi.info/rgl/ Pick the correct version for your system, i.e. Intel 64-bit users should use the 64-bit intel optimized binary, where amd 32-bit users should select the regular rgl.so download. Place the downloaded file in your base wow directory, alongside wow.exe and wow-64.exe
  • I strongly encourage the use of a game-startup script, which allows you to load the RGL library, and quickly launch the game.
    playwow.sh:
    Code:
    cd /path/to/wow
    LD_PRELOAD=rgl.so WINEDEBUG=-all wine wow-64.exe -opengl
    
  • Be certain to update the above script based on your system configuration, replacing rgl.so with the library for your particular configuration, and to rn wow instead of wow-64 if you are on a 32-bit system, keep in mind linux is case sensitive, so you may need to change the capitalization depending on your installation.
  • If you choose to experiment with DirectX 9, remove "LD_PRELOAD=rgl.so" AND "-opengl", but expect crashing, and potential graphical errors.
  • The same advisory about known performance issues with Vertical Sync and the highest shadow option applies equally to ATi and nvidia users.

Registry Edits


Game Issues potentially unrelated to Wine:
  • Rapid zoning can cause crashes and disconnects, this seems to have started happening since cross-realm zones were implemented.
  • Shader and Particle effects sometimes go missing. Same with stickers, i.e. Ice Barrier, ground effects, priest bubbles.
  • Reloading the interface during rated arena matches will cause your action bar buttons and keybinds to disappear until you encounter a loading screen this affects both Windows and Linux.
  • Poor camera clipping causes you to be able to see through walls and buildings in different areas occasionally, this occurs both on Windows and Linux.

Edit: Updated to correct a mistake on the ATi guide; if using DX you cannot use the RGL library as it hooks opengl, the game will not start if you just remove -opengl, you must also remove the RGL preload.
Edited by Xaero252 - 12/24/12 at 12:27pm
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
post #3 of 14
Thread Starter 
Title: Battlefield 3
Compatibility: Menus
Issues: Game cannot start, due to lack of full DX10 support and bcrypt emulation.
Tweaks:
It is possible to install the game, and you can add the DirectX 10 and 11 files via winetricks and copy bcrypt and its dependency dll's (API-MS-Win-Security-Base-L1-1-0.dll and API-MS-Win-Core-ProcessThreads-L1-1-0.dll) and add them via winecfg, which may be able to actually get the game to start. So far the farthest anybody has gotten is for the game to error out on bcrypt instead of DX10/11 which is strong evidence that you could get the game working via wine soon. The Battlelog works fine, and the browser plugin correctly detects the presence of the game and attempts to launch it. Its close, but still a ways away from working.
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
post #4 of 14
I'll have to try the WoW when I get time this week. You might have posted the thing I need to keep me out of MS as often as I am.
Hecate
(10 items)
 
Frejya
(7 items)
 
 
CPUMotherboardGraphicsRAM
i5 3570k z77-v pro EVGA GeForce GTX670 FTW+ 4096MB Samsung MV-3V4G3D 
Hard DriveHard DriveKeyboardPower
Samsung 830 WD Blue 1 TB Ducky Shine II Pc Power and cooling 
CaseMouse
Switch 810 Gun-Metal Corsair M90 
CPUMotherboardGraphicsRAM
AMD Phenom II X4 940 M4A79 Deluxe NVIDIA GeForce 9800 GTX/9800 GTX+ Corsair  
OSKeyboardCase
Windows XP64 MS Natural Ergonomic Cooler Master CM Stacker 830 
  hide details  
Reply
Hecate
(10 items)
 
Frejya
(7 items)
 
 
CPUMotherboardGraphicsRAM
i5 3570k z77-v pro EVGA GeForce GTX670 FTW+ 4096MB Samsung MV-3V4G3D 
Hard DriveHard DriveKeyboardPower
Samsung 830 WD Blue 1 TB Ducky Shine II Pc Power and cooling 
CaseMouse
Switch 810 Gun-Metal Corsair M90 
CPUMotherboardGraphicsRAM
AMD Phenom II X4 940 M4A79 Deluxe NVIDIA GeForce 9800 GTX/9800 GTX+ Corsair  
OSKeyboardCase
Windows XP64 MS Natural Ergonomic Cooler Master CM Stacker 830 
  hide details  
Reply
post #5 of 14
Thread Starter 
Quote:
Originally Posted by zflamewing View Post

I'll have to try the WoW when I get time this week. You might have posted the thing I need to keep me out of MS as often as I am.

I've been playing WoW on Linux for about 5 years now, and my entire hardcore raiding "career" was on Linux. Stability was premium for most of it. Now its even better than it ever has been, and performance and graphics are on-par with Windows, often times superior (I get ~120fps on my sig rig on Linux, while on Windows I chug at ~58-85fps) I may have missed some Winetricks, but it should work.
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
post #6 of 14
I would be really excited to see bf3 working bro. It's the last thing left from me having all but 2 windows machines in the house.
Skylake Work Box
(11 items)
 
   
CPUMotherboardGraphicsRAM
i3 6100 ASRock H170M-ITX/DL LGA 1151 MSI 970 Gaming Ballistix Sport LT 8GB 288-Pin DDR4  
Hard DriveCoolingOSMonitor
Samsung 850  Cooler Master GeminII M4 *nix, Windows 10 BenQ 32"  
PowerCaseAudio
Corsair 430 Cooler Master Elite 130 Schitt Stack modi/magni 
CPUMotherboardRAMHard Drive
Intel i3 4130 Supermicro MBD-SLL-F-O uATX Crucial CT102472BD160B jbods 
OSMonitorPowerCase
FreeNAS IPMI Seasonig G Series SSR-450  Fractal Design R4 
  hide details  
Reply
Skylake Work Box
(11 items)
 
   
CPUMotherboardGraphicsRAM
i3 6100 ASRock H170M-ITX/DL LGA 1151 MSI 970 Gaming Ballistix Sport LT 8GB 288-Pin DDR4  
Hard DriveCoolingOSMonitor
Samsung 850  Cooler Master GeminII M4 *nix, Windows 10 BenQ 32"  
PowerCaseAudio
Corsair 430 Cooler Master Elite 130 Schitt Stack modi/magni 
CPUMotherboardRAMHard Drive
Intel i3 4130 Supermicro MBD-SLL-F-O uATX Crucial CT102472BD160B jbods 
OSMonitorPowerCase
FreeNAS IPMI Seasonig G Series SSR-450  Fractal Design R4 
  hide details  
Reply
post #7 of 14
Linux is so much better cannot wait to see bf3,csgo,etc !
9143
(16 items)
 
  
CPUMotherboardGraphicsRAM
i5 6600k 1.22V 4.7Ghz OC AIR 59C load ASUS Z170-A Gigabyte 7870 1100/1200 OC Crucial Sport 8GB 2400 
Hard DriveOSMonitorPower
BX100 250GB Windows 10 64 bit Anti Beacon Asus VH242H Supernova 550 Evga 
CaseMouseMouse PadAudio
Corsair Air 540 Logitech G400 A black one Cyber Acoustics Speakers 
AudioAudio
Scarlett 2i2 Status HD headphones 
  hide details  
Reply
9143
(16 items)
 
  
CPUMotherboardGraphicsRAM
i5 6600k 1.22V 4.7Ghz OC AIR 59C load ASUS Z170-A Gigabyte 7870 1100/1200 OC Crucial Sport 8GB 2400 
Hard DriveOSMonitorPower
BX100 250GB Windows 10 64 bit Anti Beacon Asus VH242H Supernova 550 Evga 
CaseMouseMouse PadAudio
Corsair Air 540 Logitech G400 A black one Cyber Acoustics Speakers 
AudioAudio
Scarlett 2i2 Status HD headphones 
  hide details  
Reply
post #8 of 14
Quote:
Originally Posted by adamkatt View Post

Linux is so much better cannot wait to see bf3,csgo,etc !
CS:GO actually works perfectly with wine, the only tweak needed(for me at least) was to change a mouse input setting.
Mini Build
(9 items)
 
   
CPUMotherboardGraphicsRAM
intel i7 4790k Asrock z97-e  Sapphire R9 290X G Skills 
Hard DriveCoolingOSOS
Samsung EVO  EK Water Blocks Windows 7 Debian  
Case
Bitfenix Mini Colossus  
CPUMotherboardGraphicsRAM
Intel i5-480M OEM Acer Nvidia GeForce GT 540M 4 GB DDR3 
Hard DriveOptical DriveOS
500 GB HDD DVD Drive Crunchbang Linux, Windows 7, BlackBuntu (triple... 
  hide details  
Reply
Mini Build
(9 items)
 
   
CPUMotherboardGraphicsRAM
intel i7 4790k Asrock z97-e  Sapphire R9 290X G Skills 
Hard DriveCoolingOSOS
Samsung EVO  EK Water Blocks Windows 7 Debian  
Case
Bitfenix Mini Colossus  
CPUMotherboardGraphicsRAM
Intel i5-480M OEM Acer Nvidia GeForce GT 540M 4 GB DDR3 
Hard DriveOptical DriveOS
500 GB HDD DVD Drive Crunchbang Linux, Windows 7, BlackBuntu (triple... 
  hide details  
Reply
post #9 of 14
Thread Starter 
Quote:
Originally Posted by nyxcharon View Post

CS:GO actually works perfectly with wine, the only tweak needed(for me at least) was to change a mouse input setting.

Thanks for the heads up, if I get a chance to pick it up I'll write an install guide following the format.
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
post #10 of 14
Is this only for games in Wine?

Because if not, TF2, Penumbra, Amnesia, and Killing Floor (and many others in Steam) can be added since they are Linux native and available on Steam. And I guess, if TF2 is becoming native, it would follow that their other source games (L4D2 in particular), meaning CS:GO, CS:S, and HL games/Garry's Mod will be ported too.

By the way I can't start the Linux native version of TF2 in Linux, can I ask about it here?
Servant of Sigmar
(11 items)
 
RedHax0r V2
(11 items)
 
 
CPUMotherboardGraphicsRAM
i7-7700K Gigabyte GA-Z270-HD3P Zotac GeForce GTX 1070 AMP Extreme 32GB Corsair Vengeance LPX 3000MHz 
Hard DriveHard DriveOptical DriveCooling
120GB Sandisk SSD 240GB ADATA SSD Samsung Be Quiet! Pure Rock Slim 
OSPowerCase
Windows 10 64 Bit Seasonic 520W Non-modular Aerocool Aero 800 white 
CPUMotherboardGraphicsRAM
R5 1500X Asus Prime B350 Plus Sapphire RX 480 Kingston HyperX Fury 16GB DDR4 2400MHz 
Hard DriveHard DriveOptical DriveCooling
120GB Sandisk SSD 1TB WD Blue Yes AMD Wraith Spire 
OSPowerCase
Windows 10 64 Bit Corsair CS430 Antec VSK 4000B 
  hide details  
Reply
Servant of Sigmar
(11 items)
 
RedHax0r V2
(11 items)
 
 
CPUMotherboardGraphicsRAM
i7-7700K Gigabyte GA-Z270-HD3P Zotac GeForce GTX 1070 AMP Extreme 32GB Corsair Vengeance LPX 3000MHz 
Hard DriveHard DriveOptical DriveCooling
120GB Sandisk SSD 240GB ADATA SSD Samsung Be Quiet! Pure Rock Slim 
OSPowerCase
Windows 10 64 Bit Seasonic 520W Non-modular Aerocool Aero 800 white 
CPUMotherboardGraphicsRAM
R5 1500X Asus Prime B350 Plus Sapphire RX 480 Kingston HyperX Fury 16GB DDR4 2400MHz 
Hard DriveHard DriveOptical DriveCooling
120GB Sandisk SSD 1TB WD Blue Yes AMD Wraith Spire 
OSPowerCase
Windows 10 64 Bit Corsair CS430 Antec VSK 4000B 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux Gaming
Overclock.net › Forums › Video Games › PC Gaming › Linux Gaming › [Linux] Game Specific Performance Tweaks (unofficial)