Getting Nexuiz to work on Linux

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Getting Nexuiz to work on Linux

Postby FruitieX » Fri Nov 17, 2006 4:15 pm

Yesterday I did it, I managed to install Debian Linux on my computer. (Formatted everything) So here I am, trying to get Nexuiz to work. I know basically nothing about Linux. I have no drivers, nothing. When i try to start Nexuiz it says that the data folder could not be found and that i should add some -basedir /path/to/game/ command to my launch command line. I haven't found any solution for this so what should i do?
Thanks
Rasse. :)
FruitieX
Keyboard killer
 
Posts: 588
Joined: Mon Nov 13, 2006 4:47 pm
Location: Finland

Postby esteel » Fri Nov 17, 2006 4:24 pm

How have you installed Nexuiz? There are debian packages available and the official zip file from alientrap. The later just needs to be extracted with paths (which unzip does do by default on linux) and then you just start one of the two scripts called nexuiz-linux-sdl.sh or nexuiz-linux-glx.sh. Those two scripts should normaly prevent your problems..
When using the debian packages there should be a working menu entry and also calling 'nexuiz' from the console should work too if i remember correct..

However Nexuiz will run very very bad unless you have installed the graphic card drivers correctly.. if
Code: Select all
glxinfo | grep -i direct
does say 'direct rendering: yes' your drivers should be installed..
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby FruitieX » Fri Nov 17, 2006 7:20 pm

Great, it says direct rendering: no ..... I have been trying this whole day to install both the nvidia drivers, soundcard drivers and the newest linux kernel with no success... Guess i'll soon have to switch back to M$ Windows :|.
I have btw downloaded the original .zip file and it doesn't work like this...
FruitieX
Keyboard killer
 
Posts: 588
Joined: Mon Nov 13, 2006 4:47 pm
Location: Finland

Postby esteel » Fri Nov 17, 2006 7:42 pm

Ok, maybe we can step through this.. first we need to know what debian version you have installed.. 3.1 (sarge) or did you use a installer for etch which will soon become Debian GNU/Linux 4.0. They differ in quite a few things but installing the nvidia drivers is actually rather easy..
Hmm.. the files /etc/debian_version or /etc/apt/sources.list will tell what version you have.

Maybe you can copy/paste the output from the shell after you tried to run Nexuiz? Maybe we can find some clue at why it can't find its files.. Maybe its just some missing library or maybe you just download the patch to 2.1 and not the full version? :)
A easy way to capture the output is to type
Code: Select all
cd YOUR_NEX_PATH
./nexuiz-linux-sdl.sh > bla.txt
and then copy the content of that file into this forum.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby FruitieX » Fri Nov 17, 2006 7:57 pm

Erhm. Downloading the .deb packages now (even if they are version 2.0.3, i will overwrite the files with the ones i have in the .zip file) so my only dilemma left (i guess, and i hope) is to install the NVIDIA and Soundcard I would really appreciate some help (Video card: 2x Nvidia GeForce6600GT, Sound card: Creative Sound Blaster 24-bit) and since you seem to know (and you seem to reply fast) :) i also ask a question about my mouse, why does it stop functioning after about 10 mins of usage, then i have to rip out the plug (USB!!)and plug it in again to get it to work (quite annoying, and i can't imagine of playing deathmatch games like that :|) and sometimes even that doesn't work so i have to reboot. :( Let's see how fast we get this to work, i really miss Nexuiz! :). I have decided that if i won't get it to work over the weekend then i might change to windows....
THANKS.
Rasse. (*ripping out the mouse plug, again :x ")
FruitieX
Keyboard killer
 
Posts: 588
Joined: Mon Nov 13, 2006 4:47 pm
Location: Finland

Postby KadaverJack » Fri Nov 17, 2006 8:14 pm

FruitieX wrote:Erhm. Downloading the .deb packages now (even if they are version 2.0.3, i will overwrite the files with the ones i have in the .zip file) so my only dilemma left (i guess, and i hope) is to install the NVIDIA and Soundcard I would really appreciate some help (Video card: 2x Nvidia GeForce6600GT, Sound card: Creative Sound Blaster 24-bit) and since you seem to know (and you seem to reply fast) :)

http://home.comcast.net/~andrex/Debian- ... ation.html
I would recommend the module-assitant method...

And the soundcard should work out of the box... (it is listed as supported) Are you shure the mixer is turned up?
EDIT: do you have an onboard sound chip? if so, is it disabled in the BIOS?

i also ask a question about my mouse, why does it stop functioning after about 10 mins of usage, then i have to rip out the plug (USB!!)and plug it in again to get it to work (quite annoying, and i can't imagine of playing deathmatch games like that :|) and sometimes even that doesn't work so i have to reboot.

Sounds weird... Do you have another mouse to test if it also happens with that one? Does the mouse still have power? (is the light on or off?)
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Postby FruitieX » Fri Nov 17, 2006 8:31 pm

Another mouse? Yes. It's even PS/2 and doesn't the same dam thing, And what the? there goes the keyboard also!?!?!?!?!? just plugged an really old keyboard so i can type this post.... Really strange, might buy a new pc soon :S
FruitieX
Keyboard killer
 
Posts: 588
Joined: Mon Nov 13, 2006 4:47 pm
Location: Finland

Postby esteel » Fri Nov 17, 2006 8:33 pm

Well debian has a slightly different file layout so you will have to do a bit searching to find all the files to replace but you can play online just fine with any 2.x version.. Though you might be missing the CTF flag indicators but that will not do harm :) Oh and we fixed a crash that did sometimes happen when downloading maps.. But as long as we try to get your system running that ok :)

Well there are two ways to install the NVidia driver.. one is the debian way and the other is the nvidia way. I think the easier one if the later. FIrst you will need to (as root, best done in a textconsole) install the kernel header files of your currently used kernel. apt-get install kernel-headers-`uname -r`, then download the nvidia driver from http://download.nvidia.com/XFree86/Linu ... 9-pkg1.run, stop the GUI (/etc/init.d/gdp stop) and run the nvidia installer. It should hopefully run without errors. Hmm you need to change the GUI config to use the nvidia driver.. I THINK its enough to just run nvidia-xconfig, that should do that for you.. Its been a while since i tried it that way :). Now you can restart the GUI again with /etc/init.d/gdm start.

Edit: d'oh, to slow :(
:P
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby FruitieX » Fri Nov 17, 2006 8:47 pm

esteel wrote:Well debian has a slightly different file layout so you will have to do a bit searching to find all the files to replace but you can play online just fine with any 2.x version.. Though you might be missing the CTF flag indicators but that will not do harm :) Oh and we fixed a crash that did sometimes happen when downloading maps.. But as long as we try to get your system running that ok :)

Well there are two ways to install the NVidia driver.. one is the debian way and the other is the nvidia way. I think the easier one if the later. FIrst you will need to (as root, best done in a textconsole) install the kernel header files of your currently used kernel. apt-get install kernel-headers-`uname -r`, then download the nvidia driver from http://download.nvidia.com/XFree86/Linu ... 9-pkg1.run, stop the GUI (/etc/init.d/gdp stop) and run the nvidia installer. It should hopefully run without errors. Hmm you need to change the GUI config to use the nvidia driver.. I THINK its enough to just run nvidia-xconfig, that should do that for you.. Its been a while since i tried it that way :). Now you can restart the GUI again with /etc/init.d/gdm start.

Edit: d'oh, to slow :(
:P


Edit: d'oh, to slow :(

Hehe, but my problem here is that i have ABSOLUTELY NO clue about how to install the kernel (stupid n00bish me) i tried the apt-get install kernel-headers-`uname -r` thing, but it all shows some info, and says that try apt-get -f install without packages.

SORRY THIS IS IN FINNISH :) :) hope you have encountered this "problem" (or is it? :))

debian:/home/rasse# apt-get install kernel-headers-`uname -r`
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu... Valmis
Saatat haluta suorittaa "apt-get -f install" korjaamaan nämä:
Näillä paketeilla on tyydyttämättömiä riippuvuuksia:
alsa-base: Riippuvuudet: linux-sound-base mutta ei ole asennuskelpoinen
alsamixergui: Riippuvuudet: libasound2 (> 1.0.9) mutta 1.0.8-3 on merkitty asennettavaksi
Riippuvuudet: libfltk1.1 (>= 1.1.6) mutta ei ole asennuskelpoinen
Riippuvuudet: libgcc1 (>= 1:4.0.0-9) mutta 1:3.4.3-13sarge1 on merkitty asennettavaksi
Riippuvuudet: libstdc++6 (>= 4.0.1) mutta 3.4.3-13sarge1 on merkitty asennettavaksi
kernel-headers-2.4.27-2-386: Riippuvuudet: kernel-headers-2.4.27-2 mutta ei ole merkitty asennettavaksi
nexuiz: Riippuvuudet: libc6 (>= 2.3.6-6) mutta 2.3.2.ds1-22sarge4 on merkitty asennettavaksi
Riippuvuudet: libsdl1.2debian (>= 1.2.10-1) mutta 1.2.7+1.2.8cvs20041007-4.1 on merkitty asennettavaksi
Riippuvuudet: nexuiz-data (>= 2.0-1) mutta ei ole asennuskelpoinen
nvidia-glx: Riippuvuudet: nvidia-kernel-1.0.8776 mutta ei ole asennuskelpoinen Riippuvuudet: x11-common (>= 1:7.0.0) mutta ei ole asennuskelpoinen
Riippuvuudet: libc6 (>= 2.3.6-6) mutta 2.3.2.ds1-22sarge4 on merkitty asennettavaksi
E: Kaikkia riippuvuuksia ei ole tyydytetty. Kokeile "apt-get -f install" ilmanpaketteja (tai ratkaise itse).

Hope this helps...
FruitieX
Keyboard killer
 
Posts: 588
Joined: Mon Nov 13, 2006 4:47 pm
Location: Finland

Postby esteel » Fri Nov 17, 2006 9:17 pm

Hmm no idea what apt-get is trying to tell us :) Can you try
Code: Select all
echo $LANG
unset LANG
before running apt-get in the shell? That should make the output english IN THE CURRENT shell only. Either set it back to what echo did tell in the first line or exit the shell and start a new shell and it should be finnish again..

But i suppose some previous installation did not work correctly or there are some dependency problems.. english apt-get should help to see whats wrong :)
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Next

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron