sounds in linux

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

Sat Sep 16, 2006 10:17 pm

  • this is the first time i've ever played this game and one of the things that suprise me the most is that the rocket PHEWWWWWW sound repeats its self and i have no player sounds/jumping or anything, only hit sounds, item pickup, and the rocket PHEWWW - ive tried all the binaries and its all the same... is this normal? if so... it blows :?
    g1mp
    Member
     
    Posts: 18
    Joined: Sat Sep 16, 2006 10:15 pm

Sat Sep 16, 2006 10:38 pm

  • Nexuiz doesn'T have grunty jump-sounds, or player yells. Only fire sounds, landing, item pickups etc.

    So probably yes, that's a normal thing you've just noticed ;)
    "One should strive to achieve; not sit in bitter regret."
    WE ARE NEXUIZ.
    Image
    Image
    User avatar
    C.Brutail
    Laidback mapper
     
    Posts: 2357
    Joined: Tue Feb 28, 2006 7:26 pm
    Location: Ironforge

Sat Sep 16, 2006 10:54 pm

  • Code: Select all
    g_footsteps 1

    - footstep sounds
    :)
    Keyboard killer
     
    Posts: 590
    Joined: Tue Feb 28, 2006 9:09 pm

Sat Sep 16, 2006 11:26 pm

  • ok, but what about the annoying rocket PHEWWW sound, eventualy it gets so loud i just mute my sound, btw ty for fast responses
    g1mp
    Member
     
    Posts: 18
    Joined: Sat Sep 16, 2006 10:15 pm

Sun Sep 17, 2006 4:08 am

  • also i was watching a few nexuiz videos, i have about 20% of the sounds everyone else has, i have no firing sounds - only the hit sound and item pickup - thats it... i noticed the only sounds i hear are .wav and the rest are .ogg - why am i not hearing ogg when i can play them in all my media players?

    edit**
    now i notice this in console...

    S_LoadSound: Couldn't load "misc/hitground1.ogg"
    S_LoadSound: Couldn't load "misc/hitground2.ogg"
    S_LoadSound: Couldn't load "misc/hitground3.ogg"
    S_LoadSound: Couldn't load "misc/hitground4.ogg"
    S_LoadSound: Couldn't load "misc/itempickup.ogg"
    S_LoadSound: Couldn't load "misc/itemrespawn.ogg"
    S_LoadSound: Couldn't load "misc/jumppad.ogg"
    S_LoadSound: Couldn't load "misc/mediumhealth.ogg"
    S_LoadSound: Couldn't load "misc/megahealth.ogg"
    S_LoadSound: Couldn't load "misc/minihealth.ogg"
    S_LoadSound: Couldn't load "misc/powerup.ogg"
    S_LoadSound: Couldn't load "misc/powerup_shield.ogg"
    S_LoadSound: Couldn't load "misc/teleport.ogg"
    S_LoadSound: Couldn't load "player/lava.wav"
    S_LoadSound: Couldn't load "player/slime.wav"
    S_LoadSound: Couldn't load "weapons/crylink_fire.ogg"
    S_LoadSound: Couldn't load "weapons/electro_bounce.ogg"
    S_LoadSound: Couldn't load "weapons/electro_fire.ogg"
    S_LoadSound: Couldn't load "weapons/electro_fire2.ogg"
    S_LoadSound: Couldn't load "weapons/electro_impact.ogg"
    S_LoadSound: Couldn't load "weapons/electro_impact_combo.ogg"
    S_LoadSound: Couldn't load "weapons/grenade_bounce1.ogg"
    S_LoadSound: Couldn't load "weapons/grenade_bounce2.ogg"
    S_LoadSound: Couldn't load "weapons/grenade_bounce3.ogg"
    S_LoadSound: Couldn't load "weapons/grenade_fire.ogg"
    S_LoadSound: Couldn't load "weapons/grenade_impact.ogg"
    S_LoadSound: Couldn't load "weapons/hagar_fire.ogg"
    S_LoadSound: Couldn't load "weapons/hagexp1.ogg"
    S_LoadSound: Couldn't load "weapons/hagexp2.ogg"
    S_LoadSound: Couldn't load "weapons/hagexp3.ogg"
    S_LoadSound: Couldn't load "weapons/hook_fire.ogg"
    S_LoadSound: Couldn't load "weapons/hook_impact.ogg"
    S_LoadSound: Couldn't load "weapons/lasergun_fire.ogg"
    S_LoadSound: Couldn't load "weapons/laserimpact.ogg"
    S_LoadSound: Couldn't load "weapons/nexfire.ogg"
    S_LoadSound: Couldn't load "weapons/neximpact.ogg"
    S_LoadSound: Couldn't load "weapons/ric1.ogg"
    S_LoadSound: Couldn't load "weapons/ric2.ogg"
    S_LoadSound: Couldn't load "weapons/ric3.ogg"
    S_LoadSound: Couldn't load "weapons/rocket_fire.ogg"
    S_LoadSound: Couldn't load "weapons/rocket_fly.wav"
    S_LoadSound: Couldn't load "weapons/rocket_impact.ogg"
    S_LoadSound: Couldn't load "weapons/rocket_det.ogg"
    S_LoadSound: Couldn't load "weapons/shotgun_fire.ogg"
    S_LoadSound: Couldn't load "weapons/tink1.ogg"
    S_LoadSound: Couldn't load "weapons/uzi_fire.ogg"
    S_LoadSound: Couldn't load "weapons/weapon_switch.ogg"
    S_LoadSound: Couldn't load "weapons/weaponpickup.ogg"
    S_LoadSound: Couldn't load "weapons/strength_fire.ogg"
    S_LoadSound: Couldn't load "announcer/male/03kills.ogg"
    S_LoadSound: Couldn't load "announcer/male/05kills.ogg"
    S_LoadSound: Couldn't load "announcer/male/10kills.ogg"
    S_LoadSound: Couldn't load "announcer/male/15kills.ogg"
    S_LoadSound: Couldn't load "announcer/male/20kills.ogg"
    S_LoadSound: Couldn't load "announcer/male/25kills.ogg"
    S_LoadSound: Couldn't load "announcer/male/30kills.ogg"
    S_LoadSound: Couldn't load "announcer/male/botlike.ogg"
    S_LoadSound: Couldn't load "announcer/male/electrobitch.ogg"
    S_LoadSound: Couldn't load "announcer/male/yoda.ogg"
    S_LoadSound: Couldn't load "announcer/robotic/1fragleft.ogg"
    S_LoadSound: Couldn't load "announcer/robotic/1minuteremains.ogg"
    S_LoadSound: Couldn't load "announcer/robotic/2fragsleft.ogg"
    S_LoadSound: Couldn't load "announcer/robotic/3fragsleft.ogg"
    S_LoadSound: Couldn't load "announcer/robotic/lastsecond.ogg"
    S_LoadSound: Couldn't load "announcer/robotic/narrowly.ogg"
    g1mp
    Member
     
    Posts: 18
    Joined: Sat Sep 16, 2006 10:15 pm

