2014-07-10, 18:05
Hi, my name is Saša, and this is my first post, so if I violate some forum rules I apologize in advance.
I've searched for the problem for about 6 hours, and tried various suggestions, but none have worked, so I decided to ask here.
My problem:
When I play any file (locally 720P, 1080P, youtube, etc.) I get audio stutter with short video pause aswell. It lasts for a few audio samples (for example, the audio repeats a single letter from some word, and the video pauses for that brief moment), and that appears at random moment, random times per video, usually separated by a few seconds (more than 2, less than 30).
I managed to find a way of reproducing this, when I start (or restart) whole computer, the problem is not there, but when I put computer to suspend (standby, sleep), and after wake-up, the problem shows itself, and if I restart the computer, the problem's gone.
What have I tried:
1. altering advancedsettings.xml, changing network settings
I thought that I've solved it, but then I went to standby
2. changed audio settings from SPDIF to Analog and using passthrough, but with no luck
What I have discovered from debug log:
That I don't have pulseaudio, so xbmc uses ALSA, then it initializes the sink, after fresh start (or restart) things are ok, but after sleep I get these particular errors:
1.2.
Both appear when that stutter appears while playing.
The first error (broken pipe) was appearing when the computer was in idle, but that dissapeared when I've changed audio device from SPDIF to Analog.
My AMP (Sony) is connected via optical link (SPDIF). TV (Sony) via HDMI.
I've enabled passthrough for AC3 and DTS, and set sample rate to 48000 limited.
Computer is:
Lenovo Q190 with Intel Pentium 2127U @ 1.9GHz, 4GB RAM. HDMI, SPDIF
running: XBMCbuntu
with Gotham 13.1
Thanks to everyone in advance.
I've searched for the problem for about 6 hours, and tried various suggestions, but none have worked, so I decided to ask here.
My problem:
When I play any file (locally 720P, 1080P, youtube, etc.) I get audio stutter with short video pause aswell. It lasts for a few audio samples (for example, the audio repeats a single letter from some word, and the video pauses for that brief moment), and that appears at random moment, random times per video, usually separated by a few seconds (more than 2, less than 30).
I managed to find a way of reproducing this, when I start (or restart) whole computer, the problem is not there, but when I put computer to suspend (standby, sleep), and after wake-up, the problem shows itself, and if I restart the computer, the problem's gone.
What have I tried:
1. altering advancedsettings.xml, changing network settings
Code:
<network>
<buffermode>1</buffermode>
<cachemembuffersize>123289600</cachemembuffersize>
<readbufferfactor>5.0</readbufferfactor>
</network>
2. changed audio settings from SPDIF to Analog and using passthrough, but with no luck
What I have discovered from debug log:
That I don't have pulseaudio, so xbmc uses ALSA, then it initializes the sink, after fresh start (or restart) things are ok, but after sleep I get these particular errors:
1.
Code:
ERROR: CAESinkALSA - snd_pcm_writei(-32) Broken pipe - trying to recover
Code:
DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:106148514.558585, should be:106048000.000000, error:-100514.558585
Both appear when that stutter appears while playing.
The first error (broken pipe) was appearing when the computer was in idle, but that dissapeared when I've changed audio device from SPDIF to Analog.
My AMP (Sony) is connected via optical link (SPDIF). TV (Sony) via HDMI.
I've enabled passthrough for AC3 and DTS, and set sample rate to 48000 limited.
Computer is:
Lenovo Q190 with Intel Pentium 2127U @ 1.9GHz, 4GB RAM. HDMI, SPDIF
running: XBMCbuntu
Code:
Linux XBMC-Q190 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
with Gotham 13.1
Thanks to everyone in advance.