Why do Youtube videos run fine then always give "audio renderer error" several days later?

After a reboot, or following the actions listed below, everything involving audio runs fine. I can watch and hear Youtube videos, and run audio software w/o problems.

About a week or two of constant uptime and typically 9 to 14 hours of use, Youtube videos won't play, but instead display an "Audio renderer error". This happens always for all videos, until I take one of these actions:

• reboot (no thanks, I have several projects in progress up, with IDEs, video editors, etc)

• pulseaudio --kill; pulseaudio --start but then all browser tabs that were playing audio (e.g. I always have defonic.com for ambient sounds running) go silent, and need to be reloaded. Audio software usually needs to restarted.

• Quitting Chromium and restarting it usually doesn't help, but maybe sometimes works - I haven't been keeping notes.

• Sometimes, closing pavucontrol lets chromium play video normally. I can even start playing a video then run pavucontrol and things are normal.

• Occasionally, after monkeying around with JACK Audio, softsynths, browser settings, running alsamixer, or doing nothing at all, it might magically start working, at least for a while.

Having worked with various kinds of software for years, my (unreliable) intuition is that PulseAudio has a limited number of something, channels, audio buffers, whatever, that get used up or aren't properly garbage collected. I'm not sure it's PulseAudio or ALSA, or a problem with Chromium but other audio software seems to be affected.

I'm running Arch, generally never more than six months out of date, last upgrade only a month ago. The problem has been a bother since a few years ago. I don't remember specifically a first time.

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论