[linux]Sound is a no go


(wouter) #1

Got alsa driver with OSS emulation on. I use teamspeak2 on /dev/dsp0 and have dsp linked to adsp which in its turn is linked to adsp0 on a ct4700 (soundblaster 128 pci, es 1370 chipset). Kernel is 2.4.21 running xfree 4.1.0 and KDE 3.1.2woody. All the rest is a mixture of Woody stable and sarge.

I can get xmms to play and teamspeak2 to run at the same time without any probs. However looking in the console when ET is started is states /dev/dsp: no such device.
I tried starting it without any other apps running but no sound in ET.

I know /dev/dsp is there and working properly. Anyone got ideas?
I need TS2 to run on dsp0 because that device can record and playback at the same time whereas adsp0 cannot.


(wouter) #2

It seems ET is picly. I tried specifying the dsp in the etmain.cfg for my profile. I did adsp, adsp0 and dsp (of which ALL work with xmms) but all failed in ET giving me a No such device error. Dsp0 did however work. That’s odd since I think ET doesn’t need anything special to play sounds right?


([=O=]SMYLER) #3

I have zero knowledge of Linux in any of it’s many variations but I’m sorry but that above sounds like some of the most unneccessarily complicated shite I have ever heard of to get a comms program to run and one of the networks I’m admin for is running on DOS 5.0 and good old novell 3, so I’m not shy to having to use DOS command lines 3 and four lines deep.

But for fucks sake the beauty of the old Windows XP thing is you load it up and you play it, I don’t care who contradicts this, I tell them now there is SOMETHING wrong/out dated with your machine if well nigh EVERY game you throw in doesn’t work if you have at least the min specs.

In short Linux looks like a great big pile of complication, or is that the attraction, I can understand the challenge of getting things to function. But ultimately if it keeps you from playing the game for any length of time, in my book it’s a bit of a fuck up.


(Borsuk) #4

It works just fine for me. Sorry but I can’t help.

Oh and by the way, my bro uses Debian and he has pretty strange problem with Et. It says "extraction failed’ when trying to run the installer. Strangely enough, the same file works fine on my mandrake 8.2 . Any ideas ?


(g00se) #5

Well…thanks for posting in a Linux thread asking for technical help and offering nothing other than a shameles plug for Microsoft products.

Feeding the trolls at 6 A.M. What a way to start the day. :disgust:


(HellToupee) #6

the reason y its so complicated is because ET dosnt make use of sound mixers there is no standard one everyone has theirs sumthing like arts which would be a pos for gaming.

I use ET inlinux because it runs far far better than windows, i use linux because it is far far better than windows sure it requires ability to use a computer any old idiot can use XP its made for that, sure it loses out on speed realiablity and security but hey its easy. Linux is free and beats windows at a good many things with so many applications built around the open source thing.

Windows is for the lesser computer users people who just want something to work with out them needing to know anything, linux is for the people that are into using computers, in a few years we might all be using it.


(wouter) #7

Hold on lovelies :wink: This thread wasn’t about how linux or XP rocks :slight_smile:
I use both and like both of them for different purposes. I use linux because XP hogs too much memory and linux is more efficient with that and thus able to run ET smoother than I would be able to do in XP.

But that isn’t the question. Even if ET doesn’t use a daemon to run sounds on it accesses the dsp’s … and those I mentioned should work without a hitch since other apps can run on that just fine. I know UT can do the same and give nice and proper sound. So it’s kind of odd ET can’t.


(Freedom[]Tickler) #8

I was gonna post a comment that I hope wouter got his woody stable and sarge bought him flowers,
but that wouldnt be helpful : )

I ran q3 on mandrake, but gave up on it b/c there was no Team Speak then, and I needed a voice com client for matches. But it did run smooth, my only complaint is that the mouse movement isnt as fluid in KDE/gnome as it is in windows. Looked high and low for mouse tweaks … but that is history.

I run linux as a FW/voice server/proxy server - and it treats me like an idiot - its a very humbling OS for the uninitiated.

Did you get the sound workin ? are you using a distro, or did you hack the whole thing from scratch ?


(Pamper) #9

Try switching the names of your dsp and adsp devices. That way ET can run on dsp0 like it always wants to, and teamspeak can be set to use adsp (but still be able to record + playback)

What I mean is, see if you can change:
crw-rw---- 1 root audio 14, 12 Dec 31 1969 adsp
crw-rw---- 1 root audio 14, 3 Dec 31 1969 dsp
to
crw-rw---- 1 root audio 14, 3 Dec 31 1969 adsp
crw-rw---- 1 root audio 14, 12 Dec 31 1969 dsp

The mknod command might help here. Or maybe you could do it with ln-s.


([=O=]SMYLER) #10

Well…thanks for posting in a Linux thread asking for technical help and offering nothing other than a shameles plug for Microsoft products.

Feeding the trolls at 6 A.M. What a way to start the day. :disgust:[/quote]

edited cos I thought it was too nasty and uncalled for

sigh


(weasel) #11

If you use KDE, you can pipe sound through artsd by running et with ‘artsdsp -m et’. You can then run teamspeak the same way. There may be a noticeable delay with the sound, though.


(Riftgarde) #12

74 megs is hogging?


(patchouli) #13

This still an issue? I can help. Many playback, one capture.

/dev/dsp0 works because it’s the first physical soundcard. And /dev/dsp is a symlink to it, usually. Unless you have multiple sound cards, and since we’re talking about a dinosaur SB128 I’m guessing that’s a NO. Hey, could you fix your symlinks; dsp to dsp0 and adsp to adsp0? Thanks.

It’s showing “no such device” because it’s busy. Q3/ET doesn’t ask for what it needs it just says gimmie your sound card. So when you run Teamspeak and then launch ET, TS2 already has the pcm0 capture tied up and when ET tries to take it, it sits on a black screen for a bit and finally exits or you Ctrl-C it and see that message.

Put these two lines into a startup script (like rc.local):

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

Then everything can use /dev/dsp; your jabber, mp3 player, TS2, ET. Whatever else that poor old thing can handle.

Want the details?
http://www.alsa-project.org/~iwai/OSS-Emulation.html

())))


([=O=]SMYLER) #14

I’m sorry folks that is all very good and well, but Jesus what a lot of hassle.

Excuse my ignorance but is it possible to have Linux (whatever version) installed on a machine, you boot the machine and install say ET and it will work straight away with as many problems as a windows XP machine (which if it is properly configured all drivers etc shouldn’t be any problem).

Just trying to get eductaed :smiley: .


(patchouli) #15

adding two lines of text is a lot of hassle? sigh.

The rest is just explaination, for the next or next 10 who search later on.

(As stated above, you are contributing nothing you anti-linux troll. Please edit your flamebaits. )


([=O=]SMYLER) #16

There are no flame baits anywhere in either of these two forums just you are an argumentitive piece of shit, go fuck yourself knob end.

Thats my final word on this subject or any other regarding you as you are not worth the effort.


(wouter) #17

I was aware of that particular trick however it won’t work.
Tried all there was to try but for some reason ET really wants a full duplex device instead of just a playback one. It’s odd. It’s weird. It’s the way it is.


(g00se) #18

We can only hope. :clap:


([=O=]SMYLER) #19

We can only hop.[/quote]

A similar style of misquotation.

You’re another prick who isn’t worth talking to and shall also be ignored. Goodbye.


(Vengeance) #20

We can only hop.[/quote]

A similar style of misquotation.

You’re another prick who isn’t worth talking to and shall also be ignored. Goodbye.[/quote]

Nice to see you making friends Smyler :D, but i after say you do make a lot of sense