PulseAudio 100% cpu usage under KDE

Matthew Dillon dillon at backplane.com
Wed Jun 29 10:38:17 PDT 2016


We haven't had any luck making our sound driver ioctls 100% compatible with
linux.  The linux code is totally undocumented so its hard to figure out
some of the buffering counters (used for sound synchronization with video
mainly) are supposed to work.  I can make it not eat 100% cpu in chrome and
firefox, but other use cases seem to blow up and I don't know why.

-Matt

On Wed, Jun 29, 2016 at 1:45 AM, Bernard Mentink <bmentink at gmail.com> wrote:

> Hi,
>
> Thanks for that. Actually, I want to use Gnome rather than KDE.
>
> I am finding that with Gnome I can have sound from Chromium/Youtube  etc,
> but when I call up the Gnome sound-settings tool, then pulseaudio get's
> launched and used 100% cpu and crashes Gnome eventually ...
>
> Can I re-compile some lib in Gnome that does away with pulse?
>
> Cheers
>
> On Wed, Jun 29, 2016 at 7:20 PM, Konstantin Kulikov <k.kulikov at naukanet.ru
> > wrote:
>
>> Hey.
>> Can't say why pulseaudio doesn't work, but IIRC you can rebuild kdelibs
>> without pulseaudio support and use other audio backend like vlc/gstreamer.
>> Hope this helps.
>>
>> On Tue, Jun 28, 2016 at 10:26 PM Bernard Mentink <bmentink at gmail.com>
>> wrote:
>>
>>> I also notice this bug report from 6 months ago, is it related?
>>> http://bugs.dragonflybsd.org/issues/2881
>>>
>>> Cheers,
>>> Bernie
>>>
>>> On Mon, Jun 27, 2016 at 12:36 PM, Bernard Mentink <bmentink at gmail.com>
>>> wrote:
>>>
>>>> HI all,
>>>>
>>>> I thought I would open a separate thread on this issue.
>>>>
>>>> When I load the* snd_hda* module  and play some sound, the pulseaudio
>>>> process uses 100% of one CPU core (I have 4), however the sound is fine.
>>>> Even no playing anything, pulse is stuck at 100%
>>>>
>>>> Is there anyway to get pulse to work correctly?
>>>>
>>>> My hardware is an HP Desktop and sysctl reports the audio device as:
>>>>
>>>> pcm0: <Realtek ALC662 (Analog 2.0+HP/2.0)> at nid 20,27 and 24,25,26 on
>>>> hdaa0
>>>> pcm1: <ATI R6xx (HDMI)> at nid 3 on hdaa1
>>>> pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
>>>>
>>>>
>>>> As far as I can tell, the Realtek device support s 44.1K,48K and 96K
>>>> sampling, so down-sampling should not be an issue.
>>>>
>>>> All KDE sees is the "pulse" device with VLC backend.
>>>>
>>>> Thanks,
>>>> Bernie
>>>>
>>>> PS: Other users have had the same issue ....
>>>>
>>>>
>>>> --
>>>>
>>>> -------------------------------------------------------------------------------------------------------------------------------------
>>>> Life is a sexually transmitted disease with a 100% mortality rate.
>>>>
>>>> -------------------------------------------------------------------------------------------------------------------------------------
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> -------------------------------------------------------------------------------------------------------------------------------------
>>> Life is a sexually transmitted disease with a 100% mortality rate.
>>>
>>> -------------------------------------------------------------------------------------------------------------------------------------
>>>
>>
>
>
> --
>
> -------------------------------------------------------------------------------------------------------------------------------------
> Life is a sexually transmitted disease with a 100% mortality rate.
>
> -------------------------------------------------------------------------------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20160629/12c1b204/attachment-0003.htm>


More information about the Users mailing list