PulseAudio Painfully Slow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>Please add this to the kernel command line to work around the kernel bug:
>intel_iommu=igfx_off

I am not sure if I added the kernel command line properly. The reason is
that I am new to EFI bootloader and I'm not really sure how to configure
reFind to do that, but I tried.
This is the new alsa-info.sh: http://pastebin.com/m1NRTZTh

>Second, you have overrides of the model that are unnecessary for your
hardware. 6stack is definitely not applicable to Haswell HDMI. So, remove
all snd-hda-intel module parameters.
That load module line was merely intended to set the HDMI as Card#1 rather
than Card#0, so that ALSA would not pick it by default. Thanks for pointing
out, I will remove the 6stack from there (I don't remember why I put it). I
did completely remove it from my modprobe.d/alsa.conf though (temporarily).

I tested everything again with this configuration. Nothing changed. The
slowdown feels and look the same.

>It is not "with nothing else going on" - there is pavucontrol, which
causes PulseAudio to enable the peak meter. And with that, it's perfectly
reasonable for PulseAudio to eat 6% of your CPU.
HOWEVER...
Closing pavucontrol SIGNIFICANTLY reduces the slowdown. Well well well,
what do you have in that peak meter of doom there? Pulseaudio still slower
than ALSA, but it changed from "unplayable" to "playable with moderately
lower fps". Still not ideal though.











On 13 July 2014 21:31, Alexander E. Patrakov <patrakov at gmail.com> wrote:

> 14.07.2014 02:24, Benny de von Ausfern wrote:
>
>> All the mentioned games run natively, with the exception being Dungeons
>> & Dragons Online (which runs fine with ALSA). This is certainly not a
>> Wine bug. I want you to understand that "killall -9 pulseaudio"
>> immediately solves all the problems, so its nothing but natural to blame
>> pulseaudio.
>>
>> This is my /proc/cpuinfo: http://pastebin.com/CqccL3qm
>> alsa-inf.sh: http://pastebin.com/8zC6fdhh
>>
>
> Looked. Your ALSA configuration is broken.
>
> First, you have a Haswell HDMI audio device in the system. Mere presence
> of it in some kernel configurations causes IRQ-related issues that can
> delay arbitrary programs for arbitrary amount of time if it is accessed at
> least once. This is a known kernel bug, tracked as
> https://bugzilla.kernel.org/show_bug.cgi?id=60769 (but for other
> reporters it has different manifestations). With pure ALSA, you don't hit
> it, because nothing accesses this device even for probing the capabilities.
>
> Please add this to the kernel command line to work around the kernel bug:
>
> intel_iommu=igfx_off
>
> Second, you have overrides of the model that are unnecessary for your
> hardware. 6stack is definitely not applicable to Haswell HDMI. So, remove
> all snd-hda-intel module parameters.
>
> Please fix the problems above and see whether the game-framerate bug still
> exists.
>
>
>  Pulseaudio is around 6% usage. When there is a game running, sometimes
>> the thing propagates to the WM (Enlightenment DR 18 with all the
>> compositions disabled, I don't like them) itself - windows lag when I
>> try to move/resize, take longer to open or freeze for a couple of
>> seconds without reason. Once again: killing pulseaudio solves it
>> IMMEDIATELY. I've never had this behaviour without pulseaudio. As a
>> matter of fact, I can play 2 or 3 of those games simultaneously (I have
>> 2 screens) with ALSA without any noticeable slowdown.
>>
>> top with Audacious playing music: http://pastebin.com/8eBbus7k
>> top with Skype (and nothing else going on): http://pastebin.com/DyJ0vJWC
>>
>
> It is not "with nothing else going on" - there is pavucontrol, which
> causes PulseAudio to enable the peak meter. And with that, it's perfectly
> reasonable for PulseAudio to eat 6% of your CPU.
>
>
> --
> Alexander E. Patrakov
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20140714/c132d217/attachment.html>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux