/srv/irclogs.ubuntu.com/2012/05/10/#ubuntustudio-devel.txt

ailo_Len-nb: Most of those settings I guess are only valuable for certain tasks00:05
ailo_There's one for midi (timer), one for multi track recording (disk)00:05
ailo_rtirq is good for solving the type of headache that you have, all though it does not seem to solve it for you00:05
ailo_We should put together a list of things to test00:06
ailo_Multitrack recording, live audio processing. I guess a bit workflow based00:06
ailo_Didn't do much today for the wiki today. Haven't had the time. 00:07
ailo_Another day tomorroq00:07
ailo_We could automate the test with a script00:08
ailo_Get some measurement data from what is measurable00:08
ailo_Anyway, gn00:09
len-dtailo_, ondemand/performance (cpu throttling) gets reset to ondemand on my netbook. Maybe by powerd or something. I need to look more.13:11
len-dtnetwork-manager starts some things that it does not stop. Rebooting with NM disabled is wonderful, stopping NM (and wireless BTW) is worse.13:13
len-dtCron, anacron and atd can be stopped by changing runlevel. This is probably more important than we might guess as it is much more random, having apt update it self in the middle of a session could be a pain.13:16
len-dtHydrogen uses very little resources compared to (other) sound generators13:18
len-dtI was able to run 5 synths at the same time (cpu60%) with no problem. (-p 128 as low as I can start Jack)13:23
ailo_Hudrogen mostly plays samples, but I'm sure you can make it use more cpu if you add some fx to it13:23
ailo_Hydrogen*13:24
len-dtThe reason I could only run that many is because I ran out of memory and swap.13:24
ailo_len-dt: The cpu throttling gets reset during your login?13:25
len-dtI mean swap became a problem13:25
len-dtI am not sure when cpu throttling get s set13:25
len-dtJust that it did not seem to end up where I left it.13:26
ailo_Aught to be a default config for it to be set somewhere. I haven't dabbled much with it13:26
ailo_So, what other implicactions are there in changning runlevel?13:27
len-dtRun levels 2345 are all the same right now. So changing the config for cron like stuff just affects them.13:29
len-dtI used *.override files so the original files are untouched.13:29
len-dtThat is installing a config change can be unistalled.13:30
len-dtBecause of my memory limitations, the PA-jack bridge wasn't really a problem.13:31
len-dtailo_, I think though that memory is cheap enough that upgrading to at least 2G ram could be a strongly suggested first improvement.13:34
len-dtI was using virt/keyboard to stress test, so a max of 4 notes polyphony was the best I could do.13:35
len-dtI will try tracking when I get the USB audio IF. Down the road... I am deciding if I should get a usb midi if or a USB KB. I have a lot of little midi KB around already though.13:37
len-dtailo_, I'm off to work today... bye now.13:38
ailo_2GB seems like a minimum for a typical linux based OS right now13:42
ailo_Perhaps not for everything audio related, but just for the usual programs, like firefox and chrome13:43
ailo_A P3 will often have a maximum 512MB limit, or maybe 1GB, so they are barely usable anymore13:43
ailo_Also, finding graphic cards for them that you can use to just browse the web is hardly worth the trouble13:44
ailo_netbooks may have less processing power then your usual PC, but the other components are up to date, and you can usually install at least 2GB RAM13:46
ailo_So, I agree. 2GB is a good lowest limit to recommend at this time13:46
ailo_For people who like to work with large sample libraries, you need at least 4GB, or more13:47
len-dtailo_, what does memlock do?13:55
len-dtI guess what I am asking ... is there a way for an app to say don't swap this out?13:56
len-dtI wonder what the max memory a netbook can take is...13:58
holsteini have 2gb's in one of mine14:02
holsteinthe one that i use only for field recording has 1gb14:02
ailo_len-dt: Don't know exactly what memlock does. I just know you can use it to lock down memory for @audio applications. If you want anything other than unlimited, you need to specify it manually15:21
ailo_I think you specify with KB, not MB. Don't remember. The Ubuntustudio-controls application does this correctly, only it edits the wrong file15:25
ailo_I've just spent days programming something that more or less already existed right in front of me :(15:26
ailo_Sometimes, not always, it can be good to take the long way around15:26
len-dtholstein, 1 Gig for recording would be fine. I am trying to find out what the limits of the device are and found that with midi softsynths, memory ran out before cpu power.18:42
len-dtholstein, I'm just testing more as a documentation project than anything. I can at least recognize the difference between not enough memory and not enough cpu, some users can't.18:44
len-dtholstein, I think for my use, two tracks of recording will be about as much as I ever do.18:44
len-dtailo_, according to what I can find on some of the mysql pages, memlock locks the memory used by a process in memory and prevents it from being swapped out.18:54
len-dtThe downside of using memlock, is that on running out of memory, the kernel starts killing processes :-)18:55
len-dtailo_, none the less, it would make sense to me that any audio software that is well made, would use memlock for at least the thread that does the audio work.18:57
len-dtailo_, That being so, the swappiness value may have less effect than it would seem.18:57
astraljavaSet it to 0?18:58
len-dtailo_, also, the user should be aware of how close to swap they are when using their machine for realtime uses anyway... or at least that there is such a problem.18:58
len-dtailo_, we, through the jack install, set memlock to unlimited for audio devices/applications that know how to use it, but each application sets what it wants as well.19:00
ailo_len-dt: Then I the issue must be that without /etc/security/limits.d/audio.conf the user cannot  start a process which will use memlock19:31
ailo_The same as with rtprio19:31
ailo_I've been asking around for another way to grant those privileges to processes, but it seems pam is what many prefer19:32
len-dtastraljava, The standard swappiness is 60, suggested for audio is 10... that is start swapping when 10% memory is left. But well written audio apps should lock their memory anyway...19:33
astraljavalen-dt: Yep.19:33
ailo_There are some people that prefer not using memlock unlimited, since that may cause a system freeze, when using up all resources19:34
len-dtailo_, There is that too, but we set it. And the page a got the swappiness from setts it too.19:34
ailo_But to set it at any other level we need a startup script that measures memory, and sets something like 95% instead19:34
ailo_Or less19:35
len-dtailo_, hyrdogen uses enough lock that it needs to be very close to unlimmited on "my" !Gig machine.19:35
len-dtailo_, it seems a sliding scale would work... 95% for a 1Gig machine, 75% for a 2Gig and 50% for higher.19:36
ailo_In that case, maybe 95% would cover all of them19:36
ailo_Since 5% is quite a big chunk on larger memory sizes19:37
len-dtailo_, Ok, I just thought that the sizes we would likely see are 1, 2 and 4G so 950m, 1.5G and 2G for anything else would work...19:38
ailo_People who use big sample libraries will use more than 2GB easily19:39
ailo_Don't know about video processing19:39
len-dtailo_, point.19:39
ailo_I wold think unlimited is just fine, unless it didn't cause any danger, as it seems to do19:40
ailo_las thinks unlimited is preferred, and ardour will object if you don't have that (or something close to it)19:41
ailo_But they may have changed that19:41
len-dtailo_, I have pushed it as hard as I could, but I think some of my audio apps do not use memlock.19:41
len-dtan application does not look for unlimited, but a certain amount I think. Still, it may look at what there is and ask for all of it.19:42
ailo_ardour pops up a warning message, or used to at least. Haven't tested for a while19:43
ailo_So, it's a lookup think during ardour startup, to tell the user what settings it prefers19:43
len-dtailo_, something like that should be settable. but it seems that while an app may say it needs x amount of memlock, it doesn't take it till it needs it. So hydrogen asks for 900M or so, but runs with a lot less and is ok with other apps using/locking what it is not using.19:47
len-dtLooking at some of the cpu shield stuff for multi-core machines was quite interesting and could be of use to audio stuff.19:49
len-dtbasically, they move all the system procs to one cpu and use the other cpu(s) for one user's processes with RT.19:50
len-dtailo_, that way there is always one cpu running system stuff that can control things like shutdowns and kills.19:51
len-dtailo_, anyway, all those little changes did seem to help with the stability of all my softsynths running at the same time.19:53
len-dtHowever, I think they should be mostly "if you need them" kinds of things not default.19:54
ailo_len-dt: Interesting. I was trying to find out how to set memlock. Not on Ubuntu now. If you'd like to see quickly, install ubuntustudio-controls. Use it to set your memlock to something small, like 50% or less. The change will appear in /etc/security/limits.conf. Take the values form that file, delete the @audio entries and add the memlock amount to /etc/security/limits.d/audio.conf instead19:58
ailo_If you like, you can quickly edit the python file for that program, so it will edit the right file19:59
ailo_len-dt: It's a line in the pythonfile called ubuntustudio-controls. I don't remember where it ends up, but the file is this:20:00
ailo_ memlock = ChangeSettings("/etc/security/limits.conf", "@audio\s-\smemlock (\d*)", "")20:00
ailo_The line, I mean20:00
ailo_Er...20:00
len-dtailo_, search of the file name in other words..20:00
ailo_It's either /usr/share/ubuntustudio/ubuntustudio or a python folder20:03
ailo_I guess for just tweaking memlock, it might be useful to use that app for now20:04
ailo_I did a whole new ubuntustudio-controls a bit over a year ago, but it was a bit hacky, even if it worked. So, I had a chance to do some python coding with gtk20:05
ailo_len-dt: Anyway, if you just replace the "/etc/security/limits.conf" with "/etc/security/limits.d/audio.conf" you'll be happier using ubuntustudio-controls for tweaking memory20:07
ailo_The other controls you don't need to touch20:07
len-dtailo_, For me... manual is almost easier ;-)  I think we want it do some more things before it gets used in release though.20:07
ailo_ubuntustudio-controls is in the repo20:07
ailo_At least the last time I checked20:07
len-dtI know, but not this release... I think.20:08
ailo_I saw it the last time I looked20:08
len-dtYup, still there.20:08
ailo_So use it. At least it's good for something :)20:09
len-dtOk, so why am I changing memlock from unlimited again?  :-)20:10
ailo_len-dt: You could see what happens when you start ardour for example.20:10
len-dtJa, yust yolking..20:11
ailo_Also, it will let you know the right way to edit memlock20:11
len-dtwhat does "enable raw1394 access do? Or is that now in group audio?20:13
ailo_len-dt: It's the old way to enable firewire20:13
len-dtailo_, I don't have firewire stuff anyway20:13
ailo_Was still needed for 10.0420:13
ailo_The old firewire stack20:13
len-dtOK, and nice doesn't really do anything seeing as our audio apps aren't nice anyway ;-)20:14
ailo_Since then, there's a udev rules file that identifies all known devices and gives them access through @audio group. ffado is talking about adding that to their source now20:14
ailo_Yeah, I don't know if nice was ever needed. Hasn't been used for a while20:15
len-dtailo_, is ffado stuff being added to alsa as well?20:15
ailo_len-dt: That's what I've heard.20:15
len-dtailo_, what direction is US going? Or is tha on hold till after web page release?20:18
ailo_len-dt: What do you mean with direction?20:18
len-dtWhat are we trying to accomplish this cycle. I sort of have some ideas... but there seems to be no real roadmap.20:19
ailo_For my own sake, I'm in this mostly to make sure Ubuntu and all its derivatives are more easily made audio capable. To me, that is a responsibility US has, since it's in the main repo. I recognize that US is it's own distro, with it's own goals, but for me, I have already enough to think about with the former to be able to contribute to both for a long time20:20
ailo_len-dt: I'm sure ScottL will start making one shortly.20:21
ailo_A roadmap, I mean. He was asking for ideas a few weeks ago20:21
len-dtailo_, Ok. That would explain why you are most vocal just now :-)20:21
ailo_Like you, I'm getting some ideas recentlyu20:21
len-dtJa he was and writing things down in a list... but I guess we are waiting for it to be somewhere I can see it.20:22
ailo_I think ScottL is just occupied with the Ubuntu get together right now20:22
len-dtAnd the web page... which to be fair all of us want to see ASAP.20:22
len-dtI should probably sit and fix up the menu some more. So that when audio/video/graphic/photo apps we don't ship get added the menu listing ends up in the right place.20:24
len-dtailo_, I am thinking we may want an audio utilities submenu as well. Depends what everyone else thinks though. I will just fix what we have now for now.20:26
ailo_len-dt: btw, I just read something where the maintainer who takes care of ardour, and a bunch of other packages claims that Ubuntu does some subtle changes to those20:26
len-dtailo_, That is why I think we should make it as easy as possible to run both versions20:27
ailo_I meant the maintainer of the Debian packages20:28
ailo_So, they are not unchanged, according to him20:28
len-dtWhat kind of changes?20:28
len-dtI expect to make it use whatever libs we have. So we don't have to run two...20:29
ailo_len-dt: I was thinking about just doing a simple diff between packages to see what sort of differences there are20:31
ailo_Downloading now20:31
len-dtThe ardour realease is static. Our libs change almost with the weather, but are (hopefully) more secure20:32
len-dtailo_, ubuntustudio-controls does not work well with our stock audio.conf file: 20:43
len-dtlen@music:/etc/security/limits.d$ cat audio.conf 20:43
len-dt# Provided by the jackd package.20:43
len-dt#20:43
len-dt# Changes to this file will be preserved.20:43
len-dt#20:43
len-dt# If you want to enable/disable realtime permissions, run20:43
len-dt#20:43
len-dt#    dpkg-reconfigure -p high jackd20:43
len-dt@audio   -  rtprio     9520:43
len-dt@audio   -  memlock    unlimited20:43
len-dt@audio - memlock 97500720:43
len-dt#@audio   -  nice      -1920:43
len-dtailo_, you can see that it does not remove the old (sorry original) value.20:45
ailo_len-dt: I guess cause it's not identical with the spacing20:45
len-dtailo_, is there a difference between 100% and unlimited as far as apps are concerned?20:46
ailo_len-dt: Just remove the unlimited line all together, and it should work20:46
ailo_len-dt: I don't think so, except that ardour let's the user know that it would prefer something else20:46
ailo_If it still does that20:46
len-dtailo_, I will test...20:47
ailo_len-dt: I just looked at the ubuntu version of ardour-i686. It does say that the maintainers are from Ubuntu20:47
ailo_len-dt: I suppose you'll need to log out and log in again for changes to take effect too20:48
len-dtJa, but one of the better places to get help is at ardour.20:48
ailo_orignal maintainers are Debian. There were quite a few diffs20:48
ailo_len-dt: I'm not arguing that. I'm just trying to find out what the deal is with the Ubuntu version20:48
ailo_If one would decide that ardour in Debian or Ubuntu repo is not up to par, I'd rather fix the one we have than ask users to download manually20:50
ailo_Another option would be not to include it all, which would be strange20:50
len-dtailo_, my personal feeling is that US should ship what is on our repo, but freely encourage people to use ardours if they want to.... and please tell us if there is something that work in the ardour one that doesn't in ours.20:51
ailo_Yeah. But what about the desktop file btw? Doesn't it work as it is?20:52
len-dtOurs should be the same from any use point of view. But use less memory.20:52
len-dtI am not sure, it works with ardour3b3, I don't know about ardour2rel though.20:53
len-dtailo_, I will have to download it and see.20:54
len-dtI made a copy of our ardour.desktop just in case.20:56
len-dtThe real reason there is no support for ubuntu/debian users is that they don't have to navigate through tons of beg screens. Even downloading from the ardour site they say there is no support for linux users who pay $0 dollars.21:03
len-dtailo_, Oh, and by the way, the "free" version "The free version of Ardour 2.8.12 for OS X Intel does not support saving AudioUnit plugin settings, or using presets for AudioUnit plugins. If you prefer a version without this limitation, please return to the previous page and choose to make a financial contribution to the project."21:07
ailo_len-dt: Though you can always build it yourself of course. 21:08
len-dtAh, wrong download21:08
len-dtThat was the OS X version. I was wondering what a dmg file was... 21:10
len-dtailo_, The linux version is complete.21:10
len-dtI could build it... but I would still have no support. They only want to talk to people who have downloaded their static build and paid something.21:12
astraljavaNon-free support is one thing, and totally acceptable. But ridding features from free releases... meh.21:14
len-dtJa, I notice _not_ from the linux releases, but from the OS x releases.21:15
len-dtI guess MAC owners are used to it...21:15
len-dtAnd $5 is a lot less than what they normally pay for anything.21:16
astraljavaPerhaps. I do not intend to pay for any, though.21:16
astraljavaI'd rather fight with the compiling etc.21:17
knomehey astraljava :)21:17
astraljavao/21:17
len-dtAs long we are willing to give freely of our own stuff, why would I pay?21:17
astraljavaExactly.21:19
len-dtailo_, I don't know where they put their *.desktop files... still it doesn't seem to interfere with ours.21:19
ailo_len-dt: I'd be more concerned with the /bin file, but maybe that doesn't conflict either21:19
ailo_I've forgotten what their version of ardour2 is like21:20
ailo_/usr/bin/*, I mean, if it has one21:20
len-dtbin file is in /opt/ardourwhatever/bin21:20
ailo_ok21:20
ailo_las offers quite a lot of support, and I would think a lot of it is free too21:21
len-dtSo US should be saying we will help as we can, but if you need more help you will need to pay for it at ardour and install that version. It should work just like ours... please let us know otherwise.21:22
len-dtActually pay for it can be $121:22
ailo_There's other means of support too, like the floss manual21:22
ailo_http://www.flossmanuals.net/ardour/21:23
len-dtI would have to send a cheque... no pay pal no way...21:23
ailo_It would be good to look around for more of such manuals and save their links21:23
ailo_There's a lot of docs out there, but a lot of users don't know about it21:23
len-dtAnyway. I'm out for a bit.21:24
len-dtIts pick kids up time.21:24
ailo_Why not dollar bills, lol21:24
len-dtailo_, we don't have any dollar bills any more... or deuces either..., but yes I get the point.21:45
knome"just my two cents for the development"21:45
len-dtGA21:46
knomei wonder which expression you was referring to? http://www.urbandictionary.com/define.php?term=ga21:47
knome;)21:47
len-dtGo Ahead...21:47
knomeheh no, that was just a pun21:47
knomei mean, supporting ardour with "two cents" for the development21:48
knomeas in literal $.02 ;)21:48
ailo_I never knew there was an opposite to BA21:48
knomeyeah. AB.21:49
len-dtI think the stamp is $.80 or so...21:49
knomewhat if you pay via paypal?21:49
knomethey'd actually lose money if you sent less than like $221:49
len-dtI prefer to ignore them... also for them to have none of my personal info.21:51
len-dtI'd like to be rich enough for a credit rating of zero too, but life is the way it is.21:51
knomemmh21:52
len-dtIt is somewhat difficult to find much information on cpu throttling... a cpu throttle meter would be nice...23:11
len-dtIt doesn't appear that this machine scales.23:18
len-dtIt is older after all.23:19

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