Media Players are acting up in odd ways [SOLVED]

Everything about X, Gnome, KDE, ... and everything running on it

Media Players are acting up in odd ways [SOLVED]

Postby rvs314 » 2018-11-05 02:18

I'm very new to linux (especially linux audio - which is something complex in and of itself as I understand it), and I'm having an issue with some media players. Some media-playing applications work flawlessly. Things like VLC, Firefox and most other apps will play audio just fine, except for a few commandline music players that I've been attempting to work out. An example of this is the MOC player, a command-line mp3 player that I had been using for quite a while. I had to force-shut it down after it glitched out, and now certain music players no longer work for me. When I try to run MOC now, I get the following output:

Code: Select all
Running the server...
Trying JACK...
Trying ALSA...
Trying OSS...

FATAL_ERROR: No valid sound driver!


FATAL_ERROR: Server exited!


Background info:

I'm using pulseaudio on top of alsa right now. I'm running Debian sid and pulseaudio 12.2. My audio runs from my Graphics Card's HDMI cable to my monitor, where I have my sound system set up. Any information you can provide would be totally useful.
Last edited by rvs314 on 2018-11-08 01:03, edited 1 time in total.
rvs314
 
Posts: 6
Joined: 2018-09-02 02:29

Re: Media Players are acting up in odd ways

Postby dilberts_left_nut » 2018-11-05 05:52

rvs314 wrote:I'm very new to linux
rvs314 wrote:I'm running Debian sid
That is probably a poor choice then - you should be familiar with the way the system works and have a very good grasp of package management for sid not to be a painful experience.

Start with what has changed recently and investigate from there.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4902
Joined: 2009-10-05 07:54
Location: enzed

Re: Media Players are acting up in odd ways

Postby sunrat » 2018-11-05 14:46

This might be one of those cases where sid is broken. There was a problem with libasound2-plugins 1.1.7-1 which is now fixed in libasound2-plugins 1.1.7-2. An upgrade could have broken it but another upgrade could fix it.

https://forum.siduction.org/index.php?topic=7422.0
https://bugs.debian.org/cgi-bin/bugrepo ... bug=912721
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2461
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Media Players are acting up in odd ways

Postby stevepusser » 2018-11-05 17:44

Beginners and Sid go together like fried fish dipped in chocolate.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Quod Libet 4.2.0, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Liquorix kernel 4.18-22, Midori 6.0
User avatar
stevepusser
 
Posts: 10130
Joined: 2009-10-06 05:53

Re: Media Players are acting up in odd ways

Postby rvs314 » 2018-11-05 21:09

A few things:

1) I am not totally helpless when operating a linux machine. I probably shouldn't have written that I'm very new (I've been using linux for about a year), but I've never considered myself an expert as I haven't any proper training. I'm just a hobbyist who doesn't want to get yelled at for saying I know something I don't. I understand the risks that come with using sid, so please don't write me off as a gradeschooler whining because he got his $12,000 RC car broken.

2) I saw the problem with libasound2 and am on the latest version (1.1.7-2), which I don't think has helped anything. The error they have isn't the one I'm getting, as 'alsamixer' runs fine on my machine.
rvs314
 
Posts: 6
Joined: 2018-09-02 02:29

Re: Media Players are acting up in odd ways

Postby debiman » 2018-11-07 06:53

rvs314 wrote:
Code: Select all
Running the server...
Trying JACK...
Trying ALSA...
Trying OSS...

FATAL_ERROR: No valid sound driver!


FATAL_ERROR: Server exited!


Background info:

I'm using pulseaudio on top of alsa right now.

this is normal and expected.
MOC does not automatically detect pulseaudio.
workarounds exist; i think one would use some sort of wrapper, but don't know how exactly. iirc. it went via OSS - maybe pulseaduio has an OSS plugin.
sorry i can't be more precise; i do use moc, but i don't use pulseaudio.

as for the other problems you are experiencing, i think you need to provide more info.
User avatar
debiman
 
Posts: 3017
Joined: 2013-03-12 07:18

Re: Media Players are acting up in odd ways

Postby rvs314 » 2018-11-08 01:03

Thank you, that was my issue.

I was able to find a quick patch to this problem on this forum thread here: https://moc.daper.net/node/360. You should be able to work around it by calling mocp with the padsp command, like this:

Code: Select all
padsp mocp
rvs314
 
Posts: 6
Joined: 2018-09-02 02:29

Re: Media Players are acting up in odd ways [SOLVED]

Postby debiman » 2018-11-08 07:43

^ what i said. glad i remembered it correctly; apparently my brain is not completely fried yet. :D

padsp is part of the pulseaudio-utils package.
User avatar
debiman
 
Posts: 3017
Joined: 2013-03-12 07:18


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable