/srv/irclogs.ubuntu.com/2020/05/13/#ubuntustudio.txt

pieqHi!01:00
Eickmeyerpieq: Hi, what' sup?01:00
pieqEickmeyer, hi! Great, and you?01:02
EickmeyerOh, I'm fine. Do you have an Ubuntu Studio question?01:02
pieqEickmeyer, you read my mind like an open book! :D01:02
EickmeyerWell, you're in the right place for it.01:02
pieqI'm a seasoned Ubuntu user (been using it since Warty Warthogs!), and I've helped a friend set up his laptop with 20.0401:03
pieqHe's a musician, and he has a USB Audio interface (one of the Scarlet) to record saxophone/accordion01:04
pieqHe's often on the go, and when he's recording with friends, he would like to use the USB Audio interface as an input source, but use his laptop speakers as an output01:04
EickmeyerOk, I see where you're going with that.01:05
pieqWe've set up Ubuntu Studio Controls on 20.04, and it does a great job setting up JACK and everything01:05
pieqbut once we select the USB Interface in Ubuntu Studio Controls, the sound is automatically output to the USB Audio output, and we haven't found a way to select `PCH,0,0` which is the standard laptop input/output01:06
pieqI was wondering if I was doing something wrong01:06
pieqor if it was just not meant to do this01:06
EickmeyerSo, what you'll want to do is open up Carla and go to the Patchbay. From there you should be able to see every audio device connected, including the internal laptop speakers.01:06
EickmeyerThen it's just a matter of connecting a wire (in the Carla patchbay) from the input to the speaker output.01:07
pieqOK, then it leads me to another question01:07
pieqI setup his laptop last year with 19.04. We had some problems but in the end he was happy with his workflow. He got used to Gladish, even though it seems like a pain to setup and "maintain" (especially since he switches from configs depending if he's home or on the go)01:09
Eickmeyer[m]In my case, that would be like so:01:09
* Eickmeyer[m] uploaded an image: image.png (66KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/uCKQojzNKmANqvpGiDVHbRmM >01:09
pieqYesterday, while browsing the Web after installing 20.04, I saw that Gladish hadn't been updated since 2014 and was pretty much deprecated01:09
pieqbut he insisted on using it.01:09
EickmeyerGladish is depricated, yes.01:09
EickmeyerIn fact, is dead upstream.01:09
pieqI was wondering: what is the replacement for Gladish? Carla?01:09
EickmeyerWe have Raysession and Carla combined to replace that.01:09
EickmeyerSince Glasish is a session handler and patchbay, one can use RaySession and Carla to duplicate the functionality.01:10
pieqOK01:10
pieqSince I'm really not familiar with all that, I didn't know how to help him01:10
pieqI'm gonna pass the info, then01:10
EickmeyerIt was in the release notes for 19.10 that the LADI tools (incl. Gladish) was replaced since dead upstream.01:11
pieqah crap, I missed the 19.10 release notes01:11
EickmeyerAnd they were Py2 tools.01:11
pieq(by the way, very excited about the move to Plasma for Ubuntu Studio 20.10!)01:11
EickmeyerIt's looking pretty good so far! I just now uploaded a dark variant of the default global theme.01:12
pieqWe've also identified some weird startup issue with Ardour 5.12. We setup different keyboard input methods (Chinese and Japanese, since my friend can type both), so it pulled these Noto fonts. And whenever Ardour is started, it wastes 35-40 seconds loading all these fonts one by one (I checked with strace). I don't understand why it's so slow and what's the point of loading these fonts01:13
pieqDo you think it could be a bug? If so, where should I report it?01:13
pieqAnd, one last question: my friend has a workflow to record and edit which is a mix of using Ardour, Reaper, and then Ardour again. He told me Ardour was very not user-friendly for some things and that's why he was switching back to Reaper (he has a license for it).01:14
EickmeyerI don't think it's a bug, I just think that Ardour is used to latin fonts, and since Chinese and Japanese characters are so numerous, it probably takes quite a bit of time. New version of Ardour is supposed to be out within the month.01:14
pieqI told him it was probably just a matter of understanding Ardour better, but I don't know what his problems are exactly, and where he could find guidance01:15
pieqSince my friend wanted Gladish, by the way, I activated the KX Studio repos. Was it a bad idea?01:15
EickmeyerYep, very bad idea. That's no longer Ubuntu Studio now, it's a frankenbuntu known as KXStudio.01:16
EickmeyerAs long as he doesn't use Cadence, it might be OK, but yeah, I wouldn't have done that.01:16
EickmeyerThis needs to be updated but....01:16
Eickmeyer!kxstudio01:16
ubottuKXStudio is an Ubuntu-based operating system and a repository for Debian-based operating systems for audio production. Development is on hiatus until late-2019 as of this writing.  It is not supported by Ubuntu or Ubuntu Studio, and using its repo is discouraged. Support in #kxstudio.01:16
EickmeyerBasically, it's like mixing PPA versions. KXStudio is built against 18.04.01:17
EickmeyerAs far as guidance with Ardour, #ardour is a thing.01:18
pieqshit.01:22
pieqI'm wondering if I can remove the PPAs01:22
pieqon the KXStudio page, the install instruction say "Debian / Ubuntu", so I assumed it was OK01:23
EickmeyerIt's possible, but with the weird way it's done, you'd have to look in /etc/apt/sources.d.01:23
pieqOK. I guess it would be safer to just wipe the laptop and start afresh then01:23
EickmeyerIt might be, unfortunately.01:23
pieqEickmeyer, that's alright, fault's on me. I'm learning a lot though01:24
Eickmeyerpieq: It's all good. We have to pick-up after a lot of KXStudio users, so it's a bit messy when people add that01:24
EickmeyerAnd yeah, it would be difficult to remove the packages since the developer of those repos has very bad Debian packaging habits and uses a lot of epochs, which override package versions big time.01:25
pieqargh01:26
EickmeyerIt's part of what motivated the creation of the Ubuntu Studio Backports PPA.01:26
Eickmeyer!ubuntustudio-backports01:26
ubottuThe Ubuntu Studio Backports PPA is required for users of Ubuntu Studio to receive LTS support for Ubuntu Studio 18.04, and for #ubuntustudio to support users of Ubuntu 18.04 LTS and its flavors using !jack. For more info, see https://help.ubuntu.com/community/UbuntuStudio/BackportsPPA, !ubuntustudio-controls, and !ubuntustudio-installer01:26
EickmeyerThat needs to be updated too.01:27
pieqI had an interesting conversation with my friend yesterday about music production. Our conclusion was like the Linux setup for music production is *very* complicated, but *very* flexible. The thing is, in his case (recording real instruments, mixing, mastering), this flexibility isn't really useful (the magics of JACK being able to take any output from any program and plugging it as an input for another program sounds great for electronic music, but01:27
pieqnot so useful for his use case)01:27
EickmeyerI've done real-time effects processing with Jack.01:29
EickmeyerI'm a 26-year live audio engineer (think stage or concert).01:29
EickmeyerHe could do some real cool reverb effects for his sax with the right setup.01:30
pieq"with the right setup". That's the problem :D01:30
EickmeyerAs far as complicated, that's why Ubuntu Studio exists: to make it easy.01:31
EickmeyerI think most of the complicated-ness comes from people'01:31
Eickmeyers heads.01:31
pieqHe's a little bit technology-averse, but he wanted to try Linux after we discussed with a bunch of friends, for the philosophical standpoint.01:31
EickmeyerAh, I see.01:31
EickmeyerWell, I come at it from an audio engineer standpoint, and OvenWerks comes at it from a musician standpoint.01:32
pieqI think no matter where you come from, moving to something else (OS, software, technique) is always gonna be a pain, because you naturally tend to think "but it's so easy to do on X! How come I can't achieve the same with Y???"01:32
EickmeyerYeah, I agree.01:32
pieqIt's all about the gap you're ready to jump to get to the other side01:33
EickmeyerIt's also about not being afraid to try new things.01:34
pieqand to have time to spend investigating issues and solving them01:36
pieqEickmeyer, thanks a lot for your support! It's much more clear now01:48
Eickmeyerpieq: Glad to help. :)01:48
pieqEickmeyer, earlier you were talking about a new version of Ardour. Do you think it will solve this non-latin font loading issue? And I guess it won't be available in the Ubuntu repo, so how will I be able to get it?01:49
Eickmeyerpieq: I don't know.01:50
EickmeyerWe'll have a PPA for it, but it *should* be in for 20.10.01:50
Eickmeyerpieq: We would make it part of the Ubuntu Studio Backports PPA, but if it imports an Ardour 5.12 project it can no longer be used for anything lower than 6.0, so to keep from breaking people's workflows, it'll have to be a separate PPA.01:54
Eickmeyer!ubuntustudio-backports01:54
ubottuThe Ubuntu Studio Backports PPA contains newer versions of select software that is included with Ubuntu Studio. For more info, such as how to add this PPA to your system, see https://help.ubuntu.com/community/UbuntuStudio/BackportsPPA and !ubuntustudio-installer. See also !ubuntustudio-controls01:54
pieqEickmeyer, yes, it's too risky to do that02:00
pieqEickmeyer, have you thought about snaps?02:00
pieqI don't know how horribly complicated it would be to snap an application that requires access to JACK and other audio sub-systems, with a low latency...02:00
pieqEickmeyer, one last question (I think?): in the Ubuntu Studio Installer, it's not very clear what the `ubuntustudio-audio` package does. My understanding is that it pulls a lot of audio applications, but does it play any part in the installation and configuration of JACK? Or is this achieved by ubuntustudio-controls?02:09
Eickmeyerpieq: The configuration is done with the installation and running of ubuntustudio-controls.03:27
EickmeyerYou run it, click on "Fix Real-Time Permissions", log out, log in, done.03:27
* Eickmeyer was away playing minecraft with his son03:28
pieqEickmeyer, got it. So ubuntustudio-audio is more of a convenience meta package to install all the audio-related software available by default in Ubuntu Studio?03:42
Eickmeyerpieq: Correct.03:42
pieqso it's not necessary per se? I can just manually install Ardour and be good to go, for instance?03:42
EickmeyerYep.03:43
pieqEickmeyer, OK, thanks!03:45
pieqEickmeyer, where is the source code for this app? (the installer one)03:45
Eickmeyerpieq: https://git.launchpad.net/ubuntustudio-installer/tree/03:46
EickmeyerIt's really just a simple tk/tcl script.03:46
pieqEickmeyer, thanks! I remember I stumble upon the source code, indeed03:53
Eickmeyerpieq: Technically it runs from source, being a script and all. :)03:54
pieqhehe, yeah but it still needs to be packaged03:54
EickmeyerTrue.03:55
toomanyxrunstocoI've been having problems with Ubuntu whenever I try to record. I get tons of xruns, Ardour stops and then freezes and 30 seconds later it continues playing/recording.21:58
toomanyxrunstocoJack shows messages like this: 16:59:04.896 XRUN callback (39801).21:59
OvenWerkswhat type of audio interface? (internal, USB, etc) which kernel?21:59
OvenWerkswhich jack settings22:00
toomanyxrunstocoInternal, Linux 5.3.0-51-lowlatency x86_64. Driver: alsa (realtime), sample Rate: 44100, frames/period:256, periods/Buffer: 2, no memory lock, force 16bit, port maximum: 128, timeout: 500, start delay: 0 secs.22:03
OvenWerkswhy no memory lock?22:04
toomanyxrunstocoI've no idea, I've had this settings for a long time.22:05
toomanyxrunstocoI just copied them from someone a long time ago, I think.22:05
OvenWerksso by internal audio I guess you mean the mother board audio?22:05
OvenWerksbut not hdmi22:06
toomanyxrunstocoI might have messed them up between installs/reinstalls. Yes, by internal I mean motherboard22:06
OvenWerksok, I wouldn't think hdmi would even start at 256 buffer size22:07
OvenWerkshave you tried Ardour with no jack just ALSA?22:08
OvenWerksis it any different22:08
toomanyxrunstocoNo, I haven't tried it22:09
OvenWerksI am assuming Ardour 5.12. It does work fine with straight ALSA so long as you do not need something only Jack has.22:09
toomanyxrunstocoYeah, 5.1222:10
toomanyxrunstocoWell, I like that I can route audio from place to place with Jack, I'm not sure how to do that with ALSA22:11
OvenWerksok, if you use audio sw outside of Ardour you would need jack for routing22:12
OvenWerksI run jack all the time here with no trouble.22:12
OvenWerksusing a delta66 for audio.22:13
OvenWerkshowever, finding out if using just alsa works better or not could help.22:13
toomanyxrunstocoI'll try right now22:14
OvenWerkshow are you starting jack? (ubuntustudio-controls, qjackctl, commandline, etc22:14
toomanyxrunstocoqjackctl22:14
OvenWerksare you bridging from pulse?22:15
toomanyxrunstocoIf I use ubuntustudio-controls when I record I get like a buzzing/beeping sound on the recordings, that's why I stick to qjackctl22:16
toomanyxrunstocoI'm not sure, I just start qjackctl22:16
OvenWerkswow, they should be both the same22:16
toomanyxrunstoco(when trying to close Ardour froze and qjackctl too)22:17
toomanyxrunstoco(Had to terminate)22:17
toomanyxrunstocoMmm... still the same problem without jack22:19
toomanyxrunstocoBut I have a feeling it might be running in the background since I had to terminate it. Anyway to check?22:19
OvenWerksps x22:20
OvenWerksor ps x|grep jack22:20
OvenWerksthe normal way to kill jack is kill -9 jackd jackdbus22:20
OvenWerkssorry killall -9 jackd jackdbus22:21
toomanyxrunstocoOkay, I got the output, but I've no idea if it's running or not22:21
toomanyxrunstocoOh wait, if it's showing up in that list it means it's running.22:22
toomanyxrunstocoIt is.22:22
OvenWerksjackdbus auto does not mean jackd is running22:23
toomanyxrunstoco 1903 ?        S      0:00 /usr/bin/python3 -u /usr/bin/autojack >~/.log/autojack.log 2>&1 < /dev/null &22:23
toomanyxrunstocoI got that one and jackdbus22:23
toomanyxrunstocoAnd this "0:00 grep --color=auto jack"22:24
toomanyxrunstocoOkay, got Ardour running with alsa now22:28
toomanyxrunstocoIt runs smoothly22:29
toomanyxrunsI got disconnected, but I'm back22:39
OvenWerksif Ardour runs with Alsa ok I would suspect memlock as the rpoblem. SO far as I know Ardour will not even start if it can not get memlock22:43
OvenWerksAnyway, My wife just got home so I need to go for now.22:43
toomanyxrunsOkay, so I'll uncheck that and report later22:44
toomanyxrunsThanks!22:44

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!