/srv/irclogs.ubuntu.com/2018/09/03/#ubuntustudio.txt

Eickmeyertgm4883: I have a UMC404HD, and don't have those issues. Make sure your buffers per period is set at 3, and all of the standard buffer sizes apply. The big thing to remember with USB devices is they /must/ have latency in a multiple of 1ms, which is acheieved with 3 buffers per period. See https://wiki.linuxaudio.org/wiki/list_of_jack_frame_period_settings_ideal_for_usb_interface16:19
EickmeyerTo be honest, the wiki section you referenced problably hasn't been updated in about 5 years and is full of outdated information. The realtime kernel hasn't been included in Ubuntu in nearly 10 years, so I don't know why that's in there. I'll remove it16:32
JackWinter1wouldn't it be better to add a rt kernel again instead :)17:00
EickmeyerJackWinter1: Why? The RT patches are included in the mainline kernel now and have been since 2.6. Also, we don't have the manpower.17:06
JackWinter1Eickmeyer: not having the man power is a good reason.  the rt patch however still makes the kernel more preemptable than lowlatency, so it is still helpful.  was actually a joke, sorry if it was in bad taste!17:09
JackWinter1but the lowlatency does go most of the way17:10
EickmeyerJackWinter1: It's hard to tell. Ubuntu Studio has been getting a lot of hate for the past few years that I've been trying to clean-up for the past 6 months.17:10
Eickmeyerhttps://help.ubuntu.com/community/UbuntuStudio/RealTimeKernel17:11
JackWinter1you are just one or two devs right?17:11
EickmeyerOne of about 5.17:11
EickmeyerWe only maintin the Ubuntu Studio specific packages, which are what make it unique. The apps and DE are all upstream.17:12
JackWinter1ah 5 people, that isn't too bad at all17:13
JackWinter1i maintain the rt kernels for archlinux, gave up on the rest of the packaging17:13
EickmeyerNone of us work on it full-time, we're all volunteers.17:13
JackWinter1same here17:13
EickmeyerThe lowlantency kernel already contains the PREEMPT_RT patch, and in all my testing there is no difference between the lowlatency and any -rt kernels I've ever tried.17:14
EickmeyerI'm a professional audio engineer for a living, so this is stuff I routinely test.17:16
JackWinter1try cyclictest from the rt-tests package and check the max numbers.  those are the max scheduling delays that have been detected.  quite a bit higher on the lowlatency kernel.  it's probably not so important on SMP systems anyway, as the kernel can schedule the audio thread on some other cpu if one is held up by something17:16
JackWinter1and it's somewhat of a pain, as you have to patch the kernel for a problem in the nvidia driver17:17
EickmeyerAnd I think that's probably one of the main reasons Ubuntu has chosen not to include the RT kernel.17:18
EickmeyerProved to be too problematic.17:18
JackWinter1but it really was a joke, i couldn't resist when i saw that you were going to remove the rt kernel from the wiki :)17:18
EickmeyerUbuntu Studio isn't a derivitive, it's an official flavor of Ubuntu, so we have to stay within the parameters that have been set for us.17:19
JackWinter1i suspect it was because they always chose a kernel version that didn't get a rt patch :)  i was around back then and using ubuntu, and it used to anger me quite a lot.  so much that i built my own kernels :)17:19
JackWinter1but also possible that it was problematic to backport fixes to the kernel and apply the rt patch too17:20
EickmeyerThat's another reason why. I forget where I read all of this, but it just made sense to enable the PREEMPT_RT items and have the lowlatency patches since they didn't mess with the graphics drivers and weren't a pain to backport.17:21
JackWinter1that sounds reasonable17:22
EickmeyerWow, spam in quit messages. That's a new one.17:24
EickmeyerWhen I used Fedora's JAM spin, I noticed more Xruns when I was using a third party -rt version than when I was using the stock kernel, believe it or not.17:25
EickmeyerAnyhow, this is a support channel, we really should take this to -offopic.17:25
JackWinter1Eickmeyer: we don't really have to discuss it all :)  was just a drive by joke!  hope you have a good day17:28
JackWinter1actually maybe you can help me with one thing17:28
JackWinter1i'm quite closely related to the reaper for linux effort too, and am considering if i should make recommendations on linux distros or not17:29
JackWinter1when a new user installs US, is the system fully configured for use, or does he have to mess with PAM limitations & the priority of the soundcard irq17:31
EickmeyerJackWinter1: So long as one runs Ubuntu Studio Controls, the configuation is done automatically, so no, one shouldn't have to do much more than run Ubuntu Studio Controls, log out, then log back in. My only problem with Reaper is it doesn't support LV2 plugins.17:33
EickmeyerThat's another reason why I'm editing the Wiki page referenced, and even considering deleting it since -controls does so much automatically now.17:34
JackWinter1i'm pretty sure reaper will get lv2 support and alsa midi sequencer too sometime in the future, can't tell you when though17:35
JackWinter1imo it's confusing for the noobs and also experienced linux users to read about all the old info from 10-20 years ago.  google is really somewhat polluted with outdated information17:36
JackWinter1is Ubuntu Studio Controls a command line utility or a GUI ?17:37
EickmeyerIndeed. I've been whittling through the wiki as time allows.17:37
EickmeyerUbuntu Studio Controls is a GUI. In 18.04 and prior, it was just a couple of checkboxes. In 18.10, it does so much more including being the first GUI of its kind to configure JACK to look for hotplugged USB devices. This has never been done before, and we're really excited.17:38
JackWinter1i have something i wrote you might like too, but it has a problem with shared interrupts, it's a script and a udev rule, so that when you hotplug a soundcard it automatically changes the priority of the interrupt17:41
EickmeyerOvenWerks: ^ Care to chime in? (OvenWerks is the primary dev on -controls)17:42
Eickmeyer(this discussion really should be in -devel)17:42
JackWinter1https://github.com/jhernberg/udev-rtirq17:42
JackWinter1ok, let's go there then17:42
Eickmeyer#ubuntustudio-devel17:43
tgm4883Eickmeyer: I didn't know that needs to be multiples of 1ms. I'll see about switching mine around. I've been using a sample rate of 96000 and varying buffer sizes and periods18:05
tgm4883Eickmeyer: I feel like that's doing better on 64, 96000, 3. I'm going to let it run to 10 minutes and see if I get any xruns now18:20
tgm4883I've noticed I can get some if I switch windows between claudia and ardour18:20
doublehelixhello everybody I´ve just installed ubuntustudio 18.04 but I cant seem to get pulseaudio started. start-pulseaudio-x11 gives me a connection refused message19:13
doublehelixI can´t seem to remember how to get this working19:13
Eickmeyertgm4883: Claudia is not supported, so we can't answer to that.19:44
doublehelixstill no luck19:55
Eickmeyerdoublehelix: Try pulseaudio --kill. That will kill pulsaudio and, unless you messed with Ubuntu Studio's configuration, automatically restart it.20:09
EickmeyerAlso, check this out: https://help.ubuntu.com/community/UbuntuStudio/ProAudioIntro20:10
tgm4883Eickmeyer: it only happens sometimes and its when switching between two applications. Those were just the two applications I had open20:21
Eickmeyertgm4883: Unfortunately, there's no way to prevent xruns when it's X that's taking over the processor to render that. I have the same issues. At least your USB audio issues are better!20:22
tgm4883Yes, far better20:22
tgm4883I've disabled a bunch of stuff already so this is probably as good as it's going to get on this laptop I suppose20:22
tgm4883I need to do a full test with more inputs and recording to disk but it's already looking much better20:23
tgm4883Eickmeyer: also, thanks for doing this. I know it's a lot of work to make a flavor when you only have 5 people20:24
Eickmeyertgm4883: My pleasure. Very tough with such few people. A lot of people say they want to help, but then never stick around. It's those that have stuck around that are doing an amazing job!20:25
tgm4883Very true. I ran into the same issue with Mythbuntu20:26
EickmeyerRIP Mythbuntu. :'(20:27
tgm4883Yea, it ran it's course. As the team dwindled so did most of the customization. The main benefits still come from the mythbuntu repo which is still available.20:29

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