/srv/irclogs.ubuntu.com/2012/12/28/#ubuntustudio-devel.txt

Len-nbzequence, kdenlive pushed iso size up 0.1G, no complaints from me.00:04
Len-nbNow that we have crossed the kde libs bridge... there may be other kde apps that make sense.  ;)00:05
Len-nbIt seems to me there was a photography app we did not include for the same reason.00:06
Len-nbdigikam maybe?00:13
falktxdigikam is very nice00:34
falktxk3b maybe?00:34
Len-nb:) I wondered how log it would take .00:36
Len-nbI never did check if bassero got fixed.00:37
Len-nb*brasero00:38
Len-nbI have heard good things about K3B though.00:38
Len-nbStill would like something like gdcmaster.00:39
* holstein is about to paste some info here03:00
holstein21:59 < las> Thu Dec 27 20:15:43 2012: Starting jack server... Thu Dec 27 20:15:43 2012: JACK server starting in realtime mode  with priority 1 Thu Dec 27 20:15:43 2012: control device hw:0 Thu Dec 27 20:15:43 2012: control device hw:0 Thu  Dec 27 20:15:43 2012: ERROR: Failed to acquire device name : Audio0 error : Cannot allocate memory Thu Dec 27 03:01
holstein 20:15:43 201: ERROR: Audio device hw:0 cannot be 1acquired... Thu Dec 27 2003:01
holsteinappologies for the formatting.. i just want us to look it over03:01
holstein21:57 < las> holstein: it apears from several reports here and on #jack recently that ub 12.04 has been packaged so that if  you only install pulse + jack, device negotiation does not work03:02
holstein22:00 < las> holstein: then you install pulseaudio-jack-sink or whatever it is called and the "Failed to acquire device name"  starts working03:02
holsteinScottL__ Len-nb zequence  ...any ideas?03:03
holsteinlas says its a packaging issue on our end03:03
holsteinif this is the case, we could just ask JACK to pull in the *-sink package as a dep03:04
ScottL__holstein, i don't have a clue to be honest03:19
ScottL__are they installing jack & pulse in vanilla ubuntu 12.04, holstein ?03:20
falktxwhy not just put the pa*-jack stuff in the metas? 04:15
len-1304I had ubiquity use our logo for ubuntustudio partitions today.06:47
len-1304Just waiting for the -settings to get uploaded.06:48
zequenceholstein: That's more of a packaging issue on Debian end09:33
zequenceand I'm not sure if that's a problame with jackd or pulseaudio09:33
zequenceLen-nb: training.linuxfoundation.org/free-linux-training/linux-tutorials-and-videos/diagnose-power-consumption-with-powertop10:05
zequenceOSX apps on Linux http://darling.dolezel.info/en/Darling10:24
scott-workholstein: did we ever find out if people experiencing the pulse-jack issue were starting with vanilla ubuntu? also do we know what card is being used?13:09
scott-workin my half-awake/half-asleep state before the alarm i thought about the audio group as well13:10
scott-worki'm not sure what data laz is using to determine this may be a packaging bug13:10
len-1304zequence, scott-work I think what is happening when installing jackd over a generic kernel is that it does not even ask if it will run realtime because it can't.14:10
len-1304So the lowlatency kernel needs to be installed _and_ booted before jackd is installed14:10
len-1304or we need a script that fixes things or informs the user what they need to do.14:12
len-1304It could be called packaging, except that jackd can run in a non-rt environment.14:14
len-1304For example just to allow the use of a FW audio IF.14:14
len-1304The thing is, there is no such thing as having jackd just work out of the box in all conceivable applications.14:15
len-1304The instructions for putting US audio over vanilla should be:14:19
len-1304install lowlatency kernel14:20
len-1304remove generic kernel14:20
len-1304then install metas14:20
len-1304oopps... reboot then install metas.14:20
scott-workhmmmm. i have installed jack over a vanilla install before, added myself to the audio group, and had jack start with -rt privileges14:26
scott-workotherwise jack throw error messages and fail to start14:27
scott-worki wonder if something has changed14:27
len-1304scott-work, it seems if jackd can't lock memory for buffering when in RT mode it fails.14:45
len-1304Rather than trying with non-lockable memory and starting in non-rt it just fails.14:46
len-1304but it doesn't stop at the memory alloc, it keeps going and because there is no memory set aside for the device, the device is "not there"14:47
len-1304With jackd, the first error message has to be dealt with first, but most users look at the last error message. (which they understand)14:50
zequencelen-1304: scott-work There are different issues being discussed here, but what las was talking about was..16:08
zequencewhen starting jackd, pulseaudio should release the audio device16:08
zequencewith or without pulseaudio-module-jack16:08
zequenceas for realtime privilege, that is another issue all together16:08
zequenceI don't know what code was responsible in letting jackd grab the card from PA in the past, but it seems this may have changed recently16:10
zequenceThere is also the bug with jackdbus not closing properly to take into account16:10
zequenceand to clarify, I'm not talking about the pulseaudio-module-jack module16:11
zequenceor, it is not a factor in this problem16:11
zequenceIt should only need to be installed if one wants to have PA auto connect to jack16:12
zequencelen-1304: jackd realtime operation is not depending on the kernel16:15
zequenceyou can achieve realtime with any kekrnel16:15
zequencekernel*16:15
zequenceIt's just that you get better performance at lower latencies with -lowlatency16:16
zequenceinstalling jackd is the same on any kernel16:17
scott-workzequence: "letting jackd grab the card from PA" - i believe starting at 8.04, qjackctl including a wrapper script that would run 'pasuspender' that would suspend pulse audio16:47
scott-worki forget when, but i think it was when jackd starting using dbus that this practice stopped, david h. made that change i believe16:48
scott-workzequence: also, your description of -rt behaviour aligns with my experience as well with regards to kernels, the -pa module16:49
zequencethe use of the wrapperpper did stop at some point17:15
zequenceBut, I don't think it was related to dbus17:15
zequenceand definately not pulseaudio-module-jack17:15
zequencestarting jackd (not jackdbus) and without pulseaudio-module-jack lets jackd grab the audio device from pulseaudio on 12.0417:18
scott-workach. webchat dropped me and i missed conversation. i'll check logs.17:19
zequencescott-work: you didn't miss anything17:19
scott-workoh. good :)17:19
zequencethe only time when it fails is when PA is using the device for something17:20
scott-workzequence: oh. i just thought of something. qjackctl uses dbus by default (i believe). if paul (and others) are starting jackd wihtout qjackctl then we may have a problem17:21
zequencescott-work: It's not related to qjackctl17:21
zequencejackd, without dbus grabs the card on 12.04. no problem. unless PA is busy streaming audio to the device17:22
scott-workdoes that address paul's question or error? i don't remember the exact error actually17:23
zequenceI don't think las actually knows how jackd is configured on Debian/Ubuntu17:23
zequencescott-work: las arguments about Debian packaging problems holds little weight without a further explanation of the problem. Right now, it could be someone just misunderstood something, and there's no bug at all17:24
zequencewhat holstein pasted about the error does not tell much17:24
zequenceLet me check jackd behaviour on 12.10 and 13.04 when I come home17:25
zequenceI'm still in Switzerland17:25
zequenceI remember someone saying something about the device grabbing being coded either into jackd or PA17:27
zequenceon 12.04, it works as expected17:27
scott-workmy thought was that if debian/ubuntu expected users to default to qjackctl to start/use jack and therefore use dbus, then perhaps pulse was configured to only play nice with dbus. therefore, if paul or others start jack from command line or ardour without dbus then pulse may not let the device go17:33
scott-workof course, i am neither an expert or played much with pulse/jack in recent version as i had in the past17:33
zequencescott-work: As I said, jackd starts just fine from the command line17:34
zequenceAnd I don't think las uses Ubuntu. That's the impression I get17:34
zequenceI still need to check 12.10 and 13.04. There's a newere pulseaudio to consider also17:35
zequenceseems that jackd1 does not start for me either way, and it objects about bad settings, but by looking in the wrong place17:40
zequencethe jackd1 problem is unrelated to PA alltogether though17:43
zequencefalktx: Do you know how jackd negotiates with pulseaudio to have it release the audio device17:48
falktxI know it uses dbus17:49
falktxso it only works with jack2 and with dbus version17:49
zequencefalktx: but it's not just when starting jackdbus. also when starting jackd (jackd2)17:50
falktxno17:51
falktxstarting jackd the usual way, ie:17:51
falktxjackd -d alsa ...17:51
falktxwill not work17:52
falktxif it does, it's pure luck17:52
zequencefalktx: It works everytime, unless PA is streaming audio17:52
falktxafaik it's not how it was supposed to work17:53
falktxthis are different things then17:53
falktxthe jackdbus reservation trick works even when pulseaudio apps are running17:53
zequenceI'm not talking about the PA sink and source. Just having PA release the audio device17:54
falktxin which case pulseaudio lets jackdbus start with its device and then pulseaudio auto-activates its jack PA sink/source17:54
falktxoh, ok17:54
zequencemaybe PA is not actually grabbing it, when idle. I'll look into it some day. Now I'm eating pancakes17:58
falktx_damn my internet18:00
zequenceIn jackd2 source, there's some Poettering code, for letting PA and jackd negotiate for an audio device21:19
zequencehttp://git.0pointer.de/?p=reserve.git;a=blob;f=reserve.txt21:19
zequencein the jackd2 source, it's in dbus/reserve.c, dbus/reserve.h21:20
zequenceWhatever audio server that has the highest priority (not sure yet how and where prio is set for this particular parameter), will get control of the audio devicce21:23
zequenceIt's done through dBus, but this is not to be mixed up with pulseaudio-module-jack, which is something entirely different21:25
astraljavaDamn. I've been away for the True Programming for too long. Your analytical bisecting of the audio stack makes me wet myself. I need to get back in the game, NOW!21:30
zequence:(. I wish one had more lives to spend on learning this stuff..21:32
astraljavaIndeed. I have had the passion to really get into the linux audio for so long, but I've had too many obstacles (mostly in my mind). And yet again I'm fighting professional issues, that take away from the technical pool, not allowing to concentrate on Stuff That Matterâ„¢.21:35

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