No Lugaru sound on Ubuntu Karmic Koala (64-bit)?

The place to discuss all things Lugaru.
Post Reply
jbwiv
Posts: 3
Joined: Wed Apr 08, 2009 8:10 pm

No Lugaru sound on Ubuntu Karmic Koala (64-bit)?

Post by jbwiv » Mon Jan 11, 2010 12:14 pm

Guys,

Lugaru works great otherwise, but I get no sound. What I do get is this:

$ ./lugaru
open /dev/[sound/]dsp: Device or resource busy
open /dev/[sound/]dsp: Device or resource busy
open /dev/[sound/]dsp: Device or resource busy

I found an older pulse that referenced installing openal, but Karmic uses Pulseaudio so I'm not sure this applies. Any ideas?

Thanks,
Jbwiv

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Re: No Lugaru sound on Ubuntu Karmic Koala (64-bit)?

Post by rudel_ic » Mon Jan 11, 2010 11:00 pm

I think you need to emulate ALSA through pulseaudio for this, not sure right now though.

Check the pulseaudio system settings, there should be settings for what sound gets played through what.

Edit: and OpenAL works with pulseaudio (at least it did the last time I tinkered with OpenAL). So installing it shouldn't do you any harm.

User avatar
Wilbefast
Posts: 1204
Joined: Wed Dec 31, 2008 2:32 pm
Location: In a sealed box shielded against environmentally induced quantum decoherence
Contact:

Re: No Lugaru sound on Ubuntu Karmic Koala (64-bit)?

Post by Wilbefast » Sat Jan 16, 2010 4:18 am

Got the same problem on 9.04 (Jaunty Jumbuck) 64-bit: sound sometimes plays, sometimes doesn't. Read: pulseaudio is a bitch, why can't we just use ALSA!? Jesus!

Oh wait that's right: f*** you Skype!

bernard
Posts: 7
Joined: Tue Jan 19, 2010 3:28 pm

Re: No Lugaru sound on Ubuntu Karmic Koala (64-bit)?

Post by bernard » Tue Jan 19, 2010 3:32 pm

Run Lugaru with the command

Code: Select all

$ padsp ./lugaru  # or, put this in your launcher.
This emulates OSS (API calls made through reads and writes to the /dev/dsp device) and should give you glorious sound.


EDIT: You can use your system OpenAL too, of course. I had performance problems when I did that, unfortunately.

User avatar
Wilbefast
Posts: 1204
Joined: Wed Dec 31, 2008 2:32 pm
Location: In a sealed box shielded against environmentally induced quantum decoherence
Contact:

Re: No Lugaru sound on Ubuntu Karmic Koala (64-bit)?

Post by Wilbefast » Wed Jan 20, 2010 3:27 am

Awesome :D Seems to work, although the sound sometimes worked for me before, so I may just have had a lucky break. For the launcher, to be more specific, change this:

Code: Select all

"/home/<your name>/lugaru/lugaru"
to this:

Code: Select all

padsp /home/<your name>/lugaru/lugaru
In other words, make sure you remove the quotes - I didn't at first, and couldn't figure out what the problem was :oops:

Post Reply