ailolen-dt: I think we just may need to improve functionality for pulseaudio-jack-module03:42
ailopactl can load and unload pulseaudio modules, but I don't think that is the way to go03:42
ailoWhen you load the module, you get it's ID, so that helps creating a script that loads/onloads it at will03:46
ailoAlso, pasuspender could still be used03:47
ailoThe best thing would be just to improve the module03:47
ailoEither with feedback to the developers, or try make changes/patches for it03:48
ailoI need to look more at how it works03:50
ailoRight now, I just installed jackd2, but I don't seem to be able to use the PA module03:50
ailoAll PA sinks and sources are suspended however :O03:51
ailoI see that from: pactl list03:51
ailoRestarting PA was enough to get the bridge working again03:57
ailolen-dt: The module itself is coded by David Henningson04:06
ailolen-dt: Also, it will be interesting to see how the new qjackctl is improved regarding jackdbus04:09
len-dtailo, I agree loading/unloading PA modules is not the best, It would be better if the module could be turned off/on.13:55
len-dtI don't know if that is possible... or if it is, what other problems might be there.13:56
len-dtI think it would require the module to have it's own connection to dbus or for the module to be more integrated with pulse itself so it could use PA's dbus connection.13:58
ailolen-dt: I don't think there is any way to turn it off. In effect, unloading the module is turning it off. But what I meant as a better alternatvive was to improve how the module interacts with jack, and make sure it does nothing until you want it to connect.13:58
ailoI would guess the jack sink and jack source are typical jack apps13:59
ailoAnd those should not be loaded, until used13:59
len-dtailo, pasuspender doesn't gain anything that I can tell.13:59
ailoTo imrove the module, either we try to find a way by coding it, or we communicate to the developer side.14:01
len-dtPA-jack bridge should only be used in a very few places. One is recording from gstreamer... I would prefer to see PA improved to allow patching an output to an input for that.14:02
len-dtThe other is to use PA with firewire stuff.14:02
ailoYou can't anticipate what people will use software for14:02
ailoBut, you can make it behave well14:02
ailoI think the jack bridge would probably be handy in a lot of situations14:03
len-dtI don't think the module can be made in such a way as to have PA not affect jack or vis versa.14:03
ailoWhy not?14:03
len-dtI do think that for it's uses the user just has to accept higher latencies where it works just fine.14:04
len-dtIt has to be that way because the two apps have to be in sync14:04
len-dtPA when bridged to jack has to sync it's audio to jack14:05
ailoThat is not different from any other software with jack support14:05
ailoBut, by improvement, I was more talking about when you are not using PA14:06
ailoRight now, jack sink and source are always on, even when they are not used14:06
len-dtYes and any other SW that behaves badly can affect any of the software that is using jack at the time.14:06
len-dtAt least that is what I have found.14:07
ailoPA doesn't need to sync with jack, if it's not connected to jack14:07
ailoThere are three modules at play here14:07
len-dtAs soon as the bridge is loaded it has to sync.14:07
len-dtPA starts feeding jack silence 14:08
len-dtbut that silence has to be in sync14:08
ailomodule-jackdbus-detect, module-jack-sink and module-jack-source14:09
ailoWe only need the jack sink and jack source to be spawn once we connect14:09
ailoRight now they are on, even if we aren't using them14:09
len-dtThe detect module auto loades the other two and unloads them .14:10
ailoThat is what I would like to improve14:10
ailoMake it not load the sink and source, until you choose jack as sink or source in the PA mixer14:10
len-dtailo,  they can't show up on jack as a connectible source unless they are in sync.14:10
ailoYou don't need them to be in sync, until you spawn them14:11
ailoWe'd want jack sink and source to appear in the PA mixer, but not actually be loaded, until chosen14:11
len-dtThe solution (I think) it to have just the module be in sync until PA connects a source to them.14:12
ailoI also think it's confusing having PA show in jack, when PA is not connected to jack14:12
len-dtHow does the module know when you want it to appear in jack?14:13
ailojack is connected to the module, but not PA14:13
ailoWhen you choose jack sink or jack source from PA mixer, the sink and source should appear in jack14:13
ailoThat is the way I would do it14:13
ailoShould probably not take too much coding to make that happen14:14
len-dtailo, OK I don't know that I want to be the one to sugest this to David though :-)14:14
ailoI should probably discuss this option somewhere. Maybe the PA mail list14:15
len-dtYou need to define it really well first14:16
len-dtHave a use scenario ready.14:16
ailoThe logic is pretty simple. Have PA not interact with jack, until when jack is loaded, and you have chosen jack as either sink or source from PA mixer14:17
ailoThere's no reason for PA to interact with jack, when you are not using it with jack14:17
len-dtActually, I would want to be able to choose jack as a sink or source even before jackd was running. If jack is not running it should act the same as a dummy output sending the audio stream to nowhere14:18
ailoWould you want the same thing for a device, that is no longer there?14:19
len-dtYes the logic is very simple, but unless the implementation is well defined what we end up with could be worse.14:20
len-dtJack is different from a device. Jack may be expect to vanish and reappear. And a user may wish it to remain as default device if that is their only device because they are using firewire14:21
ailoDefault yes, but not when it's not there. I'd have it auto route to whatever was used before jack was chosen14:22
ailoAnd when turning on jack the next time, auto route back to jack14:22
len-dtyou and I differ there14:22
ailoIt would be great if jack could be controlled from the PA mixer, with session control, and connection abilities, simplified, all from the same place14:23
ailoWith a jack addon14:23
len-dtailo, jackd could use improvement, PA could too.14:24
len-dtjackd should (in my opinion) deal directly with two IFs in sync without having to pretend it was all one device in alsa.14:26
len-dtjust as an example.14:27
len-dtPA should allow patching of its outputs and inputs... 14:27
ailolen-dt: Btw, there was a post about xruns not being real xruns on the jack devel list. 14:28
len-dtYes, I saw that, but anything I can hear is a real one.14:28
ailoHe was using two as one. I think perhaps he's the same guy who talked about that before14:29
ailoThat there may be xruns, but they aren't really causing any trouble14:30
len-dtThe problem with using two as one is that besides all the fake xruns, with some setup jack had to be started a few times before it would work at all. It is not stable.14:31
ailoI never did much testing myself, but once I did get it going, it just worked for me14:32
ailoIt is however bad that it is so hard to get +8 channels for linux audio14:32
len-dtyes some people have that experience and it seems other with the same IF don't14:32
ailoYou can daisy-chain firewire devices, and it is said to work alright, but will it sync properly?14:33
ailoPropably too few people do that sort of thing14:33
len-dtI don't have any to play with. ailo my short experience in testing has shown me that much of what I read does not work and that what works for me is not universal.14:34
ailolen-dt: This is why we need to add more machines and devices to the mix. You have usb, I don't. I do have firewire, pci and builtin. And a bunch of machines, older and newer14:36
ailoIf we just do the same tests on all of them, we should start to see patterns14:36
len-dtthat is a start and will at least tell us what is happening with a stock install.14:37
ailoI have 3 machines + this one hooked up right now. Another 2-3 could be added (notebooks and a netbook)14:37
ailoIf we automate tests, using scripts, it will make things easy enough14:37
len-dtI wish I could disable the internal sound on my netbook.14:38
len-dtailo, I think swappiness should be added to studio controls. It appears the stock setting for ubuntu is wrong for desktops let alone audio14:39
ailoIf the stock settings are wrong for all sorts of desktops, I would recommend changing them by default. But, for further control, sure. Put them in controls14:40
ailoI still think it's too early to talk about implementation. We just need to go through all tweaks, test them, document them. Decide, and then implement14:41
ailoIf we can make a sketch of the whole thing, as well as further ideas for -controls (administering user realtime privilege, and perhaps installing codecs and stuff like that), we can start making the -controls even before we know exactly what it should control14:42
ailoBut, that's not really an issue as far as testing goes14:42
len-dtYes it should be reported as bug/feature request. ubuntu's wiki recommends something different from what ships, so what ships should change or the recommendation should change 14:43
len-dtThere is already a bug: Bug #977319 about this. I just confirmed it. Does it make any difference if more people say it effects them?14:56
ubottuLaunchpad bug 977319 in ubuntu-meta (Ubuntu) "Swappiness not optimal for desktops" [Undecided,Confirmed] https://launchpad.net/bugs/97731914:56
ailoThat bug did not have many responses, so I would think so15:02
ailoPerhaps there are more bugs on the same subject?15:02
len-dtBug #51683415:03
ubottuLaunchpad bug 516834 in linux (Ubuntu) "bad default swappiness for desktop systems" [Undecided,Confirmed] https://launchpad.net/bugs/51683415:03
len-dtI think a lot of people don't know they have this problem15:04
ailolen-dt: Did you read the comments for the last link?15:11
len-dtI'm doing so... it is fun.15:14
len-dtIt seems that for a machine that is basically out of memory a high swappiness value is better. But how many people have that. Once you have just a bit more memory lower is better.15:15
len-dtHowever comment 41 says it all. That is whay there is a new bug.15:16
ailolen-dt: Not a lot of interest to fix it, seemingly15:17
ailoThere's no stopping US from adding a fic15:18
len-dtailo, no15:18
len-dtyes, I think we need to.15:18
ailoI wonder how other distros does this15:18
len-dtaudio is different enough from even desktop use to warrent it.15:18
len-dtI would check kubuntu as they seemed to have the most interest in it.15:19
ailomint aught to be interested in this, being very desktop orientated15:21
ailoFedora, perhaps15:21
len-dtIt seesm the settings guys don't want to change it... should be kernel... kernel says no... and it ends there.15:22
len-dtIf all the *buntus put it in that may change '=_15:22
ailoI think Fedora also uses 6015:23
ailoJust found, quote "after upgrading default swappiness in Fedora 11 has been modified to 40 from 60!! "15:24
len-dtLinux has traditionally been driven by server use.15:24
ailoWell, that was just a request :)15:25
ailoI don't think Mint uses their own kernels, so they won't change that either propably15:26
len-dtit is not a kernel change but a settings change. They can do it in just their own distro.15:27
len-dt"Swappiness can be reduced by editing /etc/sysctl.conf."15:27
len-dtCanonical actually gets paid for support by their business users and so that is likely to remain first concern15:35
=== shnatsel is now known as shnatsel|busy
Len-nbailo, our ISO is still not building, what steps can we take?22:26
Len-nbLooks like a package incompatibility with something xfce4ish but I note xubuntu doesn't have the same problem. They don't seem to have fixed anything either, so it is something we have set up.22:28
Len-nbNot something we have changed though, so some change in packages we use. I am guessing I will have to do a 12.10 install to find out more... nap first :-)22:30

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