No sound in Ubuntu 8.04 (Hardy) with Pulseaudio

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

Moderators: Nexuiz Moderators, Moderators


  • Running Nexuiz (latest version available from Ubuntu repositories) with Pulseaudio, and can get no sound from it at all. Does Nexuiz work with Pulseaudio? If not, is there some command switch that lets Nexuiz bypass Pulseaudio?

    FIY, have other games (Quake 4 etc) working with Pulseaudio fine.
    Brownieboy
    Member
     
    Posts: 11
    Joined: Tue May 06, 2008 11:31 am

Tue May 06, 2008 12:33 pm

Tue May 06, 2008 1:06 pm

  • @[TSA] Psychcf,

    Thanks for the reply.

    Can't see Banshee in System Monitor. And am not sure what else might be the culprit.

    But from my (extremely) limited knowledge of PulseAudio, I thought that the whole idea of it is that no one app can lock the sound device. Or have I got it completely wrong?
    Brownieboy
    Member
     
    Posts: 11
    Joined: Tue May 06, 2008 11:31 am

Tue May 06, 2008 2:03 pm

  • Not sure if the version in the Ubuntu repositories starts the SDL version by default or not, but if it does then installing libsdl1.2debian-pulseaudio should let Nexuiz interface with pulseaudio properly.
    :)
    Keyboard killer
     
    Posts: 590
    Joined: Tue Feb 28, 2006 9:09 pm

Tue May 06, 2008 8:53 pm

  • libsdl1.2debian-pulseaudio is installed. When I run nexuiz-linux-sdl.sh from a console I get this in the output:

    Failed to open the audio device! (No available audio device)
    S_Startup: sound output initialization FAILED
    S_Startup: SndSys_Init failed.
    Brownieboy
    Member
     
    Posts: 11
    Joined: Tue May 06, 2008 11:31 am

Tue May 06, 2008 9:37 pm

  • Is alsa set up to use pulseaudio?

    alsamixer should show one slider called "pulse" if it is.
    Taiyo.uk
    Alien trapper
     
    Posts: 436
    Joined: Mon Apr 17, 2006 8:48 pm
    Location: Reading, IN-GER-LUND!!!

Wed May 07, 2008 6:20 am

  • Confirmed. Here's how alsamixer looks.... approximately! Only one slider present.


    Card: PulseAudio │
    │ Chip: PulseAudio │
    │ View: [Playback] Capture All │
    │ Item: Master │
    │ │
    │ ┌──┐ │
    │ │▒▒│ │
    │ │▒▒│ │
    │ │▒▒│ │
    │ │▒▒│ │
    │ │▒▒│ │
    │ │▒▒│ │
    │ │▒▒│ │
    │ │▒▒│ │
    │ │▒▒│ │
    │ │▒▒│ │
    │ │▒▒│ │
    │ ├──┤ │
    │ │OO│ │
    │ └──┘ │
    │ 100<>100 │
    │ < Master >
    Brownieboy
    Member
     
    Posts: 11
    Joined: Tue May 06, 2008 11:31 am

Wed May 07, 2008 10:44 am

  • Wee-ard. Is SDL_mixer installed?
    Taiyo.uk
    Alien trapper
     
    Posts: 436
    Joined: Mon Apr 17, 2006 8:48 pm
    Location: Reading, IN-GER-LUND!!!

Wed May 07, 2008 12:52 pm

  • Taiyo.uk wrote:Wee-ard. Is SDL_mixer installed?


    Don't think so. Typing SDL_mixer in a console does nothing anyway.
    Brownieboy
    Member
     
    Posts: 11
    Joined: Tue May 06, 2008 11:31 am