Sun Sep 17, 2006 4:57 am

  • Seems like you don't have the ogg vorbis libraries installed. Search for libvorbis and libvorbisfile in your distros package manager and install the packages.
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Sun Sep 17, 2006 5:57 am

  • both of those i have...idk why it wont work :S only the .wav files play under Nexuiz...and yet i can play .ogg files in all my media players
    g1mp
    Member
     
    Posts: 18
    Joined: Sat Sep 16, 2006 10:15 pm

Sun Sep 17, 2006 6:36 am

  • Which distribution and which version of libvorbis do you use?
    Could you start nexuiz with the parameter "-developer -condebug" and post the logfile that is created in ~/.nexuiz/data/qconsole.log somewhere?
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Sun Sep 17, 2006 4:56 pm

  • when i do those commands i get a "cannot find content/data" i tried putting the -basedir but it keeps giving me it.... and there is no log in data


    i use ubuntu 6.06 64bit and "libvorbis0a" and "libvorbisfile3"

    i also noticed that "player/slime.wav" and "player/lava.wav" couldnt be loaded...
    g1mp
    Member
     
    Posts: 18
    Joined: Sat Sep 16, 2006 10:15 pm

Sun Sep 17, 2006 6:02 pm

  • Are you sure you're using the 64bit Linux binaries?
    User avatar
    SavageX
    Site Admin
     
    Posts: 442
    Joined: Wed Mar 01, 2006 9:34 am

Mon Sep 18, 2006 12:47 am

  • probably, i got those names from my synaptic package manager, so most likey they are 64bit
    g1mp
    Member
     
    Posts: 18
    Joined: Sat Sep 16, 2006 10:15 pm

Mon Sep 18, 2006 10:21 am

  • Could you post the whole console log? Nexuiz should complain if it can't load a library and it would be very helpfun to know which one exactly.
    Then again the .deb packages in debian (which i guess ubuntu also uses) have dependencies for all the needed libraries includeing oggvorbis.. Are you sure everthing is correctly installed?
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Mon Sep 18, 2006 7:26 pm

  • they should be installed correctly if nexuiz is the only thing having the problem... ill edit this post with the console log in a second


    found it the problem:

    Trying to load library... "libvorbis.so.0" - loaded.
    Trying to load library... "libvorbisfile.so.3" "libvorbisfile.so" "./libvorbisfile.so.3" "./libvorbisfile.so" - failed.
    Ogg Vorbis support disabled
    g1mp
    Member
     
    Posts: 18
    Joined: Sat Sep 16, 2006 10:15 pm

Mon Sep 18, 2006 8:19 pm

  • Does the symlink /usr/lib/libvorbisfile.so.3 actually exist? And does it point to libvorbisfile.so.3.1.1?
    If not, try 'aptitude reinstall libvorbisfile3'.
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Mon Sep 18, 2006 10:07 pm

  • i already checked that the symlink was correct, and i already tried reinstalling the package...

    edit** idk whats going on, i think im the only one that ever had this problem and i have no clue why i even have it, everything works with vorbis/ogg except this game. Is it worth all the trouble its giving me?
    g1mp
    Member
     
    Posts: 18
    Joined: Sat Sep 16, 2006 10:15 pm

Mon Sep 18, 2006 10:57 pm

  • Are you using the nexuiz-21.zip from nexuiz.com? Or some ubuntu packages?
    The ones in debian sid work fine for me, maybe those are not that same as are used in ubuntu and if there is a problem with those the problems should be fixed.

    And yeah imo its worth the trouble.. its a good game and when we fix the problems you will have helped making it even better! This can be a good feeling!
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Mon Sep 18, 2006 11:24 pm

  • yea, i really want to fix it, even if its just for the "glory" of overcoming a problem, anyway i just downloaded nexuiz-21.zip from the main website because i saw no other alternative
    g1mp
    Member
     
    Posts: 18
    Joined: Sat Sep 16, 2006 10:15 pm

Tue Sep 19, 2006 8:32 am

  • Well did it work any better with that one? If so we need someone with ubuntu to find the differences in the two..
    Hmm guess you figured it out but you just need to extract the zip file and start one of the two nexuiz-linux-glx.sh or nexuiz-linux-sdl.sh like:
    cd PATH-YOU-WANT-NEXUIZ
    unzip DOWNLOAD-PATH/nexuiz-21.zip
    cd Nexuiz
    ./nexuiz-linux-sdl.sh OR ./nexuiz-linux-glx.sh

    if you want it to be for all users:
    become root
    cd /usr/local/games
    unzip DOWNLOAD-PATH/nexuiz-21.zip
    cd /usr/local/bin
    ln -s /usr/local/games/Nexuiz/nexuiz-linux-glx.sh nexuiz-linux-glx.sh
    ln -s /usr/local/games/Nexuiz/nexuiz-linux-sdl.sh nexuiz-linux-sdl.sh
    Now every user should be able to start nexuiz with as /usr/local/bin should be in PATH..
    nexuiz-linux-sdl.sh OR nexuiz-linux-glx.sh
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Tue Sep 19, 2006 7:56 pm

  • no, i meant i've had nexuis-21.zip since the beginning of the problem


    edit** i fixed it, i rain the 64bit app directly and it worked.... but now i get Signal 11 when i try to play campaign/multiplayer..lol
    g1mp
    Member
     
    Posts: 18
    Joined: Sat Sep 16, 2006 10:15 pm

Tue Sep 19, 2006 8:39 pm

  • Such a problem isn't known yet (and I can't reproduce it). To help with that, please install a program named "gdb" and try the following steps:

    Code: Select all
    $ ulimit -c unlimited
    $ ./nexuiz-linux-x86_64-glx
    ... make it crash ...
    $ ls
    (watch out for a file named similar to core.43897)
    $ gdb nexuiz-linux-x86_64-glx core.43897
    (gdb) bt
    // LOTS of output with numbers
    (gdb) quit


    and post this "output with numbers" here. The number 43897 is a placeholder and is different for every crash.

    Do not delete that core file yet, depending on what we find, I'll give you some more commands to analyze it further.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Tue Sep 19, 2006 8:41 pm

  • i did the ulimit -c 0 and then made it crash, but it didnt produce a core file

    edit** now i tried to do it again and its giving me a "cannot modify limit" - i did ulimit -c 0 the first time becuase thats what i saw you post for some odd reason, and when i reloaded i saw "ulimit -c unlimited" ...
    g1mp
    Member
     
    Posts: 18
    Joined: Sat Sep 16, 2006 10:15 pm

Tue Sep 19, 2006 9:31 pm

Tue Sep 19, 2006 9:39 pm

  • still no core file, where exactly is it supposed to be? The nexuiz main directory?
    g1mp
    Member
     
    Posts: 18
    Joined: Sat Sep 16, 2006 10:15 pm

