• Hey, guest user. Hope you're enjoying NeoGAF! Have you considered registering for an account? Come join us and add your take to the daily discourse.

My Linux gaming experiment

Lagamorph

Member
So I've been experimenting a bit with Linux lately. This was born of a few things, a desire to get more involved with the Unix systems at work, plus wanting to pull the Windows 8 Pro license from my laptop and put it onto my desktop instead, so I thought I'd take the opportunity to test out Linux on a physical machine as well as just in VMs using Virtualbox.

I thought I'd try out the SteamOS on my laptop first of all, since it's based on Debian which is a distro I'm vaguely familiar with from past experimentation with Linux and my laptop is (whilst a good few years old now) a gaming laptop. Installation from a USB pen went fairly smoothly, no major issues or missing drivers for things like Network cards.
Booting up the OS brings you into Steam Big Picture mode which is, as you'd expect, identical to the same mode on the Windows version of Steam. From here you can list only games compatible with Linux/SteamOS to install, or Stream games from another machine running Steam, such as a gaming desktop, with these games automatically picked up, again, as you'd expect from the Windows version.
Attempting to switch to desktop mode though can best be described as 'clunky'. It's here that things start to come apart if you're planning on using a SteamOS machine as a more general purpose machine. The option to do so isn't enabled by default, so you have to change the settings within Steam to do so. Despite being based on Debian, even when adding the Debian repositories, there's several Debian applications that wont (at least easily) install. One example was Pidgin, an IM program, which SteamOS just would not install via the console. This one is also a more personal preference, but SteamOS uses gnome and I just much prefer KDE, but unlike with other Linux distros where you get the choice, SteamOS sticks you with Gnome and nothing else.. Back to the point though, whilst the SteamOS could work on a console, or a PC that you're never planning on using in Desktop mode, for me it wasn't going to be entirely suitable for my more multi-purpose requirements.
Of course the big limitation here is that, if you don't have another Windows Gaming PC to stream games from, your selection of games is going to be very limited for the time being. Perhaps going forward, as SteamOS gains some traction, more and more games will start being released with Linux compatibility, but I wouldn't count on this for at least a good 2-3 years. For that reason I could see the appeal of a Steam Link, but not a full blown Steam Console just yet.

At this point I decided to switch over to vanilla Debian. Again, a smooth installation process, but be careful to use the image with the non-free drivers included. Without this there may be some proprietary drivers (such as those used by Network adapters) missing from the installer which will require manual installation afterwards, and downloading through an alternative machine.
Once Debian was installed though, it was a fairly simple process to go through the normal apt-get update processes. Installing my graphics drivers was a little more troublesome via the command line, but in the end I downloaded and installed the package provided by AMD directly. Not the best recommended method, but it worked. Still having some issues with Crossfire, but that's more down to Linux inexperience on my part. Of course another advantage of Debian was having the choice of using KDE rather than being restricted to Gnome and nothing else. One thing you also need to do, if you're running a 64-bit version of Linux anyway, is that you need to enable 32-bit libraries on your system, but this can be done with a single command via the console.
Once all this is done, installing Steam itself is an easy process. The easiest method is a simple apt-get install steam via the console, or you can download a .deb package from the Steam website. Either way, you then get a Steam interface more or less exactly as you'd get from using it on Windows. Again you have the option of Big Picture mode, or alternatively using the classic Steam interface which can filter to show only Linux/SteamOS compatible games.
At this point I started downloading and playing some games to test them out, which gave me no issues. Installing was just the same as the process in Windows, the only real difference is the lack of desktop shortcuts (though I'm sure you can create these should you want to), but launching games via the launcher or the Steam interface is simple enough. The only real difference I could find with running Steam on Debian compared to Windows is that you couldn't close the application to the tray, it permanently resides in the Task bar, and if you close it there then it closes the entire application.

From here I decided to expand my testing a little bit, and looked to gog.com to do this, as they've added Linux compatibility to some of their titles. Officially they only support Ubuntu and Mint, but these are both based on Debian and there are plenty of reports from people running games on vanilla Debian from the gog.com Linux packages. I checked my library and I did have a few Linux compatible games in there already, so I decided to try out Normality and Grim Fandango Remastered. The two of these download a little differently, with Normality giving me a .deb package whilst Grim Fandango downloads a .tar.gz archive. Since it finished downloading first, I tried out Normality first of all.
Simply attempting to run the .deb file through a click gave me an authentication error in apper, which is something of a known issue when installing packages as a non-root user. The workaround for this was to install via the command line using PolicyKit, which prompts you for your root password. Apper is supposed to do this, but it seems it doesn't do it always. Unfortunately however, despite a report of a successful installation, the game itself was nowhere to be found in the Application Launcher, even though other programs installed via a .deb file have been located there after successful installation. I decided to chalk this one up to a miss for the time being and move on to Grim Fandango.
First step was to extract the archive as you'd expect, which then presents you with several folders of data, along with a start.sh file that can be used to actually launch the game. Simply launching the file directly was enough to launch the game immediately, of course this does mean you aren't getting a nice icon to launch from, but you could quite feasibly create a shortcut to the start.sh file and give it whatever icon you want in whatever position you want.
So mixed results from gog.com. As I said, their official support is for Ubuntu and Mint, so they don't guarantee compatibility with vanilla Debian at all nor do they offer any support on their forums in doing so.

Whilst this mix of Steam Linux compatible games and Gog.com linux games is a good start, I decided to go a little further in trying things out. For this reason I installed Wine, which is essentially a Windows 'emulator' for Linux. I recall years ago this used to be a paid application, but it seems to be free, though paid support does seem available. The website itself seems fairly old, but on checking the application it lists right up to Windows 8 for your Windows version, so the app itself does seem to still be getting worked on and updated, or at least was until recently.
Launching the app isn't entirely intuitive, but once you get to grips with the console commands to launch the GUI you can get to work installing your Windows applications.
First step here was to get some gog.com Windows installers. I decided to start out with Evil Genius, Fallout (The first one), Anachronox and Seasons 1-3 of Sam and Max. Installation on all of them went smoothly, with Wine simply launching the windows installer and running as you'd expect it to under Windows. Once complete, you get a .desktop file in your /home/<user>/desktop folder that can be used to launch the game via Wine.
Evil Genius first, game launched fine, cinematics and menu work and I'm able to get in-game and start playing without issue. The only problem I found was some very minor graphical glitches on my Genius character model, the other models however all seemed to be fine.
Fallout next, flawless. Game launches, cinematics are fine and the game launches with no immediately obvious graphical glitches or issues.
Anachronox next, another flawless result. Game launches fine with no glitches.
With Sam and Max the results were a little more varied. Season 1 launches, but once the game itself starts up there's quite a few graphics glitches with missing textures, and once control is handed over to the player the game seems to just crash out altogether and leave your desktop stuck on a lower resolution. Season 2 launches and works mostly fine, though there was an odd white line down the left-most side of the screen. Hardly game breaking, but enough to be distracting. Season 3 unfortunately just launches to a black screen with a pointer icon that you have to forcibly exit. So mixed results here, but it's possible that different systems with different hardware will have different results of course.

The final step in my experimentation. I have the Linux version of Steam, but what about the Windows version? So I grabbed the Windows installer from the website and installed it via Wine, which went as smoothly as the other installations had. On launching it however a big issue was that, whilst the application launches, no text is displayed. A quick Google showed this to be a common issue which could be resolved by going into the Wine configuration options and overriding the dwrite library. Once this was done Steam launched with the text intact. On getting into steam, the Store is completely blank, though the games page could be accessed and I was able to install my games without issue. Another quick google showed the store issue could be resolved through the installation of lib32nss-mdns, though this didn't work for me, though it could work for others. Still, it's a minor issue and the store can always be accessed via the web page instead.
For game testing I decided to try something relatively undemanding, Sword of the Stars collection, and something a bit more demanding, Saints Row IV. A bigger test would be something like GTA V, but it's a much larger download and I'm not on my faster home connection at the moment.
Installation of Sword of the Stars went fine, and I got both an icon in my /home/<user>/desktop folder and the game available via the Kickoff Application Launcher. Launching the game it seemed to be working perfectly fine at first, though attempting to change the resolution had no effect. Attempting to actually start up a game unfortunately resulted in a crash.
Saints Row IV unfortunately just booted to a black screen after going through the pre-requisutes of installing DirectX, the game wouldn't even launch.
This though reminded me, I hadn't installed DirectX until this point. Could this be the reason for some of the earlier failures? I went back to try Sam and Max Season 1 again, and this time no texture glitches and no crash. The only issue was a thin coloured line down the side, much like in Season 2. Season 3 also now seems to work perfectly fine, doesn't even have the coloured bar down the side like Seasons 1 and 2. Sword of the Stars unfortunately only seemed to get worse. Whilst the resolution issue was sorted, attempting to launch a game now causes a complete system lock up rather than a crash, requiring a power button reset.


Overall a mixed result on experimentation. Of course I didn't try out the Wine side of things, or even the gog.com linux games on SteamOS, but given that it seemed to have some compatbility issues with other Debian applications in its Desktop mode I'm not entirely hopeful for it in that regard.
So is gaming possible on Linux? The answer is....kind of, it's getting there. Linux games in Steam so far seem to have no issues running via either Debian or SteamOS, and gog.com is an option depending on the distribution you're using. And of course, people more experienced/knowledgeable in Linux may have better luck getting some of my failures working. However, for SteamOS itself, personally I can't recommend it. Now to be fair, it is still in Beta (I think) so some issues and clunkiness are to be expected, but the library of Steam games compatible with Linux is far too limited at the moment, so I simply couldn't recommend a full blown Steam console to someone unless they also had a full blown Windows gaming rig to stream other games from. In that case you're far better off with a much cheaper Steam link though, leaving you money to spend on more games instead. If you're wanting to get gaming on a Linux setup, a vanilla Debian install seems a much better way to go from my experiences so far. If you're wanting a more multi-purpose machine SteamOS seems pretty unsuitable, with the Desktop mode there as either an afterthought, or because it was simply easier for Valve to leave in than take out completely. Ontop of that your customisation options are severely limited, especially if you aren't a fan of Gnome. Now I know SteamOS isn't intended as a multi-use OS, that gaming is it's only intended purpose, but then why bother with a half-hearted effort like it has? Ubuntu or Mint are other user friendly distros that should be compatible with Steam, plus nets you Linux support with gog.com giving you a potentially wider library of games to access. Throw Wine into the mix and you even have (at least some) windows games as well.
For further testing I might try to run a DirectX installer through Wine, and have a try of some cd-installed games that don't use Steam. And of course there's Origin to try out as well.

Is SteamOS (and by extension, Linux in general) the future of PC gaming? I highly doubt it. With Windows seeingly moving to a free for consumers model then it starts removing some of that “Linux is free” argument, and the compatibility just isn't there yet. Even if new games start coming out with Linux compatibility (but don't expect this on the majority of AAA titles for at least 2-3 years), there's a massive back catalogue of other games on Windows that aren't, and quite probably wont ever be, Linux compatible. It's an option certainly, and becoming a more and more viable one at that, but just as it is now I expect it to continue being the option of the small minority, even with Valve throwing their support behind it.
 
Incredibly interesting write-up, thank you very much. I have very limited experience with Linux myself (I once dual-booted Ubuntu for a little bit in college, consider it my experimentation) and while I liked the look of the OS a lot I couldn't really get a hand on running everything as smoothly as I did in Windows. Consider it a familiarity thing. I don't think I tried running any games, though, as I still had my Windows side for that

On a semi-related note, I've been lacking a PC recently and only been using my Macbook for everything, and I decided to try and play some games on it. Mac support in Steam is relatively great if you like Source games or smaller games. Olli-Olli runs great, even at my Macbook's retina resolution which shocked me, since that high of a resolution in a 2D game is so completely unnecessary. The only other game I've tried is CS:GO which runs like garbage even with all my settings on low, and as far as I can tell in OSX there's no way to turn off mouse acceleration or have the game just read raw mouse input, so the game was basically unplayable for me with all that acceleration. If there's a way to fix that without downloading some third-party mouse drivers that would be great

But on the whole, I agree with you. When it comes to gaming on a PC, Windows is still very much required
 

Koren

Member
Big wall of text, but interesting read...

One thing you also need to do, if you're running a 64-bit version of Linux anyway, is that you need to enable 32-bit libraries on your system, but this can be done with a single command via the console.
Any advices on this? My computer died saturday (I/O errors, probably the hard drive) so I'll reinstall a Debian on it tomorrow (maybe Mint, but I'm reluctant to give up on Aptitude for packets).

I fully expect a LOT of issues to make Compiz work on Jessie, but that's another issue.

The fact is that I'll probably try a 64bits Debian this time, although I always choosed 32bits in the past to avoid incompatibility problems. I'm totally not sure of what I should do to enable the compatibility layer (and the kind of issues I should expect).


I've been using Steam on Debian for some time now, with decent success, although sometimes you get into problems that you're unable to solve (Half-life 2 is a bit too dark, which is not an uncommon issue, but I was unable to fix it... Kerbal Space Program just make a Kernel Panic when I try to launch it)


Even if new games start coming out with Linux compatibility (but don't expect this on the majority of AAA titles for at least 2-3 years), there's a massive back catalogue of other games on Windows that aren't, and quite probably wont ever be, Linux compatible.
While this is true, I'm surprised at how the things changed in the last couple years, and if in 2-3 years the majority of titles are available in Linux version, I'd say it's a huge feat. For someone that don't want to bother anymore with Windows on non-laptop PCs, being able to gaming a bit (I mostly use consoles, I often don't even put a graphic card in my PCs nowadays) is still really nice.
 

Lagamorph

Member
Any advices on this? My computer died saturday (I/O errors, probably the hard drive) so I'll reinstall a Debian on it tomorrow (maybe Mint, but I'm reluctant to give up on Aptitude for packets).
dpkg --add-architecture i386

That will enable the 32-bit libraries on your system, though you'll then need to run something like,
apt-get install libgl1-fglrx-glx:i386
to install the 32-bit graphics libraries. (That's for AMD drivers only though, it'll be different for Nvidia)


Kerbal Space Program has actually run fine for me on Debian through Steam.
 

Tenebrous

Member
Thanks for the indepth write-up!

I've actually thought about doing something similar myself (trying a month on Debian 8), but I just can't pull the trigger on it. I can leave some games behind, but the vast majority of my library, with lower performance in almost every title I can actually play natively on the OS? It's just not workable for me, sadly.
 

Koren

Member
dpkg --add-architecture i386

That will enable the 32-bit libraries on your system, though you'll then need to run something like,
apt-get install libgl1-fglrx-glx:i386
to install the 32-bit graphics libraries. (That's for AMD drivers only though, it'll be different for Nvidia)
Thanks, that'll probably help me. I'm using the integrated video chipset, though (and try to avoid apt-get and dpkg each time I can in favor of aptitude)

Kerbal Space Program has actually run fine for me on Debian through Steam.
Yes, I'm not sure it's a common issue. Maybe (probably) GPU related. I'll try with Jessie to see it there's a difference (was on Sid before, because as usual, when I buy a new PC, anything else than Sid fails to install :/ last time, Sandy Bridge integrated video wasn't supported correctly in stable/testing and was causing freezes)
 
I have raised this in other topics on this subject, but I think it is incorrect to say that Valve intends for SteamOS to compete against Windows based PC gaming. SteamOS is Valve's long term play into the console market. This will likely not bear fruit until the next generation of consoles are released and everyone realizes that their PS4 games won't work on their PS5 (sans yet more remasters), but SteamOS games will run on upgraded Steam Machines just fine(they will run better in fact). The closest analogue would be Android. Android apps run on any Android phone, but there are many different hardware options to choose from. Although because Valve maintains Steam as proprietary software there will potentially be less fragmentation than in the Android space. The fact that SteamOS games will run unmodified on a Linux desktop is a bonus, but not really Valve's main concern.

EDIT: and yeah, as others have mentioned, a huge number of problems with current Steam Linux games are related to 32bit libraries being required, but not installed. The lack of Steam integration with the system package manager is a real missed opportunity here. They could solve all these problems quite easily.
 

petran79

Banned
Is SteamOS (and by extension, Linux in general) the future of PC gaming? I highly doubt it. With Windows seeingly moving to a free for consumers model then it starts removing some of that “Linux is free” argument, and the compatibility just isn't there yet. Even if new games start coming out with Linux compatibility (but don't expect this on the majority of AAA titles for at least 2-3 years), there's a massive back catalogue of other games on Windows that aren't, and quite probably wont ever be, Linux compatible. It's an option certainly, and becoming a more and more viable one at that, but just as it is now I expect it to continue being the option of the small minority, even with Valve throwing their support behind it.

I think indies and particular genres like strategy games have a good chance of success on GNU/Linux. Linux is for patient gamers after all. Even now a lot of Windows exclusive indies began implementing Linux support, even beta versions.

Of the 361 Steam games on my list, 102 have native Linux support. Considerable number

Some notable AAA games have Linux support as well, eg Source games, Borderlands, Bioshock, X-COM, Civilization, Paradox titles etc

Also there are custom Wine versions that are more optimized than the standard version for Windows games

eg: http://www.wine-staging.com/

Linux can replace Windows for gaming, depending on which genres you play
Unfortunately even the simplest variant like Ubuntu, will feel a huge hill for gamers migrating from Windows. It is no wonder Linux gamerbase is so small compared to Windows.
 

TheSeks

Blinded by the luminous glory that is David Bowie's physical manifestation.
With Windows seeingly moving to a free for consumers model then it starts removing some of that “Linux is free” argument

Unless I'm reading this wrong:

nfDTQVs.jpg

Windows 10 upgrading for free for a year != Linux's "free download/install." After the next year, people will have to BUY Windows 10 unless they have an upgrade key. Which means newer built systems that didn't upgrade and/or have a spare key will still have to pay $100+ for the OS.

But you're right: Linux is not the future of gaming. It won't be for a while, if ever. iD Software was a HUGE proponent of Linux and did ports up until Q3A (I think Quake 4 dropped it) because Carmack supported the OS. Hell, Epic did Linux ports for UT 99/2004 as well IIRC. But after that the entire "source port"/porting to Linux died in a fashion. This second coming, I feel, is going to be the same. Double so with Microsoft kowtowing Gabe/Valve. With Windows 10 moving back from the application store idea, there is very little reason for Valve to support Linux/"SteamOS" and they'll probably just drop that idea and then the "second golden age" of Linux will be dead before it even began.
 

thesaucetastic

Unconfirmed Member
Great write-up. I saw that a good proportion of my steam games were Linux-compatible, but going off your experience, I guess I shouldn't expect them all to work as easily as they do on Windows. It's a shame.
 
I wouldn't buy Linux games off GOG. Valve built their own runtime so that they would play flawlessly but GOG has no such thing and their games are packaged in too many different ways.

Wine is butt. Galliumnine drivers make it a bit better but if you are going to do this then just stick with Windows.

I wouldn't install Linux to play games unless you are doing it because you like Linux and want it to succeed and can bear the lack of games, or you want a seamless plug and play experience with Steamos.

And according to Alienware rep there are a lot more games coming to SteamOS that haven't been announced for some weird reason(http://boilingsteam.com/e3-the-alienware-steam-machine-running-steamos/). Obviously it still won't have as many games as Windows though.

And lastly, holy fuck Amd drivers suck on Linux so steer clear until they fix them (they built a Linux team recently to get that done but don't hold your breath).
 
Top Bottom