You are not logged in.

#1 2008-08-14 11:41:55

patogen
Member
Registered: 2008-05-11
Posts: 86

mpd sound skipping

I have a problem with MPD. I don't know when it started, but it's quite annoying. Quite often the sound starts skipping, which is very annoying. I've never had this problem before, this is some info:

uname -a:

Linux shiva 2.6.26-ARCH #1 SMP PREEMPT Sun Aug 10 14:04:12 CEST 2008 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz GenuineIntel GNU/Linux

DAEMONS=(@syslog-ng @hal @network @crond @sshd @openntpd @alsa @mpd @sensors @lighttpd @gpm @cups @preload @ddclient !foldingathome-smp vboxnet)

lspci

00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82P965/G965 PCI Express Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA IDE Controller (rev 02)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)
03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
04:00.0 VGA compatible controller: ATI Technologies Inc RV570 [Radeon X1950 Pro]
04:00.1 Display controller: ATI Technologies Inc RV570 [Radeon X1950 Pro] (secondary)
05:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
05:04.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 14)

System is up to date, mpd --version gives:
mpd (MPD: Music Player Daemon) 0.13.2

and my mpd.conf is:

music_directory                 "/mnt/mp3/Mp3"
playlist_directory              "~/.mpd/playlists"
db_file                         "~/.mpd/mpd.db"
log_file                        "~/.mpd/mpd.log"
error_file                      "~/.mpd/mpd.error"



pid_file                        "~/.mpd/mpd.pid"
state_file                      "~/.mpd/mpdstate"


user                            "patogen"

bind_to_address                 "127.0.0.1"
port                            "6600"
log_level                       "verbose"





audio_output {
        type                    "alsa"
        name                    "Sound Card"
        options                 "dev=dmixer"
        device                  "plug:dmix"
}



mixer_type                      "software"


volume_normalization            "yes"








filesystem_charset              "UTF-8"
id3v1_encoding                  "UTF-8"


metadata_to_use                  "artist,album,title,track,name,genre,date,composer,performer,disc"
save_absolute_paths_in_playlists "yes"

I have no idea on how I can figure out what is wrong, my mpd.log gives no relevant info, it's filled with:
Aug 14 13:40 : interface 1: process command "status"
Aug 14 13:40 : interface 1: command returned 0
Aug 14 13:40 : interface 1: process command "currentsong"
Aug 14 13:40 : interface 1: command returned 0

Restarting mpd gives no change.


We met up with the aliens and guess what? They have no word for fluffy!

Offline

#2 2008-08-14 18:38:44

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: mpd sound skipping

Your setup looks weird, with all the dmix info in the config file.  I only have the "type" and "name lines uncommented in the "audio output" section, like this:

audio_output {
         type                   "alsa"
         name                   "my ALSA device"
#        device                  "hw:0,1"     # optional
#        format                  "44100:16:2" # optional
}

Dmix works fine on my system.

Offline

#3 2008-08-14 18:55:23

patogen
Member
Registered: 2008-05-11
Posts: 86

Re: mpd sound skipping

fwojciec wrote:

Your setup looks weird, with all the dmix info in the config file.  I only have the "type" and "name lines uncommented in the "audio output" section, like this:

audio_output {
         type                   "alsa"
         name                   "my ALSA device"
#        device                  "hw:0,1"     # optional
#        format                  "44100:16:2" # optional
}

Dmix works fine on my system.

With this setup sound skips even more. To the point that it's not even usable. Like every 5s or so. Now it sounds like an old broken record. So this didn't help ... hmm however this is something in dmesg that caught my attention:

possible SYN flooding on port 47138. Sending cookies.
possible SYN flooding on port 47138. Sending cookies.
... loads of times.

This seems to have something to do with some sort of attack(?) when I use google.


We met up with the aliens and guess what? They have no word for fluffy!

Offline

#4 2008-08-14 19:15:41

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: mpd sound skipping

Maybe you could try and see if OSS or Puleaudio, or something other than alsa in either case, would work better with your soundcard.

Offline

#5 2008-08-14 19:23:52

patogen
Member
Registered: 2008-05-11
Posts: 86

