My Arch Linux Multimedia Problems Solved
After updating Arch linux I encountered a problem with media playback. I would have YouTube videos and mp3 streams playing 3 times the normal speed. Refreshing the page about 4 times would get it to play at the right speed. I also had crackling all the time. While playing a video on one monitor and surfing Facebook on the second, the video would start playing fast if I scrolled past an auto play video. I had to try to scroll past fast so It wouldn’t play. After a long time of trouble shooting drivers, and thinking it was something with gstreamer I found the problem.
Turns out Pulseaudio started using timer-based audio scheduling, witch was causing havoc with my alsa driver.
A quick edit to my /etc/pulse/default.pa file and it was working again.
I disabled the timer-based audio scheduling by adding “tsched=0” to “load-module modul-udev-detect”.
“load-module module-udev-detect tsched=0”
It was a quick little fix thanks to the Arch Wiki. I don’t think I ever would have found it without it.