Friday, 2015-01-16

*** spectromas has joined #kxstudio00:02
falktx_thelonious bot is not here :(00:22
falktx_the netsplit probably killed him00:23
Alex-EUfalktx_: farewell thelonius..........00:26
falktx_guitarman: ping ?00:28
*** Alex-EU has quit IRC00:30
*** FergusL_ is now known as FergusL00:32
*** alex-EU has joined #kxstudio00:35
alex-EUJackWinter_: hehe, a bit faster now, with a fresh kernel straight out of the oven.00:39
*** alex-EU has quit IRC00:51
*** falktx_ has quit IRC01:32
*** triune has joined #kxstudio02:25
*** lfzawacki has quit IRC02:39
*** guitarman has quit IRC03:09
*** guitarman has joined #kxstudio03:09
*** JohnnyL has joined #kxstudio03:31
*** spectromas has quit IRC05:01
*** falktx has joined #kxstudio05:05
*** triune has quit IRC05:23
*** JohnnyL has quit IRC05:44
guitarmanfalktx: thelonius will be back07:22
guitarman1 moment07:22
guitarmansee what did i tell you07:23
guitarmanpoof!!!!!07:23
*** thelonius has joined #kxstudio07:23
guitarmanwelcome back thelonius07:23
guitarmanhi thelonius07:23
theloniusHi guitarman!07:23
guitarman:)07:23
falktxhi thelonius07:23
theloniusHello falktx07:23
guitarmanif I knew more python i'd make him more interesting07:24
guitarmani'm working at learning python... slooowwly07:24
*** wolftune has quit IRC07:33
*** falktx has quit IRC08:18
*** EamonnTobin has joined #kxstudio08:47
*** AutoStat1c is now known as AutoStatic09:23
*** active8 has joined #kxstudio09:26
*** active8 has quit IRC09:54
*** orngjce223 has quit IRC09:57
*** aht has joined #kxstudio10:12
*** aht is now known as ahellquist|wrk10:12
*** zequence has quit IRC10:31
*** zequence has joined #kxstudio10:38
*** ahellquist|wrk has quit IRC12:38
*** aht has joined #kxstudio12:43
*** aht is now known as ahellquist|wrk12:44
*** BitPuffin has joined #kxstudio12:45
*** Animtim has joined #kxstudio12:59
*** Animtim has joined #kxstudio12:59
*** BitPuffin has quit IRC13:14
*** BitPuffin has joined #kxstudio13:24
*** spectromas has joined #kxstudio13:51
*** WTS has joined #kxstudio14:02
*** alex-EU has joined #kxstudio14:06
*** WTS has left #kxstudio14:17
*** falktx has joined #kxstudio15:04
*** spectromas has quit IRC15:23
*** lfzawacki has joined #kxstudio15:45
*** spectromas has joined #kxstudio16:36
*** ahellquist|wrk has quit IRC16:41
*** alex-EU-1 has joined #kxstudio17:01
*** alex-EU has quit IRC17:02
*** wolftune has joined #kxstudio17:12
*** zth has joined #kxstudio17:47
*** vlt_ has joined #kxstudio17:57
JackWinter_alex-EU-1: hey, was the patch any good for you?17:59
JackWinter_and heh, if you started building kernels again, you could get a good old rt going too :)18:00
JackWinter_actually if i don't misremember i seem to recall that reaper for some reason uses less cpu under rt...18:00
JackWinter_if you want me too, i could try rebooting and see if there is some truth to that or if i'm confused18:01
alex-EU-1JackWinter_: I installed the whole wine-staging deb. Running better so far.18:02
alex-EU-1JackWinter_: The kernel was ok, but i missed a couple of things, and have to do it again. (Doh)\18:02
alex-EU-1JackWinter_: My latency has more or less halved, with the occasional glitch. But at least i can input with less midi adjustment of notes, which is good.18:03
JackWinter_if you just start wine with chrt -f -p 55 wine or so, i don't know if you really need the rt patch.  suppose i'll have to look into that too18:04
alex-EU-1JackWinter_: I've been shoving large amounts of midi for testing, and i think i'm going to split the instruments up a little more.18:04
alex-EU-1JackWinter_: I'm running wine with 65 at the moment. Been testing a few settings. More to do.18:04
alex-EU-1JackWinter_: I'm waiting for falk to finish removing the osc stuff, and closing ping setting, asnd i'll start adding more vsts.18:05
JackWinter_i noticed that at 64 samples buffersize i had to up the preprocess (anticipative) to 400ms or so.  after that i have no xruns at all, even at 64 samples.  except for the ones that are due to reapers code itself.  when starting the program and starting and stopping the transport.  but i can record for hours or playback mixes while recording a track monitored through fx without xruns18:06
alex-EU-1JackWinter_: I have a question regarding priorities. I've set quite a few manually, and the system behaviour has improved quite a bit. When an app has multiple threads, it's generally 1 that has the priority, i.e. Jack -P70, but the rest of the threads cruise along at 20.18:07
alex-EU-1JackWinter_: yep you're recording audio though, and those settings will affect what you're doing.18:07
JackWinter_hmm, how do you see that?  20 might mean that it's simply sched_other without nice18:07
alex-EU-1JackWinter_: I'm running 150+ tracks of midi.18:08
JackWinter_anticipative will affect playback not recording18:08
alex-EU-1JackWinter_: Yes, that's the bit i'm confused about.18:08
JackWinter_i'd imagine that it would work for midi playback too18:08
JackWinter_do you have tuna?18:08
alex-EU-1JackWinter_: I've tried it, and it made no difference. It's carla and the plugins (good name for a band) that are doing the heavy lifiting. All reaper is doing is outputting midi.18:09
alex-EU-1JackWinter_: Couldn't find a deb package fot it.18:09
alex-EU-1JackWinter_: let me get a pic of my htop window, and you'll see what i mean.18:10
alex-EU-1JackWinter_: http://i.imgur.com/pHGGkYH.png18:11
alex-EU-1JackWinter_: note that although i've told carla to run any wine at higher priorities, the plugin process instances are all the same.18:12
JackWinter_alex-EU-1: oh well then anticipative won't do anything (i think)18:13
alex-EU-1JackWinter_: The curious part is, Reaper processes all run at a higher priority. I assume because it's properly multi-threaded18:13
alex-EU-1JackWinter_: But i'm just guessing at this point.18:14
alex-EU-1JackWinter_: I could go through with chrt, and manually raise the prios of all the plugin instances, but i'd be here until tommorow. :)18:14
JackWinter_yeah, 20 means that it's sched_normal and not niced.  the negative values are the rt threads18:14
JackWinter_notice that it's off one from the priorities that you set too18:15
alex-EU-1JackWinter_: I've changed sched_normal to fifo for a couple of things as a test, and i manually adjusted the nice setting for 2 plugin instances, as you can see.18:15
alex-EU-1JackWinter_: But i don't know how to change the prios/fifo of all those plugin processes at once.18:16
JackWinter_i guess if you run carla with chrt-f -p 55 carla, then carla and all the threads/processes it creates would be realtime too18:17
JackWinter_or you can ask falktx to add code to set priorities18:18
alex-EU-1JackWinter_: if you look further down that pic, carla/python is already running at -85.18:18
falktxyou shouldn't run carla as high prio18:19
alex-EU-1JackWinter_: So the plugin instances don't take the prio setting from carla.18:19
falktxonly the rt thread should have that18:19
JackWinter_i guess you'd have to write a script to get all the PIDs and then run chrt on them.  but note that there is a difference between a process and a thread...18:19
alex-EU-1falktx: I've been testing, and you're right, it's too high.18:19
alex-EU-1JackWinter_: I've been learning that the last couple of days. :)18:19
JackWinter_the thread shown as -85 would be the jack callback running at 89-5=8418:20
alex-EU-1JackWinter_: The interlink has been getting hammered into the wee small hours.18:20
alex-EU-1JackWinter_: Yep.18:20
alex-EU-1JackWinter_: I thought about a script, but the pids change..........18:21
JackWinter_but to be honest i have no idea how all this works with plugins in carla, so i don't really know what to advice :)18:21
alex-EU-1JackWinter_: yeah, np. I don't know either, it's all guesswork.18:21
JackWinter_yeah, the pids would change everytime you start and stop18:21
JackWinter_i had an idea regarding your mem alloc problem.  could it possibly be because you don't have a swapfile?18:22
JackWinter_or swap partition18:22
alex-EU-1JackWinter_: I've tried with, and without, but it's a good thought. I read quite a bit about swapfiles18:22
alex-EU-1JackWinter_: I do have a swap partition.18:23
JackWinter_you could create a 64-128gb swapfile on one a ssd just to test18:23
JackWinter_how big is the swap partition?18:23
alex-EU-1JackWinter_: I was thinking that too.18:23
alex-EU-1JackWinter_: 4GB18:23
alex-EU-1JackWinter_: i also read up on RAM swapfiles, but that's got downsides too.18:24
JackWinter_google how to use a swapfile instead and setup a big one, maybe that's the reason you can't get more than 28gb going in a single process.  or maybe not, i don't really know, but was a thought that struck me18:24
JackWinter_i mean just to test, no need to repartition if it's no good.18:25
alex-EU-1JackWinter_: yes, i may well do that.18:26
JackWinter_think i'm gonna get a ssd to keep my working audio files on (not the archives, that gets too expensive), and then i could give this machine a nice big swap file for when chromium has eaten all the ram...18:26
alex-EU-1JackWinter_: good idea, imho.18:27
JackWinter_have close to 1 tb of multitrack recordings of my band by now :)18:27
JackWinter_don't really need it all, but i hate throwing away data :)18:27
alex-EU-1JackWinter_: I've got 3 ssds here, and the difference in performance is night and day.18:27
JackWinter_my system is always running and is quick enough, so i figured i don't really need ssd, but for reaper it would be nice now that i've discovered that disk io is a bottle neck on linux.18:28
alex-EU-1JackWinter_: it is, did some readion on that a little while ago, when i configured my ssds.18:29
JackWinter_tried the deadline scheduler, and even tried realtime ionice with cfq, but it's simply not good enough to play back audio and let the system do normal file access on the same drive :(18:29
JackWinter_so i'd get a couple of xruns a day while using the system for other purposes.18:30
alex-EU-1JackWinter_: i've got deadline set18:30
AutoStaticJackWinter_: what filessystem(s) are you using?18:31
JackWinter_yeah, i run deadline too, but i think it's recommended for ssd18:31
JackWinter_ext418:31
alex-EU-1JackWinter_: Separate drives for audio are a no-brainer, imho.18:31
alex-EU-1JackWinter_: yep, ext4.18:31
JackWinter_yeah, i just thought that using cfq with ionice would work as advertised, especially as i have large disk buffers in reaper, but it's just not good enough.18:32
JackWinter_hell it's even not good enough for ardour18:32
AutoStaticWhat options are you using with ext4?18:32
alex-EU-1JackWinter_: A server farm isn't good enough for ardour, with loads of tracks. Been there done that.18:32
AutoStaticMaybe youcan gain something there18:32
JackWinter_AutoStatic: at the moment only noatime18:33
alex-EU-1AutoStatic: ^^18:33
JackWinter_alex-EU-1: no ardour seems a little bit brittle :S  much as i admire what paul has done for linux audio i wish ardour was much better18:34
JackWinter_of course i don't know if systemd does something behind my back mounting the partitions :)18:34
alex-EU-1JackWinter_: i think we all wish it was better. But life goes on, and if it's not suitable, then there are other options.18:34
JackWinter_fstab is mostly decoration on a systemd system :)18:35
AutoStaticFor what it's worth: http://wiki.linuxaudio.org/wiki/system_configuration#filesystems18:35
alex-EU-1JackWinter_: It may well be. I've not got into systemd settings yet.18:35
alex-EU-1AutoStatic: Yep, read that.18:35
JackWinter_mount says /dev/sdc1 on /home type ext4 (rw,noatime,data=ordered)18:37
JackWinter_data ordered must be systemd...  grrr, i hate losing control over my system18:37
JackWinter_not that i know what it does, but it's not in my fstab18:38
JackWinter_but i'll just get a ssd for the projects i'm working on, and a nice big swap partition to shuffle off chromiums memleaks to :)18:38
JackWinter_maybe i'll store the few games i use on it too18:39
alex-EU-1JackWinter_: After many years of learning how to use init files, they change it to a non transparent monolith. :)18:39
alex-EU-1JackWinter_: I can't keep up.18:40
JackWinter_i can't keep up either.  and it's annoying because they keep changing it.  think i've disable storing of coredumps in the journal 3 times, i've had to change how it forwards stuff to syslog a couple of times.  unless it's my distro playing with itself18:42
JackWinter_i know most of the config files and now i have to learn all new stuff that keeps changing aswell :S18:43
alex-EU-1JackWinter_: My point exactly.18:43
alex-EU-1JackWinter_: I've got notebooks full of stuff that has suddenly become redundant18:44
JackWinter_yeah, i forsee devuan in all our futures :)18:44
AutoStaticJackWinter_: data=ordered is the default18:46
JackWinter_but i'm super excited that reaper runs this well on linux now.  this is what i've been searching for the last couple of years, and most likely all the time it was a combination of a config setting and the fact that i didn't keep the data on a separate drive18:47
JackWinter_AutoStatic: ok, thanks.  that puts my nerves at rest18:47
alex-EU-1JackWinter_: I think i'm going to have to build myself a proper RT kernel to get any more out of this.18:49
JackWinter_alex-EU-1: it most certainly help.18:52
JackWinter_helps18:52
alex-EU-1JackWinter_: the last RT kernel patch is 3.14, yes?18:54
*** wolftune has quit IRC19:06
alex-EU-1JackWinter_: ok, building, see if this works better than the last one.19:11
JackWinter_yes, 3.14 (afaik)19:25
AutoStatichttps://www.kernel.org/pub/linux/kernel/projects/rt/19:26
LAbotTitle: Index of /pub/linux/kernel/projects/rt (at www.kernel.org)19:26
JackWinter_yeah realtime is still a hobby and the companies that need it still run 2.6 on their embedded devices...:(19:27
alex-EU-1AutoStatic: yep, got it, thanks19:27
alex-EU-1JackWinter_: Not sure how much longer we'll see RT kernel patches.19:27
JackWinter_well that remains to be seen.  i understand that tglx doesn't want to pay for it out of his own pocket when companies are making money off it and not contributing...19:30
JackWinter_but i think redhat and others also pay some dev time.19:31
JackWinter_but we'll see.  in certain ways big parts of it could be dumped into mainline, but it would also mean that kernel hackers would have to follow more rules when creating new drivers19:32
JackWinter_at the moment they rebase the patchset, and then fix the new breakage that has been added to mainline, which also is kind of sucky19:33
alex-EU-1JackWinter_: right, didn't know that.19:33
JackWinter_well there is loads going on behind the curtains that we mere mortals don't know of19:34
alex-EU-1JackWinter_: True. Back in a minute19:39
*** alex-EU-1 has quit IRC19:39
*** alex-EU has joined #kxstudio19:41
*** WTS has joined #kxstudio19:50
*** WTS has quit IRC19:51
*** wolftune has joined #kxstudio19:54
falktxit's alive! https://i.imgur.com/HXibAda.png19:57
alex-EUfalktx: congratulations. :)19:59
falktxit's not exactly my work19:59
falktxI just do the backend midi stuff19:59
falktxsomeone else will do the UI. I can't complain :)19:59
alex-EUfalktx: then half each congrats. :)20:00
alex-EUJackWinter_: Somewhat of a miracle, but i have an RT kernel running, with one build. I thought it take me several. :)20:01
*** Animtim_ has joined #kxstudio20:02
*** EamonnTobin has quit IRC20:03
*** Animtim has quit IRC20:04
JackWinter_cool.  it's really not all that difficult once you know how.  have never understood the debian audio distro aversion to using an appropriate kernel :)20:19
*** orngjce223 has joined #kxstudio20:19
alex-EUJackWinter_: neither have I. They seem to cringe every time someone mentions "realtime".20:21
*** lfzawacki has left #kxstudio20:22
JackWinter_i suspect it has to do with it's version not aligning with the kernel debian choses for a release.  but as long as the kernel provides everything that userland needs, there really shouldn't be any problem20:23
alex-EUJackWinter_: Given the generally conservative nature of debian devs, maybe their test machines still run on steam..................20:25
JackWinter_:)  think they also have a rolling release.  i'd run that if i was running debian20:26
*** zth_studiocomp has joined #kxstudio20:29
AutoStatickernels are hard to package and to maintain21:21
*** alex-EU has quit IRC21:24
*** alex-EU has joined #kxstudio21:27
JackWinter_AutoStatic: why?21:35
AutoStaticPackaging conventions21:36
AutoStaticIt is almost undoable to properly package a kernel21:37
AutoStaticI never even tried21:37
AutoStaticIt's just so much work21:38
JackWinter_well i don't remember how debian packages work, but i package 2 kernels for archlinux and i don't think it's very hard.21:38
JackWinter_i'd say it's tedious though :)21:38
JackWinter_but haven't had much work for the last few months :)21:39
AutoStaticJust wait until tglx gets itchy21:39
AutoStaticIn Arch is it one PKG file?21:40
JackWinter_yeah, well i'd like a 3.18-rt by now, but still 3.14 still works fine21:40
JackWinter_more or less, there are some extra files, and patches, etc21:40
JackWinter_AutoStatic: https://aur.archlinux.org/packages/linux-rt/21:41
LAbotTitle: AUR (en) - linux-rt (at aur.archlinux.org)21:41
*** zth_studiocomp has quit IRC21:41
JackWinter_scroll down a little and you see the files21:41
*** zth has quit IRC21:43
JackWinter_oh well i think i'm off to bed.  have a good one everyone!21:43
AutoStaticGoodnisght!21:45
alex-EUJackWinter_: G'night21:46
*** alex-EU has quit IRC21:53
*** prettyvanilla has joined #kxstudio22:06
*** spiralix has joined #kxstudio22:44
spiralixIs anyone there?22:45
*** spiralix has quit IRC22:46
*** yann-kaelig has joined #kxstudio23:24
*** prettyvanilla has quit IRC23:25
*** wolftune has quit IRC23:34
*** wolftune has joined #kxstudio23:36

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