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

Postby John Galt » 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

Postby Brownieboy » 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

Postby Brownieboy » 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

Postby esteel » Sun May 11, 2008 12:57 pm

Maybe firefox uses some plugin that can only use OSS? I think like a year back i had a similar problem
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Check the command the launcher is configured for?

Postby kub1c » Mon May 26, 2008 4:40 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

Re: Check the command the launcher is configured for?

Postby KadaverJack » Mon May 26, 2008 4:51 pm

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.
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Re: Check the command the launcher is configured for?

Postby Brownieboy » Thu May 29, 2008 12:10 am

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

Postby Brownieboy » 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

Postby [-z-] » 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'.
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

Postby Brownieboy » 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

PreviousNext

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron