You are not logged in.

#1 2014-02-11 06:53:29

wootsgoinon
Member
Registered: 2013-10-30
Posts: 44

[SOLVED] moc: "FATAL_ERROR: No valid sound driver! Server exited!"

mocp

Running the server...
Trying JACK...
Trying ALSA...
ALSA lib pcm_hw.c:1741:(_snd_pcm_hw_open) Unknown field mmap_emulation
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Trying OSS...

FATAL_ERROR: No valid sound driver!


FATAL_ERROR: Server exited!

so some time ago i messed up the sound badly and now i'm clueless on what to do. i have alsa, oss and pulseaudio (re-re-re-re-re)installed (i know i shouldn't). i'm a total noob when it comes to the audio department so i can't really add way too much to it.
audacious drops the following when i try to play something:
ALSA error: snd_pcm_open failed: Invalid argument.
there is audio, however (some games/web) if i pulseaudio --start.

pls ask for outputs to give you the necessary info

Last edited by wootsgoinon (2014-02-11 23:37:15)

Offline

#2 2014-02-11 17:57:16

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED] moc: "FATAL_ERROR: No valid sound driver! Server exited!"

did you have working audio before you did something that messed it up?

alsa is pretty much all you need for working audio. You could run pulseaudio on top of it if you want, but usually it doesn't benefit you in any way unless you have some specific issues with alsa, like audio only playing from one application at the time.
You can safely remove everything OSS related, unless you actually want to configure your system to use OSS for some reason.

If you want to revert to default your alsa configuration you could just remove your ~/.asoundrc and /etc/asound.conf if you have modified those files. If you want to use pulseaudio, reinstall pulseaudio-alsa to revert /etc/asound.conf configuration so that your alsa-only applications work with pulse.

Offline

#3 2014-02-11 23:36:39

wootsgoinon
Member
Registered: 2013-10-30
Posts: 44

Re: [SOLVED] moc: "FATAL_ERROR: No valid sound driver! Server exited!"

"remove your ~/.asoundrc and /etc/asound.conf if you have modified those files. If you want to use pulseaudio, reinstall pulseaudio-alsa to revert /etc/asound.conf configuration"
thank you, that did it!

Last edited by wootsgoinon (2014-02-11 23:38:28)

Offline

#4 2014-05-28 18:06:05

regressionfree
Member
Registered: 2013-05-09
Posts: 2

Re: [SOLVED] moc: "FATAL_ERROR: No valid sound driver! Server exited!"

thanks for this
I installed alsaequal messing about and it screwed up flash in firefox, and moc with the same  "FATAL_ERROR: No valid sound driver!" error since alsaequal created an  ~/.asoundrc file. Once removed everything was back to awesome.

Last edited by regressionfree (2014-05-28 18:08:26)

Offline

Board footer

Powered by FluxBB