/srv/irclogs.ubuntu.com/2013/01/05/#ubuntustudio-devel.txt

=== Lump|AFK is now known as Lumpy
=== Lumpy is now known as Lump|AFK
zequencehttp://www.davidrevoy.com/article154/mypaint-1-1-a-guide-through-the-new-features#.UOdo1GF7gT0.google_plusone_share09:47
len-1304zequence, can you see a good reason for having more than one rtirq setup to run?16:54
len-1304I'm thinking for more than one sound card.16:54
len-1304In the case where sometimes an internal card is used, but sometimes a USB card is used.16:55
zequencelen-1304: I've done very little testing with rtirq. The times I've looked at the result from the default config, it has looked fine. And then, I've had no effect from using it. But then I haven't used anything else than pci and firewire, where I've been lucky enough to never have a problem with firewire16:56
zequencelen-1304: One thing I was thinking about for -controls was a way to adjust prio for devices16:57
len-1304With FW, if it is not plugged in then PCI or internal comes out top anyway.16:57
zequenceSo, someone not wanting to spend time with config files could do it from the gui16:57
len-1304With USB, I do not want a BUS stick to have priority over an internal sound card16:58
zequencelen-1304: Does it make a difference for you in performance?16:58
len-1304Yes.16:58
len-1304with USB it does16:58
len-1304there is a more than this of course but it does help16:59
zequencehaving a usb stick get high prio from the default config sounds like a bug, but how to determine if the usb port is connected to an audio device?16:59
len-1304I am thinking there could be three stock rtirq files.16:59
len-1304It takes some user know how. 17:00
len-1304I had to find out wich USB port has it's own irq and then set that one higher than the others17:00
len-1304The thing is, in some ways rtirq should be run after the USB sound IF is plugged in17:01
zequenceIt would be best if the prios were set in a plug and play fashion too17:01
len-1304Ya17:01
len-1304That is kind of what I was saying17:02
zequencelen-1304: Any chance you could work out some method for doing this? btw, are you still planning on working on the menu?17:02
len-1304How working on the menu?17:02
len-1304I have done the icons... just waiy=ting for the upload.17:03
zequencelen-1304: The stuff we talked about a couple of months ago. making it freedesktop based as much as possible, etc17:03
len-1304The icons are there, but -settings has not yet been released to make use of them.17:03
len-1304I have sort of done that, all our new menus are based on standard icon file names now.17:04
len-1304I have not gone through the categories though.17:04
zequenceWell, there's no particular hurry. It's a long term work in progress thing17:05
zequenceI'm getting closer to taking over kernel maintenance17:05
len-1304I am thinking of updating my mode switch glue.17:05
zequenceShould do some testing with some configs. Probably dropping debug stuff should improve things somewhat17:06
len-1304That would mean redoing packages17:06
zequenceredoing what packages17:06
len-1304Almost all the a/v packages have some debug stuff in them, I think.17:07
zequenceI'm talking about the build config for linux-lowlatency. So, just one file in the source.17:07
len-1304Ah, good17:07
zequenceBut, that thing is also todo, yues17:07
zequencelen-1304: I had a talk with David H about jackd and PA integration17:08
len-1304OK and17:08
zequenceSo, the code that makes jack2 able to grab the audio device from pulseaudio is something that only exists in PA and jackd17:09
zequenceIt's a Poettering solution17:09
zequenceIt happens through dbus17:09
zequenceNow, it doesn't seem to be working as intended though17:09
len-1304Thats what I hear... that would be why it is a "package problem"17:09
zequenceCause, at least for me, jackd can only grab the card, if PA is not playing something17:09
len-1304I think there just needs to be some small delay added to the jackd end of things.17:10
zequenceWell, I wouldn't call it a packaging problem, as it's a problem with the source17:10
len-1304I was talking about from the jack people's POV17:10
zequenceEither the code in jackd, or PA, or both needs to be improved17:10
len-1304There is a "if we didn't put it there it's a packaging problem"17:11
zequenceI don't know which. I only know it's dbus stuff that Poettering wrote, and I have no idea how it's used in the whole scheme of things17:11
len-1304PA releases the port.17:11
len-1304PA tells jack it is released? or jack just assumes it asked and tries to grab it.17:12
zequenceIt's a mechanism existing in PA, which jackd can interface with through dbus17:12
zequencejackd asks PA to release the card through dbusd17:12
len-1304anyway jack seems to try to take it before PA has released.17:12
len-1304Sometimes it just works. (1 in 20)17:12
zequenceIt works fine, as long as PA is not playing something. Which is not how it's supposed to be17:12
zequenceAt least for me17:13
zequenceSo, anyway, it's a code problem17:13
len-1304I mean even when PA is streaming17:13
zequenceYeah, ok.17:13
zequenceqjackctl has a wrapper script that is broken. It's supposed to start with the pasuspender tool, if present. The wrapper script has an error which does not start it. So, I'm going to fix that17:14
len-1304I have had one or two time audacious streaming and started jack and the stream just switches from going to the port to going through jack.... very nice.17:14
zequenceI'm going to rewrite it, make it only do pasuspender if jackd1 is installed, as jackd2 doesn't need it.17:14
len-1304We don't want pasuspender. It breacks PA-jack bridging.17:14
zequencelen-1304: We don't want it for jackd2, but we do want it for jackd117:15
len-1304OK, we don't ship jack1 though.17:15
zequenceDoesn't matter. Some people need it17:15
len-1304My thought is fix what we ship first17:15
zequenceAnd it should work on any Debian derived distro17:15
zequenceI'm doing it in Debian17:16
len-1304sure makes sense.17:16
len-1304I'm going to add zita-ajbridge to the seeds. It is only 96k installed (19k DL)17:18
zequencelen-1304: Right. Haven't yet checked what that was17:18
len-1304It is a high quality, less cpu version of alsa-in17:19
len-1304It allows adding two cards to jack. No xruns. Even if they are synced it seems to work better than making a muti card in alsa17:20
len-1304It is possible that the author will make an even lower cpu one for synced cards17:21
zequencelen-1304: I should try that. That's another thing that would be nice to have in -controls. Ability to do multi card setting up17:21
len-1304using xita-ajbridge it is possible to get lower latencies than with the alsa multi setup.17:22
zequenceFor recording studios, that kind of things is gold17:23
len-1304His standalone reverb is really nice too17:23
len-1304Anyway, I am going to add zita-ajbridge.17:24
zequencesomeone give me a million dollars and a team of developers, please17:25
len-1304It would be nice to have a tool like qjackctl that deals with a2j and zita-ajbridge as well as jack because these are things that would all be started at the same time.17:25
astraljavazequence: I'll be happy to be one of that team, please. :)17:26
len-1304Using a script started by qjackctl is less than optimal.17:26
zequenceastraljava: Let me just buy a lotto ticket first17:26
astraljavaB(u)y all means.17:26
len-1304zequence, It appears we should set the sound cards to default to 48K17:31
len-1304There was a really good discussion as to why in LAU. And there seems to be more than one reason for us to do so17:33
zequencelen-1304: You're talking about ~/.jackrc, right?17:34
zequenceor .jackdrc17:34
zequence..I mean17:34
zequencehmm, nope. qjackctl doesn't edit that file17:37
zequenceah, yes it does17:38
zequenceThe file is changed only after starting jack after changing settings in qjackctl17:39
zequenceI'd assume jackdbus uses those settings, no matter from where you start it?17:39
zequencejackd, started from the command line, needs arguments17:39
zequenceBut not jackdbus, when using jack_control17:40
zequencelen-1304: So, change the default settings in qjackctl?17:42
zequenceno, jack_control starts jack without that file present17:43
zequenceAnd qjackctl I think has it's own savefile for settings, but edits the jackdrc when starting jackd17:44
zequenceSo, where does qjackctl get the default config?17:47
zequencelen-1304: From what it seems, the default config is in the source for qjackctl. There's no file that can be altered in the package. The change needs to be done upstream17:53
zequenceIn src/qjackctlSetup.cpp17:55
zequenceThe line: preset.iSampleRate  = m_settings.value("/SampleRate", 44100).toInt();17:55
zequenceline 36017:56
zequencelen-1304: You could take it up with the author17:57
zequenceEither done upstream, or add a patch in the Debian or Ubuntu package18:32
len-1304zequence, sorry went for breakfast :)18:45
len-1304looking through the man page for jack_control explains a bit how qjackctl must work too.18:45
zequencelen-1304: man page?18:46
len-1304when settings are set with qjackctl (one at a time over dbus) it appears jackdbus saves the config.18:46
zequenceI haven't found any docs on it. Assumed there was no manpage18:46
len-1304Oops you are right... jack_control --help?18:47
zequencelen-1304: Nope18:47
len-1304nope18:47
len-1304jack_control with no 18:47
len-1304on it's own18:48
zequenceAh18:48
len-1304I knew I had seen it somewhere18:48
len-1304Everything qjackctl does can be done from jack)control for server start18:48
len-1304But it takes another command to do connections18:49
zequenceAnother jack tool, yes18:49
len-1304qjackctl config is stored in ~/.config/rncbc.org18:51
len-1304in QjackCtl.conf18:52
len-1304including sample rate18:52
zequenceYes, but there's no default config file though18:52
zequenceSo, there's no way to replace it18:52
len-1304/etc/skel18:52
zequenceAh, ok18:52
len-1304(not there now, but could be)18:53
len-1304micahg, wouldn't like it :)18:53
zequencelen-1304: But, considering there was a good reason to change to 48kHz, why not do it upstream so everyone gets the benefit of the change18:53
len-1304Yup. Is it something the author chose? debian? or ubuntu?18:54
zequenceIt's in the code, so it's the author18:54
zequenceIf the author doesn't want to change it, we can add a debian patch in the package18:54
zequenceBut, if it in deed is the best choice, than I guess the author wouldn't mind changing it18:55
len-1304He was probably thinking the way I was (before some better minds explained) that if it is made for CD why not start in the finish format.18:56
len-1304However, 48k means a less sharp roll off at the top end about 1/4 less processing.18:57
len-1304and less in band effects.18:57
len-1304 The sample rate change at export for cd is the same (same code in fact) as a low pass filter.18:58
len-1304We support video as well. Video audio is standard at 48k18:59
len-1304Many cards are designed around 48k with 44.1k added as an after thought sometime with less care/poorer quality components/design as well.19:00
len-1304... thats the quick recap.19:02
zequencelen-1304: I'm sure Rui reads the list. I missed the posts about this myself, and don't have a good idea of the problem. You could take it up here https://lists.sourceforge.net/lists/listinfo/qjackctl-devel19:04
len-1304zequence, we should Talk to David H as well about setting PA to default to 48K as well. Ask if it would hurt any of the desktop operation. (It doesn't seem to have on my netbook)19:04
zequenceI don't think you can set PA rate. It's application based, isn't it?19:05
len-1304Rui only seems to post announcements on there, so I don't know that he reads through.19:06
zequenceIt plays any samplerates19:06
len-1304PA has a default rate setting in its config.19:06
zequenceSome on the fly conversion probably19:06
zequenceOh?19:06
len-1304I had to change it on my netbook for a built in mic problem19:06
len-1304The built in mic is a 48k device only.19:06
zequenceYou could ask for a merge to the source too19:06
zequencehttp://sourceforge.net/p/qjackctl/code/743/tree/19:06
zequenceWith an explanation of the problem19:07
len-1304It has extra nioce when run at 44.219:07
zequenceI could prepare the patch for you, if you want. I just don't know what to tell him about this19:07
len-1304*noise19:07
len-1304I should talk to him first.19:07
len-1304If he has a reason for 44.1 that is fine by me.19:08
zequenceI'm sure he reads the mail list. There are other ways to contact him too. His personal forum http://www.rncbc.org/drupal/19:09
zequenceOr just email him19:09
len-1304I have emailed him before so I have it here.19:10
len-1304I will ask if qjackctl looks at any environment variables. It may be we can set default rate as well as default device... it would be nice to do it once for both PA and jackd19:17
len-1304Ubuntu doesn't set anything19:38

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