Linuxxx

So I’ve been working on getting Linux Garry’s Mod working this week. And it’s gone well.

I’ve got it all compiling nicely, all packaged. But I haven’t been able to test it.

We built a Linux testing PC but it doesn’t want to cooperate. When I start Team Fortress up it just shows a black window. I’ve messed with the drivers – changing them popups up an OpenGL error about a lack of scissorgl or something. The PC is running Ubuntu (the latest one – 13?) and has a Geforce GTX 240 (I think).

So that’s what I’ll be doing next week. Trying different graphics cards. Trying to build a computer on which TF2 for Linux actually works. Then I’ll be able to test whether Garry’s Mod actually works.

For now, if you want to have a fiddle you can download the latest SVN from here.

27 thoughts on “Linuxxx

  1. I believe Steam supports Ubuntu 12.04 LTS officially. It works on other distros of course but without official support.

    Googling suggests you should make sure to check your Restricted Drivers and try toggling the option for your video card to switch the drivers. See if that helps.

    Packages you might try to install if they are not: freeglut3, anything with *mesa* in it that’s not debugging or dev. Check the package descriptions to see what might be applicable.

    Lastly look for some other OpenGL app to test, there’s a test app you can install that’s a spinning cube or something to test OpenGL.

  2. You may wish to install the package libtxc-dxtn-s2tc:i386 (32-bit version) if not already. In addition, the black screen problem has previously been caused by too old drivers that can’t compile the glsl shaders, or locale bugs that emit bad shaders that won’t compile. It’s been months since I encountered this, though.

  3. What other people said. Valve supports 12.04 LTS (Long Term Support Edition) officially, not the latest one. Well – okay, it works on the latest one and it works the same across just about every single Linux distro. But in any case, you should be going for the de facto Linux distro under which Linux games are made.

    Oh yeah, and make sure you’re using the proprietary NVIDIA driver.

  4. sudo apt-get install nvidia-current
    will install good set of drivers, don’t trust me, i Got amd graphics but nvidia is hell better for linux.

  5. Right, so don’t use Ubuntu. It’s crap for gaming. Now, what I did was I switched from Ubuntu, to Linux Mint 14 32 bit running the MATE desktop environment. It’s pretty light, and it runs all of my games almost as well as my games ran when I was on windows. Now, I highly suggest you get a Nvidia (however you spell it *shrug*) card when using Linux. Why? Well, apparently, AMD has absolute shite support of gfx drivers for Linux at the moment, but Nvidia has very good support. After that, I have no clue, because I have AMD drivers.

  6. I run all source games on a NVIDIA GEforce 9300m gs running ubuntu 13.04. and it runs tf2 no problem (except I only get 15 fps). the system build you made should be able to run beyond 120 fps in tf2 but why does it not work is the question.

  7. Here’s what I got out of it: https://gist.github.com/flibitijibibo/5562395

    Thanks for letting us play with this! It doesn’t seem to work quite yet, but it was fun to mess with.

    Seems case-sensitive paths will be the most tedious part of the port (usually is, but for a game like Garry’s Mod… hmm).

    Worst case, you could do something like fcaseopen ( https://github.com/OneSadCookie/fcaseopen ), but that’s probably a lame duct-tape-y solution to the problem.

  8. I find it amusing that within the Windows world there is absolutely no standard with regards to file-name case!

    Case-sensitive or not it really still should be consistent :)

    Anyway thank you for the port! I am using an nVidia 280GTX on Ubuntu 13.04 with their proprietary (nvidia-313-updates) drivers. So a 240GTX should work.

    I attempted to follow flibitijibibo’s method but after everything it just segfaults.

  9. yea, it is kind of confusing, but DONT USE THE NVIDIA GRAPHICS FROM THEIR WEBSITE, simply go to additional drivers, click on the nvidia latest, make yourself some coffee.

    if your not using a ubuntu or debian based distribution, then idk.

  10. download the drivers for linux from the nvidia website and rename them to something easier to type like “nvidiadriver.run”

    press ctrl+alt+f1
    login
    sudo service lightdm stop (stop the graphical thing)
    change directory (“cd”) to where the nvidia driver is
    sudo sh nvidiadriver.run
    follow the steps in installation
    sudo service lightdm start (starts the graphical thing)

  11. Garry, I started gmod and I got into loading screen (with facepunch logo), then I’ve got this in awesomium:

    GLib-GIO-Message: Using the ‘memory’ GSettings backend. Your settings will not be saved or shared with other applications.
    third_party/tcmalloc/chromium/src/tcmalloc.cc:449] Attempt to free invalid pointer: 0×8848528

    The game crashes in “Initialize all game systems”.

    All other problems I had were about case-sensitive filenames, and some libraries that were missing ( I don’t need them to start team fortress 2 and other source games on linux).

    If you need a linux system to start gmod, try manjaro. I used its 32 bit version for my experiments in starting gmod.

  12. If you have a decent graphics card and use Ubuntu’s proprietary drivers install thingamajig, it should work very well.

  13. Make sure it’s 13.04—- The latest and greatest build of Ubuntu! Can’t wait for Gmod on Linux! We have CSS, HL, HL2, and more! Soon, LINUX WILL RULE THE WORLD (Of gaming)!

Leave a Reply