In windows I can go down to 256 buffers with the mentioned patch whereas in linux I am getting xruns and audible slowdowns at 1024. I've tried a few different kernels (ubuntu low latency, avlinux rt, liquorix) and the low latency seems to be best so far, and I have tried running from a minimal window manager (fluxbox, normally running plasma 5) which helped slightly but not significantly.
Any ideas why this might be happening?
This is the spec:
Code: Select all
System: Host: hyperion Kernel: 5.4.0-42-lowlatency x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: KDE Plasma 5.19.4
Distro: KDE neon 20.04 5.19 base: Ubuntu 20.04 LTS Focal
Machine: Type: Desktop Mobo: ASUSTeK model: PRIME A320M-K v: Rev X.0x serial: <superuser/root required>
UEFI: American Megatrends v: 5409 date: 01/07/2020
CPU: Topology: 8-Core model: AMD Ryzen 7 2700 bits: 64 type: MT MCP arch: Zen+ rev: 2 L2 cache: 4096 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 102195
Speed: 2620 MHz min/max: 1550/3200 MHz Core speeds (MHz): 1: 2667 2: 2710 3: 2798 4: 2984 5: 2735 6: 2425 7: 3615
8: 3613 9: 2857 10: 2827 11: 2412 12: 2790 13: 3580 14: 3617 15: 2526 16: 2949
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Baffin [Radeon RX 550 640SP / RX 560/560X] vendor: XFX Pine
driver: amdgpu v: kernel bus ID: 07:00.0
Display: x11 server: X.Org 1.20.8 driver: amdgpu FAILED: ati unloaded: fbdev,modesetting,vesa tty: N/A
OpenGL: renderer: Radeon RX 550 Series (POLARIS11 DRM 3.35.0 5.4.0-42-lowlatency LLVM 10.0.0) v: 4.6 Mesa 20.0.8
direct render: Yes
Audio: Device-1: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] vendor: XFX Pine driver: snd_hda_intel
v: kernel bus ID: 07:00.1
Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
bus ID: 09:00.3
Device-3: Focusrite-Novation Launchpad MK2 type: USB driver: snd-usb-audio bus ID: 3-3:2
Device-4: Focusrite-Novation Focusrite Scarlett 6i6 type: USB driver: snd-usb-audio bus ID: 3-4:3
Sound Server: ALSA v: k5.4.0-42-lowlatency
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169 v: kernel port: e000
bus ID: 05:00.0
IF: enp5s0 state: down mac: d4:5d:64:a7:8a:e2
Device-2: Realtek RTL8192EE PCIe Wireless Network Adapter driver: rtl8192ee v: kernel port: d000 bus ID: 06:00.0
IF: wlp6s0 state: up mac: 50:2b:73:d8:07:13
Drives: Local Storage: total: 1.14 TiB used: 823.76 GiB (70.4%)
ID-1: /dev/sda model: 256GB PCS 2.5 SSD size: 238.47 GiB temp: 40 C
ID-2: /dev/sdb vendor: Seagate model: ST1000DM010-2EP102 size: 931.51 GiB temp: 31 C
Partition: ID-1: / size: 159.54 GiB used: 63.26 GiB (39.7%) fs: ext4 dev: /dev/sda5
Sensors: System Temperatures: cpu: 36.5 C mobo: N/A gpu: amdgpu temp: 40 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 1184
Info: Processes: 370 Uptime: 7m Memory: 15.64 GiB used: 2.30 GiB (14.7%) Init: systemd runlevel: 5 Compilers: gcc: 9.3.0
Shell: bash v: 5.0.17 inxi: 3.0.38 Code: Select all
== GUI-enabled checks ==
Checking if you are root... no - good
Checking filesystem 'noatime' parameter... 5.7.0 kernel - good
(relatime is default since 2.6.30)
Checking CPU Governors... CPU 0: 'performance' CPU 1: 'performance' CPU 10: 'performance' CPU 11: 'performance' CPU 12: 'performance' CPU 13: 'performance' CPU 14: 'performance' CPU 15: 'performance' CPU 2: 'performance' CPU 3: 'performance' CPU 4: 'performance' CPU 5: 'performance' CPU 6: 'performance' CPU 7: 'performance' CPU 8: 'performance' CPU 9: 'performance' - good
Checking swappiness... 10 - good
Checking for resource-intensive background processes... none found - good
Checking checking sysctl inotify max_user_watches... >= 524288 - good
Checking access to the high precision event timer... readable - good
Checking access to the real-time clock... readable - good
Checking whether you're in the 'audio' group... yes - good
Checking for multiple 'audio' groups... no - good
Checking the ability to prioritize processes with chrt... yes - good
Checking kernel support for high resolution timers... found - good
Kernel with Real-Time Preemption... 'threadirqs' kernel parameter - good
Checking if kernel system timer is high-resolution... found - good
Checking kernel support for tickless timer... found - good
== Other checks ==
Checking filesystem types... ok.
** Set $SOUND_CARD_IRQ to the IRQ of your soundcard to enable more checks.
Find your sound card's IRQ by looking at '/proc/interrupts' and lspci.