Forums » Linux

Linux - no sound (/dev/dsp input/output error)

Mar 28, 2003 sessionID link
I'm using Gentoo linux 1.4, and I don't have any sound in Vendetta. Other apps (quake3, xmms, etc.) work. The volume is not muted ;).
I have only the following error in the console:
/dev/dsp: input/output error.
Alsa-oss is installed.

TIA for any ideas!
Mar 28, 2003 sessionID link
Well, fixed...
I had to use the game like Quake3: start 'artsd', and than artsdsp -m vendetta.
Mar 28, 2003 furball link
I use this to start up vendetta:

#!/bin/sh
xgamma -q -gamma 2.0
sudo su root -c 'echo "vendetta 0 0 direct" > /proc/asound/card0/pcm0p/oss'
sudo su root -c 'echo "vendetta 0 0 disable" > /proc/asound/card0/pcm0c/oss'
amixer sset PCM,0 28
/usr/local/bin/vendetta
xgamma -q -gamma 1.5
amixer sset PCM,0 24

The two key lines are the two sudo lines.
Mar 28, 2003 roguelazer link
Hmmm, you shouldn't have to start artsd... As a matter of fact, the arts daemon detracts from the performance of vendetta. Have you done the following:

"emerge alsa-lib"
"emerge alsa-driver"
"emerge alsa-oss"
"emerge alsa-utils"
"emerge alsa-tools"

?

Also, make sure that your kernel config for sound is proper. I would tell you mine, but I'm compiling it yet again, and cannot spare the time. :)

PPS: If you got a nvidia card, turn on FSAA and DigitalVibrance for Vendetta. It looks pluscool.
Jun 20, 2003 hook link
sessionID: artsdsp -m vendetta works perfectly ok ...you don't have to restart artsd ...thx for the tip though
Sep 15, 2003 linuxknight link
Evil me still has an old Esoniq Audiopci '97 :), so I don't even need alsa to use sound. All I do is compile it in the kernel, so neener neener neener!
Sep 15, 2003 roguelazer link
Which means you have OSS. ALSA works better, you know... And OSS is depricated in 2.6, in which ALSA is default. So neener neener neener.