Re: mpd sound skipping

fwojciec wrote:

Maybe you could try and see if OSS or Puleaudio, or something other than alsa in either case, would work better with your soundcard.

The odd thing is that I've been running mpd for months without a problem. And all of the sudden I get this. I do not understand what could be wrong.


We met up with the aliens and guess what? They have no word for fluffy!

Offline

#6 2008-08-15 06:53:54

patogen
Member
Registered: 2008-05-11
Posts: 86

Re: mpd sound skipping

I cannot find on how to change topic, but this is what caused it and what solves it:

1) Upgrading to most recent version of utorrent
2) Not having the proper port set, 47173 was set for me in utorrent which my firewall didn't allow
3) When changing port to something that is allowed dmesg doesn't display any more error messages and sound stops skipping

Edit: No this didn't solve it. Now it's back again.

Last edited by patogen (2008-08-15 12:14:47)


We met up with the aliens and guess what? They have no word for fluffy!

Offline

#7 2008-08-26 21:10:03

MHordecki
Member
Registered: 2008-08-19
Posts: 4

Re: mpd sound skipping

I'm suffering of similar syndrome. I'd like to say that it's *extremely* annoying! It all started after I had updated major packages from the core repo. It was a huge update, I don't know exactly which packages are responsible for this (kernel26 I guess, or one of alsa libs).

This is the list of updated packages:

qscintilla-2.2-1                         2008-08-17 13:30:17
pyqt-4.4.3-1                             2008-08-17 13:30:18
python-qscintilla-2.2-1                  2008-08-17 13:30:18
eric-4.2.0-1                             2008-08-17 13:30:21
cracklib-2.8.12-1                        2008-08-17 13:37:10
jfsutils-1.1.13-1                        2008-08-17 13:37:10
bash-3.2.039-2                           2008-08-17 13:37:11
bzip2-1.0.5-3                            2008-08-17 13:37:11
cryptsetup-1.0.6-1                       2008-08-17 13:37:11
mdadm-2.6.7-1                            2008-08-17 13:37:11
module-init-tools-3.4-1                  2008-08-17 13:37:11
pcmciautils-015-1                        2008-08-17 13:37:11
sdparm-1.03-1                            2008-08-17 13:37:11
dash-0.5.4-4                             2008-08-17 13:37:12
dmapi-2.2.8-3                            2008-08-17 13:37:12
file-4.25-1                              2008-08-17 13:37:12
filesystem-2008.07-1                     2008-08-17 13:37:12
zlib-1.2.3.3-2                           2008-08-17 13:37:12
gcc-libs-4.3.1-3                         2008-08-17 13:37:14
hdparm-8.9-1                             2008-08-17 13:37:14
hwdetect-0.9-1                           2008-08-17 13:37:14
initscripts-2008.08-1                    2008-08-17 13:37:14
klibc-extras-2.4-2                       2008-08-17 13:37:14
klibc-kbd-1.15.20080312-6                2008-08-17 13:37:14
klibc-module-init-tools-3.4-1            2008-08-17 13:37:14
klibc-udev-116-4                         2008-08-17 13:37:14
lvm2-2.02.36-1                           2008-08-17 13:37:14
man-pages-3.06-1                         2008-08-17 13:37:18
pam-1.0.1-2                              2008-08-17 13:37:19
pciutils-3.0.0-2                         2008-08-17 13:37:19
pcre-7.7-2                               2008-08-17 13:37:19
perl-5.10.0-4                            2008-08-17 13:37:23
rp-pppoe-3.10-1                          2008-08-17 13:37:26
tzdata-2008e-1                           2008-08-17 13:37:27
wget-1.11.4-1                            2008-08-17 13:37:28
wpa_supplicant-0.5.10-1                  2008-08-17 13:37:28
gksu-2.0.0-3                             2008-08-17 14:06:21
libgksu-2.0.7-1                          2008-08-17 14:06:21
libgtop-2.22.3-1                         2008-08-17 14:06:21
xorg-xsm-1.0.1-2                         2008-08-17 14:06:21
gdm-2.20.1-2                             2008-08-17 14:06:22
gnokii-0.6.26-1                          2008-08-17 14:10:00
kazehakase-0.5.5-2                       2008-08-17 14:10:57
klibc-1.5-6                              2008-08-17 14:12:38
xf86-video-vesa-1.3.0-6                  2008-08-17 14:12:38
xf86-input-mouse-1.3.0-1                 2008-08-17 14:12:39
kernel26-2.6.26.2-1                      2008-08-17 15:18:55
madwifi-0.9.4.3844-1                     2008-08-17 15:20:06
nvidia-173.14.12-3                       2008-08-17 15:20:06
qt-4.4.1-2                               2008-08-17 16:22:34
kdelibs-4.1.0-4                          2008-08-17 16:22:40
kdeaccessibility-4.1.0-1                 2008-08-17 16:22:43
kdeadmin-4.1.0-1                         2008-08-17 16:22:43
kdepimlibs-4.1.0-1                       2008-08-17 16:22:43
kdebase-runtime-4.1.0-2                  2008-08-17 16:22:52
kdebase-workspace-4.1.0-5                2008-08-17 16:22:57
kdeartwork-4.1.0-1                       2008-08-17 16:23:11
kdebase-4.1.0-2                          2008-08-17 16:23:13
kdeedu-4.1.0-1                           2008-08-17 16:23:21
kdegames-4.1.0-2                         2008-08-17 16:23:26
kdegraphics-4.1.0-3                      2008-08-17 16:23:29
kdemultimedia-4.1.0-1                    2008-08-17 16:23:30
kdenetwork-4.1.0-2                       2008-08-17 16:23:31
kdepim-4.1.0-2                           2008-08-17 16:23:34
kdeplasma-addons-4.1.0-1                 2008-08-17 16:23:34
kdesdk-4.1.0-1                           2008-08-17 16:23:35
kdetoys-4.1.0-1                          2008-08-17 16:23:36
kdeutils-4.1.0-1                         2008-08-17 16:23:37
kdewebdev-4.1.0-1                        2008-08-17 16:23:38
libgnomekbd-2.22.0-2                     2008-08-17 17:03:11
gnome-settings-daemon-2.22.2.1-1         2008-08-17 17:03:13
metacity-2.22.0-1                        2008-08-17 17:03:16
eel-2.22.2-1                             2008-08-17 17:03:19
exempi-2.0.1-2                           2008-08-17 17:03:19
gvfs-0.2.5-2                             2008-08-17 17:03:19
libtracker-0.6.6-1                       2008-08-17 17:03:19
nautilus-2.22.5.1-1                      2008-08-17 17:03:21
gnome-control-center-2.22.2.1-1          2008-08-17 17:03:32
libxevie-1.0.2-1                         2008-08-17 17:03:41
at-spi-1.22.1-1                          2008-08-17 17:03:42
gnome-session-2.22.3-1                   2008-08-17 17:03:43
gnutls-2.4.1-3                           2008-08-17 21:20:52
aalib-1.4rc5-6                           2008-08-18 14:19:20
python-mpd-0.2.1-1                       2008-08-18 14:19:20
python-mpdclient-0.10.0-2                2008-08-18 14:19:20
sqlite3-3.6.1-2                          2008-08-18 14:19:20
xterm-235-2                              2008-08-18 14:19:20
apr-1.3.2-2                              2008-08-18 14:19:21
libsamplerate-0.1.4-1                    2008-08-18 14:19:21
wine-1.1.2-1                             2008-08-18 14:19:26
libmpeg2-0.5.1-1                         2008-08-18 14:19:27
faad2-2.6.1-1                            2008-08-18 14:19:30
mplayer-1.0rc2-6                         2008-08-18 14:19:30
ffmpeg-20080715-3                        2008-08-18 14:19:31
xine-lib-1.1.15-1                        2008-08-18 14:19:32
gtk-engines-2.14.3-1                     2008-08-18 14:19:33
libexif-gtk-0.3.5-8                      2008-08-18 14:19:33
glade-3.5.2-1                            2008-08-18 14:19:36
gftp-2.0.18-3                            2008-08-18 14:19:44
git-1.5.6.5-1                            2008-08-18 14:19:44
qt-doc-4.4.0-1                           2008-08-18 18:25:03
a52dec-0.7.4-4                           2008-08-18 21:01:48
aspell-0.60.6-2                          2008-08-18 21:01:49
automoc4-0.9.87-1                        2008-08-18 21:01:49
avahi-0.6.23-1                           2008-08-18 21:01:50
awesome-2.3.3-1                          2008-08-18 21:01:50
libxrandr-1.2.3-1                        2008-08-18 21:01:50
randrproto-1.2.2-1                       2008-08-18 21:01:50
bzflag-2.0.12-1                          2008-08-18 21:01:53
ca-certificates-20080809-4               2008-08-18 21:01:55
openssl-0.9.8h-4                         2008-08-18 21:01:55
run-parts-2.30-1                         2008-08-18 21:01:55
cdparanoia-10.1-1                        2008-08-18 21:02:11
cdrkit-1.1.8-1                           2008-08-18 21:02:11
clisp-2.45-3                             2008-08-18 21:02:13
cmake-2.6.0-2                            2008-08-18 21:02:15
cmatrix-1.2a-3                           2008-08-18 21:02:15
cvs-1.11.23-2                            2008-08-18 21:02:16
cyrus-sasl-plugins-2.1.22-7              2008-08-18 21:02:16
postgresql-libs-8.3.3-2                  2008-08-18 21:02:16
cyrus-sasl-2.1.22-9                      2008-08-18 21:02:17
desktop-file-utils-0.15-1                2008-08-18 21:02:17
dirmngr-1.0.2-1                          2008-08-18 21:02:17
libassuan-1.0.5-1                        2008-08-18 21:02:17
libksba-1.0.3-1                          2008-08-18 21:02:17
dnsutils-9.5.0-4                         2008-08-18 21:02:18
libcups-1.3.8-2                          2008-08-18 21:02:18
libpng-1.2.29-2                          2008-08-18 21:02:18
gtk2-2.12.11-3                           2008-08-18 21:02:23
easytag-2.1.6-1                          2008-08-18 21:02:30
libgadu-1.8.1-1                          2008-08-18 21:02:30
speex-1.2rc1-1                           2008-08-18 21:02:30
db4.5-4.5.20-1                           2008-08-18 21:02:31
python-2.5.2-5                           2008-08-18 21:02:39
ekg2-unicode-0.1.1-1.1                   2008-08-18 21:02:41
emacs-22.2-2                             2008-08-18 21:03:00
freetype2-2.3.7-1                        2008-08-18 21:03:01
fontconfig-2.6.0-2                       2008-08-18 21:03:03
libxml2-2.6.32-2                         2008-08-18 21:03:57
poppler-0.8.4-1                          2008-08-18 21:04:00
poppler-glib-0.8.4-1                     2008-08-18 21:04:00
epdfview-0.1.6-8                         2008-08-18 21:04:01
esd-0.2.39-1                             2008-08-18 21:04:01
exo-0.3.4-2                              2008-08-18 21:04:02
fakeroot-1.9.5-1                         2008-08-18 21:04:13
foomatic-filters-3.0_20080723-1          2008-08-18 21:04:13
gail-1.22.3-1                            2008-08-18 21:04:14
gcalctool-5.22.3-1                       2008-08-18 21:04:25
ghostscript-8.63-3                       2008-08-18 21:04:32
gnugo-3.7.12-2                           2008-08-18 21:04:33
pinentry-0.7.5-3                         2008-08-18 21:04:33
gnupg2-2.0.9-1                           2008-08-18 21:04:35
gparted-0.3.8-1                          2008-08-18 21:04:38
gphoto2-2.4.2-2                          2008-08-18 21:04:40
libgphoto2-2.4.2-1                       2008-08-18 21:04:40
gstreamer0.10-good-plugins-0.10.8-4      2008-08-18 21:04:41
libcdio-0.80-3                           2008-08-18 21:04:41
libsoup-2.4.1-2                          2008-08-18 21:04:41
gtkam-0.1.15-1                           2008-08-18 21:04:42
gtkhtml-3.18.3-1                         2008-08-18 21:04:46
hsqldb-java-1.8.0.10-1                   2008-08-18 21:04:46
htop-0.8-2                               2008-08-18 21:04:46
hunspell-1.2.6-1                         2008-08-18 21:04:47
icon-naming-utils-0.8.7-1                2008-08-18 21:04:47
icu-4.0-1                                2008-08-18 21:04:50
imagemagick-6.4.2.7-1                    2008-08-18 21:04:52
intltool-0.40.3-1                        2008-08-18 21:04:52
jack-audio-connection-kit-0.109.2-2      2008-08-18 21:04:52
k9copy-2.0.2-1                           2008-08-18 21:04:53
kadu-0.6.0.2-1                           2008-08-18 21:04:59
kdelibs3-3.5.9-3                         2008-08-18 21:05:13
kile-2.0.1-1                             2008-08-18 21:05:17
libsm-1.1.0-1                            2008-08-18 21:05:17
kino-1.3.0-1                             2008-08-18 21:05:21
kismet-2007_10_R1-2                      2008-08-18 21:05:21
lame-3.98-2                              2008-08-18 21:05:21
libgnomecups-0.2.3-3                     2008-08-18 21:05:25
libgnomeprint-2.18.3-3                   2008-08-18 21:05:26
libgweather-2.22.3-1                     2008-08-18 21:05:40
libmal-0.44-1                            2008-08-18 21:05:47
libnjb-2.2.5-4                           2008-08-18 21:05:47
libsasl-2.1.22-7                         2008-08-18 21:05:47
pilot-link-0.12.3-2                      2008-08-18 21:05:47
libxfont-1.3.3-1                         2008-08-18 21:05:48
libxft-2.1.13-1                          2008-08-18 21:05:48
libxp-1.0.0-2                            2008-08-18 21:05:48
libxtrap-1.0.0-2                         2008-08-18 21:05:48
libxxf86vm-1.0.2-1                       2008-08-18 21:05:48
links-g-2.2-1                            2008-08-18 21:05:49
lirc-utils-0.8.3-1                       2008-08-18 21:05:49
lm_sensors-3.0.2-2                       2008-08-18 21:05:50
loudmouth-1.4.1-1                        2008-08-18 21:05:50
madwifi-utils-0.9.4.3844-1               2008-08-18 21:05:50
mcabber-0.9.7-4                          2008-08-18 21:05:51
mp3blaster-3.2.3-4                       2008-08-18 21:05:51
mpd-0.13.2-1                             2008-08-18 21:05:52
netkit-ftp-0.17-6                        2008-08-18 21:05:54
mpg123-1.5.0-1                           2008-08-18 21:05:56
nmap-4.68-3                              2008-08-18 21:05:56
normalize-0.7.7-3                        2008-08-18 21:05:57
nss-3.12-1                               2008-08-18 21:05:58
ntp-4.2.4p4-6                            2008-08-18 21:05:58
openssh-5.0p1-2                          2008-08-18 21:05:59
optipng-0.6.1-1                          2008-08-18 21:05:59
physfs-1.1.1-1                           2008-08-18 21:05:59
picard-0.10-1                            2008-08-18 21:06:01
pm-utils-1.1.2.4-1                       2008-08-18 21:06:02
python-dateutil-1.4-2                    2008-08-18 21:06:03
python-numpy-1.1.1-1                     2008-08-18 21:06:04
python-pytz-2008c-1                      2008-08-18 21:06:07
python-matplotlib-0.98.3-1               2008-08-18 21:06:09
python-mpdclient2-0.11.1-3               2008-08-18 21:06:09
python-pygame-1.8.1-2                    2008-08-18 21:06:09
python-pysqlite-2.4.1-1                  2008-08-18 21:06:09
rapidsvn-0.9.6-3                         2008-08-18 21:06:10
rarian-0.8.0-2                           2008-08-18 21:06:10
scrnsaverproto-1.1.0-2                   2008-08-18 21:06:10
smbclient-3.0.31-2                       2008-08-18 21:06:14
squeeze-0.2.3-2                          2008-08-18 21:06:15
vte-0.16.14-2                            2008-08-18 21:06:21
terminal-0.2.8-3                         2008-08-18 21:06:22
tuxguitar-1.0-3                          2008-08-18 21:06:26
wlan-ng26-utils-0.2.9-1                  2008-08-18 21:06:27
wxsvg-1.0b11-1                           2008-08-18 21:06:28
xcompmgr-1.1.4-1                         2008-08-18 21:06:28
xfce-mcs-plugins-4.4.2-2                 2008-08-18 21:06:28
xfce4-panel-4.4.2-2                      2008-08-18 21:06:32
xfce4-mixer-4.4.2-2                      2008-08-18 21:06:36
xfce4-session-4.4.2-2                    2008-08-18 21:06:41
xfdesktop-4.4.2-3                        2008-08-18 21:06:47
xfprint-4.4.2-4                          2008-08-18 21:06:49
xlockmore-5.26.1-1                       2008-08-18 21:06:55
xorg-server-1.4.2-2                      2008-08-18 21:06:57
xscreensaver-5.07-1                      2008-08-18 21:07:03
xtrans-1.2.1-1                           2008-08-18 21:07:03
yelp-2.23.1-2                            2008-08-18 21:07:11
zip-3.0-1                                2008-08-18 21:07:23

Edit 08-28: I've downgraded kernel to 2.6.25 - after 2 hours I've yet to hear any sound skip. Wonderful! smile

Last edited by MHordecki (2008-08-28 12:02:44)

Offline

#8 2008-10-10 09:16:56

PandaMine
Member
Registered: 2008-10-06
Posts: 25

Re: mpd sound skipping

I am having the exact same problem, mbd is skipping like hell.

Anyone found any solution for this?

Last edited by PandaMine (2008-10-10 09:18:09)

Offline

#9 2008-10-10 15:42:08

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: mpd sound skipping

I do have no skipping here, mpd works perfectly for me, but some days ago I accidently killed one of the mpd processes in htop. This didn't completely kill mpd, but a few seconds later, mpd changed to another song. Is this what's happening to you guys? Maybe you could watch the processes, maybe mpd crashes all the time. Just an idea wink

Offline

#10 2008-10-11 01:00:10

PandaMine
Member
Registered: 2008-10-06
Posts: 25

Re: mpd sound skipping

What happens is in the middle of playing a song, it just stops for around a second, and then continues playing. It doesn't happen when the tracks are changing, it usually happens in the middle of the song

Changing the buffer levels didn't make any difference, and the logs aren't outputting anything

Offline

#11 2008-10-15 07:58:46

PandaMine
Member
Registered: 2008-10-06
Posts: 25

Re: mpd sound skipping

is there any updates on this?

Offline

#12 2008-11-17 11:58:52

mrclisdue
Member
Registered: 2008-11-17
Posts: 2

Re: mpd sound skipping

I've had this same issue for many months, beginning when I upgraded from 12 something to the 13 series. This thread, and one other (a single post) on the mpd forums are the only mentions of the issue on the whole interweb....

Anyhow, the issue seemed to be getting progressively worse, and after trying everything I could think of relating to mpd (playing with mpdconf, installing and reinstalling, compiling & recompiling, etc.) I decided to attack the issue from the alsa side of the coin.

I ran alsaconf and essentially re-installed my sound card.

It's been 2 days, and mpd (which runs 24/7) is still behaving nicely. I'll keep you posted.

EDIT: well, scratch this as a solution - it's happened again....

cheers,

Last edited by mrclisdue (2008-11-17 16:19:09)

Offline

#13 2008-11-26 04:27:13

mrclisdue
Member
Registered: 2008-11-17
Posts: 2

Re: mpd sound skipping

Possibly solved!!??

audio_output {
type "alsa"
name "mpd"
device "hw:0,0"
use_nmpa "yes"
}

I uncommented the device line, and added the use_nmpa "yes" and I haven't had an issue in 4 days, which is a record.

I'll keep y'all posted....

cheers,

Offline

#14 2009-02-21 12:47:54

lindylex
Member
Registered: 2009-02-21
Posts: 1

Re: mpd sound skipping

mrclisdue, this worked for me too.  My problem started differently.  I started to play a high bitrate mp3 320 kbs and then it started to skip those only.  I still have no idea. The computer is old but when I use a command line player like mplayer or mpg321 it played fine.  So I knew it had to do with the mpd.conf file.

Your suggestion for the configuration file works perfectly I am using "mpd (MPD: Music Player Daemon) 0.14". 

I tried to look up this option and I can't find any mention of it.  Searching Google for this string yielded one web page, this.  How is it that you seem to be the only one that knows about this?  Where did you find out about this configuration?

[EDIT]
I found it.
http://mpd.wikia.com/wiki/Tuning

thank lindylex

Last edited by lindylex (2009-02-21 18:31:31)

Offline

#15 2009-09-12 14:31:22

Fenax
Member
Registered: 2009-09-12
Posts: 2

Re: mpd sound skipping

Nothing here worked ... I solved my mpd skipping problem by pausing it and unpausing. No idea what went wrong hmm

Offline

#16 2009-09-14 13:39:28

alexmat
Member
Registered: 2004-12-31
Posts: 100

Re: mpd sound skipping

@Fenax Thanks... something so simple fixed it hmm

Pause + unpause worked for me. Wierd 0___________0

Offline

#17 2009-09-14 14:38:24

max.bra
Member
From: Bologna - Italy
Registered: 2008-06-02
Posts: 93

Re: mpd sound skipping

never suffered problems since last update.
with 0.15.2 i can confirm stutter/skipping mpd problem.

semms to be a known bug. just a copy/paste from mpd wikia: http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki

  August 29th, 2009 - mpd-0.15.3 released

MPD version 0.15.3 has been released. Improves update speed and fixes an audio stuttering bug.

Offline

#18 2009-09-15 11:38:54

froz3nshade
Member
Registered: 2009-09-15
Posts: 1

Re: mpd sound skipping

Hi guys,

Here's what fixed this for me:

audio_output {
        type                    "alsa"
        name                    "My ALSA Device"
#        device                  "hw:0,0"     # optional
#        format                  "44100:16:2" # optional
        mixer_control                   "Master"
        use_mmap                                "yes"
        auto_resample                   "yes"
}

I hope this helps, cheers.

Offline

#19 2009-09-16 04:29:17

dunnen
Member
Registered: 2009-08-13
Posts: 4

Re: mpd sound skipping

I can confirm that mpd-0.15.3 fixed the stuttering for me.

Offline

#20 2009-10-03 19:46:00

Convergence
Member
Registered: 2005-07-02
Posts: 377

Re: mpd sound skipping

Recently my mpd started skipping.  I was in the middle of a song when it happened!  It doesn't make any sense to me, my only solution is to use xmms or mocp.  Could this be a different issue?

Edit:
I guess I should mention that this fix didn't work for me.

2nd edit:
Now compiling 15.3

3rd edit:
.15.3 solved the problem. 

Thanks guys

Last edited by Convergence (2009-10-03 21:20:46)


It's a very deadly weapon to know what you're doing
---  William Murderface

Offline

#21 2010-01-24 00:15:29

hesperaux
Member
From: Arizona, USA
Registered: 2009-12-12
Posts: 2
Website

Re: mpd sound skipping

I have been having this problem, and it happened randomly as far as I could tell as well. I would encourage anyone who has this problem to inspect both /var/log/mpd.log and /var/log/mpd.error. My problem appeared in mpd.log. If anyone has a shoutcast (icecast) server running that isn't working properly, mpd will be unable to connect. If mpd keeps trying to connect, the audio will lag while the connection is attempted. I noticed that while watching the log, every pause would occur just before an icecast connection error was posted. After disabling that output device in my mpd.conf, mpd is no longer stuttering. This is pretty lame, but I don't use Icecast that much anyway.

Jan 23 17:10 : output: Failed to open "Hesperaux's Radio" [shout]: problem opening connection to shout server 192.168.1.103:8000: Couldn't connect

Hope this helps someone.
-Hesperaux (David)


I'm that guy that uses linux on certain apple products. But don't tell anyone, I'd be an outcast from every clique in the tech world.

Offline

Board footer

Powered by FluxBB