You are not logged in.

#1 2012-07-02 19:14:02

splatterdash
Member
Registered: 2011-06-07
Posts: 72

[SOLVED] MPD only outputs screeching sound

I just did a massive upgrade (about 1 Gigs of download, total) after a few weeks of not running pacman. After this upgrade, my MPD is behaving weirdly. Whenever I try to play any audio files, it only outputs a very loud screeching sound.

I didn't update the config. All other audio channels seem to work fine (YouTube plays ok, playing audio files using mplayer also works). It's just MPD that's doing this.

Any clue on how to fix this? Oh, and by the way, I'm using ncmpcpp to play from MPD.

Here's my mpd.conf if it's of any use.

EDIT: sorry, I pasted the wrong file. This is the correct one.
EDIT2: removed config, has nothing to do with error

Last edited by splatterdash (2012-07-10 08:34:22)

Offline

#2 2012-07-02 19:58:38

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: [SOLVED] MPD only outputs screeching sound

Hmm, i see nothing wrong there. Config is fine. You seem to be using pulseaudio, which *should* be failproof also. Since you mentioned all other apps work i really cant see the source of the issue.

There was a major pulseaudio update tho, but i dont think much changed there. Cant hurt to check tho. the configs are in /etc/pulse or in ~/.pulse


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#3 2012-07-02 20:10:49

splatterdash
Member
Registered: 2011-06-07
Posts: 72

Re: [SOLVED] MPD only outputs screeching sound

That's why I'm confused hmm.

I'm running it as a user process instead of a daemon. Could this somehow be the cause? (FYI, it's always been run as a user process).

I did a diff of .pulse/default.pa and /etc/pulse/default.pa. The only different lines are these:

< ### BEGIN: Equalized audio configuration
< ### Generated from: pulseaudio-equalizer
< load-module module-ladspa-sink sink_name=ladspa_output.mbeq_1197.mbeq master=alsa_output.pci-0000_00_1b.0.analog-stereo plugin=mbeq_1197 label=mbeq control=3.0,3.0,7.3,7.0,3.0,-1.0,-6.6,-6.3,-4.5,-4.0,1.1,1.2,5.8,7.9,8.8
< set-default-sink ladspa_output.mbeq_1197.mbeq
< set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo 65536
< set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo 0
< ### END: Equalized audio configuration

and this:

load-module module-stream-restore restore_device=false

In /etc/default.pa, the first block of lines does not exist and the second one exists without the restore_device flag.

Offline

#4 2012-07-04 03:53:23

PaulSamways
Member
From: Canberra, Australia
Registered: 2011-10-04
Posts: 8

Re: [SOLVED] MPD only outputs screeching sound

I'm experiencing the exact same problem since updating MPD yesterday. Disabling software mixing seems to resolve the problem, perhaps a bug in the latest version of MPD (my machine gets updated everyday so it seems to only be in the latest version).

Cheers,
Paul.

Offline

#5 2012-07-04 08:30:20

هاشم
Member
From: Algeria
Registered: 2010-04-23
Posts: 30
Website

Re: [SOLVED] MPD only outputs screeching sound

The same here with oss. Downgrading mpd solved my probleme until they fix it.


الناس رجلان : رجل نام في النور، و رجل استيقظ في الظلام!!
فاين انت منهما ؟؟؟

archlinux x86_64 | مجتمع لينكس العربي

Offline

#6 2012-07-04 18:39:51

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: [SOLVED] MPD only outputs screeching sound

please report upstream, sounds like software volume bug.


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#7 2012-07-06 13:01:32

splatterdash
Member
Registered: 2011-06-07
Posts: 72

Re: [SOLVED] MPD only outputs screeching sound

PaulSamways wrote:

I'm experiencing the exact same problem since updating MPD yesterday. Disabling software mixing seems to resolve the problem, perhaps a bug in the latest version of MPD (my machine gets updated everyday so it seems to only be in the latest version).

Cheers,
Paul.

This also solved mine! Thanks for the tip smile!

Shall I mark this as solved? The bug is still not fixed, but this works for now..

Offline

#8 2012-07-06 13:24:02

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: [SOLVED] MPD only outputs screeching sound

Ha, add my voice to the chorus.  Downgrade fixed it.  Whomever opens the bug report, please post a link in the thread.

Offline

#9 2012-07-06 13:25:11

splatterdash
Member
Registered: 2011-06-07
Posts: 72

Re: [SOLVED] MPD only outputs screeching sound

Their bug tracker points here: http://musicpd.org/mantis, which is the main page of their wiki. I can't seem to find any proper bug tracker there..

Offline

#10 2012-07-06 21:17:09

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: [SOLVED] MPD only outputs screeching sound

splatterdash wrote:

Their bug tracker points here: http://musicpd.org/mantis, which is the main page of their wiki. I can't seem to find any proper bug tracker there..

http://bugs.musicpd.org


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#11 2012-07-08 16:15:39

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: [SOLVED] MPD only outputs screeching sound

...so did anyone open this bug report with upstream?  Still present in the git version.

EDIT: Did it myself. http://bugs.musicpd.org/view.php?id=3515

Last edited by graysky (2012-07-08 16:52:51)

Offline

#12 2012-07-08 17:14:32

martadinata
Member
Registered: 2012-01-26
Posts: 26

Re: [SOLVED] MPD only outputs screeching sound

audio_output {
	type		"pulse"
	name		"My Pulse Output"
#	server 	"localhost"
#	mixer_type   "software"	# optional
#	sink		"alsa_output.pci-0000_00_1b.0.analog-stereo"
}

my pulse setup on MPD, and working fine... *FYI

Offline

#13 2012-07-08 18:10:49

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: [SOLVED] MPD only outputs screeching sound

@martadinata - looks like mine.  Playing flac files just fine but mp3 encoded files give static.

Offline

#14 2012-07-08 23:19:49

userlander
Member
Registered: 2008-08-23
Posts: 413

Re: [SOLVED] MPD only outputs screeching sound

Had the same problem, disabling software mixing fixed it for now. Thx 4 thread.

Offline

#15 2012-07-09 23:46:12

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: [SOLVED] MPD only outputs screeching sound

OK!  The devs fixed this issue in git.  Just wondering when they'll bump the official version.  Till then, download the mpd-git package from the AUR and enjoy.

https://aur.archlinux.org/packages.php?ID=19676

@op - plz mark this thread as solved.

Last edited by graysky (2012-07-09 23:46:26)

Offline

#16 2012-07-10 08:33:10

splatterdash
Member
Registered: 2011-06-07
Posts: 72

Re: [SOLVED] MPD only outputs screeching sound

Awesome smile, thanks!

Offline

Board footer

Powered by FluxBB