Package Details: snd-usb-audio-lowlatency-dkms 5.2.10-1

Git Clone URL: https://aur.archlinux.org/snd-usb-audio-lowlatency-dkms.git (read-only, click to copy)
Package Base: snd-usb-audio-lowlatency-dkms
Description: snd-usb-audio kernel module modified for low latency
Upstream URL: https://www.kernel.org/
Licenses: GPL2
Submitter: net147
Maintainer: net147
Last Packager: net147
Votes: 0
Popularity: 0.000000
First Submitted: 2018-08-11 13:51
Last Updated: 2019-09-03 13:48

Latest Comments

1 2 3 4 Next › Last »

funkmuscle commented on 2019-09-10 11:39

actually it made matters worse. I couldn't use the RT kernel. Crazy xruns. tested that by switching to vanilla kernel and had no issues. uninstalled snd-usb-audio-lowlatency-dkms and back to normal. thanks though for helping. I think all is good now without the snd-usb-audio-lowlatency-dkms.

net147 commented on 2019-09-03 13:50

@funkmuscle I am not actively developing/testing these patches. I have updated it to build with 5.2.10 though. Let me know it helps with reducing latency for you.

funkmuscle commented on 2019-09-03 13:32

hey, I keep getting this error every time the rt kernel is updated:

Install DKMS modules ==> dkms install snd-usb-audio-lowlatency/4.19.9 -k 5.2.10-rt5-1-rt Error! Bad return status for module build on kernel: 5.2.10-rt5-1-rt (x86_64) Consult /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/make.log for more information.

log message:

DKMS make.log for snd-usb-audio-lowlatency-4.19.9 for kernel 5.2.10-rt5-1-rt (x86_64) Tue 03 Sep 2019 09:26:16 AM EDT make: Entering directory '/usr/lib/modules/5.2.10-rt5-1-rt/build' CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/6fire/chip.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/caiaq/device.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/hiface/chip.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/bcd2000/bcd2000.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/hiface/pcm.o LD [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/bcd2000/snd-bcd2000.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/6fire/comm.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/6fire/midi.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/caiaq/audio.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/6fire/control.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/6fire/firmware.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/caiaq/midi.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/caiaq/control.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/6fire/pcm.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/caiaq/input.o LD [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/hiface/snd-usb-hiface.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/misc/ua101.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/line6/capture.o LD [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/6fire/snd-usb-6fire.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/usx2y/usbusx2y.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/line6/driver.o LD [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/caiaq/snd-usb-caiaq.o /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/usx2y/usbusx2y.c: In function ���snd_usX2Y_card_private_free���: /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/usx2y/usbusx2y.c:440:3: error: implicit declaration of function ���snd_free_pages���; did you mean ���snd_dma_free_pages���? [-Werror=implicit-function-declaration] 440 | snd_free_pages(usX2Y(card)->us428ctls_sharedmem, sizeof(usX2Y(card)->us428ctls_sharedmem)); | ^~~~~~~~~~~~~~ | snd_dma_free_pages CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/card.o cc1: some warnings being treated as errors LD [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/misc/snd-ua101.o make[2]: [scripts/Makefile.build:279: /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/usx2y/usbusx2y.o] Error 1 make[2]: Waiting for unfinished jobs.... CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/usx2y/usX2Yhwdep.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/line6/midi.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/line6/midibuf.o /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/usx2y/usX2Yhwdep.c: In function ���snd_us428ctls_mmap���: /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/usx2y/usX2Yhwdep.c:78:37: error: implicit declaration of function ���snd_malloc_pages���; did you mean ���snd_dma_alloc_pages���? [-Werror=implicit-function-declaration] 78 | if(!(us428->us428ctls_sharedmem = snd_malloc_pages(sizeof(struct us428ctls_sharedmem), GFP_KERNEL))) | ^~~~~~~~~~~~~~~~ | snd_dma_alloc_pages /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/usx2y/usX2Yhwdep.c:78:35: warning: assignment to ���struct us428ctls_sharedmem ��� from ���int��� makes pointer from integer without a cast [-Wint-conversion] 78 | if(!(us428->us428ctls_sharedmem = snd_malloc_pages(sizeof(struct us428ctls_sharedmem), GFP_KERNEL))) | ^ cc1: some warnings being treated as errors make[2]: [scripts/Makefile.build:279: /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/usx2y/usX2Yhwdep.o] Error 1 make[1]: [scripts/Makefile.build:489: /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/usx2y] Error 2 make[1]: Waiting for unfinished jobs.... CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/line6/pcm.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/line6/playback.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/line6/pod.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/line6/podhd.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/line6/toneport.o CC [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/line6/variax.o LD [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/line6/snd-usb-line6.o LD [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/line6/snd-usb-pod.o LD [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/line6/snd-usb-podhd.o LD [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/line6/snd-usb-variax.o LD [M] /var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build/line6/snd-usb-toneport.o make: [Makefile:1597: module/var/lib/dkms/snd-usb-audio-lowlatency/4.19.9/build] Error 2 make: Leaving directory '/usr/lib/modules/5.2.10-rt5-1-rt/build'

funkmuscle commented on 2018-09-05 14:25

@net147 well it installed and I seem to have sound. no way of doing the loop back test though. I'll keep you posted. And sorry for late reply :(

net147 commented on 2018-09-01 10:32

@funkmuscle I have restored the MAX_URBS/SYNC_URBS parameters to default so it should work with more interfaces and modified the module to allow specifying custom parameter values as module options. This will let you tune the parameters without having to rebuild the package. Instructions are displayed when the package is installed/updated.

net147 commented on 2018-09-01 10:29

@funkmuscle It is not necessary to update GRUB after installing.

funkmuscle commented on 2018-08-28 01:13

hey net147, I am using Focusrite 2i2

I also update grub after installing. That step necessary? Like I've said, I've using Ardour and Linux for over a decade, almost 2 but had to stop learning Unix/Linux a while back but still always using Linux and Arch for that long. So please forgive my sometimes dumb questions

net147 commented on 2018-08-27 14:50

If you are having trouble getting audio to work with this patch, try increasing MAX_URBS in lowlatency.patch to 3 or 4 on line 13, then run updpkgsums and makepkg -Cifs.

net147 commented on 2018-08-25 09:37

@funkmuscle Which USB audio interface are you using?

funkmuscle commented on 2018-08-22 14:25

@net147, yep. been using Arch for more than a decade. I just reinstalled jack2 along with realtime-privileges and the rt-lts again and system is back to normal. didn't install snd-usb-audio-lowlatency-dkms.