Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[SOLVED] Stutter while playing music
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: Stutter while playing music
29th Mar, 2015, 12:21 AM
Post: #1
Eruurk Offline
Registered
Posts: 17
Joined: Jan 2015
Reputation: 0
Stutter while playing music
Software
XBian version: STABLE - XBIAN 20150304-2
XBMC/Kodi version: Kodi 14.2 RC1
Overclock settings: XBian defaults (840 MHz)

Hardware
Device type and model (e.g. Raspberry Pi Model A/B 256/512 MB, CuBox-i i4Pro, ...): RPi Model B 512 MB
Power supply rating: Nokia Phone power supply 1.3 A
SD card size and make/type: Sandisk Ultra 8 GB Class 10 (SD Card)
Network (Ethernet or wireless): Ethernet 100 MB (My Ethernet switch can provide speed up to 1 GBps)
Connected devices (TV, USB, network storage, ...): NAS Synology DS213J over NFS - TV Samsung (HDMI)

My XBian /etc/fstab
Terminal
192.168.0.10:/volume1/music /media/nfs-music nfs udp,noatime,rsize=32768,wsize=32768,nolock,nfsvers=3 0 0
192.168.0.10:/volume1/video/films /media/nfs-films nfs udp,noatime,rsize=32768,wsize=32768,nolock,nfsvers=3 0 0
192.168.0.10:/volume1/video/series /media/nfs-series nfs udp,noatime,rsize=32768,wsize=32768,nolock,nfsvers=3 0 0
none /run/lock tmpfs noauto 0 0
none /run/shm tmpfs noauto 0 0
none /run/user tmpfs noauto 0 0
# UNCONFIGURED FSTAB FOR BASE SYSTEM
/dev/root /home xbian subvol=home/@,noatime,nobootwait 0 0
/dev/root /lib/modules xbian subvol=modules/@,noatime,nobootwait 0 0
/dev/root / xbian noatime,nobootwait 0 0
/dev/mmcblk0p1 /boot xbian rw,nobootwait 0 1

#######

Hi,
I noticed that I can hear stutter while playing music (FLAC or MP3) during 1 or 2 seconds max. It seems to be random while songs are playing.
I found in the log file that each time I hear stutter, the following line appears
Terminal
14:42:46 T:3024557072 NOTICE: CAESinkPi:AddPackets Underrun (delay:0.00 frames:2205)
14:45:30 T:2883580944 NOTICE: Previous line repeats 56 times.

If the screen saver is lauched (after 3 minutes without human activity), the line appears too
Terminal
14:45:30 T:2883580944 NOTICE: XBian : on saver
14:45:30 T:3024557072 NOTICE: CAESinkPi:AddPackets Underrun (delay:0.00 frames:2205)

I tried to change values of NFS mount share without success (like rsize and wsize).
I totally deleted .kodi directory, and the system created a new one. No data has been restored from previous to check if the problem was into the profile: no success

Thank you for your help.

Eruurk
Find all posts by this user
Quote this message in a reply
29th Mar, 2015, 02:26 AM
Post: #2
f1vefour Offline
Administrator
******
Posts: 1,342
Joined: Mar 2013
Reputation: 58
RE: Stutter while playing music
Perhaps turn off/on caching, depending on your current setting.

Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us.
Visit this user's website Find all posts by this user
Quote this message in a reply
30th Mar, 2015, 05:56 PM
Post: #3
Eruurk Offline
Registered
Posts: 17
Joined: Jan 2015
Reputation: 0
RE: Stutter while playing music
(29th Mar, 2015 02:26 AM)f1vefour Wrote:  Perhaps turn off/on caching, depending on your current setting.

Thanks for your reply, but which caching option are you talking about?
NFS and/or Kodi?

My NFS share are set read-only on NAS side. I added "ro" in each line, but it didn't change anything.
Find all posts by this user
Quote this message in a reply
30th Mar, 2015, 07:06 PM
Post: #4
Fabio72 Offline
Registered
Posts: 96
Joined: Feb 2014
Reputation: 5
RE: Stutter while playing music
http://kodi.wiki/view/HOW-TO:Modify_the_video_cache
try set buffermode to 1
Find all posts by this user
Quote this message in a reply
30th Mar, 2015, 07:53 PM
Post: #5
Eruurk Offline
Registered
Posts: 17
Joined: Jan 2015
Reputation: 0
RE: Stutter while playing music
(30th Mar, 2015 07:06 PM)Fabio72 Wrote:  http://kodi.wiki/view/HOW-TO:Modify_the_video_cache
try set buffermode to 1

Thanks, I will check and give you the results here Blush
Find all posts by this user
Quote this message in a reply
2nd Apr, 2015, 07:49 PM
Post: #6
Eruurk Offline
Registered
Posts: 17
Joined: Jan 2015
Reputation: 0
RE: Stutter while playing music
(30th Mar, 2015 07:06 PM)Fabio72 Wrote:  http://kodi.wiki/view/HOW-TO:Modify_the_video_cache
try set buffermode to 1

Fabio72, I tried this but it take ages when I am playing a video Sad
It seems to works for music, but it still stutter at the end of each music track (maybe LastFM plugin when it scrobbles).
Find all posts by this user
Quote this message in a reply
3rd Apr, 2015, 01:23 AM
Post: #7
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Stutter while playing music
I would try commenting out the FSTAB entries and add the music via XBMC/KODI Add Music..

Then ssh into your NAS and check "top" to make sure it's not your NAS causing the delay.

I've seen something like this before and it was the NAS causing the delay but I only saw it with movies, not music.

Post the output of dmesg, vmstat 5 50 and kodi.log via pastebin and the output of vmstat 5 50 on the NAS when your playing a music track that gives problems.

I would also look at disabling any addons you may have as these "could" cause an issue.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
8th Apr, 2015, 11:50 PM
Post: #8
Eruurk Offline
Registered
Posts: 17
Joined: Jan 2015
Reputation: 0
RE: Stutter while playing music
(3rd Apr, 2015 01:23 AM)IriDium Wrote:  I would try commenting out the FSTAB entries and add the music via XBMC/KODI Add Music..

Then ssh into your NAS and check "top" to make sure it's not your NAS causing the delay.

I've seen something like this before and it was the NAS causing the delay but I only saw it with movies, not music.

Post the output of dmesg, vmstat 5 50 and kodi.log via pastebin and the output of vmstat 5 50 on the NAS when your playing a music track that gives problems.

I would also look at disabling any addons you may have as these "could" cause an issue.
I did your advices for "movies", "tv shows" and "music" libraries.
It seems the faulty component is "Last.FM plugin" because it just stutter at the end (last 2-3 seconds) of the track, when scrobble is sent to the Last.FM server.
Thank you IrDium Wink
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Airplay crashes when playing music Gnom 2 8,081 15th Aug, 2015 07:26 PM
Last Post: Gnom

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 11th May, 2025, 02:45 PM Powered By MyBB, © 2002-2025 MyBB Group.