You are not logged in.

#1 2016-03-24 02:12:13

Archeon
Member
Registered: 2016-03-09
Posts: 41

[SOLVED] mocp "Can't load plugin libwavpack_decoder" and "FATAL_ERROR"

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

#2 2016-03-24 07:32:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: [SOLVED] mocp "Can't load plugin libwavpack_decoder" and "FATAL_ERROR"

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

#3 2016-03-24 11:37:35

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [SOLVED] mocp "Can't load plugin libwavpack_decoder" and "FATAL_ERROR"

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

#4 2016-03-24 16:03:10

Archeon
Member
Registered: 2016-03-09
Posts: 41

Re: [SOLVED] mocp "Can't load plugin libwavpack_decoder" and "FATAL_ERROR"

V1del wrote:

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

#5 2016-03-24 16:05:29

Archeon
Member
Registered: 2016-03-09
Posts: 41

Re: [SOLVED] mocp "Can't load plugin libwavpack_decoder" and "FATAL_ERROR"

Lone_Wolf wrote:

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

#6 2016-03-24 16:17:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: [SOLVED] mocp "Can't load plugin libwavpack_decoder" and "FATAL_ERROR"

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

#7 2016-03-26 21:41:14

Archeon
Member
Registered: 2016-03-09
Posts: 41

Re: [SOLVED] mocp "Can't load plugin libwavpack_decoder" and "FATAL_ERROR"

V1del wrote:

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

Board footer

Powered by FluxBB