/srv/irclogs.ubuntu.com/2013/02/18/#ubuntustudio-devel.txt

len-1304zequence, just reading about isolated cores (The "isolcpus" kernel parameter) for setting aside a cpu core for a task or thread. Then a thread can be assigned to a core set aside for it.04:19
len-1304I am also reading that IRQs can be bound to a core as well.04:20
len-1304I don't know how easily certain kinds of tasks could be isolated. Run most of the OS on core 0 and the real time stuff on core 1.04:23
len-1304I know jack has 3 threads, of which one needs rt and higher priority. I wonder how well other audio app isolate threads.04:25
len-1304It seems almost all of the processor chips these days have at least two cores... even the lowly atom.04:27
len-1304Lump|AFK, Asterisk seems to have a jack driver.07:25
zequencelen-1304: The interaction between jack and PA is not flawless for me. Initial start of jack worked, but retrying it didn't work very well09:06
zequencePA froze09:07
zequenceneeded to kill it09:07
zequenceActually, this was only when having PA use jack sink09:08
zequenceThis worked, but it's still buggy. Start rhythmbox. Start jack. Set PA to use jack sink and source. Stop jack (PA sets to use your onboard card). Start jack (PA is still using onboard, but Rhythmbox uses jack)09:11
zequenceDifferent applications in PA are able to use different interfaces09:12
zequenceI think I'd like to have the PA module automatically change to jack when starting it, and change back to whatever was default when stopping it09:13
zequencelen-1304: I'm going to make a patch for the module. Feature freeze is coming up March 7th. We should think about what else we want to have uploaded until then09:28
zequenceI want it to set jack by default09:29
zequenceWith the fixes to both jack and PA, I think this release will be tons better just because of that09:29
zequenceAh, the uibiquity plugins09:37
zequenceor plugin09:37
zequenceI want that to happen too09:37
zequenceBut, I won't have time until Fri, Sat09:37
smartboyhwHey scott-work 12:04
smartboyhwzequence, ^12:04
scott-workhi smartboyhw 12:04
smartboyhwscott-work, zequence and I are planning for a seperate release team for Ubuntu Studio...12:04
zequencescott-work: Yes, it seemed like the best way to do it, since smartboyhw is managing that pretty well. What do you think?12:05
scott-workcan you tell me more about it?12:05
zequencescott-work: Just that we make a team called -release which would instead of -core get the privilege to do the relase stuff12:05
scott-workzequence: that sounds like a good plan12:06
zequenceand add smartboyhw to that team. He's the most active on that side of development, and is probably the best person to oversee that12:07
zequencescott-work: smartboyhw started working on a wiki page for release procedure https://wiki.ubuntu.com/UbuntuStudio/ReleaseProcedure12:07
smartboyhwzequence, I was copying the link too:P12:08
smartboyhwscott-work, so can zequence start creating the team?12:13
zequenceThe team is created, and I asked for the privileges to be moved over to that team12:36
zequencesmartboyhw: Again, great work on the wiki. Would you mind if I did some editing just to make it easier to read? I might do that at a later date, if you don't beat me to it.12:38
zequenceJust me being pedantic12:38
zequenceNot a priority. There is plenty of stuff to improve on the wikis we have12:38
smartboyhwzequence, no worries:)12:51
zequencelen-1304: Another difference in graphic cards could be not only which driver, but what type, AGP, PCI or PCIe. 13:17
scott-worksmartboyhw: zequence: sorry, busy at work. creating the team sounds like the right thing to do13:22
scott-workzequence: what do you need me to do to get the privliges moved to that team?13:22
smartboyhwscott-work, zequence has already made the team and requested stgraber in #ubuntu-release to change things13:22
smartboyhwscott-work, nothing needed for you to do for us:)13:23
scott-workah, good, good. and i presume that smartboyhw is already added to the team, no?13:23
smartboyhwscott-work, yes13:23
smartboyhwI am added13:23
scott-workoooooh, good work on the wiki page, smartboyhw . that's looks really nice :)13:24
smartboyhwscott-work, :)13:24
len-1304zequence, assuming you are talking about PA 3.*, I have found that if there is only one audio interface turned on in PA that jack becomes default when it takes the device from PA.14:12
zequencelen-1304: Actually, I find that applications started after jackdbus is running will automatically use jack. Even when PA is not set to use jack14:13
len-1304For me even those started before14:13
len-1304I have audio going through pa to the IF, start jack, the audio pauses then goes through jack. Stop jack it pauses then goes back to the IF14:14
zequenceThe PA master volume doesn't have any effect on those applications that use jackdbus when PA is set to use another interface14:15
len-1304I hadn't tried that. That is a bug. If you report I will try it later and confirm.14:16
zequencelen-1304: It's not really a bug14:17
zequenceSince PA is set to use another IF, the master volume only affects streams going to that IF14:18
zequenceIn pavucontrol you can actually set each device to use it's own interface14:18
zequenceThis you can't do with the regular PA settings Gui which you get with Unity and Gnome314:18
smartboyhwyeah14:20
len-1304The master volume should affect whatever stream the audio gets sent to. I think the PA people would call that a bug14:20
zequencelen-1304: I heard from David that they are planning some changes on that whole thing14:21
len-1304But I am not sure if that is PA or some other part of the system. I will play later.14:21
zequencelen-1304: Consider that the master volume makes settings for a specific card.14:21
zequenceNot for all of them14:21
len-1304There are still some changes in git that are not in the current release.14:21
zequencelike what?14:21
len-1304being able to set the bridge channel number.14:22
zequenceIt's there, but I haven't got it to work14:22
len-1304It's in the docs but not release.14:22
len-1304It is in the source/sink but not in the jackdbus detect.14:23
zequenceYou're right14:24
len-1304I asked them about it, that was what I was told.14:24
zequenceIt's in the git tree that Ubuntu is using as a source for the package, so if they do an update before feature freeze, it'll get included14:24
len-1304you can use pactl to find out what the current modules can do.14:25
zequenceor rather, it's a bzr branch14:26
len-1304Anyway when it does get into release, I would suggest setting channels to two as default.14:27
zequenceYep14:28
len-1304It would be what people would expect, what most people would need, and use a lot less resources.14:28
zequenceactually, we might need to request a patch14:29
zequenceDon't think they will update to anything else than official releases, unless they're fixing a bug14:29
zequenceI'll make a patch and ask David to add it14:30
len-1304k14:30
zequenceI'll also make one to set the channes to two for the module14:30
smartboyhwzequence, len-1304 try this v14:41
smartboyhwhttp://rafalcieslak.wordpress.com/2013/02/10/vmodsynth-1-0-released/14:41
smartboyhwBy cielak (which zequence should have saw him in UDS-R getting the winner of the automated testing writing competition)14:42
zequencesmartboyhw: I see you are making a package out of it14:44
smartboyhwzequence, yes helping him a bit (and to practise my packaging skills apart from the Kubuntu ones)14:44
zequencesmartboyhw: I would suggest you make sure no one is already doing that for Debian, and if not, sending it there14:45
smartboyhwzequence, no Kubuntu packages are ALWAYS -0ubuntu1.... I got people watching over me:P14:45
zequencesmartboyhw: Yes, but this is not a Kubuntu package14:45
zequenceit belongs in Debian Multimedia team14:46
smartboyhwzequence, I know.... I might persuade him to put it into debian one day...But normally his software doesn't get into the main archives (Debian or Ubuntu)14:46
zequencesmartboyhw: Why don't you put it there?14:46
smartboyhwzequence, because he doesn't want to and I don't have a debian system:P14:47
zequenceSaves you the trouble of adding it to Ubuntu, and also makes sure it is spread through out the Debian based environment14:47
zequenceWhy not?14:47
smartboyhwzequence, I didn't say I want to add it to Ubuntu (nor did he)14:47
smartboyhwWe just want to keep it in a PPA that's all14:47
smartboyhwI wasn't sure if he will maintain this project for long also14:47
smartboyhwSince he is using it as his university homework14:48
smartboyhws/homework/project/14:48
kubotusmartboyhw meant: "Since he is using it as his university project"14:48
smartboyhwThank you kubotu14:48
smartboyhwLOL14:49
zequenceIf it's GPL, it isn't really up to him anyway. I haven't tried it, but if it is useful, it should be packaged for Debian, no doubt14:49
zequencesmartboyhw: Does it support jack?14:51
smartboyhwzequence, I will ask the dev14:51
smartboyhwzequence, NO it doesn't support JACk14:52
zequenceYeah, just read about that14:52
zequencethis makes it a lot less usefull in deed14:52
smartboyhwgrrrr right?14:53
smartboyhwzequence, alright let me try to play with debian packaging14:56
zequenceastraljava: Re: music to have on when working by the computer - I've been listening to a lot of Aphex Twin. He's done a lot of tracks, but too few to have on permanently. 15:11
zequenceIf there were only more of them, I wouldn't need anything else15:11
zequencesmartboyhw: If you'd like to do packagin for Ubuntu Studio, I'd recommend packaging linux-sampler, and other packages that aren't part of the Debian distro15:33
zequencesmartboyhw: falktx already does that, and you could look at his packages as examples, even if they aren't from scracth15:34
smartboyhwzequence, well ok let me finish calligra for Kubuntu first:P15:34
zequencescratch*15:34
smartboyhwzequence, ok. Also I need to do some iBus packaging for our Hong Kong people:P15:35
smartboyhwzequence, linux-sampler isn't in Ubuntu?15:35
zequencesmartboyhw: Preferably, we try getting those into Debian, if possible. But, if not, then at least it would be good to keep a official PPA for stuff we can't include (may be we can't even keep it in a PPA - we'd need to investigate).15:35
smartboyhwzequence, OK15:36
zequencelinux-sampler is GPL, with an addition, which makes it non-free15:36
zequenceThe addition is for protecting against using it in commercial hardware samplers and such, but it causes problems15:36
zequenceIt's the only sampler that can load gig files on Linux. One of the only real samplers around15:37
zequencenot bug free though, from what I've experienced. At least not when used with qsampler, an interface for it15:37
zequenceDebian has all of the packages linux-sampler depends on, except for the actual sampler server15:37
smartboyhwok15:39
contrapunctuslmfao, kubotu XD15:43
=== zequence_ is now known as zequence
len-1304zequence, there is a new version of PA again today.21:49
zequencelen-1304: Ok. Let me check. 21:59
len-1304It showed up in my daily update.22:00
len-1304(for 13.04)22:00
zequencelen-1304: I was just looking at the changelog (apt-get changelog pulseaudio). Didn't seem like there was much added22:01
zequenceA quick bugfix to the package itself22:02
len-1304Not the master mixer then. (I still need to play with that.)22:03
zequenceMade by the same guy who got the lowlatency kernel uploaded initially22:03
zequenceWho also used to hang out here until fairly recently - themuso. I met him briefly at UDS22:04
len-1304I remember him yes.22:04
zequencelen-1304: I don't think how the master level works is a bug. Sort of like the master level on a mixer doesn't affect a bus level22:05
zequenceOnly if the bus goes through the master22:05
zequenceIn this case, the bus can be made to bypass the master, and connecting directly to another IF22:05
len-1304Ya, but I need to play with it so I have a better understanding of what you mean.22:05
zequencelen-1304: Don't know if you need two devices. Perhaps only one will do, if it's your delta device22:06
zequenceYou do have the usb device, so that should do22:06
len-1304I have two PCI cards.22:07
len-1304an ice1712 and an ensoniq.22:07
len-1304but I have the ensonic turned off in pulse.22:07
zequenceI have three. builtin, hdmi from the graphic card, and the delta. This builtin is strange in that I'm not able to use with jack for some reason22:08
zequenceWorks fine with PA and alsa. Very weird22:08
len-1304I have found that having pulse connected to a second card while it is also connected to jack causes coupling problems.22:08
len-1304My internal IF is turned off in bios.22:09
len-1304(the ac97 is too noisy for me.)22:09
zequenceIt is something that you can't always choose, as is the case with my hdmi. And, the stuff should of course work with any card configuration22:10
zequenceHaven't done any testing with disabling my other devices22:10
len-1304It works ok but having pulse see another card while it is bridged to jack affects the latency.22:11
len-1304The minimum latency becomes that of the highest latency device in my experience.22:11
len-1304(YMMV)22:12
zequenceIn my case, I have two devices that don'w even start with jack22:12
zequenceThe third one is my delta device. On certain machines, I've been able to run it at 16 f/p, but only with jack. Not with additional jack apps22:12
zequenceWorks now too22:13
zequenceon this machine22:13
zequenceIf I run jackd from the command line, I don't get xruns. But as soon as I open an application, it gets messy22:14
zequenceI'm even able to run jackd with PA at 16 f/p, but with loads of xruns22:16
zequenceMaybe MBs are just more different from each other than one would think?22:16
len-1304I can run at 16 f/p as well, but just about anything can make an xrun. I can run at 32 for hours with no xruns with audio running through it.22:19
len-1304MBs are different. But more than that I think each one needs to be gone over before using it for low latency audio.22:19
len-1304bios settings make a big difference22:20
zequencelen-1304: But, if you have the other device enabled, you can't run jack at 16 f/p?22:21
zequenceI'm thinking this is because of the module, as it might make jack crash at low latencies22:21
zequenceAs some applications do, when pushing it22:22
zequenceoh, I'm talking about the PA module, of course22:22
len-1304I haven't tried that here on this machine. but on my netbook the internal audio only goes down to 128f/p and when I have it enabled my USB IF is the same but if I turn it off in pulse then I can get the USB device down to 64.22:23
zequencelen-1304: But, is that only when you use the PA module?22:24
len-1304Yes.22:24
len-1304Only when bridging pa-jack22:25
zequenceI'm having a weird bug on PA. I can't select an input device. The mixer crashes. It seems confused. None is actually selected22:25
zequencelen-1304: That's the part I can't really figure out. Why a device that jack is not trying to run would affect jack lowest possible latency. Other than the PA module having problems getting in sync and making jack crash22:26
len-1304Ok, I enabled the ensonic and can still run at 32f/p22:27
len-1304I should see if I can run the ensonic in jack at 32...22:27
zequence32 should work for most devices, but 16 is a different story22:28
len-1304a few more xruns with the other device connected though.22:29
len-1304With jack running the ensonic pulse is running 10% less cpu because it is only sending two channels to jack instead of 10.22:31
len-1304unable to start the ensonic at 16.22:32
zequenceThat would be highly expected, yes22:32
len-1304Ok, jack starts the ICE at 32 with pulse connected to both jack and the ensonic, but there are xruns all the time.22:34
len-1304with the ensoniq turned off in pa I could run for several minutes at least before the first xrun22:35
zequencelen-1304: Try without the PA module. 22:35
zequenceyou could just run jackd from the terminal: jackd -d alsa -d hw:n -p 1622:36
len-1304unloaded module - no xruns.22:38
len-1304cpu is really low too :)22:38
zequenceI think what happens with PA is that the module is a part of PA, and if it has more stuff to do, then it will work less well with jack22:38
len-1304but that is to be expected22:38
zequenceAnother problem may be hardware interrupts, if you're using both PA and jack in paralell, but without the module22:39
zequenceI don't see however how PA would affect jack latency directly. If jack uses a device, PA is not22:39
zequenceAnd PA is strictly a jack application when connecting to jack. And some apps are really lousy at low latencies22:40
zequenceThat's my theory, anyway22:40
len-1304I think pa defaults to a lower latency than jack and so with the bridge it has to keep up with jack's latency.22:40
zequencelen-1304: So, PA is able to run at 16 f/p on your onboard?22:40
zequenceWhile jack is not?22:40
len-1304no22:41
len-1304 I mean the bridge module has to run at the same  latency.22:41
len-1304pa doesn't22:41
zequenceThe module may be connected to jack, while PA is using another device as output. The other device works flawlessly, while only jack gets audio droupouts22:42
zequenceYeah22:42
zequenceThe module is like a jack application22:42
zequenceBut, it's also depending on what PA is doing, I guess22:42
zequenceSo, if PA is busy, that might mean less resources for the module?22:42
len-1304PA takes about twice the cpu as jack at any latency with the bridge connected.22:43
len-1304PA seems to use almost nothing compared to the module.22:43
len-1304with the module unloaded pa is using 1/5 what jack is22:44
zequenceCan't say I know much about jack coding, but perhaps the module could be made a lot more efficient. David has often said it's more of a beginning towards a real tool22:44
len-130416 frames may run without xruns, but soon as I start guitarix... 1000s of xruns before the gui even shows up. doesn't slow down after either.22:50
zequenceyeah, I haven't heard of anyone being able to run applications xrun free at 16 f/p23:02
zequenceOften jack used to crash for me, if I tried23:03
zequencenext release of the kernel skipped one part of the SRU process, as they were in a hurry, as it seems23:05
zequencethe part being verification testing. Something I don't do, since generic already does it, and it's the same kernel anyway23:05
len-1304for 12.04.2?23:05
zequenceboth Precise and Quantal23:06
zequencehaving problems making the patch. PA build dependencies are unmet. libjack is the wrong version23:26
zequenceah, I need to install it manually23:27
zequenceit removes some stuff23:28
zequencelibjack0, that is23:28
zequenceAh, I'm too tired. It's past midnight. Just writing the damn patch description is more work the generating tha patch23:34
zequenceheh, the last kernel update fixes quite a bunch of bugs23:38
zequenceThis one was particularly interesting, bug #109531523:38
ubottubug 1095315 in linux (Ubuntu) "[USB-Audio - FastTrack Pro, recording] No sound at all" [Undecided,Fix released] https://launchpad.net/bugs/109531523:38
len-1304I think that was why I didn't buy the device.23:39
len-1304I could see the the ports but get no sound through23:39

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