Sunday, June 16, 2013

failed running MOCP




hai guys, i want to share a solution in MOCP.
when you running a MOCP, you find this problem

Running the server...
Trying OSS...

FATAL_ERROR: No valid sound driver!


FATAL_ERROR: Server exited!

first, you can try check your problem in ALSA

# alsa_out

and you will find :
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jackdmp 1.9.9.5
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2012 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
no message buffer overruns
no message buffer overruns
no message buffer overruns
JACK server starting in realtime mode with priority 20
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel


ATTENTION: The playback device "hw:0" is already in use. The following applications  are using your soundcard(s) so you should  check them and stop them as necessary before  trying to start JACK again:

pulseaudio (process ID 1663)

JackTemporaryException : now quits...
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
jack server not running?

so you have problem in jack driver.

this is solution for it :

i find this problem in my fedora 18. I try install

1. # yum install jaaa.x86_64 japa.x86_64 ambdec.x86_64 pulseaudio-module-jack.x86_64 bio2jack.x86_64

2. # yum install jack-audio-connection-kit.x86_64 jack-audio-connection-kit-devel.x86_64 bio2jack-devel.x86_64

3. # yum install python-alsa.x86_64 alsa-tools-firmware.x86_64 alsa-oss.x86_64

after install you run this CLI

$ aoss mocp

if you reboot and will start using MOCP and find problem again about this, you just run

$ aoss mocp

have fun, and good luck.