Forum


Latest Message: 8 minutes ago

Sound problems with…
 
Notifications
Clear all

Sound problems with ET on Ubuntu 9.10 (Karmic Koala)

15 Posts
6 Users
0 Reactions
539 Views
(@mcswilly)
Active Member
Joined: 16 years ago
Posts: 7
Topic starter  

Anyone able to clarify how to get the ET’s sound working under Ubuntu 9.10???

ET does not appear to play nicely with Pulse Audio. So I’m starting it with the et-sdl-sound hack that pushes the sound through ALSA. This seems to work but part way through a map the sound just disappears.

Any ideas??

thanks

/McSwilly


   
Quote
(@fraggle)
Reputable Member
Joined: 16 years ago
Posts: 303
 

😆 your swahilli is great!!!

No really i have no idea your speaking a different language to me when you speak Ubuntu 😡

Soz cant help!!


Scrim Captain


   
ReplyQuote
(@the-admiral)
Prominent Member
Joined: 16 years ago
Posts: 726
 

Cake and a few others run Linux ET. Doubt you’ll get much help until one of them turn up.

Do you have a pet pulling the sound cord out? :p


   
ReplyQuote
(@mcswilly)
Active Member
Joined: 16 years ago
Posts: 7
Topic starter  

That was English (honest!) – this is Swahili,

Mtu yeyote anaweza kufafanua jinsi ya kupata ET’s sound kazi chini Ubuntu 9.10?

ET haionekani kucheza na Pulse Audio nicely. Basi I’m mapya ni pamoja na et-sdl-sound hack kwamba banar väg sauti kupitia ALSA. Hii inaonekana kazi lakini sehemu njia ramani ya sauti tu ya kutoweka.

Mawazo yoyote?

asante

/McSwilly
😆


   
ReplyQuote
(@mcswilly)
Active Member
Joined: 16 years ago
Posts: 7
Topic starter  

Do you have a pet pulling the sound cord out? :p

No, but I do have a pet that’s cost me $800 at the vet this week. 🙁 Give me a sound cord puller any day!


   
ReplyQuote
(@micky)
Reputable Member
Joined: 15 years ago
Posts: 211
 

Linux only sends sound down one channel (or it used to).
So if something else tries to make sound while you playin then something throws a hissy fit.
i used to have this prob with the music player and firefox when i used to run linux.
try making sure no other sound will occur while you playing et


   
ReplyQuote
(@messenjah)
Prominent Member
Joined: 16 years ago
Posts: 641
 

I came across this problem when I installed ET on ubuntu (karmic) not long ago
The fix I came across was –

sudo nautilus
navigate to /etc – look for rc.local
Open and add

echo et.x86 0 0 direct' > /proc/asound/card0/pcm0p/oss
echo et.x86 0 0 disable' > /proc/asound/card0/pcm0c/oss

Came across this after a quick google search – http://rapidshare.com/files/61436505/et-sdl-sound.html
Apparently this script also fixes it if the above doesnt work. But I have not tried it so use at your own risk 🙂


   
ReplyQuote
(@mcswilly)
Active Member
Joined: 16 years ago
Posts: 7
Topic starter  

Linux only sends sound down one channel (or it used to).

Thanks, for the reply but this is not the issue. The problem has been introduced with Unbuntu 9.10 – 9.04 was fine. My understanding is ET uses OSS for sound, which is ancient and support for it has disappeared in the latest OS version.


   
ReplyQuote
(@micky)
Reputable Member
Joined: 15 years ago
Posts: 211
 

Thanks, for the reply but this is not the issue. The problem has been introduced with Unbuntu 9.10 – 9.04 was fine.

Ah Erm . . did you install 9.10 off the nets or off a live cd.
I only ask cause from past experience ubuntu tends to be less stable if downloaded off the nets than from live cd.
other than that im mainly useless as i left linux a while ago for macs xD
so my knowledge is largely out dated now 🙁


   
ReplyQuote
(@messenjah)
Prominent Member
Joined: 16 years ago
Posts: 641
 

mcswilly did you try what I suggested?


   
ReplyQuote
(@mcswilly)
Active Member
Joined: 16 years ago
Posts: 7
Topic starter  

I came across this problem when I installed ET on ubuntu (karmic) not long ago
The fix I came across was –

sudo nautilus
navigate to /etc – look for rc.local
Open and add

"echo et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
"echo et.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss

Came across this after a quick google search – http://rapidshare.com/files/61436505/et-sdl-sound.html
Apparently this script also fixes it if the above doesnt work. But I have not tried it so use at your own risk 🙂

Here’s an update…

The ALSA PCM proc commands Messenjah supplied work fine with my analog sound card (thanks!), but do not work with my USB headset. If you want to know more about these commands check out [url] http://alsa.opensrc.org/index.php/ALSA_ … c_commands[/url] .

The USB headset works with the et-sdl-sound script, but the sound dies halfway through a game for some reason. I’m going to do some more testing and see if I can find out why. Will report back if I find anything useful.

/McSwilly


   
ReplyQuote
(@messenjah)
Prominent Member
Joined: 16 years ago
Posts: 641
 

Thats atleast some progress. Good to hear. I don’t know much about USB problems – so you’re on your own there.

Good luck 🙂


   
ReplyQuote
(@the-whole-cake)
Reputable Member
Joined: 15 years ago
Posts: 225
 

Ive got sound running in ET with the regular file (no et-sdl-sound) on a USB audio headset. Its important to remember: These things are literally USB soundcards. They are an additional sound device and are just as valid as the thing on your motherboard or PCI slot.

The only problem is that yes, if I have another audio program playing – theres no sound in ET.
In all honesty I have to say that the state of sound APIs in linux is a mess. While you hear that OSS is dead and gone – its still alive & kicking because other systems aside from linux use it. For example BSD and other unixes. ALSA is just a linuxy thing. To my knowledge theres an updated OOS out there like OOS 4 or something. I think we use OOS 3 in Linux/ubuntu cos its not encouraged to upgrade.

I THINK. I might be talking poop noise here.

But the updated OOS is meant to support hardware/software mixing and allow for dual-sound and stuff like that. to be honest if there was just one API things would be fine. It doesnt help matters introducing this PulseAudio thing. PulseAudio is actually only replacing one component of ALSA (the mixer) – so it doesnt help the way its represented in Ubuntu and other OSes as a different sound API and stuff. Its just ugh.

Further more latest OSS supports heaps of stuff that Alsa/ Pulse dont (apparently). I might be talking pooo here but that was my understanding. I need to do my research I think.

Its just so confusing though. Dont even get me started on ~/.asoundrc.
Give this a try swilly if you want to see if it works on your USB headset. (I would recommend backing up your original file first though. My configs have a habbit of breaking everything).

Replace ~/.asoundrc with the following text:

pcm.snd_card {
type hw
card 0
device 0
}

pcm.output {
type dmix
ipc_key 1024
ipc_perm 0660 # Sound for everybody in your group!
slave.pcm "snd_card"

slave {
# This stuff provides some fixes for latency issues.
# buffer_size should be set for your audio chipset.
period_time 0
period_size 1024
buffer_size 8192
}

bindings {
0 0
1 1
}
}

# Allow reading from the default device.
# Also known as record or capture.
pcm.input {
type dsnoop
ipc_key 2048
slave.pcm "snd_card"

## Possible artsd full duplex fix:
# slave {
# period_time 0
# period_size 1024
# buffer_size 8192
# }

bindings {
0 0
1 1
}
}

pcm.dsp0 {
type plug
playback.pcm "output"
capture.pcm "input"
}

ctl.dsp0 {
type plug
slave.pcm "snd_card"
}

ctl.mixer0 {
type plug
slave.pcm "snd_card"
}

pcm.duplex {
type asym
playback.pcm "output"
capture.pcm "input"
}

pcm.!default {
type plug
slave.pcm "duplex"
}

does this box go out to the internetnt? HI MUM! LOOK IM BPUTTING WORDS ON THE COMPUTR AND THEY COME OUT THE OTHTER SIDE ON OTHER PEEOPLESSSSS COMPUTER


   
ReplyQuote
(@mcswilly)
Active Member
Joined: 16 years ago
Posts: 7
Topic starter  

Thanks Cake for the extensive reply.

I’m kinda happy with the current solution – using an analog headset with ET.

As “they” say… “If it works, don’t ##$% with it.” And who am I to argue with the infamous “they”?

/McSwilly


   
ReplyQuote
(@the-whole-cake)
Reputable Member
Joined: 15 years ago
Posts: 225
 

hey dude.

Yeah man its like that So fellow. Whenever I hear someone telling someone else how to do something right – its always ‘now just do it like So’.

does this box go out to the internetnt? HI MUM! LOOK IM BPUTTING WORDS ON THE COMPUTR AND THEY COME OUT THE OTHTER SIDE ON OTHER PEEOPLESSSSS COMPUTER


   
ReplyQuote
Share: