Announcement

Collapse
No announcement yet.

Quake on Linux - Folly or a brave new world?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Quake on Linux - Folly or a brave new world?

    It's just a thought but is there a guide somewhere on how to install EngineX, Qrack,Proquake on an old Linux workstation and get it working? Although I have been working/developing with PC's for more years than I care to admit to , with the rising prices of Windows related software I'm sorely tempted to try the Linux route. However being a Linux newbie I suspect I won't do so unless my beloved Quake comes with me

    I suspect I'm probably not the only one who is interested, and you never know it could encourage a whole new group of players back in to the Quake community.

    Will anyone take pity on a poor (but very interested) Linux newb and tell me, in a Linux for dummies fashion, what I need to do to get the aforementioned engines running on Ubuntu ? I'm happy to document any information given in to a useable format so it might be of use to others but I just need a patient and understanding *nix er to get me sorted.

    Many thanks

    Monty
    Last edited by Mr.Burns; 11-26-2012, 07:38 AM.
    Mr.Burns
    "Helping to keep this community friendly, helpful, and clean of spammers since 2006"
    WWW: Quake Terminus , QuakeVoid You Tube: QuakeVoid
    Servers: Quake.shmack.net, damage.servequake.com

    News: JCR's excellent ctsj_jcr map is being ported to OOT

  • #2
    A few years ago I posted something for stalker :


    http://quakeone.com/forums/quake-hel...ke-ubuntu.html

    It may help you...

    Phenom also did a post some years ago(qrack) :

    http://quakeone.com/forums/quake-hel...-included.html
    My servers for the gamers:
    bigfoot.servequake.com / damage.servequake.com

    port 26000 EuroQuake
    port 26001 EuroQuake Coop


    newyork.quakeone.com
    Offline ATM
    fvf.servequake.com
    flanders.servegame.org / flanders.servequake.com
    Offline ATM
    newdm.servequake.com
    port 26010

    http://bigfoot.servequake.com (EuroQuake)
    sigpic

    Comment


    • #3
      It is pretty simple really.Just copy your quake folder to your home directory.
      pick a client you want to use and make a shortcut on the desktop.Darkplaces and Quakespasm are as easy as that,it gets more complicated if you want to build your own binaries for other clients like Qrack ect... but still can if you invest the time to learn.I have a 64 bit Qrack working bin if you want it just let me know.There are a few quirks you have to do like renaming all your files to lowercase and maybe depending on your client of choice setting up sound.
      WARNING
      May be too intense for some viewers.
      Stress Relief Device
      ....BANG HEAD HERE....
      ---------------------------
      .
      .
      .
      .
      .--------------------------

      Comment


      • #4
        Thanks guys (and phenom), much appreciated. It looks like I've now got my weekend ahead planned I'll post back here (and one other place) if there are any differences worth mentioning in the hope that it may help others

        Kind regards

        Monty
        Mr.Burns
        "Helping to keep this community friendly, helpful, and clean of spammers since 2006"
        WWW: Quake Terminus , QuakeVoid You Tube: QuakeVoid
        Servers: Quake.shmack.net, damage.servequake.com

        News: JCR's excellent ctsj_jcr map is being ported to OOT

        Comment


        • #5
          There's really only three problems with quake+linux.
          1: linux might not be a supported platform by the engine you're trying to run.
          2: closed binary-blob drivers give best performance, but are often buggy/incompatible with your kernel.
          3: audio... Seriously, good luck with that one. ALSA sucks. Seriously sucks. Even more than the best vacuum cleaner known to man. Stronger than the vacuum of space. If you do manage to get working non-stuttering audio, chances are it'll have about 2 seconds of delay on it or something absurd like that.

          Personally I get higher framerates in 64bit debian linux than in win7 64bit. Peeking at 4000fps instead of 3000. Though really that measurement is just buffer clears but whatever.
          glxgears is not a benchmark!
          Some Game Thing

          Comment


          • #6
            Originally posted by Polarite View Post
            A few years ago I posted something for stalker :
            http://quakeone.com/forums/quake-hel...ke-ubuntu.html
            It may help you...
            Hi Pol
            I'm working through your helpful instructions which I'm compiling in to a pdf (thanks for doing this by the way) and I've got down to the bit which says
            Originally posted by Polarite
            ..now type this:
            ./glquake_glx
            What I get is this...
            Code:
            [email protected]:/usr/local/games/quake$ ./glquake_glx
            Added packfile ./id1/pak0.pak (339 files)
            Added packfile ./id1/pak1.pak (85 files)
            PackFile: ./id1/pak1.pak : gfx/pop.lmp
            Playing registered version.
            PackFile: ./id1/pak0.pak : gfx.wad
            Console initialized.
            Could not initialize security module
            UDP Initialized
            Exe: 09:24:54 Apr 23 2008
            32.0 megabyte heap
            PackFile: ./id1/pak0.pak : gfx/palette.lmp
            PackFile: ./id1/pak0.pak : gfx/colormap.lmp
            Xlib:  extension "GLX" missing on display ":0".
            Error couldn't get an RGB, Double-buffered, Depth visual
            Thinking back to my Solaris/Unix days it looks like it might be missing a library of some discription but I'm a relative newb at Linux so I'd be most grateful if you have any ideas on how to solve this
            Many thanks
            Monty
            Mr.Burns
            "Helping to keep this community friendly, helpful, and clean of spammers since 2006"
            WWW: Quake Terminus , QuakeVoid You Tube: QuakeVoid
            Servers: Quake.shmack.net, damage.servequake.com

            News: JCR's excellent ctsj_jcr map is being ported to OOT

            Comment


            • #7
              looks like you might not have working hardware acceleration? Can you type glxinfo in a terminal and does it indicate direct rendering is active?

              hardware - How to test if my video card has 3D support? - Ask Ubuntu
              Scout's Journey
              Rune of Earth Magic

              Comment


              • #8
                Originally posted by golden_boy View Post
                looks like you might not have working hardware acceleration? Can you type glxinfo in a terminal and does it indicate direct rendering is active?

                hardware - How to test if my video card has 3D support? - Ask Ubuntu
                Hi GB,
                Thank you for taking the time to help out. It's fair to say that this is on an old gfx card, which is being replaced in the next 25 days, but the same card plays PQ, EngineX and Qrack when I boot in to XP on the same box.
                The response from the command was as follows:
                Code:
                [email protected]:~$ glxinfo
                name of display: :0
                Xlib:  extension "GLX" missing on display ":0".
                Xlib:  extension "GLX" missing on display ":0".
                Xlib:  extension "GLX" missing on display ":0".
                Xlib:  extension "GLX" missing on display ":0".
                Xlib:  extension "GLX" missing on display ":0".
                Error: couldn't find RGB GLX visual or fbconfig
                
                Xlib:  extension "GLX" missing on display ":0".
                Xlib:  extension "GLX" missing on display ":0".
                Xlib:  extension "GLX" missing on display ":0".
                Xlib:  extension "GLX" missing on display ":0".
                Xlib:  extension "GLX" missing on display ":0".
                It seems I'm missing something here? maybe a driver?

                For anyone else that may be trying to get a basic game of quake to work on Ubuntu the command 'glxinfo' appears to be from from a package called 'mesa-utils'. If you get a message "The program 'glxinfo' is currently not installed" then you may be able to install the mesa-utils using the following command
                Code:
                sudo apt-get install mesa-utils
                Kind regards

                Monty
                Last edited by Mr.Burns; 12-01-2012, 01:44 AM.
                Mr.Burns
                "Helping to keep this community friendly, helpful, and clean of spammers since 2006"
                WWW: Quake Terminus , QuakeVoid You Tube: QuakeVoid
                Servers: Quake.shmack.net, damage.servequake.com

                News: JCR's excellent ctsj_jcr map is being ported to OOT

                Comment


                • #9
                  Can I ask what card it is, and if the box has multiple GPUs (onboard vs 3rd party)?

                  Edit: The X11 log file is in /var/log/Xorg.0.log. It might have more information about why the Glx extension could not be loaded.

                  Edit 2: You can usually find out what your card is by typing "lspci" in the terminal. If it's not in there, the kernel didn't see it.
                  Last edited by golden_boy; 11-30-2012, 05:17 PM.
                  Scout's Journey
                  Rune of Earth Magic

                  Comment


                  • #10
                    Originally posted by golden_boy View Post
                    Can I ask what card it is, and if the box has multiple GPUs (onboard vs 3rd party)?
                    Hi GB,
                    Don't laugh ...but it's currently an Nvidia GeForce4 MX 440 / AGP 8X
                    Fill Rate:1.1 Billion Texels/Sec.
                    Triangles per Second:34 Million
                    Memory Bandwidth:8.0GB/Sec.
                    Maximum Memory:64MB
                    Looks something like this...
                    MH broadened my horizons on the price and availability of more modern kit hence it will be replaced shortly as a little Xmas present to my Quake life

                    Originally posted by golden_boy View Post
                    Edit: The X11 log file is in /var/log/Xorg.0.log. It might have more information about why the Glx extension could not be loaded.
                    Dores this suggest that there is something going wrong with the driver?
                    Code:
                    [    37.683] (II) Loading /usr/lib/i386-linux-gnu/xorg/extra-modules/libglx.so
                    [    37.864] (II) Module glx: vendor="NVIDIA Corporation"
                    [    37.864] 	compiled for 4.0.2, module version = 1.0.0
                    [    37.864] 	Module class: X.Org Server Extension
                    [    37.864] (II) NVIDIA GLX Module  304.64  Tue Oct 30 11:31:18 PDT 2012
                    [    37.864] (II) Loading extension GLX
                    [    37.864] (II) LoadModule: "record"
                    [    37.864] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
                    [    37.884] (II) LoadModule: "nvidia"
                    [    37.884] (II) Loading /usr/lib/i386-linux-gnu/xorg/extra-modules/nvidia_drv.so
                    [    37.928] (II) Module nvidia: vendor="NVIDIA Corporation"
                    [    37.928] 	compiled for 4.0.2, module version = 1.0.0
                    [    37.928] 	Module class: X.Org Video Driver
                    [COLOR="DarkOrange"][    38.614] (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
                    [    38.615] (EE) NVIDIA:     system's kernel log for additional error messages.[/COLOR]
                    [    38.615] (II) UnloadModule: "nvidia"
                    [    38.615] (II) Unloading nvidia
                    [   [COLOR="DarkOrange"] 38.615] (EE) Failed to load module "nvidia" (module-specific error, 0)[/COLOR]
                    [    38.615] (==) Matched nvidia as autoconfigured driver 0
                    [    38.615] (==) Matched nouveau as autoconfigured driver 1
                    [    38.615] (==) Matched nv as autoconfigured driver 2
                    [    38.615] (==) Matched vesa as autoconfigured driver 3
                    [    38.615] (==) Matched fbdev as autoconfigured driver 4
                    [    38.615] (==) Assigned the driver to the xf86ConfigLayout
                    [    38.615] (II) LoadModule: "nvidia"
                    [    38.615] (II) Loading /usr/lib/i386-linux-gnu/xorg/extra-modules/nvidia_drv.so
                    [    38.615] (II) Module nvidia: vendor="NVIDIA Corporation"
                    [    38.615] 	compiled for 4.0.2, module version = 1.0.0
                    [    38.615] 	Module class: X.Org Video Driver
                    [    38.615] (II) UnloadModule: "nvidia"
                    [    38.615] (II) Unloading nvidia
                    [COLOR="DarkOrange"][    38.615] (II) Failed to load module "nvidia" (already loaded, 8202779)[/COLOR]
                    [    38.615] (II) LoadModule: "nouveau"
                    [    38.646] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
                    [    38.672] (II) Module nouveau: vendor="X.Org Foundation"
                    [    38.672] 	compiled for 1.11.3, module version = 1.0.2
                    [    38.672] 	Module class: X.Org Video Driver
                    [    38.672] 	ABI class: X.Org Video Driver, version 11.0
                    Originally posted by golden_boy View Post
                    Edit 2: You can usually find out what your card is by typing "lspci" in the terminal. If it's not in there, the kernel didn't see it.
                    I'm guessing the entry highlighted in orange below it can see the card?...
                    Code:
                    [email protected]:~$ lspci
                    00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03)
                    00:01.0 PCI bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE Host-to-AGP Bridge (rev 03)
                    00:1d.0 USB controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02)
                    00:1d.1 USB controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02)
                    00:1d.2 USB controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02)
                    00:1d.7 USB controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 02)
                    00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82)
                    00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02)
                    00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02)
                    00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02)
                    00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
                    [COLOR="DarkOrange"]01:00.0 VGA compatible controller: NVIDIA Corporation NV17 [GeForce4 MX 440] (rev a3)[/COLOR]
                    02:01.0 SCSI storage controller: Advanced System Products, Inc ABP940-U / ABP960-U (rev 03)
                    02:02.0 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
                    02:02.1 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
                    02:02.2 USB controller: VIA Technologies, Inc. USB 2.0 (rev 63)
                    02:03.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev 46)
                    02:06.0 Mass storage controller: Silicon Image, Inc. SiI 3112 [SATALink/SATARaid] Serial ATA Controller (rev 01)
                    02:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (LOM) Ethernet Controller (rev 82)
                    Many thanks
                    Monty
                    Last edited by Mr.Burns; 12-01-2012, 07:03 AM.
                    Mr.Burns
                    "Helping to keep this community friendly, helpful, and clean of spammers since 2006"
                    WWW: Quake Terminus , QuakeVoid You Tube: QuakeVoid
                    Servers: Quake.shmack.net, damage.servequake.com

                    News: JCR's excellent ctsj_jcr map is being ported to OOT

                    Comment


                    • #11
                      Your video drivers are not installed.

                      If it is Ubu you should be able to just enable the restricted repo and it will ask you if you want to enable the nvidia driver.
                      From the administration tab go to symantek,when it opens look for the repos tab and check the restricted box.close that then hit refresh,the menu should update.
                      close the program.Reboot and you should get a notifier about setting up your restricted hardware.follow the prompts.

                      You will need the experimental module. Last entry in the list.
                      http://ubuntuforums.org/showthread.php?t=2085621
                      Last edited by bluntz; 12-05-2012, 02:31 PM.
                      WARNING
                      May be too intense for some viewers.
                      Stress Relief Device
                      ....BANG HEAD HERE....
                      ---------------------------
                      .
                      .
                      .
                      .
                      .--------------------------

                      Comment


                      • #12
                        It loads the open-source Noveau drivers instead of the Nvidia-provided driver. Noveau might not support your card or might just not be mature enough.

                        I suggest installing the Nvidia-provided drivers from their website:

                        Drivers - Download NVIDIA Drivers

                        You have to enter "Legacy" as the product family, then you'll see Nvidia does provide Linux drivers for your card. I also install mine this way.

                        They usually come as shell scripts / extractors; you can run them with the "sh" command followed by the driver package name, but you probably knew this. They have a graphical installation menu and allow you to write a new X11 config (automatically!), as well.

                        Nvidia has great Linux driver support, and installing them is usually straightforward.

                        Ubuntu themselves might not always provide the latest/best driver for your card, which is why I suggest downloading directly from Nvidia.

                        Oh, and I'm the last person to laugh at anyone's gear, firstly it would be childish and secondly I still use Geforce 6 myself for various reasons (under Linux as well). Thumbs up.

                        Edit: the official Nvidia drivers are not open source, but they will give you the best performance which, for video games, is what you need. Accept no substitutes and don't listen to Ubuntu on that one.
                        Last edited by golden_boy; 12-01-2012, 12:58 PM.
                        Scout's Journey
                        Rune of Earth Magic

                        Comment


                        • #13
                          Originally posted by golden_boy View Post
                          It loads the open-source Noveau drivers instead of the Nvidia-provided driver. Noveau might not support your card or might just not be mature enough.

                          I suggest installing the Nvidia-provided drivers from their website:

                          Drivers - Download NVIDIA Drivers

                          You have to enter "Legacy" as the product family, then you'll see Nvidia does provide Linux drivers for your card. I also install mine this way.

                          They usually come as shell scripts / extractors; you can run them with the "sh" command followed by the driver package name, but you probably knew this. They have a graphical installation menu and allow you to write a new X11 config (automatically!), as well.

                          Nvidia has great Linux driver support, and installing them is usually straightforward.

                          Ubuntu themselves might not always provide the latest/best driver for your card, which is why I suggest downloading directly from Nvidia.

                          Oh, and I'm the last person to laugh at anyone's gear, firstly it would be childish and secondly I still use Geforce 6 myself for various reasons (under Linux as well). Thumbs up.

                          Edit: the official Nvidia drivers are not open source, but they will give you the best performance which, for video games, is what you need. Accept no substitutes and don't listen to Ubuntu on that one.
                          GB is right of course and I myself use the same method to get all the functionality from the proprietary driver,but I am not sure about your card as there is a bug for your card being so old I am not sure wether the factory driver supports it and also not sure weather you have to install the driver from the commandline outside of the Xserver like we had to do in the past.The experimental module is needed as they added support for your card and don't think it is in the proprietary package.
                          Last edited by bluntz; 12-05-2012, 02:38 PM.
                          WARNING
                          May be too intense for some viewers.
                          Stress Relief Device
                          ....BANG HEAD HERE....
                          ---------------------------
                          .
                          .
                          .
                          .
                          .--------------------------

                          Comment


                          • #14
                            Checking at the Nvidia page showed a 440MX driver in the "Legacy" list. For linux. You say it's buggy? Hm, Nvidia's official drivers always worked great for me...

                            It's a good point you might need to kill the X server while installing the driver; you can do that as follows:

                            HOWTO stop and start the X server during operation

                            Switch to a virtual terminal with Alt-Ctrl-F1 or Alt-Ctrl-F2. You switch back to a running X server with Alt-F7.

                            Log into one of these virtual terminals, do "sudo su" to become admin (type your password), and stop the login manager. That will also stop X.

                            Gnome uses GDM for a login manager I think, while Unity uses LightDM. The command to stop it is "service stop (gdm | lightdm)", choose your display manager of course. It can be restarted with "service start (gdm | lightdm)".

                            Once X is no longer running (check in the process table with the command "top") you should be able to install the Nvidia driver from the terminal (as root, "sh nameofpackage.run") and it should walk you through it in a graphical shell.

                            Afterwards just reenable the login manager; this should also restart X.
                            Scout's Journey
                            Rune of Earth Magic

                            Comment


                            • #15
                              golden_boy explained it perfectly for you
                              That should do it for you Mr.Burns.
                              My servers for the gamers:
                              bigfoot.servequake.com / damage.servequake.com

                              port 26000 EuroQuake
                              port 26001 EuroQuake Coop


                              newyork.quakeone.com
                              Offline ATM
                              fvf.servequake.com
                              flanders.servegame.org / flanders.servequake.com
                              Offline ATM
                              newdm.servequake.com
                              port 26010

                              http://bigfoot.servequake.com (EuroQuake)
                              sigpic

                              Comment

                              Working...
                              X