NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PulseAudio high CPU usage on NetBSD 7_RC1/amd64
From: William D. Jones <thor0505%comcast.net@localhost> [150727 08:31]
Hello all,
Can anyone who is using NetBSD in a desktop setting confirm whether PulseAudio uses 100% of one CPU core while a video is playing either in a web browser (such as Firefox) or a media player?
I'm currently unable to diagnose the issue, but since I installed it, any time I do either of the things listed above, a PulseAudio instance will consume 100% of WCPU/CPU according to top. Starting PulseAudio with log-level=debug does not show anything out of the ordinary, such as (many) buffer over/underruns. Copying the default daemon.conf from pkgsrc into ~/.config/pulse and changing the resampler to trivial does not fix the problem.
PulseAudio already crackles/glitches slightly as is, with the default high-priority/realtime settings, so I would prefer not to mess with that. Even taking realtime/high priority scheduling into account, something just doesn't seem right about the high CPU usage. At the very least, I can play an HTML5 video in Firefox on Linux, using a system with a slightly slower CPU, and pulse's CPU usage barely registers in top (realtime).
Does anyone have suggestions on how to go about trying to fix these issues? I need a sound mixer, and for better or worse, PulseAudio seems to be the standard solution.
As always, thanks for any help or steps in the right direction!
Sincerely,
William D. Jones <thor0505%comcast.net@localhost>
Hi Willian,
though I have an older version of NetBSD, and experienced the same
issue - pulseaudio took 100% of the CPU. Same here, using Firefox
and the videos.
Have you tried fiddling with the settings of
/usr/pkg/etc/pulse/daemon.conf?
I have changed these settings from the defaults to:
high-priority = no
realtime-scheduling = no
resample-method = trivial
Still it hogs on the ressources, but at least it works.
Cheers
herb langhans
Home |
Main Index |
Thread Index |
Old Index