Wed May 07, 2008 1:33 pm

  • Brownieboy wrote:
    Taiyo.uk wrote:Wee-ard. Is SDL_mixer installed?


    Don't think so. Typing SDL_mixer in a console does nothing anyway.


    No, it's not an application it's one of the SDL libraries. It's often required for sound in SDL applications. I'm unsure what the Debian package name is exactly.

    Do these files exist on your system? (replace lib64 with lib if you're on 32 bit)

    /usr/lib64/libSDL_mixer-1.2.so.0
    /usr/lib64/libSDL_mixer.so
    Taiyo.uk
    Alien trapper
     
    Posts: 436
    Joined: Mon Apr 17, 2006 8:48 pm
    Location: Reading, IN-GER-LUND!!!

Wed May 07, 2008 5:47 pm

  • I have to close Firefox before I start Nexuiz to get sound in Hardy. Have not tried going the SDL route with the added library that Dave mentioned above, but will try that.
    cat /dev/urandom > /dev/mem
    John Galt
    Alien
     
    Posts: 166
    Joined: Thu Jul 19, 2007 9:20 pm
    Location: Washington, DC

Wed May 07, 2008 8:20 pm

  • Taiyo.uk wrote:
    Brownieboy wrote:
    Taiyo.uk wrote:Wee-ard. Is SDL_mixer installed?


    Don't think so. Typing SDL_mixer in a console does nothing anyway.


    No, it's not an application it's one of the SDL libraries. It's often required for sound in SDL applications. I'm unsure what the Debian package name is exactly.

    Do these files exist on your system? (replace lib64 with lib if you're on 32 bit)

    /usr/lib64/libSDL_mixer-1.2.so.0
    /usr/lib64/libSDL_mixer.so


    libSDL_mixer-1.2.so.0 is there, but is a link pointing to libSDL_mixer-1.2.so.0.2.6. No libSDL_mixer.so though. I'm 32 bit.

    The package for it appears to be libsdl-mixer1.2:

    http://packages.debian.org/stable/libs/libsdl-mixer1.2

    but it's not in the repositories for me, so I'm a bit wary of installing it.
    Brownieboy
    Member
     
    Posts: 11
    Joined: Tue May 06, 2008 11:31 am

Wed May 07, 2008 8:23 pm

  • John Galt wrote:I have to close Firefox before I start Nexuiz to get sound in Hardy. Have not tried going the SDL route with the added library that Dave mentioned above, but will try that.


    Closing Firefox makes no difference for me. I can play sound from more than one app at a time anyway - e.g. music from Amarok while playing Quake 4 - so I didn't think it would be a case of Firefox or any other app hogging the sound to itself.
    Brownieboy
    Member
     
    Posts: 11
    Joined: Tue May 06, 2008 11:31 am

Sun May 11, 2008 12:57 pm


  • I was having the same problem, until I figured out that the launcher is programmed to launch "/usr/games/nexuiz --quiet" for some inexplicable reason. So just drag the launcher from the menu to the top panel, then right-click on it, and hit preferences. Then just just delete the "--quiet" part of the launcher command, and it fixed right away for me (on Ubuntu 8.04) Hope that helps!
    kub1c
    Newbie
     
    Posts: 1
    Joined: Mon May 26, 2008 4:33 pm
    Location: Reno


  • kub1c wrote:I was having the same problem, until I figured out that the launcher is programmed to launch "/usr/games/nexuiz --quiet" for some inexplicable reason. So just drag the launcher from the menu to the top panel, then right-click on it, and hit preferences. Then just just delete the "--quiet" part of the launcher command, and it fixed right away for me (on Ubuntu 8.04) Hope that helps!

    That's strange, since the "--quiet" option of the launch script has nothing to do with sound, it just disables console output.
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm


  • KadaverJack wrote:
    kub1c wrote:I was having the same problem, until I figured out that the launcher is programmed to launch "/usr/games/nexuiz --quiet" for some inexplicable reason. So just drag the launcher from the menu to the top panel, then right-click on it, and hit preferences. Then just just delete the "--quiet" part of the launcher command, and it fixed right away for me (on Ubuntu 8.04) Hope that helps!

    That's strange, since the "--quiet" option of the launch script has nothing to do with sound, it just disables console output.


    Thanks for the tip.

    I'm pretty sure that I've been starting Nexuiz from the console rather than the launcher though, so I'm not hopeful that this is my problem. I'll check it out tonight and report back.
    Brownieboy
    Member
     
    Posts: 11
    Joined: Tue May 06, 2008 11:31 am

Fri May 30, 2008 8:23 am

  • As I suspected, removing the --quite option from the launcher made no difference. Neither did running the app from a console.
    Brownieboy
    Member
     
    Posts: 11
    Joined: Tue May 06, 2008 11:31 am

Fri May 30, 2008 5:57 pm

  • I'm having the same issue. I came across the following:

    "PulseAudio is now enabled by default. Some non-GNOME applications still need to be changed to output to pulse/esd by default and the volume control tools are not yet integrated." (wiki.ubuntu.com)

    I'm not really sure what that means though.


    Edit: ^R-Alien was kind enough to walk me through how sound works in linux. Apparently my problem involved Amarok, a kde program I choose to run in gnome for its intelligent gui and usage of sql lite. It was attempting to use the 'artsd' wrapper so I had to close amarok, pull up my terminal, kill artsd, open amarok back up and change the audio wrapper to 'ALSA'.

    I also changed my settings in system > preferences > sound . On the 'devices tab', I changed everything to use 'ALSA' rather than auto detect. On the 'sound tab' I disabled 'ESD'.
    User avatar
    [-z-]
    Site Admin and Nexuiz Ninja
     
    Posts: 1794
    Joined: Mon Nov 13, 2006 12:20 am
    Location: Florida

Tue Jun 03, 2008 1:58 am

  • [-z-] wrote:I'm having the same issue. I came across the following:

    "PulseAudio is now enabled by default. Some non-GNOME applications still need to be changed to output to pulse/esd by default and the volume control tools are not yet integrated." (wiki.ubuntu.com)

    I'm not really sure what that means though.


    Edit: ^R-Alien was kind enough to walk me through how sound works in linux. Apparently my problem involved Amarok, a kde program I choose to run in gnome for its intelligent gui and usage of sql lite. It was attempting to use the 'artsd' wrapper so I had to close amarok, pull up my terminal, kill artsd, open amarok back up and change the audio wrapper to 'ALSA'.

    I also changed my settings in system > preferences > sound . On the 'devices tab', I changed everything to use 'ALSA' rather than auto detect. On the 'sound tab' I disabled 'ESD'.


    Sounds like you've totally bypassed Pulse Audio, which is something I don't want to do. (Most of my other apps work with it fine).

    I checked my own Amarok, and it's set to use Pulse Audio. I can't see any "artsd" process running in the system monitor.
    Brownieboy
    Member
     
    Posts: 11
    Joined: Tue May 06, 2008 11:31 am

Mon Jun 23, 2008 10:46 am

  • Still not working for me in Ubuntu, but oddly, works fine with Linux Mint, which is based on Ubuntu anyway. Why it works on one and not the other, I've no idea. But I much prefer Mint to "plain" Ubuntu, so I'm happy now.
    Brownieboy
    Member
     
    Posts: 11
    Joined: Tue May 06, 2008 11:31 am

Mon Jun 23, 2008 1:22 pm

  • Many of the devs recommended I use ASLA in favor of pulseaudio but if you've got it working and you're happy, more power to ya!
    User avatar
    [-z-]
    Site Admin and Nexuiz Ninja
     
    Posts: 1794
    Joined: Mon Nov 13, 2006 12:20 am
    Location: Florida



Return to Nexuiz - Support / Bugs




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