=== frewsxcv94709 is now known as frewsxcv94040 === smartboyhw_ is now known as smartboyhw [15:59] smartboyhw, You might notice that there are some "ubuntustudio" that are not included in an install. [16:00] Normally we don't recommend adding all of them to another install, just the needed work flows. [16:02] Just so you know Ubuntu or Xubuntu plus all the ubuntustudio metas does not = Ubuntustudio the way a fresh install would do. [16:06] len-dt, well then..... we never recommended installing it on a Mac anyway did we? Thx for the info though. [16:07] smartboyhw, Even then, I would start with the desktop of choice and add workflows. [16:08] I don't know that there is a lowlatency kernel for the mac. [16:10] Which mac? Recent macs running Ubuntu use the same x86_64 lowlatency as any other recent intel chip. Most of the same patches probably also apply for powerpc, but there may not be enough users to be worth the maintenance. OS X kernels are just one flavour, which is reported to be sufficiently low latency when running Logic. [16:11] persia, Ya, I was just reviewing a converstion on #ubuntustudio [16:11] Ah, no worries then :) [16:12] even with a pc mapping all our metas over something else mostly doesn't do the same as an install [16:12] I think we ought consider that a bug, personally. It used to work that way. [16:14] I think zequence is working on that actually as part of the controls package. [16:15] There are some things though that with xfce panels and such where once the user has logged in, the way they are is set and changing the system default won't change them. [16:16] Eye candy stuff, backgrounds and themes mostly [16:16] I think the mac version is not very different from the regular version. Mac has some HW oddities, but CPU is the same [16:16] That probably needs lots of low-level work: I know that for the GNOME stuff, there was a lot of work done to cause the user session to be generated from a mix of system and user data. [16:17] Having just gotten a new mac, I tell you that it's not any different, aside from the hardware selection. [16:17] I've only tried using mac with linux. Puredyne ran pretty well on a macbook [16:17] The reason for the different downloadable images is because Apple EFI and other folks UEFI are rather incredibly different. [16:18] Someone might get around to writing code that works well by default on both and lets you boot a CD/DVD/USB, but perhaps not very soon. [16:18] persia, nice to know. So it is the grub part of things then so a kernel should work? [16:18] Yeah, kernels are the same. grub is even the same. [16:19] For both mac and non-mac, one can run either grub-pc (BIOS) or grub-efi (EFI/UEFI): the issues all surround the grub-install script. [16:19] I think the main practical difference in adding all our metas, compared to a fresh studio install, is that the user will not end up in audio group after adding metas, which should not happen anyway. And, many user settings are already done, especially if you use another UI, so the experience using the desktop is not going to be identical === jta is now known as jta_afk [16:20] Needing to be in the audio group is a bug. [16:21] Certainly the desktop experience would be different, but we should be able to provide standards-compliant stuff to give a broadly similar experience. [16:21] it keeps the server people happy... [16:21] Mind you, environments like unity that fail to comply with XDG menu spec are probably harder to support. [16:21] Hrm? How? [16:22] There are some people who do not want the user to have rt access by default so if not audio group something else to do the same thing. [16:23] But aren't we supposed to use rtkit for that? [16:23] Not according to Paul Davis [16:24] I'm happy with whatever works well, and is the easiest to implement [16:24] Fromt he user point of view, I mean [16:24] On Debian, the user is a member of audio group by default [16:24] Probably not a good thing, but that is how it is [16:25] pulseaudio is also a member of audio group [16:25] Used to be that way in Ubuntu as well. Most of the things that required that stopped. [16:25] I think different people are using the same group for different things [16:25] I think slackware is set up that way too [16:25] The last remaining item is limits.conf, which rtkit *should* solve. [16:25] * len-dt remebers it used to be [16:25] but perhaps rtkit isn'T rich enough, or something. I haven't been following the debate. [16:26] jackd now installs /etc/security/limits.d/audio.conf, which contains the two important lines [16:26] So, on Debian, that is enough to get realtime privilege. However, there's another problem too [16:26] firewire devices cannot be accessed without being in audio group [16:26] udev rules [16:27] That's easy to fix. [16:27] I think pitti is part of udev upstream now, and I know he was one of the folk interested in dropping the audio group requirement. [16:28] /lib/udev/rules.d/60-ffado.rules [16:29] it has to work with all the variants not just debian derivatives. As jack is developed for linux and the author is not likely to be happy doing it more than one way. [16:30] Heh, of course :) No reason we can't ask for changes upstream. [16:31] I don't know why one way is better than the other. I don't care. From our point of view, it's a matter of getting Debian/Ubuntu system infrastructure working to our benefit, no matter which solution, as long as it works [16:32] I agree, the admin should be able to chose if the user has rt or not. so long as that happens, what does it matter? [16:33] It's too much for me personally to find out, and work on, so I'm not touching it, at least for now. But, it would be nice if a user could just install jackd, and get realtime privilege [16:33] Without further setting up [16:34] yup [16:34] Hrm. The ffado udev rules specifying the audio group don't seem to have been uploaded with a bug reference. I wonder why they are that way. [16:35] That doesn't work without jack anyway. [16:36] jack works without realtime privilege, but the firewire driver won't work without the user being a member of audio group [16:36] zequence: Because of the udev rules, or also because of something else? [16:39] persia: I guess the udev rules are what makes it possible for users to access the firewire devices, through the group membership. [16:40] So, if one is member of audio group, that is enough to run jackd with firewire. To get realtime privilege, you add the two lines to /etc/security/* [16:40] Ah, OK. I'm guessing leftovers from the every-firewire-device-is-a-hard-drive-and-must-be-restricted-to-root-access philosophy then. [16:40] Now that we have juju, we can probably relax that (but I should go verify the state of juju in our kernels before I say that) [16:42] Ah, found it: https://blueprints.launchpad.net/ubuntu/+spec/multimedia-platform-n-pro-audio-secured [16:43] We should probably talk with David about that then [16:44] Yep :) [16:45] From the last note at the end, I get the impression that adding the memlock support is feasible (although I don't think it's done, based on my search results). [16:45] If so, that drops the limits.d/audio.conf requirement. [16:47] Indeed, the audio group requirement for the firewire udev rules is about protecting raw1394 access to the underlying device (which could be used to compromise filesystems) [16:51] It looks to me like not much has moved. FW development in general seems to be quite slow. Reading about FW to ALSA it seems the idea is dead right now. [16:53] OK, 60-ffado.rules can be changed to not use the audio group: it ought use the ACL mechanism: see 70-acl.rules. [16:53] Mind you, this would only let the currently-logged-in user access the firewire devices. Does this seem like it might be an issue? [16:54] We set up pulse to be user centric so it should be ok. [16:54] Cool. [16:55] For low latency audio, I don't see much point in multiuser access to the same device [16:55] It should be session centric. There are some problems for people who run audio from terminal... IE sight impared. [16:56] Setting up a session than the same user can use from more than one VT at the saem time is "interesting" [16:56] heh. indeed :) [16:57] The answer that google shows ends up with a pile og dbus tasks running when really only two are needed (maybe one) [16:58] One audio server at a time though [16:58] I did manage to get it to work with just the two though. [16:58] If someone else wants to investigate ffado's need for the audio group before I get to it: apparently Fedora has it working without: presumably one could install in a VM and check the file layout. [16:58] Yup one audio server. but a lot of the jack CLI utils use dbus. [17:01] Right: finished confirming: we are entirely using the new firewire stack, so the permissions concerns with the old one are no longer relevant. [17:03] persia: Are you talking about the change from the old stack to the new stack in the kernel, that happened around 2010? [17:03] I think Ubuntu moved to the new stack with 10.10 [17:03] Um, it's not done yet. [17:03] it's still possible to generate raw1394 drivers (or was last I knew) [17:04] I'm not that good with terms, but I think raw1394 is the old one, and firewire_something, is the new one [17:04] And the reports I see are that the v4l2 driver is still missing, as well as fixes to libavformat and pwlib (pwlib will likely never happen) [17:05] Right. *1394 are the old interfaces, and firewire-* are the new ones. [17:05] (well, sbp2 was also one of the old interfaces, but that's just a detail) [17:05] persia: Yea, so from what I understand, we've been using the new stack since 10.10. The udev rules appeared at that time too [17:05] That said, in Ubuntu, it appears our kernels don't build the old interfaces. [17:06] (which means that we just handle video cameras badly) [17:06] The udev rules are what makes the current setup work, while for the old one, Ubuntu Studio used to grant access to all firewire devices through video [17:06] through the video group [17:07] There were no udev rules preinstalled in the past, as they are now, on all Debian systems (I think) [17:07] Well, a mix of the "audio" and "video" groups, but yeah. [17:07] No, it was more hardcoded, and what wasn't often used hal. [17:09] So, I don't think Fedora is doing it differently. In fact, i think they are doing it the same way, but one would need to confirm that [17:10] According to the upstream firewire wiki, Fedora is using ACLs for some firewire device types, but I think that's just using 70-acl.rules, from what I see. [17:10] But I'd need to test to find out what is different, and whether the GROUP= entry could be dropped from 60-ffado.rules with that before being confident. [17:12] Ah, this line: SUBSYSTEM=="firewire", ENV{ID_FFADO}=="1", TAG+="udev-acl" [17:12] And there are a few others, concerning firewire [17:14] Right. I believe that is supposed to interact with session management and grant the currently active user access to the device. [17:15] What I don't know is whether we have polkit configured in such a way that it just works. [17:19] Indeed, we do *not* have the necessary polkit rules to automagically do the right thing. [17:19] So, two bugs: [17:20] 1) rtkit needs to grow memlock support [17:20] 2) we need polkit rules to grant access to ffado devices [17:20] Unless someone knows another reason we need an "audio" group? [17:23] And rtprio? [17:23] Or, does rtkit handle that differently? === jta_afk is now known as jta [17:26] Seems it's configued in rtkit: http://git.0pointer.de/?p=rtkit.git;a=blob;f=README [18:03] ever felt like if you didn't have so many problems to solve, you'd have more time to solve problems? [18:12] zequence: I can't hear you over the problems I'm trying to solve. [18:16] astraljava: I'm sorry. Busy strangling my mouse. Get back to you when I have audio [21:25] It's great when you google for help and find a very helpful wiki page you forgot you wrote only a week ago [21:45] :) === jta is now known as jta_afk [22:12] Interesting, though 4 years old talk about linux kernel development. Some facts about speed of changes, and who contributes https://www.youtube.com/watch?feature=player_detailpage&v=L2SED6sewRw#t=51s [22:15] I wasn't aware of the fact that amateurs, at least then, where the biggest group of contributors, if you didn't count companies as one single group, but separate per company [22:16] And, also back then, Canonical were not contributing much at all [22:20] I think probably it might be worthwhile looking at maintaining a linux-rt [22:21] Or.. I don't know. I need to think more about that [22:32] zequence, it may be more worthwhile figuring out why new kernels have poor low latency performance. [22:32] Maybe there are new additions/settings that could be changed/bypassed in the low latency/rt kernel [22:36] len-dt: I was looking at the kernel versioning, and realized the odd versions are not maintained for any long periods of time. They reach EOL pretty quickly. Yet, Ubuntu always uses whatever kernel is the latest [22:36] the rt patch is added to all the even numbers [22:36] Those which are maintained for a longer time [22:37] Somehow, I would have thought it would make sense for Ubuntu to only use the even numbers, and that would also have made it practical when maintaining a -rt kernel [22:37] Of course, one could always keep one, which was not the same version as the stock kernel [22:37] So, if Ubuntu would go with say, 3.5, the -rt kernel could be 2.4 [22:37] 3.4* [22:38] I haven't yet tried patching the Ubuntu kernel with the rt patch. I actually only built an rt for the first time today [22:39] As the -rt patch is meant for the vanilla kernel, there could be problems [22:39] zequence, I think there is good reason for using only even numbered kernels [22:40] Would it be possible to set US to look at only even numbers in case generic was installed too? [22:40] What versions does -server use? [22:42] * len-dt thinks he would prefer even kernels in a server for sure [22:42] len-dt: There's no server flavor anymore [22:43] I thought ubuntu was trying to have a server market... something that pays. [22:43] ..wait [22:44] I must have misunderstood something [22:44] It's the same versioning anyway [22:45] Even in LTS? [22:45] No server flavor since 12.04 [22:45] Or are the LTS ones always even? [22:45] https://wiki.ubuntu.com/Kernel/Dev/Flavours [22:48] lucid had a preempt flavor. Didn't know that. Only mad64 [22:48] amd64* [22:49] what has happened with the LMMS thing? (swept under the carpet?) [22:50] len-dt: Perhaps just that no one has taken a decision for adding it [22:50] But no talk either [22:50] I could add it to the seeds and see what happens... [22:50] I think we covered just about everything on the mail list [22:51] I'm for adding it [22:51] If I add it to the seeds now it should show tomorrow either in or broken build. [22:51] * len-dt is willing to take the blame [22:52] I'll comment the commit as "trial only" [22:52] Nah, just add it [22:53] will do. [22:53] I think it fills a workflow that other applications don't really do [22:53] It's not like there are 5 other apps like LMMS out there [22:54] And to those who say it's buggy. Well, so are most of the other apps as well [22:55] gmorgan tries to do much the same. [22:55] If we all had magic wands, maybe we could solve those problems pretty quick [22:55] or got paid... just for this [22:56] gmorgan was new to me, but that looks more like a tracker than a sequencer [22:57] Ah, musical patterns [22:57] * Len-nb is going to eat [22:58] Never seen an interface like that one before [23:23] the mail accounts request seems to have been accepted [23:47] I must be doing something wrong. I can't get an rt kernel built with decent performance [23:48] There's a new config for the rt patch though, called CONFIG_PREEMPT_LAZY [23:51] But, disabling it doesn't help much [23:52] I'm getting worse performance than from -lowlatency