/srv/irclogs.ubuntu.com/2012/06/04/#ubuntustudio-devel.txt

micahgfalktx: I'm not understanding the issue, why won't dssi-vst work?01:16
falktxmicahg: because it's only available as 32bit01:17
falktx32bit plugins don't work on 64bit hosts01:17
micahgif that's true, the solution for 12.04 was done wrong, the 32 bit app running on the 64 bit host can use the plugins though01:19
* micahg is missing info01:19
falktxa 32bit app running on a 64bit _system_ can load 32bit plugins01:20
micahgfalktx: where do these other plugins come from?01:22
falktxothers?01:22
len-dtmicahg, The iso failed to build because the plugins were not available to the 64bit ISO.01:22
len-dtor were not in the 64bit repo.01:23
* micahg is very confused ATM01:23
falktxdssi-vst doesnt build on 64bit anymore, so it's only available as 32bit now01:23
falktxif a package depends on it, it will fail to install01:23
micahgright, with multiarch enabled, people thought this would be fine01:23
micahgno01:23
falktxnot at all01:24
micahgapt-get install dssi-vst on a 64 bit system works fine01:24
falktxdoes 'sudo apt-get install qtractor:i386' works too?01:24
micahgnope01:25
falktx:(01:25
micahglibrubberband2 isn't multiarch enabled01:25
falktxwell, I wanted to fork dssi-vst anyway...01:25
micahgwe'd probably take an SRU for that01:26
falktxmaybe later I'll give this a fix on a new fork-code01:26
micahgfalktx: please don't we can fix most issues :)01:26
falktxmicahg: there is some missing funcionality I want to add there, but I know the author will not be 100% happy with it01:26
micahgoh, hrm01:26
falktxproject is almost dead now anyway01:27
micahgmaybe work with the upstream author to a decent compromise?01:27
falktxI'll see it in a few weeks01:27
micahgok01:28
micahgas for the qtractor multiarch install, rubberband needs to be multiarched in Debian first01:28
micahgas does libfftw3-301:29
falktxbtw, I found out that most debian packages come with debug enabled01:29
falktxthat is just awful01:29
micahgyes, but the symbols are stripped and stored in a separate package01:30
falktxlol, like it matters much01:30
falktxit shrinks in size a bit, but slowness will be there01:30
falktxqtractor is *imensily* affected by this01:31
falktxit just prints debug messages all the time...01:31
micahgthat's a bug I think :)01:32
falktxno01:32
falktxif an app is configured to run in debug mode, then it will do debug-related stuff01:32
micahgright, we don't want debug mode in the build, just the debugging symbols01:33
falktxhm, why do we even want that?01:33
falktxit compromises speed01:33
falktx(and cpu)01:33
micahgwell, in Ubuntu it's helpful to be able to retrace stufff01:33
* micahg doesn't know all the background on it01:34
falktxI don't really think it's any good. users will complain about random xruns01:34
falktxif an app prints stuff during process callbacks, of course it will cause xruns01:34
* falktx is losing hope in debian01:35
len-dtmicahg, on thinking a bit, it seems to me the loss of the dssi-vst happened at the time of our change from alt to live DVD. We could include the package in the alt, but the live would not build with it. We were more interested in getting the live DVD working than trying to fix what was wrong with dssi-vst02:43
len-dtgetting look and feel right after 11.10 (looked like xfce with some audio apps thrown at it) seemed more important.02:46
micahgright, you could only include it on the i386 image02:46
len-dtYa02:46
len-dtWe have never relooked at the problem since02:47
len-dtSo, if we go to where we wanted, with a more minimal install and add workflows later it would probably work again.02:47
len-dtmicahg, not having Scott around to bounce things off of has slowed us down a bit.02:51
len-dtThat should change soon 02:51
ailo_len-dt: I can't seem to get PA to rise above 3.5 MB in memory use. Can you reproduce?07:27
ailo_Sorry, 3.2 MB07:27
=== shnatsel is now known as SergeLion
knomehey scott-work :)13:25
scott-workhi knome, how are you today?13:25
knomefine!13:25
knomesetting up the xubuntu community meetings13:25
scott-worki'm tired13:26
knomeme too13:26
knomei took 14h "naps"13:26
scott-workmy mother-in-law fell and broke her shoulder this weekend and we spent quite a bit of time at the hospital and her house over the past two days13:26
knomeouch13:27
scott-workyeah, it wasn't unexpected however13:27
knomeyup, old people13:27
scott-workshe's not _that_ old, however she has had chemo due to cancer, she's overweight, and not in shape (at all!)13:34
knomeaha13:34
scott-work"fragile" comes to mind13:34
knomeright, well that too13:34
astraljavaOh dear13:35
knomehope she gets well soon13:35
astraljava"No, no deer, they run too fast."13:35
knomeastraljava, milove!13:35
scott-workthanks knome 13:46
scott-workhi astraljava 13:46
=== SergeLion is now known as shnatsel
=== shnatsel is now known as SergeLion
=== len_ is now known as len-dt
len-dtailo, (to answer your question from before) PA normally takes about 6M of ram19:57
len-dtwhen jack runs (and the pa-jack bridge loads) that goes up to about 108M19:58
len-dta2j uses 105M btw.20:00
ailoThat's weird20:13
ailoI noticed qjackctl had been updated for Wheezy, so I expect it has been for Quantal as well20:13
len-dtI think it is something to do with the jacklibs20:14
ailoI also noticed the new config option "Stop JACK audio server on application exit"20:14
ailoSo, I assume it just makes sure to kill jackdbus if active20:15
ailoWhich is good20:15
len-dtjack-dssi-host uses 105M20:15
ailoWith what?20:15
len-dthexter inside uses only 12m20:15
len-dtThey show up separately20:16
ailoYeah20:16
len-dtIt seems the lib that allows connecting to jack grabs a chunk of memory (the libs themselves are not that big)20:16
falktx__len-dt: you're confusing app-memory vs shared memory20:18
len-dtSo even on a 2G system, pulsebridge and a2j together are already using 10% of the ram. That is ok if you are using them but not if you don't need them.20:18
len-dtcould be.20:18
falktx__when an app uses a shared library (jack, gtk, qt, etc), it shares resources with such lib20:18
falktx__I bet any jack app will show up to use ~100Mb20:18
len-dtI'm looking at top I see a line like:  7951 len       20   0  131m 105m 104m S    3 10.5   0:06.59 jack-dssi-host   20:19
len-dtthe 104 is shared.20:19
len-dtthe 105 is "res"20:19
len-dtthe res value matches the app use pretty good. 20:20
len-dtfalktx__, so how do I read the output from top then to make the most sense?20:21
ailolen-dt: I don't know top very well, but I assume there's a way to add more categories somehow20:23
ailoI just use the system monitor20:23
ailoOnly use top when I need to kill stuff basically20:24
len-dtres means "resident size"20:24
len-dtshared memory means "memory that could be potentially shared with other processes"20:25
len-dtthe man page doesn't say if shared mem is included in resident size or not.20:26
len-dtI don't think so as virt includes "all code, data and shared libraries  plus  pages  that20:28
len-dt          have  been  swapped out and pages that have been mapped but not20:28
len-dt          used"20:28
len-dtOn the other hand if vrt is 131m and res is 105M and shr is 104... that is confusing...20:30
len-dtailo, do you mean like "task manager"?20:31
ailolen-dt: No. I use the gnome System Monitor20:32
len-dttask manager shows the same numbers.20:32
len-dtWe don't ship that.20:32
ailolen-dt: Got curious, and found a way to display and sort commands according to % memory use20:33
ailolen-dt: ps -eo %mem,comm --sort %mem20:33
ailoThe % memory is accurate, so it's not shared memory20:33
len-dtsame numbers as before.20:34
ailoYou're right20:34
ailoDamn :P20:34
ailoBut the gnome System Monitor is showing the right values under "Memory" anyway20:35
ailoI would assume the XFCE task manager can be set to show more categories20:36
len-dt"right" meaning?20:36
len-dtBTW I am using the kxstudio jack and qjackctl.20:36
len-dtThe task manager config says I am looking at "private bytes"20:38
len-dtThat sounds "unshared"... but who knows I don't always know what I am talking about, so the writer of the app may be confused.20:39
ailolen-dt: The amount of memory that this app is using alone20:40
ailoI guess "right" is not the right term20:40
len-dtSo the 100M all the jack apps are using is not shared?20:41
ailoRight now, Firefox is using 324,6MB of memory, 33.5MB shared memory20:42
ailojackdbus 7.5 memory, 82.5 shared memory20:43
len-dtailo, is your system 32bit or 64?20:45
ailo64 bit20:45
len-dtwould that be why yours is using less memory?20:46
ailo64bit usually uses more memory20:46
* len-dt has 32 bit systems20:46
ailoIf you have 32 bit and need 2 GB, for 64bit you'll need 3GB20:46
len-dtfor code, for storage of audio as well?20:47
len-dtI guess a gb is a gb even if you use two words for everything.20:47
micahgscott-work: BTW, any plans to release alpha1?20:48
ailolen-dt: Also, I'm on Wheezy, so there may be some differences. But, generally, it should not be that big of a difference20:49
ailoAt least not what the audio apps are concerned20:49
ailolen-dt: I have no idea what format "memory" really is in System Manager. I can't seem to find the same format using ps20:50
len-dtailo it is 10% to 15%, not that big. I will try on the stock US machine too.20:50
ailoAs for Firefox memory, it of course depends on what you are using it for. Usually, it grows with time. I often get over 1GB of memory20:52
ailoThunderbird uses up a lot too20:53
len-dtmy FF is 559 virt, but only 99 resident size and 28mshared20:54
micahg 4231 micah     20   0 2447m 1.5g  40m R  100  6.2 602:17.86 firefox-trunk 20:54
micahgthat's with ~700 tabs20:54
micahgFirefox 13+ will have lower memory usage in restored sessions20:55
ailomicahg: Doesn't it get really slow for you?21:00
micahgnope21:00
ailoI find that some pages make scrolling pages really slow21:01
micahgthen again, I don't run on a "normal" machine21:01
micahgailo: those would either be bugs or configuration issues21:02
micahgif it's reproducible, feel free to report a bug with ubuntu-bug firefox (you might want to try firefox-trunk first to see if it's been fixed already)21:02
SergeLionzramswap increases the effective amount of RAM roughly by 50%, it saved me back when Firefox 4 leaked gigabytes21:02
ailomicahg: Could be a driver bug21:03
SergeLionnowadays lastest stable Firefox uses twice less memory than Chromium for opening Gmail21:03
ailoI had an update today that fixed a problem I was having with flash (some videos were overly blue), and it does seem like behaviour has changed for firefox as well. I use auto-scrolling a lot, and usually the scrolling get's stuck periodically. And did so for other pages too, when I had heavy java or flash (one or both of them) loaded. Seems to be gone now. Only those pages are twitchy now21:08
ailoOnly those pages are twitchy that are "heavy"21:09
Len-nbailo, interesting, on my netbook the same apps are using 82-85M21:14
ailoLen-nb: I'm reading up on Linux memory management. Shared memory is things that are shared between multiple applications, such as bash. I don't know the extent of it. I guess it would be correct to say an application is using all of that memory, but if you close the application, much of that is still used by other applications, or perhaps by the OS itself21:22
ailoAlso, virtual memory is not actual hardware memory21:23
Len-nbailo, ya, I figured that much.21:23
ailoIf you make a sum of all the virtual memory allocated, it's far larger than the RAM you have installed21:24
Len-nbvirtual includes swapped mem21:24
ailoOr, could be far larger, but it's how it is for me right now anyway21:24
ailoFirefox does not seem to share a lot with the system21:25
ailoWhile jackdbus and other apps seem to share quite a lot21:25
micahgnope, firefox uses bundled libraries for most things21:25
Len-nbvirt should be... swapped+res or swapped+private+shared?21:27
Len-nbnope. my swap is showing 0.21:28
ailoLen-nb: I'm reading this old page http://tldp.org/LDP/tlk/mm/memory.html21:30
Len-nbIt appears that if stuff is read off the disk that is read only, it is not swapped out, but rather just over written and reloaded from the same file if needed again.21:40
Len-nbI wonder how swappiness affects that?21:40
Len-nbAnyway, I'm off...21:41
ailolen-dt: Virtual memory is simply specific to the application. Doesn't really matter if it's swapped or not21:46
ailolen-dt: Something I conclude from watching the different categories in System Monitor. Resident Memory is roughly the sum of shared memory + writable memory. Writable memory is roughly the size of "memory". 21:50
ailoIt seems uncommon that any shared memory is writable by the application. 21:52
ailoOr perhaps doesn't happen at all. I don't know21:53
ailoThe trick here is to know what the shared memory consists of. What libraries, etc21:53
ailoIf I start jackd, and have no other audio applications running, total hardware memory usage increases by about 8 MB21:58
ailoStill, writable memory is about 30MB, and shared is about 8221:59
ailoThe same from a new login. So..22:03
ailoAt least I can conclude that starting jackd does not load very much into RAM22:04
ailoStarting Hexter will make the sum rise with about 4MB, which is what the two processes have as a sum in writable memory22:08
ailoSo, jack + hexter (+ jack-dssi-host) makes the sum of my RAM usage grow with less than 20MB22:08
ailolen-dt: This seems like an ok wiki http://linux-mm.org/22:31
astraljavaHey scott-work, How ya doin'?</Joey>22:32

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