Overclock.net › Forums › Video Games › PC Gaming › Linux Gaming › [OFFICIAL] Linux Gamers Club
New Posts  All Forums:Forum Nav:

[OFFICIAL] Linux Gamers Club - Page 15

post #141 of 1003
Quote:
Originally Posted by xeekei View Post

I've turned a bit dirty. I installed StarCraft 2 via Wine. tongue.gif

A bit of a problem though; the game runs without any problems. Apart from one thing: very low performance. I get about 10 FPS on Ultra, and no more than 20 FPS on Low. This is unplayable. Do anyone have any experience with this? My system is in my sig.

Open source radeon drivers or the catalyst drivers? If running with catalyst drivers is still slow try running the game with rgl.so as outlined in my post here (it's for WoW but almost all games should work with it, note that DirectX only games with translated calls will be prone to crashing, where as OpenGL games will be fine. SC2 has no OpenGL render engine built in. I've not had any problems with SC2 besides the occasional audio related lockup (which comes from my overly convoluted audio configuration - I really should just disable a few audio devices, but I'm not sure how - since two of them are built into my graphic's card and the other I use only the optical port on... sigh)

Also, WINEDEBUG=-all can provide large performance gains due to the amount of verbosity WINE usually has. If you find it is still at a undesirable level of performance with rgl.so in your preloads - try adding libpthread.so.0 and libGL.so.1 to the preload list (you may have to change those to match the versions installed on your system, but those symlinks should exist anyways - you could also compile some special versions of these binaries with SC2 specific patches implementing malloc and such, but its more important that the libraries are loaded prior to the game's execution starting due to sync issues and race condition type events occuring) so the line to start SC2 would become:
Code:
LD_PRELOAD="libpthread.so.0 libGL.so.1 rgl.so" WINEDEBUG=-all wine /path/to/sc2.exe
Note: rgl.so should be preloaded LAST. Furthermore, you should avoid the launcher except for updates - it tends to leave garbage in memory down the road since WINE sometimes has trouble cleaning up after itself.

I miss Linux.

Edit: it's important to note that RGL "shouldn't" work with d3d modes, but it "should" because the calls are being translated on the fly. If it doesn't let me know - I'd be interested, haven't had an ATi chip, so RGL has been nullified for me by __GL_THREADED_OPTIMIZATIONS=1 which is nvidia only.
Edited by Xaero252 - 9/6/13 at 4:23am
    
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 #142 of 1003
Quote:
Originally Posted by Xaero252 View Post

Quote:
Originally Posted by xeekei View Post

I've turned a bit dirty. I installed StarCraft 2 via Wine. tongue.gif

A bit of a problem though; the game runs without any problems. Apart from one thing: very low performance. I get about 10 FPS on Ultra, and no more than 20 FPS on Low. This is unplayable. Do anyone have any experience with this? My system is in my sig.

Open source radeon drivers or the catalyst drivers? If running with catalyst drivers is still slow try running the game with rgl.so as outlined in my post here (it's for WoW but almost all games should work with it, note that DirectX only games with translated calls will be prone to crashing, where as OpenGL games will be fine. SC2 has no OpenGL render engine built in. I've not had any problems with SC2 besides the occasional audio related lockup (which comes from my overly convoluted audio configuration - I really should just disable a few audio devices, but I'm not sure how - since two of them are built into my graphic's card and the other I use only the optical port on... sigh)

Also, WINEDEBUG=-all can provide large performance gains due to the amount of verbosity WINE usually has. If you find it is still at a undesirable level of performance with rgl.so in your preloads - try adding libpthread.so.0 and libGL.so.1 to the preload list (you may have to change those to match the versions installed on your system, but those symlinks should exist anyways - you could also compile some special versions of these binaries with SC2 specific patches implementing malloc and such, but its more important that the libraries are loaded prior to the game's execution starting due to sync issues and race condition type events occuring) so the line to start SC2 would become:
Code:
LD_PRELOAD="libpthread.so.0 libGL.so.1 rgl.so" WINEDEBUG=-all wine /path/to/sc2.exe
Note: rgl.so should be preloaded LAST. Furthermore, you should avoid the launcher except for updates - it tends to leave garbage in memory down the road since WINE sometimes has trouble cleaning up after itself.

I miss Linux.

Edit: it's important to note that RGL "shouldn't" work with d3d modes, but it "should" because the calls are being translated on the fly. If it doesn't let me know - I'd be interested, haven't had an ATi chip, so RGL has been nullified for me by __GL_THREADED_OPTIMIZATIONS=1 which is nvidia only.

Yes, I use catalyst (catalyst-hook to be precise). Should I download the regular rgl.so? Since SC2 is installed as a 32-bit application?

Also, since Windows has this brilliant idea of having spaces in paths, it's kinda hard to launch "StarCraft II.exe" which is located in ./Program Files (x86)/StarCraft II , or am I doing it wrong?

EDIT: Found out how to launch a path with spaces. I've tried both the rgl.so and the rgl64.so. All I get is ths: "ERROR: ld.so: object 'rgl64.so' from LD_PRELOAD cannot be preloaded: ignored." Same thing with the non-64 rgl.so.
Edited by xeekei - 9/6/13 at 10:08am
post #143 of 1003
After some hard work, long nights and pulling half my hair out from frustration with my own mistakes. I finally put together an arch installation on my desktop. Results are brilliant. I use XFCE as my DE, and haven't really mucked around with that part too much.

It's frustrating but I had to go with non-free drivers. But ah well. It's working and I can play sc2 and EVE no problem.

To any linux nubs that contemplate installing arch. It's great. And not too tough. The documentation and archwiki are excellent. But it's a lot of information. It is entirely possible to do it without asking at forums. If it doesn't work. It is you who made a doo-doo. An aspect I particularly liked. And the AUR is simply amazing. I love it!
post #144 of 1003
Quote:
Originally Posted by iPatch View Post

After some hard work, long nights and pulling half my hair out from frustration with my own mistakes. I finally put together an arch installation on my desktop. Results are brilliant. I use XFCE as my DE, and haven't really mucked around with that part too much.

It's frustrating but I had to go with non-free drivers. But ah well. It's working and I can play sc2 and EVE no problem.

To any linux nubs that contemplate installing arch. It's great. And not too tough. The documentation and archwiki are excellent. But it's a lot of information. It is entirely possible to do it without asking at forums. If it doesn't work. It is you who made a doo-doo. An aspect I particularly liked. And the AUR is simply amazing. I love it!

How did you get SC2 working? What graphics card do you have?
post #145 of 1003
Out of the box it worked with wine. Gtx 680 ti boost. Every ~10 secs it chokes down to 30fps. It only lasts for about a second. But I'll see if I can't fix it.
Edited by iPatch - 9/6/13 at 2:40pm
post #146 of 1003
Feels like all my Linux problems would be solved if I just bit the bullet and switched to Nvidia. :/
post #147 of 1003
Quote:
Originally Posted by xeekei View Post

Feels like all my Linux problems would be solved if I just bit the bullet and switched to Nvidia. :/
Gad no, I switched from Nvidia to ATI because I heard it was better with Linux, now I'm hearing the opposite mad.gif
ASUS-Matrix-One
(8 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX4100 ASUS M5A78L M LX Sapphire Radeon HD7750 Ultimate Kingston HyperX 
CoolingOSCaseOther
Be Quiet Dark Rock Advanced Linux Mint 17 Qiana86_ 64bit KDE Silverstone Temjin TJ08-E Phobya G Silent 18 700rpm 
  hide details  
Reply
ASUS-Matrix-One
(8 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX4100 ASUS M5A78L M LX Sapphire Radeon HD7750 Ultimate Kingston HyperX 
CoolingOSCaseOther
Be Quiet Dark Rock Advanced Linux Mint 17 Qiana86_ 64bit KDE Silverstone Temjin TJ08-E Phobya G Silent 18 700rpm 
  hide details  
Reply
post #148 of 1003
Quote:
Originally Posted by Indigo340 View Post

Quote:
Originally Posted by xeekei View Post

Feels like all my Linux problems would be solved if I just bit the bullet and switched to Nvidia. :/
Gad no, I switched from Nvidia to ATI because I heard it was better with Linux, now I'm hearing the opposite mad.gif

It depends on what drivers you use. If you are a free software enthusiast and only use the FOSS drivers, then yes, AMD is the obvious choice. It is, however, the opposite situation when it comes to the proprietary drivers. The proprietary drivers also offer more features and performance (at least as of right now).
post #149 of 1003
FOSS ? I have no idea what that is, I have Catalyst but it's not very friendly with KDE, some settings don't seem to work but I don't care about them very much. My pc is far better with a 7750 instead of a Geforce 610. Smoother, and more responsive but less control.
ASUS-Matrix-One
(8 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX4100 ASUS M5A78L M LX Sapphire Radeon HD7750 Ultimate Kingston HyperX 
CoolingOSCaseOther
Be Quiet Dark Rock Advanced Linux Mint 17 Qiana86_ 64bit KDE Silverstone Temjin TJ08-E Phobya G Silent 18 700rpm 
  hide details  
Reply
ASUS-Matrix-One
(8 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX4100 ASUS M5A78L M LX Sapphire Radeon HD7750 Ultimate Kingston HyperX 
CoolingOSCaseOther
Be Quiet Dark Rock Advanced Linux Mint 17 Qiana86_ 64bit KDE Silverstone Temjin TJ08-E Phobya G Silent 18 700rpm 
  hide details  
Reply
post #150 of 1003
FOSS is Free and Open Source Software. A term used to avoid the small "war" between "open source software" and "free software" I believe.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux Gaming
Overclock.net › Forums › Video Games › PC Gaming › Linux Gaming › [OFFICIAL] Linux Gamers Club