What do you recommend, pure ALSA or Pipewire?GaryG wrote: Tue Dec 12, 2023 7:44 am the Linux gods must be smiling on me as i've now been purely avlinux for three weeks with only one real issue (native chow tapemodel plug won't initiate) and that's with next to no previous experience. My cheapo class compliant interface just worked, my arturia kb and novation launch control just worked with no drivers (easier than windows for the latter...) , just about all the windows plugs i bridged work fine (but that's a bonus, can't moan programs designed for a totally different OS don't work)
Haven't even had to really configure anything either, my IF showed up in Jack, tweaked the buffer as you would in windows and that was it. Probably are things I can tune but even hogs like large Cardinal patches run fine currently.
I think you just need to take your time, ask on forums, get to know the file system (approaching it with a Windows mentality is bad, I found that out)
So, yeah, totally possible to make music with Linux, sorry some people have so much trouble but a blanket statement 'it doesn't work for music' is just not true.
A Good Linux Distro For Music Production?
- KVRist
- 125 posts since 26 Apr, 2021
- KVRist
- 125 posts since 26 Apr, 2021
What do you recommend, pure ALSA or Pipewire?audiojunkie wrote: Wed Dec 27, 2023 12:28 am In fact, I only generally recommend the following be done for most people:
1. Configure rtprio and memlock limits
2. Add self to the Pipewire group
3. Change audio card profile to Pro Audio mode
4. Configure samplerate and buffersize
5. Boot with kernel parameter /preempt=full (if needed)
- KVRist
- 125 posts since 26 Apr, 2021
How to Configure samplerate and buffersize in Pipewire and to make boot with kernel parameter /preempt=full ?audiojunkie wrote: Wed Dec 27, 2023 12:28 am In fact, I only generally recommend the following be done for most people:
1. Configure rtprio and memlock limits
2. Add self to the Pipewire group
3. Change audio card profile to Pro Audio mode
4. Configure samplerate and buffersize
5. Boot with kernel parameter /preempt=full (if needed)
- KVRAF
- 8110 posts since 13 Jan, 2003 from Darkest Kent, UK
Jack
Remember ALSA is the basic low level driver (like asio) and pipewire and jack are audio servers working above that to connect different clients together etc.
I use just Reaper 99% of the time and started off using ALSA, worked fine but the host will grab the driver exclusively so if you want to watch a quick youtube video then you'd need to make changes. So I started to use Jack instead.
I haven't used Pipewire as Jack is working fine for me so far, I believe it's the future the way people talk, I did watch one video by that Unfa guy, he got it all working but not for newbies I'd argue.
- KVRAF
- 7098 posts since 19 Apr, 2002 from Utah
It will have to depend on you. If you have Pipewire and want to bypass it, that requires more steps and is a pain in the butt (at least for mecupcakemusic wrote: Wed Dec 27, 2023 3:43 pmWhat do you recommend, pure ALSA or Pipewire?audiojunkie wrote: Wed Dec 27, 2023 12:28 am In fact, I only generally recommend the following be done for most people:
1. Configure rtprio and memlock limits
2. Add self to the Pipewire group
3. Change audio card profile to Pro Audio mode
4. Configure samplerate and buffersize
5. Boot with kernel parameter /preempt=full (if needed)
Vendor‑Dependent Copy Protection: Customers lose. Pirates win.
(Also: I'm Accused of lying about Linux—it boots, runs my pro audio workflow, stays stable, updates--though yearly dismissed as “niche”. Yet I'm the deluded one.)
(Also: I'm Accused of lying about Linux—it boots, runs my pro audio workflow, stays stable, updates--though yearly dismissed as “niche”. Yet I'm the deluded one.)
-
- KVRAF
- 9145 posts since 7 Oct, 2005
Alsa is great but I have the same problem you had (driver exclusivity). I will try the Jack server and see how the latency works as I fed up by not releasing the driver. Thanks for the reminderGaryG wrote: Wed Dec 27, 2023 5:00 pmJack
Remember ALSA is the basic low level driver (like asio) and pipewire and jack are audio servers working above that to connect different clients together etc.
I use just Reaper 99% of the time and started off using ALSA, worked fine but the host will grab the driver exclusively so if you want to watch a quick youtube video then you'd need to make changes. So I started to use Jack instead.
I haven't used Pipewire as Jack is working fine for me so far, I believe it's the future the way people talk, I did watch one video by that Unfa guy, he got it all working but not for newbies I'd argue.
Using: Cubase Pro 15, Reason 13, Tascam US-4x4HR, MODX6, DM12D, LaunchKey 49, Yamaha guitar(Pacifica 612v) and bass (BB234) and some virtual instruments and synths.
-
- KVRAF
- 2772 posts since 28 Mar, 2007
Pipewire has been a bit of a disappointment for me. I was expecting it to make the audio behave in a similar fashion to OSX audio and be multiclient, but out of the box its not working like that. So watching a youtube video and having a DAW open at the same time is not working on my system.
- KVRAF
- 7098 posts since 19 Apr, 2002 from Utah
You just don't have things set up correctly yet. Be patient with yourself.dellboy wrote: Thu Dec 28, 2023 12:13 pm Pipewire has been a bit of a disappointment for me. I was expecting it to make the audio behave in a similar fashion to OSX audio and be multiclient, but out of the box its not working like that. So watching a youtube video and having a DAW open at the same time is not working on my system.
Vendor‑Dependent Copy Protection: Customers lose. Pirates win.
(Also: I'm Accused of lying about Linux—it boots, runs my pro audio workflow, stays stable, updates--though yearly dismissed as “niche”. Yet I'm the deluded one.)
(Also: I'm Accused of lying about Linux—it boots, runs my pro audio workflow, stays stable, updates--though yearly dismissed as “niche”. Yet I'm the deluded one.)
- KVRAF
- 7098 posts since 19 Apr, 2002 from Utah
Here's a post I made earlier that explains the commandline way to do it:cupcakemusic wrote: Wed Dec 27, 2023 3:48 pmHow to Configure samplerate and buffersize in Pipewire and to make boot with kernel parameter /preempt=full ?audiojunkie wrote: Wed Dec 27, 2023 12:28 am In fact, I only generally recommend the following be done for most people:
1. Configure rtprio and memlock limits
2. Add self to the Pipewire group
3. Change audio card profile to Pro Audio mode
4. Configure samplerate and buffersize
5. Boot with kernel parameter /preempt=full (if needed)
https://linuxmusicians.com/viewtopic.php?t=25768
Here's an alsa trick:
https://forum.cockos.com/showthread.php?p=2702910
Here are a couple of GUIs that can help you:
https://discourse.ardour.org/t/simple-p ... -ui/109207
Additional note--Make sure you have the Pro Audio profile selected in Pavucontrol.
Vendor‑Dependent Copy Protection: Customers lose. Pirates win.
(Also: I'm Accused of lying about Linux—it boots, runs my pro audio workflow, stays stable, updates--though yearly dismissed as “niche”. Yet I'm the deluded one.)
(Also: I'm Accused of lying about Linux—it boots, runs my pro audio workflow, stays stable, updates--though yearly dismissed as “niche”. Yet I'm the deluded one.)
- KVRAF
- 7098 posts since 19 Apr, 2002 from Utah
Vendor‑Dependent Copy Protection: Customers lose. Pirates win.
(Also: I'm Accused of lying about Linux—it boots, runs my pro audio workflow, stays stable, updates--though yearly dismissed as “niche”. Yet I'm the deluded one.)
(Also: I'm Accused of lying about Linux—it boots, runs my pro audio workflow, stays stable, updates--though yearly dismissed as “niche”. Yet I'm the deluded one.)
- KVRAF
- 7098 posts since 19 Apr, 2002 from Utah
For those who don't want to read the links, here's the commandline gist:
Set a specific sample rate and buffer size?
pw-metadata -n settings 0 clock.force-rate <samplerate>
pw-metadata -n settings 0 clock.force-quantum <buffersize>
Confirm the actuall sample rate and buffer size?
pw-metadata -n settings
Reset pipewire to the default configuration?
pw-metadata -n settings 0 clock.force-rate 0
pw-metadata -n settings 0 clock.force-quantum 0
Set a specific sample rate and buffer size?
pw-metadata -n settings 0 clock.force-rate <samplerate>
pw-metadata -n settings 0 clock.force-quantum <buffersize>
Confirm the actuall sample rate and buffer size?
pw-metadata -n settings
Reset pipewire to the default configuration?
pw-metadata -n settings 0 clock.force-rate 0
pw-metadata -n settings 0 clock.force-quantum 0
Vendor‑Dependent Copy Protection: Customers lose. Pirates win.
(Also: I'm Accused of lying about Linux—it boots, runs my pro audio workflow, stays stable, updates--though yearly dismissed as “niche”. Yet I'm the deluded one.)
(Also: I'm Accused of lying about Linux—it boots, runs my pro audio workflow, stays stable, updates--though yearly dismissed as “niche”. Yet I'm the deluded one.)
- KVRAF
- 7098 posts since 19 Apr, 2002 from Utah
Here's another reference directly pointing out available Pipewire GUIs:
https://linuxmusicians.com/viewtopic.ph ... 3b#p160196
https://linuxmusicians.com/viewtopic.ph ... 3b#p160196
Vendor‑Dependent Copy Protection: Customers lose. Pirates win.
(Also: I'm Accused of lying about Linux—it boots, runs my pro audio workflow, stays stable, updates--though yearly dismissed as “niche”. Yet I'm the deluded one.)
(Also: I'm Accused of lying about Linux—it boots, runs my pro audio workflow, stays stable, updates--though yearly dismissed as “niche”. Yet I'm the deluded one.)
- KVRAF
- 7098 posts since 19 Apr, 2002 from Utah
Here's some good info on what the Pro Audio profile does:
https://gitlab.freedesktop.org/pipewire ... io-profile
https://gitlab.freedesktop.org/pipewire ... io-profile
Vendor‑Dependent Copy Protection: Customers lose. Pirates win.
(Also: I'm Accused of lying about Linux—it boots, runs my pro audio workflow, stays stable, updates--though yearly dismissed as “niche”. Yet I'm the deluded one.)
(Also: I'm Accused of lying about Linux—it boots, runs my pro audio workflow, stays stable, updates--though yearly dismissed as “niche”. Yet I'm the deluded one.)
- KVRAF
- 7098 posts since 19 Apr, 2002 from Utah
Vendor‑Dependent Copy Protection: Customers lose. Pirates win.
(Also: I'm Accused of lying about Linux—it boots, runs my pro audio workflow, stays stable, updates--though yearly dismissed as “niche”. Yet I'm the deluded one.)
(Also: I'm Accused of lying about Linux—it boots, runs my pro audio workflow, stays stable, updates--though yearly dismissed as “niche”. Yet I'm the deluded one.)
-
- KVRist
- 148 posts since 20 Jan, 2022
Are you connecting the DAW to alsa in it's setting? That will make the DAW be the only thing you can use. If so, connect to JACK, you'll be connecting to pipewire that way.dellboy wrote: Thu Dec 28, 2023 12:13 pm Pipewire has been a bit of a disappointment for me. I was expecting it to make the audio behave in a similar fashion to OSX audio and be multiclient, but out of the box its not working like that. So watching a youtube video and having a DAW open at the same time is not working on my system.