You are not logged in.
Pages: 1
Hi, I'm having a bit of a problem with video/audio playback with VLC and pulseaudio.
Whenever I open a new file (any format/codec) in VLC, there is a 2 sec lag between the video and audio. I was able to determine the cause was pulseaudio, by messing around with the output module setting for the audio in the VLC settings. There is no lag if I use ALSA direct. But if pulseaudio is selected, then there is a lag.
Another thing I noticed was that the lag was only when opening a file. If I skip to somewhere in the video, the audio will be in sync. I'm still a bit new to the world of linux, so any help would be helpful. Thanks.
Offline
Hi, I'm having a bit of a problem with video/audio playback with VLC and pulseaudio.
Whenever I open a new file (any format/codec) in VLC, there is a 2 sec lag between the video and audio. I was able to determine the cause was pulseaudio, by messing around with the output module setting for the audio in the VLC settings. There is no lag if I use ALSA direct. But if pulseaudio is selected, then there is a lag.
Another thing I noticed was that the lag was only when opening a file. If I skip to somewhere in the video, the audio will be in sync. I'm still a bit new to the world of linux, so any help would be helpful. Thanks.
Why not just use ALSA direct?
Offline
newtonelectron wrote:Hi, I'm having a bit of a problem with video/audio playback with VLC and pulseaudio.
Whenever I open a new file (any format/codec) in VLC, there is a 2 sec lag between the video and audio. I was able to determine the cause was pulseaudio, by messing around with the output module setting for the audio in the VLC settings. There is no lag if I use ALSA direct. But if pulseaudio is selected, then there is a lag.
Another thing I noticed was that the lag was only when opening a file. If I skip to somewhere in the video, the audio will be in sync. I'm still a bit new to the world of linux, so any help would be helpful. Thanks.Why not just use ALSA direct?
I would like to know why pulseaudio is doing this.
Offline
I noted the same problem myself when Pulseaudio upgraded to version 2.0.1. Even deleting all Pulseaudio and VLC configuration files both personal and system wide does not solve the problem. And it only seems to affect VLC, every other program works fine with Pulseaudio 2.0.1.
ETA: this looks to be the culprit:
[0x7f440001f858] pulse audio output debug: missing latency from input
[0x7f440001f858] pulse audio output debug: missing latency from input
[0x7f440001f858] pulse audio output debug: missing latency from input
[0x7f440001f858] pulse audio output debug: listing sink alsa_output.pci-0000_00_1b.0.iec958-stereo (0): Built-in Audio Digital Stereo (IEC958)
[0x7f440001f858] pulse audio output debug: missing latency from input
[0x7f440001f858] pulse audio output warning: too late by 82747 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44186 Hz
[0x7f440001f858] pulse audio output warning: too late by 121498 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44229 Hz
[0x7f440001f858] pulse audio output warning: too late by 200691 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44272 Hz
[0x7f440001f858] pulse audio output warning: too late by 359254 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44315 Hz
[0x7f440001f858] pulse audio output warning: too late by 676952 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44358 Hz
[0x7f440001f858] pulse audio output warning: too late by 1312808 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44401 Hz
[0x7f440001f858] pulse audio output debug: started
[0x7f440001f858] pulse audio output warning: too late by 1921642 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44444 Hz
[0x7f440001f858] pulse audio output warning: too late by 1919245 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44487 Hz
[0x7f440001f858] pulse audio output warning: too late by 1915671 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44530 Hz
[0x7f440001f858] pulse audio output warning: too late by 1913028 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44573 Hz
[0x7f440001f858] pulse audio output warning: too late by 1909595 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44616 Hz
[0x7f440001f858] pulse audio output warning: too late by 1905932 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44659 Hz
[0x7f440001f858] pulse audio output warning: too late by 1898406 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44702 Hz
[0x7f440001f858] pulse audio output warning: too late by 1890975 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44745 Hz
[0x7f440001f858] pulse audio output warning: too late by 1888559 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44788 Hz
[0x7f440001f858] pulse audio output warning: too late by 1885480 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44831 Hz
[0x7f440001f858] pulse audio output warning: too late by 1882219 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44874 Hz
[0x7f440001f858] pulse audio output warning: too late by 1878112 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44917 Hz
[0x7f440001f858] pulse audio output warning: too late by 1873179 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44960 Hz
[0x7f440001f858] pulse audio output warning: too late by 1863590 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45003 Hz
[0x7f440001f858] pulse audio output warning: too late by 1849236 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45046 Hz
[0x7f440001f858] pulse audio output warning: too late by 1819548 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45089 Hz
[0x7f440001f858] pulse audio output warning: too late by 1784352 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45132 Hz
[0x7f440001f858] pulse audio output warning: too late by 1747105 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45175 Hz
[0x7f440001f858] pulse audio output warning: too late by 1709315 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45218 Hz
[0x7f440001f858] pulse audio output warning: too late by 1670392 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45261 Hz
[0x7f440001f858] pulse audio output warning: too late by 1628841 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45304 Hz
[0x7f440001f858] pulse audio output warning: too late by 1586868 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45347 Hz
[0x7f440001f858] pulse audio output warning: too late by 1544103 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45390 Hz
[0x7f440001f858] pulse audio output warning: too late by 1498307 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45433 Hz
[0x7f440001f858] pulse audio output warning: too late by 1452839 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45476 Hz
[0x7f440001f858] pulse audio output warning: too late by 1405704 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45519 Hz
[0x7f440001f858] pulse audio output warning: too late by 1357235 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45562 Hz
[0x7f440001f858] pulse audio output warning: too late by 1306216 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45605 Hz
[0x7f440001f858] pulse audio output warning: too late by 1255652 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45648 Hz
[0x7f440001f858] pulse audio output warning: too late by 1203178 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45691 Hz
[0x7f440001f858] pulse audio output warning: too late by 1148076 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45734 Hz
[0x7f440001f858] pulse audio output warning: too late by 1093202 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45777 Hz
[0x7f440001f858] pulse audio output warning: too late by 1037270 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45820 Hz
[0x7f440001f858] pulse audio output warning: too late by 977666 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45837 Hz
[0x7f440001f858] pulse audio output warning: too late by 920742 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45844 Hz
[0x7f440001f858] pulse audio output warning: too late by 864134 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45815 Hz
[0x7f440001f858] pulse audio output warning: too late by 809429 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45768 Hz
[0x7f440001f858] pulse audio output warning: too late by 755017 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45686 Hz
[0x7f440001f858] pulse audio output warning: too late by 706226 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45633 Hz
[0x7f440001f858] pulse audio output warning: too late by 657777 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45550 Hz
[0x7f440001f858] pulse audio output warning: too late by 611255 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45464 Hz
[0x7f440001f858] pulse audio output warning: too late by 569298 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45392 Hz
[0x7f440001f858] pulse audio output warning: too late by 528949 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45310 Hz
[0x7f440001f858] pulse audio output warning: too late by 490112 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45224 Hz
[0x7f440001f858] pulse audio output warning: too late by 455588 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45156 Hz
[0x7f440001f858] pulse audio output warning: too late by 422392 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45080 Hz
[0x7f440001f858] pulse audio output warning: too late by 392000 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 45014 Hz
[0x7f440001f858] pulse audio output warning: too late by 362324 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44935 Hz
[0x7f440001f858] pulse audio output warning: too late by 336389 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44880 Hz
[0x7f440001f858] pulse audio output warning: too late by 311827 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44824 Hz
[0x7f440001f858] pulse audio output warning: too late by 288460 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44765 Hz
[0x7f440001f858] pulse audio output warning: too late by 267549 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44719 Hz
[0x7f440001f858] pulse audio output warning: too late by 247988 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44674 Hz
[0x7f440001f858] pulse audio output warning: too late by 229119 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44624 Hz
[0x7f440001f858] pulse audio output warning: too late by 213002 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44593 Hz
[0x7f440001f858] pulse audio output warning: too late by 196918 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44551 Hz
[0x7f440001f858] pulse audio output warning: too late by 182867 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44522 Hz
[0x7f440001f858] pulse audio output warning: too late by 168775 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44483 Hz
[0x7f440001f858] pulse audio output warning: too late by 156455 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44455 Hz
[0x7f440001f858] pulse audio output warning: too late by 145302 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44432 Hz
[0x7f440001f858] pulse audio output warning: too late by 134121 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44401 Hz
[0x7f440001f858] pulse audio output warning: too late by 124834 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44385 Hz
[0x7f440001f858] pulse audio output warning: too late by 115260 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44359 Hz
[0x7f440001f858] pulse audio output warning: too late by 106990 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44342 Hz
[0x7f440001f858] pulse audio output warning: too late by 99132 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44324 Hz
[0x7f440001f858] pulse audio output warning: too late by 91832 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44307 Hz
[0x7f440001f858] pulse audio output warning: too late by 84593 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44286 Hz
[0x7f440001f858] pulse audio output warning: too late by 78763 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44276 Hz
[0x7f440001f858] pulse audio output warning: too late by 72903 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44262 Hz
[0x7f440001f858] pulse audio output warning: too late by 67654 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44251 Hz
[0x7f440001f858] pulse audio output warning: too late by 62515 us
[0x7f440001f858] pulse audio output debug: changed sample rate to 44238 Hz
[0x7f440001f858] pulse audio output debug: changed sample rate to 44152 Hz
[0x7f440001f858] pulse audio output debug: changed sample rate to 44100 HzCould you do vlc -vvv on a command line, start playing a file and see if these type of sample rate errors crop up, please? If so, it looks like something changed with Pulseaudio 2.0.1 which VLC's Pulseaudio module does not like.
ETA 2: I took the initiative and raised a bug report on TRAC myself: https://trac.videolan.org/vlc/ticket/6853
It may be helpful if the original poster has the same problem to register on the website and send a message confirming they too have the same problem.
ETA 3: Bug will not be fixed. Downgrade Pulseaudio or consider using an alternative media player. Damn! ![]()
ETA 4: Not giving up, another bug report has been setup at PulseAudio's bug tracker, but it's relatively ignored and I hope will not remain that way. Again, if the original poster is having the same problem, they should setup an account on Bugzilla and add their comments to the bug report. Maybe then, it'll get noticed. It's here anyway: https://bugs.freedesktop.org/show_bug.cgi?id=50024
Last edited by tghe-retford (2012-05-20 19:25:20)
Offline
I noted the same problem myself when Pulseaudio upgraded to version 2.0.1. Even deleting all Pulseaudio and VLC configuration files both personal and system wide does not solve the problem. And it only seems to affect VLC, every other program works fine with Pulseaudio 2.0.1.
ETA: this looks to be the culprit:
[0x7f440001f858] pulse audio output debug: missing latency from input [0x7f440001f858] pulse audio output debug: missing latency from input [0x7f440001f858] pulse audio output debug: missing latency from input [0x7f440001f858] pulse audio output debug: listing sink alsa_output.pci-0000_00_1b.0.iec958-stereo (0): Built-in Audio Digital Stereo (IEC958) [0x7f440001f858] pulse audio output debug: missing latency from input [0x7f440001f858] pulse audio output warning: too late by 82747 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44186 Hz [0x7f440001f858] pulse audio output warning: too late by 121498 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44229 Hz [0x7f440001f858] pulse audio output warning: too late by 200691 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44272 Hz [0x7f440001f858] pulse audio output warning: too late by 359254 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44315 Hz [0x7f440001f858] pulse audio output warning: too late by 676952 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44358 Hz [0x7f440001f858] pulse audio output warning: too late by 1312808 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44401 Hz [0x7f440001f858] pulse audio output debug: started [0x7f440001f858] pulse audio output warning: too late by 1921642 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44444 Hz [0x7f440001f858] pulse audio output warning: too late by 1919245 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44487 Hz [0x7f440001f858] pulse audio output warning: too late by 1915671 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44530 Hz [0x7f440001f858] pulse audio output warning: too late by 1913028 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44573 Hz [0x7f440001f858] pulse audio output warning: too late by 1909595 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44616 Hz [0x7f440001f858] pulse audio output warning: too late by 1905932 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44659 Hz [0x7f440001f858] pulse audio output warning: too late by 1898406 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44702 Hz [0x7f440001f858] pulse audio output warning: too late by 1890975 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44745 Hz [0x7f440001f858] pulse audio output warning: too late by 1888559 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44788 Hz [0x7f440001f858] pulse audio output warning: too late by 1885480 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44831 Hz [0x7f440001f858] pulse audio output warning: too late by 1882219 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44874 Hz [0x7f440001f858] pulse audio output warning: too late by 1878112 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44917 Hz [0x7f440001f858] pulse audio output warning: too late by 1873179 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44960 Hz [0x7f440001f858] pulse audio output warning: too late by 1863590 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45003 Hz [0x7f440001f858] pulse audio output warning: too late by 1849236 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45046 Hz [0x7f440001f858] pulse audio output warning: too late by 1819548 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45089 Hz [0x7f440001f858] pulse audio output warning: too late by 1784352 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45132 Hz [0x7f440001f858] pulse audio output warning: too late by 1747105 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45175 Hz [0x7f440001f858] pulse audio output warning: too late by 1709315 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45218 Hz [0x7f440001f858] pulse audio output warning: too late by 1670392 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45261 Hz [0x7f440001f858] pulse audio output warning: too late by 1628841 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45304 Hz [0x7f440001f858] pulse audio output warning: too late by 1586868 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45347 Hz [0x7f440001f858] pulse audio output warning: too late by 1544103 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45390 Hz [0x7f440001f858] pulse audio output warning: too late by 1498307 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45433 Hz [0x7f440001f858] pulse audio output warning: too late by 1452839 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45476 Hz [0x7f440001f858] pulse audio output warning: too late by 1405704 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45519 Hz [0x7f440001f858] pulse audio output warning: too late by 1357235 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45562 Hz [0x7f440001f858] pulse audio output warning: too late by 1306216 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45605 Hz [0x7f440001f858] pulse audio output warning: too late by 1255652 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45648 Hz [0x7f440001f858] pulse audio output warning: too late by 1203178 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45691 Hz [0x7f440001f858] pulse audio output warning: too late by 1148076 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45734 Hz [0x7f440001f858] pulse audio output warning: too late by 1093202 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45777 Hz [0x7f440001f858] pulse audio output warning: too late by 1037270 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45820 Hz [0x7f440001f858] pulse audio output warning: too late by 977666 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45837 Hz [0x7f440001f858] pulse audio output warning: too late by 920742 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45844 Hz [0x7f440001f858] pulse audio output warning: too late by 864134 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45815 Hz [0x7f440001f858] pulse audio output warning: too late by 809429 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45768 Hz [0x7f440001f858] pulse audio output warning: too late by 755017 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45686 Hz [0x7f440001f858] pulse audio output warning: too late by 706226 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45633 Hz [0x7f440001f858] pulse audio output warning: too late by 657777 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45550 Hz [0x7f440001f858] pulse audio output warning: too late by 611255 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45464 Hz [0x7f440001f858] pulse audio output warning: too late by 569298 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45392 Hz [0x7f440001f858] pulse audio output warning: too late by 528949 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45310 Hz [0x7f440001f858] pulse audio output warning: too late by 490112 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45224 Hz [0x7f440001f858] pulse audio output warning: too late by 455588 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45156 Hz [0x7f440001f858] pulse audio output warning: too late by 422392 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45080 Hz [0x7f440001f858] pulse audio output warning: too late by 392000 us [0x7f440001f858] pulse audio output debug: changed sample rate to 45014 Hz [0x7f440001f858] pulse audio output warning: too late by 362324 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44935 Hz [0x7f440001f858] pulse audio output warning: too late by 336389 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44880 Hz [0x7f440001f858] pulse audio output warning: too late by 311827 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44824 Hz [0x7f440001f858] pulse audio output warning: too late by 288460 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44765 Hz [0x7f440001f858] pulse audio output warning: too late by 267549 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44719 Hz [0x7f440001f858] pulse audio output warning: too late by 247988 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44674 Hz [0x7f440001f858] pulse audio output warning: too late by 229119 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44624 Hz [0x7f440001f858] pulse audio output warning: too late by 213002 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44593 Hz [0x7f440001f858] pulse audio output warning: too late by 196918 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44551 Hz [0x7f440001f858] pulse audio output warning: too late by 182867 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44522 Hz [0x7f440001f858] pulse audio output warning: too late by 168775 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44483 Hz [0x7f440001f858] pulse audio output warning: too late by 156455 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44455 Hz [0x7f440001f858] pulse audio output warning: too late by 145302 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44432 Hz [0x7f440001f858] pulse audio output warning: too late by 134121 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44401 Hz [0x7f440001f858] pulse audio output warning: too late by 124834 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44385 Hz [0x7f440001f858] pulse audio output warning: too late by 115260 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44359 Hz [0x7f440001f858] pulse audio output warning: too late by 106990 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44342 Hz [0x7f440001f858] pulse audio output warning: too late by 99132 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44324 Hz [0x7f440001f858] pulse audio output warning: too late by 91832 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44307 Hz [0x7f440001f858] pulse audio output warning: too late by 84593 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44286 Hz [0x7f440001f858] pulse audio output warning: too late by 78763 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44276 Hz [0x7f440001f858] pulse audio output warning: too late by 72903 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44262 Hz [0x7f440001f858] pulse audio output warning: too late by 67654 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44251 Hz [0x7f440001f858] pulse audio output warning: too late by 62515 us [0x7f440001f858] pulse audio output debug: changed sample rate to 44238 Hz [0x7f440001f858] pulse audio output debug: changed sample rate to 44152 Hz [0x7f440001f858] pulse audio output debug: changed sample rate to 44100 HzCould you do vlc -vvv on a command line, start playing a file and see if these type of sample rate errors crop up, please? If so, it looks like something changed with Pulseaudio 2.0.1 which VLC's Pulseaudio module does not like.
ETA 2: I took the initiative and raised a bug report on TRAC myself: https://trac.videolan.org/vlc/ticket/6853
It may be helpful if the original poster has the same problem to register on the website and send a message confirming they too have the same problem.
ETA 3: Bug will not be fixed. Downgrade Pulseaudio or consider using an alternative media player. Damn!
ETA 4: Not giving up, another bug report has been setup at PulseAudio's bug tracker, but it's relatively ignored and I hope will not remain that way. Again, if the original poster is having the same problem, they should setup an account on Bugzilla and add their comments to the bug report. Maybe then, it'll get noticed. It's here anyway: https://bugs.freedesktop.org/show_bug.cgi?id=50024
Yes, I get the same error log. Will bugzilla it also.
Offline
Have a look at post #4 here: https://bbs.archlinux.org/viewtopic.php?id=141445
This fixed my lagging issues.
Registered Linux user #436067
Offline
Have a look at post #4 here: https://bbs.archlinux.org/viewtopic.php?id=141445
This fixed my lagging issues.
And indeed, it appears to have in my situation too.
Thanks for the link.
Offline
After updating to linux 3.4.0 from testing (to fix ath5k agc issues), the PulseAudio 2.x lag has become far more apparent. With 3.3, the lag was noticeable for things like mutes/volume changes, but there was no a/v desyncing in VLC. With 3.4, the lag was severe.
Using a Xonar STX, this is its lspci line:
05:00.0 PCI bridge: PLX Technology, Inc. PEX8112 x1 Lane PCI Express-to-PCI Bridge (rev aa)Since the tsched=0 fix is said to only be necessary for "buggy ALSA drivers", presumably there were some significant changes to snd_virtuoso that made this much worse.
Last edited by cookiecaper (2012-06-03 17:58:08)
Offline
So tsched=0 causes some serious problems with WINE. Some things continue to work fine, but many games and applications will have crackly audio that comes from infinitely looping addition and removal of the playback stream given by WINE. If someone has implemented this hack and wonders why their sound in WINE is broken, slow, crackly, or otherwise unusable, this is why.
I have also found, however, that:
rm ~/.pulse/*
killall pulseaudiocan fix the synchronization issues. VLC and other applications now work fine without the tsched=0 switch. Clearing the .pulse directory should be tried before the tsched=0 line is added.
Offline
I have also found, however, that:
rm ~/.pulse/* killall pulseaudiocan fix the synchronization issues.
You, Sir, ought to recieve the Nobel Prize. ![]()
This fixed my problems completely. Finally I can watch Youtube again AND have VLC running in the background.
BTW, I think that
pactl exitis the proper way to halt PulseAudio...
Offline
cookiecaper wrote:I have also found, however, that:
rm ~/.pulse/* killall pulseaudiocan fix the synchronization issues.
You, Sir, ought to recieve the Nobel Prize.
This fixed my problems completely. Finally I can watch Youtube again AND have VLC running in the background.BTW, I think that
pactl exitis the proper way to halt PulseAudio...
Add this to the VLC wiki and steal his Nobel Prize ![]()
Offline
I have also found, however, that:
rm ~/.pulse/* killall pulseaudiocan fix the synchronization issues. VLC and other applications now work fine without the tsched=0 switch. Clearing the .pulse directory should be tried before the tsched=0 line is added.
You sir, just helped me quite a lot! Finally I can use application with audio again without getting major lag. Thanks!
Offline
Pages: 1