Skip to content

Instantly share code, notes, and snippets.

@tecteun
Last active December 28, 2020 11:06
Show Gist options
  • Save tecteun/7d221b02792dac497757fd3ff8d5f318 to your computer and use it in GitHub Desktop.
Save tecteun/7d221b02792dac497757fd3ff8d5f318 to your computer and use it in GitHub Desktop.
Ubuntu studio / realtime audio processing (Intel(R) Core(TM) i7 CPU 870)

Gist:

throttling does not go well with realtime audio processing (resulting in a popcorn audio stream)

Having audio issues? Double check if u r throttling!!

see real live cpu frequency

watch grep \"cpu MHz\" /proc/cpuinfo

disable cpuidle

add

idle=poll

to /etc/default/grub -> GRUB_CMDLINE_LINUX_DEFAULT

cpu freq selector

apt install indicator-cpufreq 

/etc/modprobe.d/alsa-base.conf

options snd-ice1712 model=delta44 omni=0

/etc/default/rtirq

RTIRQ_NAME_LIST="snd_ice1712 snd_hda usb"

modinfo

modinfo snd-ice1712

pulseaudio

  • /etc/pulse/default.pa
  load-module module-udev-detect tsched=0 ignore_dB=0
  • /etc/pulse/daemon.conf
  resample-method = ffmpeg
  enable-remixing = yes
  default-sample-format = s32le
  default-sample-rate = 44100
  alternate-sample-rate = 48000
@tecteun
Copy link
Author

tecteun commented Dec 28, 2020

Disable irqbalance:
sudo apt remove irqbalance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment