Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

GoXLR-on-Linux/snd-usb-audio-goxlr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

This repository is now archived.

The patch that this repository implements is now available in most mainline kernels removing the need for the DKMS based fix. To have out-of-the-box support for the GoXLR on linux, please ensure you are running one of the following kernels:

5.15 Kernels: 5.15.44+ (LTS Kernel)
5.16 Kernels: Not available, 5.16 is End of Life, please upgrade.
5.17 Kernels: 5.17.13+
5.18 Kernels: 5.18.2+
5.19 and above: All supported

Please check with your distribution as to which kernels are available, and upgrade where possible. This repository will remain in an arcived state for legacy reasons.

GoXLR DKMS Module

Note

Between kernels 5.11 and 5.19rc1 there has been a bug in the Linux Kernel which prevents the GoXLR from functioning correclty under pipewire based systems. While this bug has been fixed, it will take time (potentially years in some LTS releases) for this fix to make it into various Linux distributions.

This DKMS module is designed to attempt to patch the fix into any 5.15 - 5.19 kernel, by downloading the kernel sources, patching the USB Audio driver, and installing it.

WARNING: Here be dragons.
While DKMS is pretty common and standardised and there shouldn'nt be a reason this wont work with your distribution, YMMV. If your distribution uses out-of-band patches on the snd-usb-audio kernel driver, these will be removed by this DKMS module.

Use of this code is 'at your own risk', the GoXLR on Linux team accept no responsibility (either implied or otherwise) for any problems this may cause.

Tested working Distributions

Manjaro KDE / Gnome - Kernel 5.17.9
Pop!_OS 22.04 LTS - Kernel 5.17
Fedora 36 - Kernel 5.17.11

Requirements

  • dkms
  • Linux Kernel Headers
  • Alsa UCM (>=1.2.6)

Fetching these will be different depending on your distribution, please consult your distributions guides for instructions.

Installation

Simply run the following:

git clone https://github.com/GoXLR-on-Linux/snd-usb-audio-goxlr.git
sudo mv snd-usb-audio-goxlr /usr/src/
sudo dkms install snd-usb-audio/goxlr

Then reboot your machine.

Maintenance

Your distribution should automatically rebuild the module with kernel updates, however if this turns out not to be the case (and you no longer see the GoXLR on reboot), simply run:

sudo dkms install snd-usb-audio/goxlr

To reinstall the module under your new kernel, and reboot.

Removal

To remove the module from all kernel versions, and restore the original snd-usb-audio module, run the following:

sudo dkms remove --all snd-usb-audio/goxlr
sudo rm -rf /usr/src/snd-usb-audio-goxlr
sudo rm /usr/src/goxlr-dkms*.tar.xz

Then reboot to fully restore the original module.

Help

If you need help, feel free to open an issue here, and we'll do what we can, or catch us on Discord and we'll try to help!

What about Pulse Audio?

While this fix does technically work for Pulse Audio, and remove the need to use the GoXLR on Linux script, in my testing I was experiencing 300ms of audio latency. Due to this solution requiring a kernel patch, until it's formally introduced in 5.19rc1 solving the pulseaudio latency will likely need to wait until then.

About

DKMS Module patch for the GoXLR

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages