[Bug 996906] Re: periodic audio skips with Intel HDA
** Changed in: pulseaudio Status: Confirmed => Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
What is even more puzzling is why i can still have sound for hours with periodic underrun messages and many: "checking for dead streams" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
i meant pacmd list -sinks and not pacmd alsa-sinks in my post number 37 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
Let me add that i'm using the RPi as a thin client with x2go and that the LAN connexion between the RPi and my PC (Unix Mageia) is on PLC. I did not configure x2go to transmit the sound. It's only pulseaudio that does the job (using RTP). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
I have the same problem : sound stops after undeterministic time: from several minutes to more than 12 hours. I'm on a raspberry pi (wheezy raspbian). I tried many combinations of parameters for daemon .conf and default.pa. I notice that whenever i change the parameters , most of the time the new parameters are not taken into account even after pulseaudio -k and pulseaudio --start, i have to restart my "player" which is chromium and sometimes it even seemed that the change was only effective after a reboot of the RPi. By the way pacmd alsa-sinks says that the buffer size and fragment size are equal for my RPi sink !! how can that be... so i have no idea what parameter to give to the daemon given that puklseaudio does not accept number of fragments = 1 (?!) i'm currently running with : number of fragments =10 and fragment size = 10 ms because people adviced to use this on forum but i really dont understand where these numbers come from and if these are a good choice -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
New sound card, same issue. Asus Xonar DX. Shows up in lspci like 'C-Media Electronics Inc CMI8788 [Oxygen HD Audio]'. Uses the snd_virtuoso driver. The snd_hda_intel module isn't even loaded. The skips have slightly changed character with the new card, but they still happen. And still, when I use bare Alsa, the issue goes away. Looks like the bug is somewhere in how pulse interacts with my machine in general, not just the sound card/driver. Raymond: I don't know. I haven't set any latency myself. Is there something else I can try? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
ANY reason to set latency to 1ms interval when you are using 44100Hz since 1ms contain 44.1 samples ? you need at least 10 ms interval -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
I finally upgraded to 14.04; same exact issue. One coincidence I noticed and am looking into is that I didn't notice any stuttering when only 64 bit code was running, but when flash or steam were running (both of which run some 32 bit code, if I'm not mistaken), the stuttering began immediately. I'm not 100% sure that's the only time it stutters now, but it's happened enough times that I'm not sure it's just coincidence. Does that ring any bells for anyone? I'm sick and tired of this issue. Ubuntu has moved on from Alsa, and I'd like to too. I might get a (hopefully cheap) sound card to test out if that can fix the issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
After upgrading to 14.04 pulseaudio is basically stable for me (same hardware). Although sometimes, after a reboot it isn't: pulseaudio starts stuttering, and I need to move the mouse to get playing to continue. But after power-down and restart the issue is fixed, and the stuttering is over. There was no need to change any of the settings. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
After upgrading to 13.04 I've not been able to reproduce this issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
Here's my current incantation which seems to work for me: 1. In /etc/modprobe.d/alsa-base.conf have a line: options snd-hda-intel enable_msi=0 2. In /etc/pulse/default.pa I have: .ifexists module-udev-detect.so load-module module-udev-detect tsched=0 .else ### Use the static hardware detection module (for systems that lack udev/hal support) load-module module-detect tsched=0 .endif 3. Not sure if relevant, but this a change in /etc/pulse/daemon.conf: default-fragments = 256 default-fragment-size-msec = 4 4. Important, I fire up alsamixer and set Auto-Mute to Disabled. If one of these steps is missing the problem is bad. With these, the stuttering is rare. And no, I won't rant about how playing audio on BeOS was so unproblematic. And I could even play 16 simultaneous movies as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
I have the exact same problem, but only when using my bluetooth headsett. Using the headset with cable removes the problem entirely. ubuntu 12.10. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
> Also, how come this bug is half a year old and it has not even been assigned to any of the ubuntu developers yet? Roughly, 1) There are not enough Ubuntu developers to deal with all bugs. 2) There can be many root causes to why an underrun happens. I e, there might be ten different reasons why the audio sometimes skips, fixing one of them probably does not help. 3) The problem is difficult. > I'm pretty sure it affects EVERYONE with HDA That I don't believe. > but many people just don't notice it. That I believe. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
Raymond: I do not understand your comment, are you suggesting a solution? Also, how come this bug is half a year old and it has not even been assigned to any of the ubuntu developers yet? This is pretty major seeing how many people using Intel HDA nowadays, and I'm pretty sure it affects EVERYONE with HDA but many people just don't notice it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
at 44100hz 1ms contain 44.1 samples this mean latency must set at interval of 10 ms at 48000hz 1ms contain 48 samples -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
Same problem, both under 12.04 and 12.10 (12.04 used to be worse). Using "Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller", the problem seems to occur only with the combination of an Intel HDA sound card AND pulseaudio. Using a different card works, turning off pulseaudio also works. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
I'm experiencing the same behavior as berend in post #22. My Bluetooth headphones work great, but the HDA Intel device in my Lenovo ThinkPad T420 gives me fits. My solution for right now is to use an external USB audio device or Bluetooth headphones to work around the problem. It's interesting that so many people could potentially be affected by an issue affecting the HDA Intel hardware, yet this thread is quite small. There's got to be a specific combination of hardware and software that causes this issue. At this point I guess we know that snd-hda-intel and pulseaudio are required to reproduce the issue. What other items are common to the issue? Here's my audio hardware for reference: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
And I'll reiterate that when I simply uninstall pulse, but use the same hardware with alsa, the audio doesn't skip. I don't think it's accurate to say it's purely the hda driver. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 996906] Re: periodic audio skips with Intel HDA
Doesn't happen in earlier versions of ubuntu that don't use pulse... On Thu, Nov 15, 2012 at 3:27 PM, berend wrote: > I can confirm this is not a bug with pulseaudio. When I route the audio > to my wireless audio card, no stutters at all. It's purely related to > the intel hda driver. > > Here my two audio cards: > > # aplay -l > List of PLAYBACK Hardware Devices > Home directory /home/berend not ours. > card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 1: Headset [Logitech Wireless Headset], device 0: USB Audio [USB > Audio] > Subdevices: 0/1 > Subdevice #0: subdevice #0 > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/996906 > > Title: > periodic audio skips with Intel HDA > > Status in PulseAudio sound server: > Confirmed > Status in “pulseaudio” package in Ubuntu: > Confirmed > > Bug description: > When running PulseAudio, if I'm playing music via any source (Exaile, > Totem, > Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio > will skip > once or twice. top doesn't show any process eating CPU any more when it > happens. dmesg doesn't show anything. Nothing else seems to be > affected. It > doesn't seem to happen regularly. > > I just installed Ubuntu 12.04 from scratch (with pulseaudio > 1:1.1-0ubuntu15), > but the same thing happened in 10.04 on the same hardware. Uninstalling > the > PulseAudio packages and going back to ALSA gives me no issues > whatsoever, which > is how I know the issue is with PulseAudio. I'm using my onboard audio > device: > > $ lspci | grep Audio > 00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia > (Intel > HDA) > > Following mailing list instructions, pulseaudio - --log-time shows > during a > skip: > > ( 684.030| 5.000) I: [alsa-sink] alsa-sink.c: Underrun! > ( 684.030| 0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal > latency to > 26.00 ms > ( 684.030| 0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms > ( 684.030| 0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952 > ( 684.030| 0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944 > ( 684.030| 0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms > ( 684.030| 0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952 > ( 684.030| 0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944 > ( 684.031| 0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA > Playback', 0 bytes in queue. > ( 684.036| 0.004) D: [alsa-sink] protocol-native.c: Requesting rewind > due to > end of underrun. > ( 684.036| 0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940 > bytes. > ( 684.036| 0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes. > ( 684.036| 0.000) D: [alsa-sink] alsa-sink.c: before: 830 > ( 684.036| 0.000) D: [alsa-sink] alsa-sink.c: after: 830 > ( 684.036| 0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes. > ( 684.036| 0.000) D: [alsa-sink] sink.c: Processing rewind... > ( 684.036| 0.000) D: [alsa-sink] sink.c: latency = 1337 > ( 684.036| 0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 > bytes on > render memblockq. > ( 684.036| 0.000) D: [alsa-sink] source.c: Processing rewind... > ( 696.234| 12.197) I: [alsa-sink] alsa-sink.c: Underrun! > ( 696.234| 0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup > watermark to > 15.99 ms > ( 702.033| 5.799) I: [alsa-sink] alsa-sink.c: Underrun! > ( 702.033| 0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal > latency to > 36.00 ms > ( 702.033| 0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms > ( 702.033| 0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188 > ( 702.033| 0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680 > ( 702.033| 0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms > ( 702.034| 0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188 > ( 702.034| 0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680 > ( 702.034| 0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA > Playback', 0 bytes in queue. > > ...and it goes on. > > The "Underrun!" messages alone happened a few times before, but it > didn't skip. > > I'd like to use PulseAudio, but it's pretty annoying having audio skip > all the > time. > > ProblemType: Bug > DistroRelease: Ubuntu 12.04 > Package: pulseaudio 1:1.1-0ubuntu15 > ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14 > Uname: Linux 3.2.0-24-generic x86_64 > NonfreeKernelModules: nvidia > AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24. > ApportVersion: 2.0.1-0ubuntu7 > Architecture: amd64 > AudioDevicesInUse: >USERPID ACCESS COMMAND >/dev/snd/controlC0: toxite 2136 F pulseaudio >/dev/snd/pcmC0D0p: t
[Bug 996906] Re: periodic audio skips with Intel HDA
I can confirm this is not a bug with pulseaudio. When I route the audio to my wireless audio card, no stutters at all. It's purely related to the intel hda driver. Here my two audio cards: # aplay -l List of PLAYBACK Hardware Devices Home directory /home/berend not ours. card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Headset [Logitech Wireless Headset], device 0: USB Audio [USB Audio] Subdevices: 0/1 Subdevice #0: subdevice #0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
I've tried all of the alsa and pulse config changes as mentioned in this thread with no luck. I experienced the same issue with 12.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
I'm still in 12.04 with this soundcard: # lspci | grep "Audio" 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) Bit from /var/log/syslog: Nov 10 10:20:08 quadrio pulseaudio[19484]: [alsa-sink] alsa-sink.c: setting avail_min=11711 Nov 10 10:20:08 quadrio pulseaudio[19484]: [alsa-sink] protocol-native.c: max_request changed, trying to update from 59904 to 63744. Nov 10 10:20:08 quadrio pulseaudio[19484]: [alsa-sink] protocol-native.c: Notifying client about increased tlength Nov 10 10:20:08 quadrio pulseaudio[19484]: [alsa-sink] alsa-sink.c: Latency set to 126.00ms Nov 10 10:20:08 quadrio pulseaudio[19484]: [alsa-sink] alsa-sink.c: hwbuf_unused=43312 Nov 10 10:20:08 quadrio pulseaudio[19484]: [alsa-sink] alsa-sink.c: setting avail_min=11711 Nov 10 10:20:37 quadrio pulseaudio[19484]: [alsa-sink] alsa-sink.c: Decreasing wakeup watermark to 101.00 ms Nov 10 10:21:06 quadrio pulseaudio[19484]: [alsa-sink] alsa-sink.c: Underrun! Nov 10 10:21:06 quadrio pulseaudio[19484]: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to 111.00 ms Nov 10 10:21:26 quadrio pulseaudio[19484]: [alsa-sink] alsa-sink.c: Decreasing wakeup watermark to 106.01 ms I'm on a 32-bit system with 8GB of memory, so run PAE. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
I'm also on 12.10 and am experiencing this every couple minutes with: 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
I am on 12.10 with dan@greyskull:~$ lspci|grep Audio 00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04) i have periodic skips aswell. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
but at 44100Hz the latency is no exactly 8 ms * 4 = 32ms how do pa get these values 31.85ms and 31.93ms ? current latency: 31.85 ms max request: 5 KiB max rewind: 5 KiB monitor source: 0 sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Stereo used by: 1 linked by: 1 fixed latency: 31.93 ms card: 0 module: 4 properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "ALC889 Analog" alsa.id = "ALC889 Analog" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "0" alsa.card_name = "HDA Intel" alsa.long_card_name = "HDA Intel at 0xf312 irq 50" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-:00:1b.0" sysfs.path = "/devices/pci:00/:00:1b.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.name = "5 Series/3400 Series Chipset High Definition Audio" device.form_factor = "internal" device.string = "front:0" device.buffering.buffer_size = "5632" device.buffering.fragment_size = "704" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
Like I said above, mine now skips much less frequently than every 10 minutes, so I'm skeptical about tweaking any pulse configs at this point. And since all I did to have it skip less frequently was re- install pulseaudio and update to all the latest precise packages, it seems like the issue is somewhere in the interaction between pulse and the kernel or hardware or the system in general. If there's a way I can test using the "wakeup_rt tracer" I'm happy to do so. Is there any documentation I can read about doing so? A quick google search turned up nothing I could decipher. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
So on ubuntu precise I have spent a ton of time playing with my pulseaudio settings and system. I have the skips down to about one every ten minutes or so, and humorously while I was typing this sentence. I have tsched=0 but in regards to Raymond, my default-fragment-size-msec = 4 default-fragments = 8 and my flash videos in chrome play great. My mind is weak in the morning before coffee, but I remember that chrome was requesting buffers of size on the order of 64 - 100 ms , somewhere in there. I might be incorrect, but I believe I needed my pulse settings to be LESS than that. So 4 * 8 is 32 ms. Also, you can check ( with pacmd list-sinks ) that with tsched=1, I noticed that the "current latency" starts at like 2 ms, and as it skips, gets larger, mine would get to around 32 - 64 ms . in /etc/modules i have options snd_hda_intel bdl_pos_adj=32 power_save=0 power_save_controller=N model=6stack-dig but you'll have to figure out your model if you use that param here is some of my pulse settings for you to try cat /etc/pulse/daemon.conf | grep -v -e "^;" -e "^#" | sed '/^$/d' allow-module-loading = yes allow-exit = yes high-priority = yes nice-level = -20 realtime-scheduling = yes realtime-priority = 99 exit-idle-time = 1 scache-idle-time = 1 log-target = auto log-level = error resample-method = speex-float-8 enable-remixing = yes flat-volumes = no rlimit-nofile = -1 rlimit-nice = -1 rlimit-rtprio = -1 rlimit-rttime = -1 default-sample-rate = 44100 default-sample-channels = 2 default-channel-map = front-left,front-right default-fragments = 8 default-fragment-size-msec = 4 and here is some more output pacmd list-sinks * index: 0 name: driver: flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY state: RUNNING suspend cause: priority: 9959 volume: 0: 100% 1: 100% 0: 0.00 dB 1: 0.00 dB balance 0.00 base volume: 93% -2.00 dB volume steps: 65537 muted: no current latency: 31.85 ms max request: 5 KiB max rewind: 5 KiB monitor source: 0 sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Stereo used by: 1 linked by: 1 fixed latency: 31.93 ms card: 0 module: 4 properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "ALC889 Analog" alsa.id = "ALC889 Analog" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "0" alsa.card_name = "HDA Intel" alsa.long_card_name = "HDA Intel at 0xf312 irq 50" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-:00:1b.0" sysfs.path = "/devices/pci:00/:00:1b.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.name = "5 Series/3400 Series Chipset High Definition Audio" device.form_factor = "internal" device.string = "front:0" device.buffering.buffer_size = "5632" device.buffering.fragment_size = "704" device.access_mode = "mmap" device.profile.name = "analog-stereo" device.profile.description = "Analog Stereo" device.description = "Built-in Audio Analog Stereo" alsa.mixer_name = "Realtek ALC889" alsa.components = "HDA:10ec0889,80860032,0014" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" ports: analog-output: Analog Output (priority 9900, available: unknown) properties: active port: -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
If it isn't the hardware position, it could be some kernel thread blocking PulseAudio from running; you can check this using the wakeup_rt tracer. From there I don't know; because I'm not confident with writing patches for other subsystems. Hrm, I think Pulseaudio should try to be a little more helpful here, a debug message on schedule delays wouldn't hurt e g... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
>Regarding "latency", when default-fragment-size-msec was 1, I noticed a line saying >( 124.922| 0.000) D: [alsa-sink] sink.c: latency = 1339 the buffer size of hda in ubuntu 12.04 seem reduced from 4mb back to 64kb configured latency: 20.00 ms; range is 1.00 .. 371.52 ms card: 0 module: 4 properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "ALC889 Analog" alsa.id = "ALC889 Analog" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "0" alsa.card_name = "HDA ATI SB" alsa.long_card_name = "HDA ATI SB at 0xfe024000 irq 16" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-:00:14.2" sysfs.path = "/devices/pci:00/:00:14.2/sound/card0" device.bus = "pci" device.vendor.id = "1002" device.vendor.name = "Advanced Micro Devices [AMD] nee ATI" device.product.name = "SBx00 Azalia (Intel HDA)" device.form_factor = "internal" device.string = "front:0" device.buffering.buffer_size = "65536" device.buffering.fragment_size = "32768" does it mean that pulseaudio server it own buffer 1000ms when the driver only has 371.52 ms ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
Results: using "options snd-hda-intel position_fix=1" in /etc/modprobe.d /alsa-base.conf didn't make the problem go away. Using position_fix=2 made the problem actively worse: the audio literally didn't do anything but skip. Using "load-module module-udev-detect tsched=0" in /etc/pulse/default.pa made flash videos unplayable (not just the audio, but the video would stutter as well). In short, none of those fixes solved my problem. Any other ideas? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
Ah, ok. That means I've got even more testing to do. Thanks for your help; I'll report back with my results. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
> I'm assuming the position_fix hack won't do anything, since my audio is 100% fine under alsa. This assumption is wrong. PulseAudio relies on hardware positions to be accurate any time; where as if you use alsa without pulseaudio, you're very likely only relying on hardware positions to be accurate at period boundaries. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
I've been trying to reproduce this issue for the last couple weeks, and I'm somewhat happy to say it happens much, much less frequently now. Unfortunately, it still happens. It's now on the order of once every few hours on average instead of once every few minutes, but much less regularly -- only one afternoon has it happened more than once as I've been listening to music, and that afternoon it happened 3 or 4 times. I'm on pulseaudio 1:1.1-0ubuntu15.1 and kernel 3.2.0-32-generic now. Anyway, that's made it much harder to test any fixes. Now that I've got a bit better idea of how it behaves lately, I'll turn off timer scheduling and report back after some time. I'm assuming the position_fix hack won't do anything, since my audio is 100% fine under alsa. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
This problem is quite hardware specific, so it's likely more than one root cause, but one of the first things to try would be this: https://wiki.ubuntu.com/Audio/PositionReporting -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
Also seeing this. Incredibly annoying, especially when combined with http://ubuntuforums.org/showthread.php?p=12009084 :( -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: pulseaudio (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996906] Re: periodic audio skips with Intel HDA
Launchpad has imported 3 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=49608. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2012-05-08T02:54:58+00:00 Charles Lindsay wrote: When running PulseAudio, if I'm playing music via any source (Exaile, Totem, Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip once or twice. top doesn't show any process eating CPU any more when it happens. dmesg doesn't show anything. Nothing else seems to be affected. It doesn't seem to happen regularly. I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15), but the same thing happened in 10.04 on the same hardware. Uninstalling the PulseAudio packages and going back to ALSA gives me no issues whatsoever, which is how I know the issue is with PulseAudio. I'm using my onboard audio device: $ lspci | grep Audio 00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) Following mailing list instructions, pulseaudio - --log-time shows during a skip: ( 684.030| 5.000) I: [alsa-sink] alsa-sink.c: Underrun! ( 684.030| 0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to 26.00 ms ( 684.030| 0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms ( 684.030| 0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952 ( 684.030| 0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944 ( 684.030| 0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms ( 684.030| 0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952 ( 684.030| 0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944 ( 684.031| 0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA Playback', 0 bytes in queue. ( 684.036| 0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to end of underrun. ( 684.036| 0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940 bytes. ( 684.036| 0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes. ( 684.036| 0.000) D: [alsa-sink] alsa-sink.c: before: 830 ( 684.036| 0.000) D: [alsa-sink] alsa-sink.c: after: 830 ( 684.036| 0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes. ( 684.036| 0.000) D: [alsa-sink] sink.c: Processing rewind... ( 684.036| 0.000) D: [alsa-sink] sink.c: latency = 1337 ( 684.036| 0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on render memblockq. ( 684.036| 0.000) D: [alsa-sink] source.c: Processing rewind... ( 696.234| 12.197) I: [alsa-sink] alsa-sink.c: Underrun! ( 696.234| 0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to 15.99 ms ( 702.033| 5.799) I: [alsa-sink] alsa-sink.c: Underrun! ( 702.033| 0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to 36.00 ms ( 702.033| 0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms ( 702.033| 0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188 ( 702.033| 0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680 ( 702.033| 0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms ( 702.034| 0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188 ( 702.034| 0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680 ( 702.034| 0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA Playback', 0 bytes in queue. ...and it goes on. The "Underrun!" messages alone happened a few times before, but it didn't skip. I'd like to use PulseAudio, but it's pretty annoying having audio skip all the time. Reply at: https://bugs.launchpad.net/pulseaudio/+bug/996906/comments/0 On 2012-05-08T08:17:13+00:00 Wangxingchao2011 wrote: > > ( 684.030| 5.000) I: [alsa-sink] alsa-sink.c: Underrun! > ( 684.030| 0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to > 26.00 ms > ( 684.030| 0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms The latency is too small, it will make pulseaudio more busy and could not read enough data. So would you have a try to tune the default buffer size and check what will happen? for me i once met similar case, flood of underrun message caused by too little buffer size, it become better by tune "default-fragment-size-msec" at: /etc/pulse/daemon.conf > > ...and it goes on. > > The "Underrun!" messages alone happened a few times before, but it didn't > skip. > > I'd like to use PulseAudio, but it's pretty annoying having audio skip all the > time. Reply at: https://bugs.launchpad.net/pulseaudio/+bug/996906/comments/1 On 2012-05-09T05:08:47+00:00 Charles Lindsay wrote: Changed default-fragment-size-msec from 10 to 100; still happens. Reply at: https://bugs.launchpad.net/pulseau
[Bug 996906] Re: periodic audio skips with Intel HDA
** Bug watch added: freedesktop.org Bugzilla #49608 https://bugs.freedesktop.org/show_bug.cgi?id=49608 ** Also affects: pulseaudio via https://bugs.freedesktop.org/show_bug.cgi?id=49608 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996906 Title: periodic audio skips with Intel HDA To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/996906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs