View previous topic :: View next topic |
Author |
Message |
MarioMaster100 Tux's lil' helper
Joined: 25 Jul 2014 Posts: 86
|
Posted: Tue Jul 29, 2014 8:22 pm Post subject: Milisecond lag on ncmpcpp (and other media players) |
|
|
Randomly while listening to music on ncmpcpp I will get a short lag then the music resumes again. The music is music stored on the computer's local /home partition.
Last edited by MarioMaster100 on Thu Oct 09, 2014 9:14 pm; edited 3 times in total |
|
Back to top |
|
|
MarioMaster100 Tux's lil' helper
Joined: 25 Jul 2014 Posts: 86
|
Posted: Wed Jul 30, 2014 6:03 pm Post subject: |
|
|
It appears to be not just an ncmpcpp issue but a vlc one as well |
|
Back to top |
|
|
MarioMaster100 Tux's lil' helper
Joined: 25 Jul 2014 Posts: 86
|
|
Back to top |
|
|
MarioMaster100 Tux's lil' helper
Joined: 25 Jul 2014 Posts: 86
|
Posted: Thu Jul 31, 2014 12:26 am Post subject: |
|
|
3 lags/skips on one song on ncmpcpp is not cool O_O |
|
Back to top |
|
|
swathe n00b
Joined: 04 Jul 2011 Posts: 73
|
Posted: Thu Jul 31, 2014 12:34 am Post subject: |
|
|
Any other audio issues when say watching a youtube video etc? Perhaps it's a hardware starting to fail issue |
|
Back to top |
|
|
MarioMaster100 Tux's lil' helper
Joined: 25 Jul 2014 Posts: 86
|
Posted: Thu Jul 31, 2014 12:43 am Post subject: |
|
|
swathe wrote: | Any other audio issues when say watching a youtube video etc? Perhaps it's a hardware starting to fail issue |
So far I haven't had any. |
|
Back to top |
|
|
MarioMaster100 Tux's lil' helper
Joined: 25 Jul 2014 Posts: 86
|
Posted: Thu Jul 31, 2014 1:21 am Post subject: |
|
|
When I make music on programs I don't have any sound issues like this either... |
|
Back to top |
|
|
netixen n00b
Joined: 26 Sep 2013 Posts: 31
|
Posted: Thu Jul 31, 2014 4:20 am Post subject: |
|
|
Issues where something is misbehaving but not completely failing are difficult to diagnose. Especially with so little information at hand.
So I can give you some general advice and hopefully point you in the right direction. Here's what I would do in your shoes:
1. Check your /var/log/{messages,syslog,dmesg,} for problems
2. Update
2. run the software with all --verbose and debug options it has and see if there are warnings or errors, etc.
3. google for bugs in the software/decoder etc.
4. run the software with strace,ltrace etc.
5. start eliminating variables such as your storage (play from a usb flash drive),
your OS (livecd) and anything suspect of problems.
It's a lot of work but at that point you should know more about the issue. |
|
Back to top |
|
|
MarioMaster100 Tux's lil' helper
Joined: 25 Jul 2014 Posts: 86
|
Posted: Thu Jul 31, 2014 5:19 am Post subject: |
|
|
An irc buddy suggested I set hdparm -B 225 /dev/sda and I haven't had it happen since so I think it's solved |
|
Back to top |
|
|
swathe n00b
Joined: 04 Jul 2011 Posts: 73
|
Posted: Thu Jul 31, 2014 5:53 am Post subject: |
|
|
Ahh so a drive issue perhaps, is it a 5400rpm drive? |
|
Back to top |
|
|
MarioMaster100 Tux's lil' helper
Joined: 25 Jul 2014 Posts: 86
|
Posted: Thu Oct 09, 2014 9:23 pm Post subject: Re: Milisecond lag on ncmpcpp (and other media players) |
|
|
Well I thought I'd solved the issue once and for all (hadn't listened to music for a while on the computer since I've been busy). Well it's still doing it for a while now I've been running the 3.14.14 kernel, which I wasn't running at the original time of the post (I think). Laptop_mode is set to put advanced power management on 50 with hdparm when I run on just battery. If I just run the laptop on AC power with no battery plugged in it's supposed to be on 225. |
|
Back to top |
|
|
MarioMaster100 Tux's lil' helper
Joined: 25 Jul 2014 Posts: 86
|
Posted: Fri Oct 17, 2014 12:03 am Post subject: |
|
|
If it helps to know I have powertop and laptop-mode-tools installed but it does this even when I'm just running on AC battery without the battery plugged in. |
|
Back to top |
|
|
MarioMaster100 Tux's lil' helper
Joined: 25 Jul 2014 Posts: 86
|
Posted: Sat Oct 18, 2014 8:56 pm Post subject: |
|
|
Hmm strange, I tried out mpv and I played a big chunk of music for an hour or more and no skips/lags whatsoever. I specifically threw in a file or two I knew I had skip on ncmpcpp before. I got a few errors but it didn't interfere with the music playing, things like Code: | libav/audio] mp3: Header missing
[libav/video] mjpeg: mjpeg: error, decode_app parser read over the end
|
|
|
Back to top |
|
|
MarioMaster100 Tux's lil' helper
Joined: 25 Jul 2014 Posts: 86
|
Posted: Sat Oct 18, 2014 10:48 pm Post subject: |
|
|
This could be related to the issue, but it's probably more of a connection issue on pianobar Code: | [aac @ 0x7fbfb40bde40] Input buffer exhausted before END element found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fbfb40c3da0] stream 0, offset 0xaa662: partial file
ao_alsa WARNING: Unable to open surround playback. Trying default device...
|
|
|
Back to top |
|
|
MarioMaster100 Tux's lil' helper
Joined: 25 Jul 2014 Posts: 86
|
Posted: Wed Oct 29, 2014 1:55 am Post subject: |
|
|
Well it is skipping on mpv for some reason, good thing is it only happens once per song if it does and it's still random, doesn't happen on every song. |
|
Back to top |
|
|
|