low latency tweaks to snd-usb-audio

Official support for the KXStudio Linux distribution and applications.
More info at http://kxstudio.linuxaudio.org/

Moderators: falkTX, MattKingUSA, khz

Established Member
Posts: 128
Joined: Fri Jan 16, 2009 7:41 am
Location: Finland

low latency tweaks to snd-usb-audio

Postby eric71 » Sun Aug 12, 2018 7:07 pm

There's an interesting thread at Reaper's Linux forum where a user has tweaked snd-usb-audio to significantly reduce latency with usb interfaces, and made added it to AUR. I dodn't know what thay have done, but I'm curious if there might be a way to get this type of tweaked snd-usb-audio into the kxstudio reapos for those of us that use Debian/Ubunto based distros and kxstudio, rather than Arch. The interesting part starts at post 17 here:


User avatar
Established Member
Posts: 6646
Joined: Sat Jan 09, 2010 3:04 pm

Re: low latency tweaks to snd-usb-audio

Postby falkTX » Sun Aug 12, 2018 8:20 pm

hmm very interesting.
I am running it now, with 48000Hz and 32frames, in the super fresh (upcoming) KXStudio 18.04 :D
(I also have the udev-rtirq thing for USB audio IRQ priority)

and btw, I don't have pulseaudio here anymore, not even libpulse0 (for the entire kde desktop!).
The only terrible thing is firefox jack support that xruns too much in low buffer sizes.. :(

EDIT: how do I really know if I am running the new or the old code? :lol:

User avatar
Established Member
Posts: 966
Joined: Thu Apr 17, 2008 6:29 am
Location: German

Re: low latency tweaks to snd-usb-audio

Postby khz » Mon Aug 13, 2018 6:36 am

[X] Yes!

Code: Select all

mv pulseaudio /dev/null && Compile Firefox with --enable-jack.

That Class Compliant (256/2 512 + 205 ~ 14.938 ms) has bad values and no hdspmixer is available is sad.
With the RME driver (256/2 512 + 59 ~ 11.596 ms) and hdspmixer.
And you also want the hdspmixer.
FZ - Does humor belongs in Music?
GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
    I don't care about the freedom of speech because I have nothing to say.

Established Member
Posts: 78
Joined: Thu Feb 14, 2013 6:00 pm

Re: low latency tweaks to snd-usb-audio

Postby korakios » Fri Sep 07, 2018 12:39 pm

Will the moded “snd-usb-audio-lowlatency-dkms” be a package on KXStudio repos ?

Return to “KXStudio Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests