Announcement

Collapse
No announcement yet.

Linux ProQuakes Coming Soon

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

  • #16
    Originally posted by lazy_bum View Post
    I tried that before and it works, but you need root access to do this otherwise you get /proc/asound/card0/pcm0p/oss: Permission denied

    Had same issue with nprquake (it's still there . Don't know how to fix this... probably it needs direct soundcard access and should use dmix? (or something like this?)
    It's not quite on-topic, but let me ask you this ...

    Do you have a different (hopefully easier) experience with sound with JoeQuake's Linux build or ezQuake? Just curious. Or even TyrQuake?

    /I am trying to understand more about Linux issues and engines that handle them well.
    Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.

    So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...

    Comment


    • #17
      Originally posted by Baker View Post
      It's not quite on-topic, but let me ask you this ...

      Do you have a different (hopefully easier) experience with sound with JoeQuake's Linux build or ezQuake? Just curious. Or even TyrQuake?

      /I am trying to understand more about Linux issues and engines that handle them well.
      The problem is that the original quake (and the one from Quake 3 too) engine wants to use /dev/dsp and mmap it.
      1) This is not supported by every driver
      2) It locks the card exclusively.
      3) What if you have 2 soundcards? You may want to use /dev/dsp1, but joequake for
      example has /dev/dsp hardcoded in the source.

      There are some workarounds that more or less do the job like the one mentioned above or, if you are using arts
      (sound manager coming with KDE IIRC), use artsdsp to start the binary (may need something like alsa as backend,
      don't know) or other solutions in this direction.
      However, all of those are 1) too complicated for the normal user and 2) often do not work at all (or have delays in
      sound display or whatever).

      Basically sound under linux stinks.

      ezquake and darkplaces go another route and can talk to alsa.
      While alsa is a problem in it self, its the current defacto sound standard for linux (sigh),
      so the only really good solution is to import the sound code from darkplaces/ezquake.
      Of course this is some work.
      For now i would recommend to make a cvar snd_device and let the user set it to his
      liking ("/dev/dsp{Number}") and port the other stuff (video menu etc.) first.
      Alternatively it may be an option to use oss (some newer games like id's doom3, q4 support it)
      but the linux folks seems do force alsa so it may become unmaintained in
      the future.

      Comment


      • #18
        Originally posted by leopold View Post
        Basically sound under linux stinks.

        ezquake and darkplaces go another route and can talk to alsa.
        While alsa is a problem in it self, its the current defacto sound standard for linux (sigh),
        so the only really good solution is to import the sound code from darkplaces/ezquake.
        Of course this is some work.
        Hehe, it would be more work if you had only said "import the sound code from darkplaces" and hadn't mentioned ezQuake :d Porting code from DarkPlaces often is not so easy.

        As time goes on, I'll investigate the sound issue and see how difficult it would be importing the sound code from ezQuake.

        Thanks for the info. For the most part, due the similiarity between Quake and JoeQuake, JoeQuake and FuhQuake, FuhQuake and ezQuake -- sometimes can easier porting ezQuake code than one would think and I usually like how cleanly they code things.

        It's on my list.
        Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.

        So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...

        Comment


        • #19
          I've never done any sound related coding under linux, but my understand is that /dev/dsp represents the old sound architecture (called OSS) which is more or less obsolete now. So to get proquake sound to work with modern kernels you have to use that command which somehow makes the new ALSA sound architecture talk to the old OSS program.

          As leo mentioned, darkplaces had upgraded the sound code to use ALSA so it works out of the box on linux and supports all the advanced features you'd want. I can't remember if joequake's sound works out of the box or not. An ideal long term solution would be to port the darkplaces sound code into proquake but I have no idea how difficult that would be. Maybe lord_havoc is around and could be consulted on this.
          "If we fight for money I'll stop hitting you when you ask me to. If we fight for honor, I'll stop hitting you when I feel like it." - Rickson Gracie

          Comment


          • #20
            Originally posted by mithril View Post
            Ubuntu should be able to auto-detect your Geforce 2 graphics card. The only thing you may need to do is:

            Goto System -> Administration -> Hardware Drivers

            and click on "Enable nvidia" driver. You have to do this because the nvidia driver isn't open source so ubuntu defaults to using a less powerful open source driver.
            Mith, does this mean I can physically install the GeForce 2 and turn the power on and then do the above?

            Is there some sort of good Xubuntu IRC channel or web site that I can ask questions like this?
            Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.

            So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...

            Comment


            • #21
              Originally posted by Baker View Post
              Mith, does this mean I can physically install the GeForce 2 and turn the power on and then do the above?

              Is there some sort of good Xubuntu IRC channel or web site that I can ask questions like this?
              I think you can do that and it will work ok. You can try #ubuntu on efnet
              "If we fight for money I'll stop hitting you when you ask me to. If we fight for honor, I'll stop hitting you when I feel like it." - Rickson Gracie

              Comment


              • #22
                Originally posted by mithril View Post
                I think you can do that and it will work ok. You can try #ubuntu on efnet
                Mith, installed the GeForce2. Get Xserver failure on boot. How can I get to the terminal to fix?

                The #ubuntu people helped to some degree but I still haven't been able to figure out how to boot to the commandline to reconfigure xserver.'

                As a result, I'm completed stalled

                nvm: ctrl+alt+f1 <- go to command line (sudo dpkg-reconfigure xserver-xorg)
                Last edited by Baker; 05-01-2008, 08:03 PM.
                Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.

                So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...

                Comment


                • #23
                  Getting great FPS now with GL ProQuake on Linux. Going to be greatly easier to test updates on Linux.

                  /me is happy
                  Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.

                  So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...

                  Comment


                  • #24
                    Cool, I'm glad they helped you cuz I wouldn't have known that one
                    "If we fight for money I'll stop hitting you when you ask me to. If we fight for honor, I'll stop hitting you when I feel like it." - Rickson Gracie

                    Comment


                    • #25
                      Originally posted by Baker View Post
                      Do you have a different (hopefully easier) experience with sound with JoeQuake's Linux build or ezQuake? Just curious. Or even TyrQuake?
                      In JoeQuake no. TyrQuake and ezQuake looks better here. They work fine, but the best in this is, as mithril wrote, darkplaces. DP is able to "share" the sound card with other apps, TyrQuake failes on this, don't know about ezQ.

                      Comment


                      • #26
                        Originally posted by Baker View Post
                        Mith, does this mean I can physically install the GeForce 2 and turn the power on and then do the above?

                        Is there some sort of good Xubuntu IRC channel or web site that I can ask questions like this?
                        The obvious answer is #xubuntu on freenode, but I don't know if they'd be able to help you with hardware issues...
                        16:03:04 <gb> when I put in a sng, I think I might need nails
                        16:03:30 <gb> the fact that only playtesting tells me that probably means that my mind is a sieve

                        Comment


                        • #27
                          To Baker :

                          Linux GLX ProQuake works great on my Ubuntu 8.04 been using it for some time now.

                          Is there coming up a version with gamepad/joystick support like darkplaces does in linux ?
                          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


                          • #28
                            Originally posted by Polarite View Post
                            To Baker :

                            Linux GLX ProQuake works great on my Ubuntu 8.04 been using it for some time now.

                            Is there coming up a version with gamepad/joystick support like darkplaces does in linux ?
                            Probably not any time in the near future, but eventually I'm sure. I broke my Linux machine a few months ago when trying to insert a memory upgrade.

                            I have another candidate for installing Ubuntu on, but it'll be a while before I can make time for that.

                            I'd like to have Windows ProQuake, Linux ProQuake and Mac ProQuake have their source codes all synchronized instead of the current situation of 3 different .zips.

                            Maybe I could make incremental theoretical updates to the source for others to compile? Still ... I don't know if right now is the right time. I have a couple of other projects I really need to get moving along.
                            Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.

                            So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...

                            Comment


                            • #29
                              "share" the sound card with other apps

                              This is generally a problem with Linux, look into dmix perhaps.

                              Sound is a weak spot.
                              Scout's Journey
                              Rune of Earth Magic

                              Comment


                              • #30
                                Yeah, that's for sure.

                                My "dead" Linux machine was underpowered and I couldn't, for instance, run GL ProQuake or Qrack with any speed.

                                The Mac ProQuake I've been heavily upgrading that was based upons Woods work, OS X being BSD-based, should really ease the ability to make another run at the Linux version when that happens. Who knows, I may end up using SDL for the sound.
                                Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.

                                So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...

                                Comment

                                Working...
                                X