Maybe you cannot find your opengl libraries? LD_DEBUG=libs <your command> might help. Otherwise strace -f <command> might show if it tries to access some devices or so.
Also, thereās an issue for Carla: Carla in NixOS Ā· Issue #813 Ā· falkTX/Carla Ā· GitHub. By the way, removing /run/current-system/sw/lib from LD_LIBRARY_PATH revealed an another issue: Carla cannot find libjack2.so.0.
Iāve done audio production with Debian for at least a couple of decades, but Iām relatively new to NixOS and Iām having a very difficult time. Iāve had great success on Debian using classic jack, but Iāve never used jackdbus; Iāve always just killed pulseaudio when necessary, if I even ran it at all.
Iāve had very limited success following JACK - NixOS Wiki as best I can. I have been able to use a few jack clients, notably ardour5, but most apps fail to connect for me.
I also have trouble with ardour hanging up very regularly, usually (though not always) accompanied by:
kernel: xhci_hcd 0000:00:14.0: WARN Event TRB for slot 1 ep 1 with no TDs queued?
in my journal logs. I have no reason to expect this is related to my general jack woes, but I suppose it could be.
How are people generally going about this?
My inclination at this point is to go back to zero and try using jack1 without pulseaudio and see how things go. At least it would be simpler and more familiar.
Would anyone be willing to share a bit of your working config?
This is quite strange. Do you still have this problem?
I just installed NixOS on an old macbook air with an audio config i copied over from an old laptop and it seems to work without any troubles. Iāve only used Ardour + some Plugins tho. But I also got it working alongside pulseaudio with jack-sink. I can upload my config if youāre interested
Well, I did manage to get things working. Shortly after having posted the above. But jackd broken again soon after. Iām fine as long as I stay on the generation from March or so. But itās broken for all builds since then.
Let me know if you have some difficulties setting this up still. I also think it would be awesome, in case that this works, if someone would update wiki page. Preferably someone other than me who knows more about pro audio and can english better than I. Iām not an expert on this sort of stuff but Iām happy to help to the extend Iām able to.
Is it necessary to hardcode the device in the configuration?
And regarding the pipewire config, Iām not sure what that was supposed to enable, but I couldnāt work with jack at all with that config. The jack daemon failed to start.
Iām struggling to get jack working at all anymore ā with or without pulse. My music machine is running a version of nix from Feb 2020.
Iāve been using Reaper and some VST plugins on my NixOS-based Laptop to use it as a guitar amp. Running this on Pipewire and it worked pretty ok.
But itās very much a side-project that I work on whenever I have some time. I donāt really understand your issue though (well, except that things donāt seem to work) and I doubt that I can say anything about a 2020 version of Nix since this is before I even started using it.
and itās working pretty ok. I remember I tried some additional musnix optimisation settings (incl. rt kernel) about a year ago but failed due to build/boot etc. errors, so I kept it simple. But it does the job (I mainly use ardour with a Focusrite Scarlet 18i8 for recording and mixing) well enough.
Iām updating pretty frequently though, and find improvements generally outweigh the few regressions encountered; so Iād advise to get current first on that machine if thereās no compelling reason to keep it ā2020ā.