You are not logged in.
I just installed moc and upon running it with mocp, I get the following errors:
$ mocp
Can't load plugin libwavpack_decoder: file not found
Running the server...
Trying JACK...
Trying ALSA...
ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave
Trying OSS...
FATAL_ERROR: No valid sound driver!
FATAL_ERROR: Server exited!
I found this thread, but it did not fix my issue since I don't have a ~/.asoundrc or /etc/asound.conf file to remove. https://bbs.archlinux.org/viewtopic.php?id=176997
If anybody could help me solve this issue, that would great. I'm happy to provide any output if it would help.
Last edited by Archeon (2016-03-26 21:41:27)
Offline
And what do you have? If you are using pulseaudio you have to have the /etc/asound.conf from the pulseaudio-alsa package. Post
sudo fuser -v /dev/snd/*
Last edited by V1del (2016-03-24 08:32:44)
Offline
You have an errormessage that's not mentioned at all in that other thread, so there's a big chance you have another issue.
Can't load plugin libwavpack_decoder: file not found
Is wavpack installed on your system ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
And what do you have? If you are using pulseaudio you have to have the /etc/asound.conf from the pulseaudio-alsa package. Post
sudo fuser -v /dev/snd/*
$ sudo fuser -v /dev/snd/*
did not return anything
I guess that means that I don't have the pulseaudio-alsa package. I'm not sure if this would help, but for my i3 config to manage my laptop's volume keys, I use the following two lines:
bindsym XF86AudioRaiseVolume exec pactl -- set-sink-volume 1 +5% #increase sound volume
bindsym XF86AudioLowerVolume exec pactl -- set-sink-volume 1 -5% #decrease sound volume
pactl's man page states that pactl "Control(s) a running PulseAudio sound server".
Unfortunately, I'm not very good when it comes to multimedia, so I hope this is of use!
Offline
You have an errormessage that's not mentioned at all in that other thread, so there's a big chance you have another issue.
Can't load plugin libwavpack_decoder: file not found
Is wavpack installed on your system ?
$ pacman -Ss wavpack
extra/wavpack 4.75.2-1
Audio compression format with lossless, lossy and hybrid compression modes
multilib/lib32-wavpack 4.75.2-2
Audio compression format with lossless, lossy, and hybrid compression modes
Suggests that I don't have wavpack installed.
Offline
The fuser command should at least return pulseaudio accessing your cards if it is functional on your system. If the pactl commands work that seems to be the case. Therefore you seem have everything you need, so what happens if you install those two packages and retry?
Offline
The fuser command should at least return pulseaudio accessing your cards if it is functional on your system. If the pactl commands work that seems to be the case. Therefore you seem have everything you need, so what happens if you install those two packages and retry?
After running:
$ sudo pacman -S pulseaudio-alsa
....
$ sudo pacman -S wavpack
...
$ sudo fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: vigenere 2242 F.... pulseaudio
/dev/snd/controlC1: vigenere 2242 F.... pulseaudio
They show up now and mocp runs properly now. Thanks for the help, V1del and Lone_Wolf!
Offline