Tue Sep 19, 2006 10:22 pm

  • I'm beginning to think divVerent got you wrong.. Nexuiz is not crashing for you right? So there can't be a core file. Its just not loading those libs right?

    Though i really have no idea why it should not load those files as you tell those links and libs are installed and correct..
    it looks like this for me:
    Code: Select all
    $ ls -al /usr/lib/libvorbisfile.*
    -rw-r--r-- 1 root root 22308 2006-01-26 01:36 /usr/lib/libvorbisfile.a
    -rw-r--r-- 1 root root   885 2006-01-26 01:36 /usr/lib/libvorbisfile.la
    lrwxrwxrwx 1 root root    22 2006-04-22 15:55 /usr/lib/libvorbisfile.so -> libvorbisfile.so.3.1.1
    lrwxrwxrwx 1 root root    22 2006-04-14 23:39 /usr/lib/libvorbisfile.so.3 -> libvorbisfile.so.3.1.1
    -rw-r--r-- 1 root root 26264 2006-01-26 01:36 /usr/lib/libvorbisfile.so.3.1.1

    The first two should not be of interest but the last three..

    also check if your libs are ok..
    Code: Select all
    $ /sbin/ldconfig -p | grep vorbisfile
            libvorbisfile.so.3 (libc6) => /usr/lib/libvorbisfile.so.3
            libvorbisfile.so (libc6) => /usr/lib/libvorbisfile.so


    Loading libs is a very basic thing so if Nexuiz can't load them they are either not installed right or something is wrong with your system.. Imo that alone is worth to find out whats wrong..
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Tue Sep 19, 2006 10:25 pm

  • no, i fixed that by running the 64bit binary directly, and now im getting the Signal 11 error which IS making my game crash
    g1mp
    Member
     
    Posts: 18
    Joined: Sat Sep 16, 2006 10:15 pm

Tue Sep 19, 2006 10:42 pm

  • Well in that case it should produce a core file then..
    try this in the nexuiz directory:

    $ gdb ./nexuiz-linux-x86_64-sdl
    inside gdb type
    run
    and when it crashes you should be able to enter
    bt
    to get the backtrace we need to take a closer look at the problem.
    We should get much better info when you use the debug version for that. Div has one here: http://141.2.16.3:7780/nex/nexuizdebug20060905_v2.1.zip but the normal backtrace might also be a good start. Not to make things too complicated :)

    Also as it seems the nexuiz shell script does not notice its a 64bit system the output of uname -m will be interesting..

    And i might have missed it but you have installed drivers for your graphic card right? The closed source ones from ati or nvidia?
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Tue Sep 19, 2006 11:17 pm

  • fglrx 28.8.08 ati drivers, and when i do the gdb it crashes my computer indefinetly, and theres no way for me to remember the entire bt since after you do cntrl+alt+f1 you cant open firefox to post it or anything... and im not gonna waste my time writing them down with pen and paper (if there really are as many as im thinking)

    i really appreciate everyones help, idk why im the odd one out with the issue...
    g1mp
    Member
     
    Posts: 18
    Joined: Sat Sep 16, 2006 10:15 pm

Wed Sep 20, 2006 8:18 am

  • Oh, esteel's hint doesn't exactly work like that...

    but it works like this: install "screen".

    Code: Select all
    $ screen
    $ gdb ./nexuiz-linux-x86_64-glx
    (gdb) run
    ... make it crash ...


    Then, press Ctrl-Alt-F1. There, log in and type:

    Code: Select all
    $ screen -dR
    (gdb) bt
    ... note its output (for example, select it using the mouse, Ctrl-Alt-F2, log in, cat > backtrace.txt and press the middle mouse button) ...
    (gdb) quit


    After that, you can go back to F7...
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Wed Sep 20, 2006 11:29 am

  • That is if gpm is active (the mouse thing on the console)
    Well the screen is still running so you can reattach it again in X in a xterm or something there the mouse will work for sure.
    Just start a shell and enter screen -dR and you should again have the text available.

    Sorry for missing this little point, seems it was too late for me yesterday :)

    Well i noticed you also have problems with warsow with similar error outputs.. yeah i spy their forum :P. So if you still think about if its worth to fix this i would say yes its a good idea to fix your system :)

    PS: For people that like to work with screen: If you only need one screen per computer, alias screen=screen -D -RR is very nice. it will get you a screen if there is none running, or it will reattach the first one it finds. Its a sort of 'dwim' command (do-what-i-mean) :P You can also add -A to make screen adapt to the new window size instead of trying to resize your xterm.. I use that one too.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Wed Sep 20, 2006 3:41 pm

  • divVerent wrote:Then, press Ctrl-Alt-F1. There, log in and type:


    Another thing you can do at this point: Hit Ctrl-Alt-Backspace to kill your running X server, log in again graphically and reattach your screen using "screen -dR" or a similar command (like esteel's).

    That way, it should be easier to copy paste the backtrace.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Next


Return to Nexuiz - General Discussion




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest