IRC log of #maemo for Sunday, 2017-01-29

bencohOksanaa: it runs a broswer instance00:00
bencoh(and thus needs browserd)00:00
bencohapart from that.... no idea00:00
OksanaaWould like to know what catches these alerts. Because there is a bug or two, I would say. For example, while one-to-one IMs do have avatars, multiple-people Chats have just default grey avatars.00:01
*** pagurus has quit IRC00:02
bencohOksanaa: tbh I sometime think I'd love a rtcom-messaging-ui replacement00:02
bencohwith a native (gtk) UI instead of this web thing00:03
OksanaaDocumenting how rtcom-messaging-ui currently works would be a neat step towards putting in an open-source replacement. Gry agrees that GTK-ish UI would be better than web thing.00:03
Juestohm00:04
Juestoshould i email tech staff about login issue?00:05
OksanaaWhich login issue?00:05
Juestooksanaa, yesterday i've registered to garage and i cant login to maemo.org still00:05
OksanaaHave you received confirmation email or anything?00:06
JuestoYes i did validate my email00:06
OksanaaMatch case applies to login. For example, my login is "wikiwide" for some reason, not "Wikiwide".00:07
Juestoyes, i used all lower case and its still not working, i've read the note for new users that appears on a failed login...00:07
OksanaaFeel free to email techstaff for assistance.00:09
* Juesto prefers chat00:10
Juestoapparently xes is not here for some reason00:10
OksanaaWell, warfare is here, no idea who of them knows more about failed login of new garage user at maemo.org. Anyway, xes is probably sleeping, he was last seen 8h ago, according to NickServ.00:12
Juestothanks, i'll await for an answer then00:13
*** pagurus has joined #maemo00:14
*** ravelo has quit IRC00:18
OksanaaI wish I knew what maemo launcher is. Anyway, rtcom-messaging-ui includes two very-very simple service files, one a little longer (but also simple) client file, html and smilies, and finally, desktop file and binaries; one of them .launch.00:26
Juestoisnt maemo launcher hildon desktop  or something?00:30
OksanaaDifferent things. Maemo launcher is connected with how I see, in addition to /usr/bin/X, also /usr/bin/X.launch. And while X is a dummy link to maemo launcher, X.launch is the real file.00:32
OksanaaI imagine it's to avoid having two instances of the same program?00:32
Juestocould be00:36
OksanaaGoing into reboot. Will see whether manual fsck -aw was good enough to fix the eMMC.00:41
*** pagurus has quit IRC00:41
*** Oksanaa has left #maemo00:41
*** pagurus has joined #maemo00:44
*** Oksanaa has joined #maemo00:46
OksanaaUnable to create unique name, fsck says... Whatever that means.00:47
Oksanaa7min already. At least, it speaks of none of these cluster problems.00:52
*** pagurus has quit IRC00:56
bencohVajb: the working volume keys when playing music with OMP/mediplayer is due to mafw-gst-renderer (periodically) requesting com.nokia.mce.request.req_keypad_off_pause when playing music00:57
bencoh"Prevent keypad off - On this request mce keeps keypad unblocked next 60 seconds" // mce/dbus-name.h00:58
OksanaaSo it's whole keypad being kept awake just because music is playing?.. Fun. | Agree that bookmark engine is buggy. It swallowed (lost?) whole folders of bookmarks on occasions.00:59
bencohnow I'd like to know why playback stops for a few seconds when pressing power key, except for mafw-gst-renderer-based players01:00
bencoh(although right now I'll actually just head to bed)01:02
OksanaaPower key is related to system-ui01:03
bencohyeah01:03
bencohbut I didn't find any systemui reference in mafw01:03
bencohat least in mafw-gst-renderer01:03
OksanaaNo idea. | Interesting: https://garage.maemo.org/projects/mafweqrenderer/ | Actually, fsck took only 1min this time, I just didn't notice it because was staring at tail -f /var/log/fsck.log01:07
JuestoSounds you're good now, oksana :)01:09
Juestooksanaa ^01:09
*** vectis3 has joined #maemo01:24
Juestofreemangordon: what do i download? devuan is working :)01:38
*** dafox has joined #maemo02:32
*** florian has quit IRC02:35
*** Oksanaa has quit IRC02:37
*** SmilyOrg has quit IRC02:40
*** SmilyOrg has joined #maemo02:40
*** Oksanaa has joined #maemo02:41
*** vectis3 has quit IRC02:51
*** vectis3 has joined #maemo02:52
OksanaaFunny, reading rtcom-messaging-ui. There is partially implemented functionality of changing themes. No visible buttons to do it.02:56
Juesto:D02:58
Juestohidden funcionality \o/02:59
*** dafox has quit IRC03:19
*** xes has joined #maemo03:23
Juestohello xes, i am unable to login onto maemo.org after registering on garage and validating email03:41
*** hurrian has quit IRC03:46
*** hurrian has joined #maemo03:48
*** xorly has quit IRC03:53
*** hurrian has quit IRC03:53
*** hurrian has joined #maemo03:53
*** hurrian_ has joined #maemo04:19
*** hurrian has quit IRC04:22
*** Pali has quit IRC05:30
*** drrz has quit IRC05:33
Juestomorning europe07:12
Vajbbencoh: so this sounds to me that it could be set as changable option in OMP. Or im guessing too much?07:14
*** Oksanaa has quit IRC07:16
*** Oksanaa has joined #maemo07:21
OksanaaWas changing battery right now. Had surprising GUI glitch before that, even Ctrl+Backspace didn't work, while powerkey and systemui did work. Wish Ctrl+Shift+P was working...07:22
Vajbbencoh: i've always thought of that short playback pause caused by cpu resources being used to bring up unlockslider07:31
*** DocScrutinizer05 has quit IRC07:45
*** DocScrutinizer05 has joined #maemo07:45
bencohVajb: you'd have to patch mafw-gst-renderer and expose some option through its API (or through dbus)08:24
bencohVajb: the playback pause doesn't happen when playing with mafw-based players08:25
Juestofreemangordon: i guess my system is ready... what do i need to download and compile exactly?08:30
Vajbwell i could argue that running anything else, but mafw-based is that more taxing, but honestly i have no idea08:30
bencohit's actually roughly equivalent when it comes to audio playback (unlike video)08:31
Vajbhmm maybe different route through sw layers08:34
bencohit's a completely different code but audio playback through dsp still takes cpu anyway08:37
Vajbbeats me08:41
freemangordonJuesto: do git clone of hildon-desktop, it will tell you all the needed dependencies09:23
freemangordonJuesto: hildon-desktop from https://github.com/fremantle-gtk2/09:24
freemangordonalmost all the needed stuff is there as well09:24
NeKitwhat extra libs are needed to try launching apps from SDK chroot?09:25
Juestofreemangordon: differences ?09:26
Juestobetween the gtk versions of hildon09:27
freemangordonNeKit: SDK chroot == ScratchBox?09:28
NeKityes09:28
freemangordonJuesto: gtk3 hildon is not ready at all09:28
freemangordonNeKit: I am not aware of any, it should work OOB09:28
freemangordonbut, last time I tried was a couple of years ago, so... :)09:29
*** Oksanaa has quit IRC09:36
KotCzarnycould it be pulse audio related? (audio pause when ui activity does some system work)09:39
KotCzarnyanother thing to try would be renicing player to -2009:39
KotCzarnyim only renicing oscp playback to -1, and it still skips09:40
KotCzarnybencoh: audio playback through dsp takes a lot less code than with sw decoding09:41
KotCzarnyand a lot less mem bandwidth09:41
freemangordonKotCzarny: try to move the player to multimedia(or somesuch) cgroup09:41
KotCzarnyfmg: got a handy c func?09:42
freemangordonKotCzarny: no C code, just look in /system09:42
KotCzarnyuhum09:42
freemangordonalso, there was something in /etc, ohmd related09:42
freemangordoncan't remember the details09:43
KotCzarnyhttps://bugs.maemo.org/show_bug.cgi?id=713209:43
povbotBug 7132: audio hiccups in fm radio when sleeping09:43
KotCzarnyhe he.09:43
KotCzarnysurprisingly its still 'NEW'09:44
bencohhuhu09:45
bencohKotCzarny: it could be pulse related, although I doubt it, since it should occur with mafw as well then09:45
bencohand my players already are in the same xpolicy group as mafw09:45
Juestofreemangordon: why NEWS and README is empty?09:46
bencoharen't they always? :D09:46
bencoh(j/k)09:46
KotCzarnyhe is a dev, not doc person09:46
KotCzarny;)09:46
Juestoconfigure doesnt even exist lol09:47
Juestoum09:50
Juestoim a bit stuck here...09:50
freemangordonJuesto: which pakcge is that?09:50
freemangordon*package09:50
Juestodownloaded fremantle-gtk2/hildon-desktop09:50
Juestoand i dont know to ./configure09:51
freemangordondownloaded?09:51
Juestoyeah, git clone09:51
freemangordonah09:51
freemangordonyou should dbpkg-buildpackage -rfakeroot -b09:51
freemangordon*dpkg-buildpackage09:51
freemangordonJuesto: make sure to not do ^^^ as root09:51
Juestowell the instructions are wrong lol09:52
Juesto:/09:52
Juestoim rooted right now09:52
Juestoand its in a root dir09:52
freemangordonJuesto: which instructions?!?09:52
freemangordonthis is debian source09:52
JuestoINSTALL09:52
JuestoRight in the repo09:52
Juestolol09:52
* Juesto shrugs09:52
freemangordonwell, if you want ./configure, you should do autofoo stuff by hand09:52
freemangordonbut you'd better use debian scripts09:53
Juestoautogen.sh and ./configure-ac09:53
Juestothere is09:53
freemangordonyes, but better nto do it09:53
freemangordonas debian/rules does more things09:53
Juestowhats the problem with rooted enviorment for the package building09:53
freemangordonyou should not pass -rfakeroot to dpkg-buildpackage in that case09:54
freemangordonas you're already root09:54
freemangordonjust that09:54
freemangordonKotCzarny: look in /usr/share/ploicy/09:55
freemangordongrrrr09:55
freemangordon"/usr/share/policy"09:55
KotCzarnyfmg, will do, but i suspect its cpu/mem bandwidth starvation/stall09:56
freemangordondoes stutter happen all the time?09:56
KotCzarnymost noticable on screen lock/unlock09:57
freemangordonwhat is the cpu load?09:57
KotCzarnyand when notifications show09:57
freemangordonKotCzarny: the it is a priority thing09:57
freemangordon*then09:57
freemangordonaiui09:57
KotCzarnywill try -20 first then cgroups, then both09:57
KotCzarny(as soon as i find the charger, poor thing is hungry)09:58
freemangordonif you do cgroups, you should not change the priority afaik09:58
Juestofreemangordon: got like... 10 unobtainable package dependencies09:59
Juesto5am in here10:00
freemangordonKotCzarny: you should move to either "media" or "mediasrc" group10:00
freemangordonJuesto: that's normal :)10:00
freemangordonJuesto: just git-clone the relevent packages, build and install them10:00
freemangordonyou'll have more missing stuff, but the code is on the repo10:01
Juestoinstalling what's standard/exists10:01
Juestofull xserver dev stuff apparently10:01
freemangordonif there is a dependency that is not on github, then you should the standard package by using apt-get10:02
freemangordon*should install10:02
JuestoI already did that lol10:02
freemangordongood10:02
Juestoexcept the github ones10:02
freemangordonhow did you found what -dev packages are needed?10:03
freemangordon*find10:03
* freemangordon needs more coffee10:03
KotCzarnyfmg, you can copypaste your converstion with juesto into BUILD file ;)10:03
KotCzarnywill also serve as FAQ10:03
freemangordonKotCzarny: /me is developer, not doc writer :p10:03
KotCzarnydevelopers do copypaste a lot sometimes :P10:04
freemangordonKotCzarny: Even if I can take over the everything, I refuse to10:04
KotCzarnyso you should be proficient with that skill10:04
Juestofreemangordon: should i just download the entire fremantle-gtk2 ?10:04
Juestodownload = git clone10:05
freemangordonJuesto: actually yes, but I have no idea if it is possible10:05
freemangordonto do it with one command only10:05
Juestoit is possible10:05
Juestowell not10:05
freemangordonyou have to git clone package-by-package10:05
freemangordonbut yes, everything there is needed10:05
freemangordonthose are about maybe 7-% of fremantle core packages10:06
freemangordondaaamn10:06
freemangordon70%10:06
freemangordonKotCzarny: do you think it is "fair" /me to take all the job?10:07
KotCzarnynot at all10:07
freemangordonand do you think it makes sense if nobody else is interested?10:07
KotCzarnybut right now you have to repeat all build steps for new people10:07
KotCzarnyand having this thing copypasted would save you some time10:07
freemangordonKotCzarny: hopefully that would change soon10:07
JuestoI'm going to write down instructions perhaps10:08
freemangordonas I expect to have a repo on either devuan or maemo servers someday10:08
freemangordonso no manual build will be needed10:08
freemangordonI am wating to see what Wizzup will do with autobuilder and repo with devuan guys10:09
freemangordonif he fails, we'll setup a deb repo on maemo servers10:09
freemangordonhopefully, if the community is fine with that10:10
*** florian has joined #maemo10:11
freemangordonJuesto: good10:11
bencoh10:08 < Juesto> I'm going to write down instructions perhaps10:19
bencohthat's the spirit :)10:19
freemangordon:nod:10:19
bencohKotCzarny: did you try the /usr/share/policy thing?10:19
freemangordonI guess he is still looking for a charger :p10:19
Juestodone, i checked out everything10:20
Juestofreemangordon: anywhere i can find the dependency chain?10:20
KotCzarnybencoh: so its an entry in some system text file?10:20
Juestoam i the first into this?10:21
bencohJuesto: debian/control?10:21
Juestoi have the feeling im not10:21
freemangordonJuesto: dunno, every package dependencies are in debian/control10:21
bencohKotCzarny: no idea yet10:21
Juestohm10:22
freemangordonJuesto: there is a command to install those dependencies, gimme a minute10:22
Juestofreemangordon: what i am looking for is the entire dependency tree10:22
bencohinterestingly enough there is a rawcam entry there10:22
freemangordonKotCzarny: just move the pid to the appropriate dir in /system10:23
Juestonot what each repository comes with x packages10:23
*** Oksanaa has joined #maemo10:23
freemangordonJuesto: i don;t think you can get the whole dependency chain10:23
freemangordonbut i am not *thet* good in debian packaging, so...10:24
freemangordon*that*10:24
Juestofreemangordon: okay i tried.... apparently i have to hack up something where it automatically cds and builds10:25
JuestoShould i just skip deps or they are required?10:25
KotCzarnyhmm, fmg, which /system are you talking about?10:26
freemangordonJuesto: re if you're the first - no, you're not10:26
Juestoapparently the default is build both src and bin10:26
KotCzarny[classify system] ?10:26
KotCzarny[classify mediarend] ?10:26
bencoh/sys I suppose10:26
bencoherr maybe not10:27
KotCzarny /usr/share/policy/etc/rx51/syspart.conf10:27
freemangordonJuesto: it might be faster is you just cd to the needed package directory and do "dpkg-buildpackage -b" and then install the produced .debs10:27
KotCzarnythis one probably10:27
* freemangordon checks10:27
freemangordonyeah, /syspart10:28
Juestofreemangordon: im trying a faster way10:28
Juestoautomation10:28
freemangordonok10:28
freemangordonKotCzarny: hmm, seems there are no relevant dirs there10:29
freemangordonso you should add your binary in the policy file10:29
freemangordonand probably restart ohmd10:29
KotCzarnywill try classify mediasrc10:29
bencohI see mafw-gst-renderer there10:29
bencohso you might be right :)10:30
bencohif yes that'd be really cool10:30
freemangordonKotCzarny: /usr/share/policy/etc/current/syspart.conf10:30
KotCzarnyhow do i restart ohmd?10:31
bencohstop/start?10:31
* KotCzarny is services n00b10:31
* freemangordon wonders if ohmd supports something like run-parts10:31
freemangordonyep, stop/start shoud do the job10:31
KotCzarnysyspart didnt change a thing10:32
KotCzarnyrenicing oscp audio renderer thread to -20 worked10:33
KotCzarnyso i was right about cpu starvation10:33
freemangordonKotCzarny: try to reboot10:33
freemangordonit could be something else besides ohmd that needs to be restarted so syspart change to take effect10:34
freemangordonKotCzarny: also, -20 is too much imo10:34
KotCzarnyi know10:34
freemangordonok10:34
KotCzarnyi was just checking if it changes anything10:34
freemangordonyeah10:34
KotCzarnyunlock takes a tiny bit longer, but no audio skip10:35
KotCzarnyi might add it as a config option10:35
KotCzarnybtw. there are some binary things in /usr/share/policy/rules/rx5110:35
KotCzarnymaybe policies need to be 'recompiled' ?10:35
freemangordonyes, some prolog stuff :)10:36
freemangordoncould be10:36
KotCzarnylets see if they change after reboot10:36
freemangordonKotCzarny: https://github.com/community-ssu/policy-settings-rx5110:37
KotCzarnybtw. can i check current cgroup in /sys somewhere?10:37
freemangordondunno10:37
freemangordonit should be possible, but...10:37
Juestoim trying quick and dirty10:38
Juestorepeating a mass build package10:38
Juestoand then dpkg -i *.deb10:38
KotCzarny /proc/<pid>/cgroup10:38
KotCzarnycurrently 7:freezer,memory,cpu:/10:38
KotCzarnyreoot time.10:38
KotCzarnyhmm, fun fact, on reboot when x dies i saw last pic i was viewing in pic viewer (or maybe captured by camera)10:39
freemangordonJuesto: the first to try was NeKit, on android phone, in arch linux chroot iirc :)10:41
freemangordonNeKit: right ^^^10:41
KotCzarnyreboot didnt change a thing10:42
NeKitwhat a weird mix, lol10:42
KotCzarnystill skips10:42
bencohwhat are you trying btw? gtk3 on maemo?10:42
NeKitat least those 8 cores can be put to some use10:42
Juestobencoh: fremantle-gtk2 on devuan\10:42
bencohah10:42
freemangordonKotCzarny: could you check in which cgroup it is now?10:43
KotCzarnyyes, the one i've pasted10:43
KotCzarny09:38 #maemo |> currently 7:freezer,memory,cpu:/10:43
KotCzarnysame as mafw-renderer10:43
freemangordoncould you check where is PA?10:43
Juestojuesto.pw:960010:43
JuestoVNC ^10:43
KotCzarnyfmg: same10:44
freemangordonyeah10:44
KotCzarnychecked some other process for comparison: /usr/libexec/gst-video-thumbnailerd, 7:freezer,memory,cpu:/applications/standby10:45
Juesto...10:45
KotCzarnyso either policies arent working or something else is wrong10:46
freemangordonhmm, yeah, there is somethign weird10:46
Juestois SELinux enabled?10:47
freemangordonanyway, me gtg10:47
* Juesto sighs10:47
freemangordonbye, bbl10:47
Juestoi guess i'll sleep10:47
freemangordonJuesto: I don;t think you'll need my help anytime soon10:47
freemangordonyou have lots of packages to build10:47
KotCzarny:)10:47
Juestoactually yes, still missing stuff freemangordon10:47
freemangordonyou have to build and install ~30-40 packages before hildon-desktop is buildable10:48
freemangordonI really hope we'll have a functional debian repo soon10:49
freemangordonbut until then...10:49
freemangordonanyway, bye10:49
KotCzarnyfun fact, oscp pauses playback during phone call, didnt knew it does that :>10:49
KotCzarnymost likely audiodevice stops accepting data and it waits10:49
Juestowelp, do i need to use upstart?10:50
Juestoshould i switch to ubuntu?10:50
KotCzarnyjuesto: recommended10:50
KotCzarnydevuan10:50
KotCzarnywe hate systemd here10:50
JuestoKotCzarny: It seems to remove sysv and put upstart10:51
Juesto:/10:51
Juestoi am neutral10:51
KotCzarnyas long the system boots..10:51
KotCzarny:)10:51
KotCzarnyi think upstart honors sysv scripts10:51
KotCzarnyand upstart itself is very simple to use10:51
KotCzarny(i know, i was using sysv before and had to change something in n900)10:52
Juestohm10:53
Juestointeresting10:53
KotCzarnyhttp://pastebin.com/raw/dB6x2Wc910:53
KotCzarnycgroups are b0rken?10:53
KotCzarnymaybe that policy thing doesnt use cgroups but something else?10:54
KotCzarny(stock n900 here btw.)10:54
KotCzarnybencoh, can you paste /proc/cgroups if you have cssu?10:54
bencohcpu 7 6 110:55
bencohsame for memory and freezer10:55
JuestoIn what order i should install the debs10:57
Juesto...10:58
Juestoeither i install upstart-dev or maemo-system-sevices-dev10:59
Juesto:|10:59
freemangordonJuesto: oh, don't install upstart-dev, sorry, it was deprecated some time ago11:01
freemangordonI have to remove it from the repo11:01
Juesto:/11:01
Juestoi'll remove that then11:01
freemangordonis is superseded by maemo-system-sevices-dev11:02
Juestofreemangordon: also https://defuse.ca/b/MXjB2GJk11:02
freemangordon"Sorry, the paste you were looking for could not be found. "11:02
Juestolowercase g sorry11:03
Juestohttps://defuse.ca/b/MXjB2gJk11:03
freemangordonJuesto: hmm, make sure you're on the correct branch11:04
Juestoim on fremantle-gtk211:04
freemangordonyou need branches with gtk2 or clutter1 in the name11:04
freemangordonno, for individual packages that is11:04
Juestoah11:04
freemangordongit branch -a will list all the branches11:04
Juestoi have a mixed system11:04
Juestoah11:04
* freemangordon is afk11:04
bencohhm, btw. freaking old, but ... http://wiki.maemo.org/Maemo_on_Debian11:09
Juestoi have a headache11:09
bencohI dont think they got anywhere, but ...11:09
*** L29Ah has left #maemo11:16
*** L29Ah has joined #maemo11:22
Juestohow do i switch branches11:53
Juestoim used to tortoisegit11:53
bencohgit checkout <branch>11:54
Juestodoesnt match it says11:55
bencoh?11:55
Juestogit checkout gives pathspec didnt match any files known to git11:56
Juesto:/11:56
Juestoi had to use -B11:59
KotCzarny[rule /opt/oscp/bin/oscp]12:01
KotCzarnygroup mediasrc12:01
KotCzarnythis works, weird12:01
KotCzarnycant make it skip anymore (lock/unlock, running telephony app etc)12:02
KotCzarnybencoh, freemangordon: ^^^12:03
KotCzarnynow, how do i sensibly modify syspart.conf on install?12:03
bencohKotCzarny: why didn't it work earlier then?12:04
bencoh(because that's exactly what fmg was referring too ;p)12:04
bencoh(and what I was referring to when I said I found mafw-gst-renderer there)12:04
KotCzarnybencoh, i've tried to add it in [classify mediasrc]12:04
KotCzarnythat didnt work12:04
bencohah, well12:04
KotCzarnybut amazingly, cant make it skip anymore :)12:05
JuestoFinally im managing someting!!12:05
KotCzarnyeven running cpu intensive things (as starting oscp-remote.py12:05
Juestosomething*12:05
bencohKotCzarny: I don't think it was cpu-bound anyway :)12:05
Juestoi feel horrible12:05
KotCzarny:)12:05
bencohbut great, thanks a lot! :)12:06
KotCzarnyi cant imaging running .py script affecting audio12:06
KotCzarny*imagine12:06
bencohKotCzarny: starting oscp-remote made it stutter?12:06
Juestofreemangordon: Finally! compiled libmatchbox2 in upstream-gtk212:06
KotCzarnyyeah, because running py scripts require quite a lot of cpu at start12:07
KotCzarnyand even sometimes opening new windows (info, help etc)12:07
Juestonow im actually getting somewhere12:09
bencohKotCzarny: well, good to know anyway12:10
bencohI wonder if this file can be fragmented12:10
bencohbecause you don't want to alter it on every player package installation12:10
KotCzarnyi dont see any include or similar entries12:10
bencohI saw a similar one with rawcam12:10
bencoh(similar file)12:10
KotCzarnymaybe it manages its own cgroup?12:11
bencohbut I haven't dived further12:11
KotCzarnyi will have to invent some sed magic for oscp now (with checking if modification is needed)12:11
bencohI'll have a go at it this evening (in case there's anything left to do, that is ;p)12:11
bencohI'd rather not, but ...12:11
bencohactually same goes for xpolicy (pulse policy) btw12:12
KotCzarnyi think pa doesnt have to be modified12:12
bencohI had to manually add games/emulators to [games] and players/radio/whatever to relevant groups12:12
KotCzarnyunless you do some voice related work12:12
bencohnot regarding that issue no12:12
bencohbut if you want to be able to listen to music while still in silent mode ...12:12
KotCzarnyo.O12:13
* KotCzarny checks12:13
KotCzarnyoh wow12:13
bencohyeah ;p12:13
bencohthey really messed that one12:13
KotCzarnyyou are right :>12:13
KotCzarnyotoh, silent is silent, right? :P12:13
bencohthe thing is ... connecting headphones doesn't change that behavior12:14
bencohand default mediaplayer on the other hand can always play music (be it in silent or general, with or without headsets)12:14
bencohso you'd expect either 1. a consistent experience, or 2. hearing something when connecting headphones, even in silent mode12:15
bencohanyway :)12:15
bencoh(another solution would be to patch responsible daemon to switch to general when pluggin headphones and revert back when unplugging - and even that is not a proper solution)12:16
KotCzarnyhmm, which group should i add to?12:20
*** Pali has joined #maemo12:20
bencohplayer, iirc12:20
bencohjust look for mafw in xpolicy ;>12:21
Juestostarting to write notes12:21
bencohJuesto: yay12:21
Juestoand just covering what i needed to do specific to the thing12:21
Juestoi am omitting all the deps that the user can install from the distro12:22
KotCzarnybencoh, what service shall i restart for xpolicy.conf ?12:29
bencohpulse12:30
KotCzarnystop: Unknown job: pulse12:32
Juestoisnt pulseaudio?12:33
Juestooh nvm12:33
KotCzarnyyeha, pulseaudio12:34
KotCzarnyfixed silence in silent mode, but it skips again12:35
KotCzarnyhrrm12:36
Juestocheck resources usage?12:37
Juestoare you sure the media isnt corrupted?12:37
KotCzarnyafter restarting ohm after pulseaudio fixed it12:38
KotCzarny2 essential fixes in one day, yay12:38
KotCzarnynow to add them to installer.12:38
Juestofreemangordon: i use the gtk2 branch for libhildondesktop anyway ?12:39
Juestoit appears older12:39
Juesto9 commits ahead and 6 behind master12:39
Wizzupfreemangordon: (re ping) I have time to work on it in the eve. So I expect first results tonight12:40
Juestooh hey there12:40
*** MIchael_a380 has joined #maemo12:40
Wizzuphi12:40
Juestoim going through the package building as you saw... :)12:40
Wizzupgreat. I need to read the backlog in full still12:41
bencohKotCzarny: wait, restarting pulse after ohm broke the stuttering thing?12:43
bencohand restarting ohm after pulse fixes it back?12:43
*** L29Ah has left #maemo12:44
WizzupJuesto: just curious, for what device are you building12:46
JuestoWizzup: none12:47
Wizzupok, just your laptop/desktop?12:47
Juestoyep, rebasing for devuan...12:47
Juestosee the conversation i had yesterday12:47
*** shentey has joined #maemo12:49
WizzupJuesto: by rebasing, you mean building?12:51
WizzupOr do you mean you're modding the debian build scripts?12:51
JuestoWizzup: just building12:51
Juestoagain, see the conversation yesterday, started on -ssu then moved here. Wizzup12:52
Wizzupok, I read the log. I just wanted to check.12:54
WizzupSince you said 'rebasing' :)12:55
xesJuesto: hi! I'm looking into your login problem13:01
*** L29Ah has joined #maemo13:04
KotCzarnybencoh: yeah13:16
*** MIchael_a380 has quit IRC13:17
*** L29Ah has left #maemo13:22
*** luf has joined #maemo13:22
*** Oksanaa has quit IRC13:23
*** L29Ah has joined #maemo13:30
*** L29Ah has left #maemo13:31
*** L29Ah has joined #maemo13:56
*** MetalGearSolid has quit IRC13:56
*** hurrian has joined #maemo14:08
*** hurrian_ has quit IRC14:08
*** ceene has joined #maemo14:11
*** hurrian has quit IRC14:14
*** hurrian has joined #maemo14:14
*** tm has quit IRC14:18
*** NeKit has quit IRC14:27
*** NeKit has joined #maemo15:08
*** L29Ah has left #maemo15:11
*** L29Ah has joined #maemo15:11
KotCzarnybencoh, oscp 0.9.67 in repos, no skipping, no muting ;)16:03
bencohKotCzarny: in free?16:04
KotCzarnysoon, if you want source you can grab my arch package16:04
KotCzarnyi have yet to repackage it for maemo's autobuilder16:04
bencohnice16:04
KotCzarnywhich will be adventure in itself, right now i dont have to care about ancient autobuilder's gcc16:05
*** xorly has joined #maemo16:05
bencohthat shouldn't be that of a problem16:05
KotCzarnyit is for libav16:06
bencohancient ffmpeg, on the other hand...16:06
bencohdo you seriously intend to ship with a builtin ffmpeg?16:06
bencoh(and seriously drop libav ...)16:06
KotCzarnynope, i will probably make oscp-libav package16:06
bencoh*sigh*16:06
bencohiirc there is already a not-to-old ffmpeg in maemo16:06
KotCzarnylibav is cleaner and saner than ffmpeg16:06
KotCzarnyffmpeg is 'oooh, a patch!, lets add it'16:07
bencohokay, I wont feed it ;p16:07
bencohanyway16:07
*** shentey has quit IRC16:08
KotCzarnyhttp://maemo.org/packages/view/libavcodec53/16:10
KotCzarnyhehe16:10
KotCzarnyso eventfull16:10
KotCzarnycan i see package voting status somewhere ?16:12
KotCzarnyit seems that ffmpeg/libav packages were created by felipec (nokia employee) and apparently promoted without any voting16:15
KotCzarnylibav-0.7 in repos is.. well, ancient16:20
KotCzarnyand ffmpeg is even more ancient16:21
bencohI think android_808 built a new one16:25
bencohbut maybe he didn't uploadi t16:26
KotCzarnydid he manage to build neon optimized one?16:29
*** spiiroin has joined #maemo16:29
KotCzarnyafair old gcc fails to compile optimizations16:29
bencohKotCzarny: I still build ffmpeg with old gcc, but it works fine enough, and you can always remove intrinsics16:36
bencohsince most interesting ffmpeg optims are built using yasm16:36
bencoh(they're neither intrinsics nor gcc inline afaict)16:37
*** shentey has joined #maemo16:49
buZzoo cool https://www.youtube.com/watch?v=JgdNwT1NOzo16:53
freemangordonJuesto: yes, gtk2 branch for libhildondesktop16:54
freemangordonKotCzarny: so, what was the final fix?16:54
KotCzarnyfmg: adding as a [rule /some/path/oscp]16:54
freemangordonKotCzarny: also, it is not that good idea to sed syspart.conf16:54
KotCzarnyfmg, got any better way?16:55
KotCzarnyand i've added few safeguards16:55
freemangordonnot sure, maybe check ohmd if it supports $dir.d run-parts type of configuration16:55
freemangordonPali: ^^^ is anything besides syspart.conf read by ohmd?16:56
bencohif it doesn't, maybe patching ohmd would be an option?16:56
freemangordonKotCzarny: if not, maybe propose a patch to CSSU :p16:56
freemangordonah, bencoh beat me to it :)16:56
KotCzarnyfmg: what about stock fremantle? :P16:56
bencoh;)16:56
freemangordonwho cares16:57
KotCzarnymy main device is stock ;)16:57
freemangordontime to move to CSSU then16:57
KotCzarnyit works, why should i? ;)16:57
bencohyeah, still dont understand why you still carry a stock device16:57
bencohbecause it ""works""16:57
bencohit's full of bugs16:57
KotCzarnywhich bugs affect me?16:57
bencohmemleaks for sure16:57
KotCzarnydidnt notice, and sometimes battery runs dry anyway16:58
freemangordonKotCzarny: no, really, I will downvote such package if it enters extras-testing16:58
bencohbattery runs dry because of bugs as well :D16:58
freemangordonKotCzarny: wgat about openssl?16:58
freemangordon*what16:58
freemangordoncertificates?16:58
bencohfreemangordon: reminds me I still havent try your foss devlock replacement16:58
bencohtried*16:58
freemangordoniisn;t it in CSSU?16:59
KotCzarnyi dont use browser much, and when i do it mostly works16:59
freemangordonKotCzarny: it is not about the browser, but anything internet related16:59
freemangordonbut yeah, it is up to you16:59
KotCzarnyinternet, but only https etc16:59
freemangordonssl, tls, etc17:00
KotCzarnyfor plain nonencrypted connections ssl isnt used17:00
freemangordonsure17:00
bencohfreemangordon: hmm it might be in -testing, but I have a -stable device with cherry-picked changes17:00
freemangordonbencoh: ah, right17:00
freemangordoncould be like that17:01
bencoh(that's quite stupid as well, tbh)17:01
bencoh(running a -stable device these days)17:01
freemangordonanyway, I expect new stable soon17:01
bencohyay :)17:01
bencohhas it been tested enough though?17:01
freemangordonbencoh: yeah, we have a new maintainer for -testing and hopefully merlin1991 will issue a new stable17:01
bencoh:)17:02
freemangordonit has been, but there is(was) noone to make the new release17:02
KotCzarnyfmg: check syspart.conf, quite a lot of things are added to that file (mahjong, lmarbles, chess, gnuchess)17:02
freemangordonKotCzarny: all those are stock nokia applications17:02
freemangordonso they were added by Nokia17:03
bencohregarding cssu packaging, I know we've already discussed it, but ... how feasible would building cssu packages using autobuilder be?17:03
KotCzarnythen its very important to add include.d functionality to syspart.conf17:03
bencohKotCzarny: yeah17:03
freemangordonI guess fully feasible, just somebody has to do it17:03
bencohsame goes for xpolicy.conf17:03
KotCzarnyotherwise ANY application not using mafw for audio will glitch17:03
freemangordonKotCzarny: :nod:17:03
bencohKotCzarny: I suspect nokia's policy back then was "thou shalt not play audio without mafw" anyway17:04
bencoh(which would be quite a good idea if it really helped saving power ... but I doubt it does)17:04
freemangordonwhich is not very smart, as afaik QT apps does not play through it17:04
bencohyeah they don't17:04
bencohphonon uses gstreamer directly17:05
freemangordonbencoh: it is not about the power, but about the priorities17:05
bencohthat too, but still17:05
*** shentey has quit IRC17:06
bencohhmm, btw17:06
bencohfreemangordon: have you ever worked with notifications on hildon?17:07
KotCzarnyis there any way to quickly grep sources repo for possible syspart.conf modifications?17:07
bencohit looks like notify_update_notification() does not work properly17:07
bencohwhich is a pity17:07
freemangordonbencoh: could be17:07
freemangordonI used them, but it was a while ago17:07
bencohit means you have to close previous notifications and open a new one from your app, which is racy unless you open the new one in the closed cb of the old one17:07
bencohwhich is ... spaghetti17:08
freemangordonKotCzarny: even if there was, I doubt you'll find anything17:08
freemangordonbencoh: :nod:17:08
freemangordonKotCzarny: modifying others config files is not the correct approach17:08
bencohwell, maybe I could try and fix notification support in our libnotify or in hildon itself instead of kludging app17:08
KotCzarnyfmg, right now there is no other way to fix this bug (because it is a bug in os)17:09
freemangordonnotifications are in hildon iirc17:09
KotCzarnywhat about opt-in with user requester? would that be passable?17:09
freemangordonKotCzarny: toldya, the correct way is to raise a bug against CSSU and ideally to provide a patch17:10
KotCzarnygot cssu bugtracker link handy?17:10
bencohfreemangordon: we use a generic lib (libnotify) between applications and hildon17:10
bencohso bug could sit there as well17:10
freemangordonyeah, could be17:10
freemangordonKotCzarny: bugs.maemo.org17:11
bencohI'll try and have a look17:11
freemangordoncool17:11
freemangordonKotCzarny: I guess there are already a couple of similar bugs17:11
freemangordonKotCzarny: wait...17:11
freemangordonmaybe it is a better idea /me to put ohmd on cssu github repo and you to raise an issue there17:12
KotCzarnyk, let me know when to post report17:12
freemangordonI know it will take a while until it hits -stable, but this is the correct way17:12
freemangordonok17:12
bencohare we still using stock ohmd?17:13
KotCzarnyhttps://bugs.maemo.org/show_bug.cgi?id=869917:13
povbotBug 8699: Sound pauses when screen is manually blanked or unbanked with the slider switch17:13
freemangordonbencoh: yes17:13
bencohwow :)17:13
KotCzarnythis is one of the reports17:13
KotCzarny2010 ;)17:13
bencohyeah17:13
KotCzarnyhitting lock when music plays is easiest to trigger this bug17:14
KotCzarnyfmg, there is similar bug in pulseaudio's xpolicy.conf, with similar fix17:14
Palifreemangordon: no idea what is used by ohmd17:15
Palianyway, ohmd is open source and maemo5 source code can be found in meego ohmd git history17:16
KotCzarnyhttps://bugs.maemo.org/show_bug.cgi?id=1109917:18
povbotBug 11099: Audio interruptions when locking screen or receiving notifications17:18
KotCzarnymaybe i shall grab all those bugs and move to some container-bug-report?17:19
freemangordonKotCzarny: it is said to be fixed in libplayback, lemme check17:20
bencohlibplayback?17:22
freemangordonyes17:23
freemangordonKotCzarny: I guess you should use it17:23
freemangordonKotCzarny: see http://maemo.org/api_refs/5.0/5.0-final/libplayback-1/playback_8h.html17:23
bencohthat thing is ... funny17:24
KotCzarnyif its better than pulseaudio api, why not, i've already added specific n900's pa interface17:24
KotCzarnywth, it plays via dbus?17:24
freemangordonlook at https://talk.maemo.org/showpost.php?p=899694&postcount=117:24
freemangordon * libplayback offers the following features:17:25
freemangordon * - Audio output when silent mode is active17:25
freemangordon * - Notifications that we should stop playing (f.e. incoming call)17:25
freemangordon * - Override of privacy mode / silent mode for our own audio stream17:25
freemangordon *   if the playback class is set to "PB_CLASS_CALL".17:25
freemangordon * - Simultaneous mute/unmute of all mics (seen on dbus: TV out, headset, headmike, microphone)17:25
bencohI wonder if it allows proper handling of volume keys when "locked"17:26
bencohthe fact that you have to modify app to run is pretty annoying though17:26
KotCzarny+117:26
freemangordonKotCzarny: iiuc it doesn;t play through dbus17:27
bencohhmm, nokia-binaries17:27
bencohmeans it's closed source ... shit17:27
freemangordonyes it is17:27
bencohit uses /org/maemo/Playback/Manager17:28
KotCzarnyhttp://maemo.org/api_refs/5.0/5.0-final/libplayback-1/17:29
KotCzarnyhar har17:29
freemangordonKotCzarny: http://maemo.org/api_refs/5.0/5.0-final/libplayback-1/files.html17:32
freemangordonand http://maemo.org/api_refs/5.0/5.0-final/libplayback-1/playback_8h.html17:32
freemangordonKotCzarny: also, look at the example code attached to the post17:33
KotCzarnyyeah, saw that17:33
freemangordonlooks like what you need17:33
KotCzarnybut c++/object oriented code makes me dizzy17:34
freemangordonthis is pure C code, where did you find c++?17:34
KotCzarnyanything with g_loop and callbacks17:35
freemangordonthis is C :)17:35
freemangordonglib17:35
KotCzarnynot c++ specifically, but i meant this model17:35
freemangordonwell, the whole maemo is like that17:35
bencohlooks like Playback.Manager actually belongs to ohmd (or rather ohm-session-agent)17:36
bencohbrings us back to read ohmd code to understand what it does :)17:37
KotCzarny:>17:37
freemangordonhttp://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Architecture/Multimedia_Domain17:37
bencohfreemangordon: but ... that's cheating! :*17:37
KotCzarnyi like the simple model of 'here's the file, here's the device, i decode file and write to device' ;)17:38
freemangordonKotCzarny: that might work if it is only you, your file and the kernel but no other applications around :)17:39
KotCzarnyfmg, or if the policies are implanted into device drivers ;)17:39
freemangordonKotCzarny: however, you still might want to propose a patch for ohmd17:39
freemangordonas it looks way simpler17:40
KotCzarnyi feel that main source of slowness nowadays is shuffling data around needlessly17:40
KotCzarnyfmg, i think oscp isnt the only app that could benefit from such option17:42
freemangordonsure17:42
bencohinterestingly enough mplayer links against libplayback17:42
bencohI wonder why and what they did there ... because afaict it still stutters17:43
freemangordonbencoh: I guess to report playback state and to receive cb events (phone call etc)17:43
KotCzarnymaybe they didnt fix libplayback well enough?17:43
KotCzarnytry that example from the thread?17:43
freemangordonmediaplayer stutters? this is new to me17:43
KotCzarnymplayer != mediaplayer17:43
freemangordonah, mplayer17:44
bencohyeah, mplayer17:44
bencohwhich is why I find it odd17:44
freemangordonmaybe libplayback is used but not in the correct way17:44
bencohdunno18:02
ceenewhat the hell is this18:04
ceenesslayer@portatil:~/Proyectos/neo900$ host radio18:04
ceeneradio has address 127.0.53.5318:04
ceeneradio mail is handled by 10 your-dns-needs-immediate-attention.radio.18:04
ceenewhat?18:04
bencohceene: .lan, right?18:05
ceeneno search or domain entry on /etc/resolv.conf18:05
KotCzarny:>18:05
ceenesslayer@portatil:~/Proyectos/neo900$ host test18:05
ceeneHost test not found: 3(NXDOMAIN)18:05
bencohhttps://www.icann.org/en/.../name-collision-mitigation-final-redline-28oct15-en.pdf18:05
KotCzarnywhat is your resolver?18:05
ceenesslayer@portatil:~/Proyectos/neo900$ cat /etc/resolv.conf18:05
ceene# Generated by NetworkManager18:05
ceenenameserver 8.8.8.818:05
ceenenameserver 8.8.4.418:05
KotCzarnythen you shouldnt send names without . to public resolver18:06
bencohwell I guess .radio is part of the new gTLDs18:06
KotCzarnyi guess, ie. forgot domain in that file18:06
KotCzarnyor dhcp18:06
bencohmeaning radio now points to ... the tld itself18:06
ceeneyeah, i forgot i don't have defined any domain search on resolv.conf18:07
ceenebencoh: that makes sense18:07
KotCzarnyhttp://serverfault.com/questions/626612/dns-just-started-resolving-my-server-prod-addresses-to-127-0-53-5318:07
ceeneit makes sense, a little at least18:08
ceenethanks18:08
ceenei don't like this everything-can-be-a-tld thing18:08
ceenei can end up masquerading existing dns hosts, can't i?18:08
ceenewhat if had named my internal lan as .radio?18:09
KotCzarnydont ask me, its money talking18:09
ceenenow i wouldn't be able to see mtv.radio18:09
KotCzarnythen run local lan resolver instead of asking google every time?18:10
ceenethat wouldn't fix that i can be masquerading a suddenly new tld18:11
bencohceene: yup, that's silly18:29
bencohworst example is all those organizations that used .lan18:29
bencoherr, .local18:29
bencoh(instead of .lan)18:30
ceeneyep, anyhow, it's the same thing18:31
ceeneall screwed up :)18:31
Vajbpointing out far back, but i think it wasn't mentioned that mplayer still plays even if i have a phone call19:32
Vajbi don't hear it but file advances19:33
Vajbalso panucci stops playback when unlocking, but i think it pauses when phonecall19:34
Vajbbut both mplayer and panucci play in headphones in silent mode19:35
bencohwell, could be related then19:37
bencoh#ifdef CONFIG_MAEMO19:39
bencohossocontext = osso_initialize("mplayer-cli", "1.0 SVN", 0, NULL);19:39
bencohplayback = pb_playback_new_2 ((DBusConnection *) osso_get_dbus_connection (ossocontext), PB_CLASS_MEDIA, PB_FLAG_AUDIO | PB_FLAG_VIDEO | PB_FLAG_AUDIO_RECORDING | PB_FLAG_VIDEO_RECORDING, PB_STATE_PLAY, libplayback_state_request_handler, NULL);19:39
bencoh#endif19:39
bencohin mplayer.c19:39
bencohso ... indeed19:39
DocScrutinizer05ROTFL  http://paste.opensuse.org/49723019:58
DocScrutinizer05maemo audio handling is totally FUBAR. IIRC it decides on last process started which audio profile to 'enforce'20:03
DocScrutinizer05I found a file (years ago) that lists all games (process names) that should use audio policy 'gaming' (or somesuch)20:04
bencohDocScrutinizer05: you should probably backlog the whole discussion before going on :)20:04
DocScrutinizer05could you give me a timestamp where it started?20:08
DocScrutinizer05can't confirm >>11099: Audio interruptions when locking screen or receiving notifications<<20:12
DocScrutinizer05actually mediaplayer mutes system sounds (a good thing)20:13
bencohDocScrutinizer05: it happens with non-mafw players20:14
DocScrutinizer05then those are "flawed", IOW they don't take care about the fubar audio handling on maemo20:15
bencohthat was our conclusion as well, yeah. actually we were pretty sure of that, just wanted to understand what should be done to "fix" those players ;)20:16
*** mp107 has joined #maemo20:17
DocScrutinizer05in a sane (ALSA) system environment, you'd define a few standard audio devices like "systemsound", "alarm", "media", "music", "gaming" and most apps would simply open the appropriate audio device. Apps with special needs would define their own audio devices by providing the ALSA stack, or they would construct the stack by complex audio device 'name' (incl parameters) they open20:18
DocScrutinizer05*every* proper ALSA audio app has a way to configure the audio device to open. So no app would need "#ifdef CONFIG_MAEMO" crap20:19
Juestoxes: news?20:21
Juestofreemangordon: hey there, im progressing and writing down a log, fell asleep20:26
*** L29Ah has left #maemo20:26
DocScrutinizer05see for example http://alsa.opensrc.org/How_to_use_softvol_to_control_the_master_volume     and implementation like in https://groups.yahoo.com/neo/groups/twinklephone/conversations/topics/173120:27
*** geaaru has joined #maemo20:28
Sicelois there a distro that's not PA-based nowadays?20:31
Juestohmm likely20:33
DocScrutinizer05good question. Prolly not, but afaik you still can uninstall PA and get plain working ALSA20:33
Juestoandroid doesnt use PA for example20:34
Juestois not PA-based*20:34
DocScrutinizer05android is not linux (despite they tell me it was, every day)20:35
Sicelohehe @ Android20:35
DocScrutinizer05re ALSA "right audio device" I even did a tiny fancy and created a ALSA audio device that executes arbitrary binaries on open() and on close()20:37
Siceloi don't consider Android when I think of LInux too .. anyway, Juesto what does Android use for audio?20:37
Juestoplain alsa afaik20:37
Sicelooh20:37
DocScrutinizer05http://pastebin.com/f7015c56120:39
ceenei always apt-get --purge remove pulseaudio20:39
ceenesometimes it's the *only* way to get audio to work20:39
Sicelo:p20:40
Siceloi played with jackd at some point .. i liked it20:40
ceenei read about low latency and thought: this is more than what i need20:41
DocScrutinizer05http://maemo.cloud-7.de/ALSAso.tar.gz20:43
Siceloi should make time for alsa at some point20:43
ceenemy experience with alsa is pretty limited too20:43
ceeneconfiguring asoundrc a little bit :)20:44
Sicelonever really used it as pa was default by the time i started using linux20:44
ceenei think i created a virtual device with its own volume control so i could turn up the volume of notifications or something like that, years ago20:44
Juestomeh20:44
Juestoi feel overwhelmed here :(20:44
Siceloand for me audio (pa) always worked well20:44
*** L29Ah has joined #maemo20:45
*** L29Ah has left #maemo20:47
Juestonot sure if just alsa or esound or stagefreight20:48
Juesto^ about android audio, actually20:48
DocScrutinizer05ceene: have a look at https://groups.yahoo.com/neo/groups/twinklephone/conversations/topics/173120:50
Siceloif we used systemd on N900, could we expect bad performance? :)20:50
DocScrutinizer05Sicelo: you could expect bootloop since systemd needs cgroups but maemo occupies those20:51
DocScrutinizer05systemd is absolutely incompatible to maemo20:52
DocScrutinizer05maemo using cgroups to ensure priority of e.g. phone apps20:52
Juestofreemangordon: cant install libhildonmime because of missing l10n packages20:53
Juestoshould i log out from garage before attempting to login in maemo.org?20:55
DocScrutinizer05one of the total fuckups of systemd that it exclusively occupies cgroups and doesn't allow existing solutions needing cgroups to coexist20:55
DocScrutinizer05or rather, systemd can't work without cgroups20:55
Juestoxes, for some reason logging out from garage logged me in maemo.org20:56
Juestonow it works fine20:56
DocScrutinizer05zhere are systems that *don't HAVE* cgroup support at all20:56
Juestostrange20:56
Siceloi get you21:00
*** L29Ah has joined #maemo21:03
*** L29Ah has left #maemo21:15
DocScrutinizer05re http://maemo.cloud-7.de/ALSAso.tar.gz you could even do stuff like triggering vibra (via dbus-send) on any arbitrary app opening the ringer audio device. Or muting all system sounds incl ringtones as soon as any arbitrary media player opens "music" or "media" audio device. NO PATCHES NEEDED at all in any of the apps21:18
DocScrutinizer05BUT.... Nokia couldn't have kept that a closed blob and thus ensure "User doesn't disrupt key functionality of device"21:19
JuestoHmmm21:19
DocScrutinizer05really the ONLY thing ALSA needs to learn to be on par with PA is rerouting of audio streams on hotplug of a new audio card (think pairing a BT headset). There's no support in ALSA for doing that without prior configuration knowing about the new audiocard properties21:22
*** mp107 has quit IRC21:22
DocScrutinizer05you *could* handle that with existing ALSA when you accept you have to close() and re-open() the audio device of any app that's using the old and new audio card21:24
DocScrutinizer05tbh I think that's the favorable concept over sinply brute-force switching to a new audio card as soon as it becomes available to the device, without even taking care if all the audio streams are really meant to get played back via that new device - but that's what PA in maemo does now, more or less21:26
MaxdamantusCan't someone write a plugin to do that? Or would it be considered not very ALSA-like since it would probably involve multiple configurations?21:27
Maxdamantusie, pcm { type "connect"; connect.socket = "/run/alsamaster"; }, or something like that.21:28
Maxdamantuss/= //21:28
infobotMaxdamantus meant: ie, pcm { type "connect"; connect.socket "/run/alsamaster"; }, or something like that.21:28
DocScrutinizer05I wouldn't want my smart mediaplayer with carefully crafted different equalizer settings play back to wired home stereo using the IHF-speakers EQ profile, just because I plug in the AV-cable to N90021:28
MaxdamantusSo have a differennt socket for your mediaplayer.21:30
Maxdamantusthe thing listening on that will know what equalisation to use based on the current hw output.21:30
DocScrutinizer05sidenote on nice property of http://maemo.cloud-7.de/ALSAso.tar.gz : when the binary you execute as open() (or close() ) hook returns error, your asound_open() in app will throw error instead of opening the audio device21:31
DocScrutinizer05and obviously (as a consequence from the above) the asound_open() is sync, I.E. it only returns _after_ the hook binary returned21:32
*** L29Ah has joined #maemo21:33
DocScrutinizer05so whatever audio config you need to set up, you can be sure your binary (or script) you call in ""    hooks.0 {                 type ringerdevicehook                 hook_args {                         open  "date;sleep 5;date" "" will have been finished successfully before the app doing the audio device open() continues and outputs *any* audio21:37
DocScrutinizer05you can set up a audio scenario handling of the complexity and basic structure of sth like sysv-init with such hooks, while keeping same flexibility and transparency/simplicity21:40
DocScrutinizer05note that the hooks run in the process context of the app calling them21:41
KotCzarnysicelo: i'm using slackware, no systemd, no pulseaudio21:42
Juestohehe21:42
KotCzarnymost likely gentoo doesnt use pa either21:42
KotCzarnydbus/pa/systemd/gnome are all belonging to the same 'users are stupid and need windowsish like system to take care for them'21:43
Juestoand xfce?21:43
Juestoyeah gentoo doesnt use pa by default but it can use it21:44
KotCzarnyxfce is not bad21:44
Juestointeresting since xfce is gtk based21:44
Juestolike a gnome clone21:44
KotCzarnyany linux system could use pa, its the 'use by default' option that is bad21:44
Juestoright21:45
KotCzarnygnome is much more than gtk ui21:45
JuestoWell you can always defeat the "use by default"21:45
KotCzarnyjuesto: not if software starts requiring some components21:45
Juestoahh21:45
Juestometapackages or software itself?21:46
Juestoas in, compiled with the requirement21:46
KotCzarnysoftware21:46
Juestoahhh right21:46
bencohKotCzarny: just added cat /usr/share/policy/etc/syspart.conf.d/cmus.syspart.conf21:47
bencoh[rule /usr/bin/cmus]21:47
bencohgroup mediasrc21:47
KotCzarnylinux was about putting little, perfectly fine-tuned, building blocks into something bigger21:47
bencohKotCzarny: works :)21:47
KotCzarnybencoh: yeah, but fmg wouldnt approve ;)21:47
bencohfreemangordon: no need to patch ohmd :)21:47
bencohKotCzarny: reread that21:47
KotCzarnyoh, right21:47
bencohsyspart.conf.d :)21:47
KotCzarnydid you add anything else to include that dir?21:47
bencohnope21:47
KotCzarnypurrfect21:47
bencohfixes the stuttering / interruption when pressing power key21:48
bencohyep!21:48
KotCzarnyafter 10 years of ignoring that bug, fix is simple!21:48
Juestolel21:48
DocScrutinizer05there are two possible approaches (both equally valid and up to the user or developer to decide which to use): either you split/clone e.g. "music" device audiostream into multiple sinks aka cards (IHF-speakers, wired-HS, BT-headset), each of which has its own 'mute button' and you enable the sink you want being used for output of "music".  Or your app uses a dedicated "music:IHF" audio device and thus explicitly decides itself which audio21:48
DocScrutinizer05card to use21:48
*** xorly has quit IRC21:49
KotCzarnybencoh: is there similar fix for pa's xpolicy.conf ?21:49
bencohKotCzarny: not that I know of21:49
bencohsadly21:49
DocScrutinizer05HAH!21:52
DocScrutinizer05Sicelo: ((systemd, cgroups)) less /usr/share/policy/etc/current/syspart.conf21:52
bencohnow I'd love to find a better fix than adding a dbus request in every player I might want to use to use vol keys when device is locked21:53
*** xorly has joined #maemo21:53
bencohbecause cmus (for instance) doesn't even use glib, so adding dbus there feels ... silly.21:53
DocScrutinizer05and /usr/share/policy/etc/current/pulse/xpolicy.conf is the damn audio file I mentioned I found years ago21:54
bencohDocScrutinizer05: yeah we now about it :)21:54
KotCzarnyyup, i feel the same about libplay or whatever its called21:54
bencohKotCzarny: libplayback wont fix the volkeys issue21:54
bencohat least I doubt it21:54
bencohwell I can try with mplayer since it's supposed to do that already21:55
bencohyup, doesn't work with my current mplayer version a least. and mplayer does stop playing when pressing powerkey21:56
DocScrutinizer05honestly W*T*F?!21:58
DocScrutinizer05[stream]21:58
DocScrutinizer05property = application.process.arg0@equals:"/usr/bin/Mahjong"21:58
DocScrutinizer05group    = game21:58
bencohKotCzarny: hmm, something's wrong with ohmd and this "fix"22:03
DocScrutinizer05wouldn't it be much smarter to have a  str audiodev = "all:\"game,Mahjong\""; asound_open(audiodev)   ?22:03
bencohlooks like it doesnt work after some time (?!)22:03
bencohI have no freaking idea what they did there22:03
bencohseriously22:03
DocScrutinizer05ohmd is sort of PITA and maemo has a closed blob extension to it afaik22:04
Juestowhere i can find l10n blobs for fremantle-gtk2 ?22:06
DocScrutinizer05note you could even do sth like  .alsarc: default { pcm @getenv ALSAPCM...   and then  `ALSAPCM=games Mahjong`22:08
bencohJuesto: nokia repositories (and mirrors) I guess22:09
KotCzarnybencoh: may be related to that pa policy changes22:10
DocScrutinizer05s/alsarc/asoundrc/22:11
infobotDocScrutinizer05 meant: note you could even do sth like  .asoundrc: default { pcm @getenv ALSAPCM...   and then  `ALSAPCM=games Mahjong`22:11
Juestobencoh: should i add those to apt ?22:11
KotCzarnyso when system changes policy maybe it need to reload ohmd policy too22:11
Juestofor somee reason i cant logout from maemo.org now22:13
KotCzarnydoes ohmd support some debug logging?22:13
KotCzarnyjuesto: delete cookies?22:13
JuestoKotCzarny: cookies deletion shouldnt be necessary22:14
KotCzarnyyes, but should log you out22:14
Juestoi know. :|22:14
DocScrutinizer05bencoh: ((looks like it doesnt work after some time; I have no freaking idea what they did there))  I *guess* that policy stuff doesn't always work the way we hope it would. I don't see how switching policies can get synced to e.g. task switching, and prolly also not easy to have nested policies when starting a later process overrides a earlier policy and then on end of same process the earlier policy possibly doesn't get restored22:15
*** geaaru_ has joined #maemo22:25
*** geaaru has quit IRC22:26
freemangordonJuesto: you'd better not add armel repos to your i386 devuan22:32
freemangordonJuesto: you can find all the i10n packages in nokia repo mirrors22:32
freemangordonjust google for the package name22:32
freemangordonbencoh: su syspart.conf.d is already implemented?22:33
freemangordon*so22:33
freemangordonDocScrutinizer05: iiuc, they tag PA packets somehow, so when they arrive in PA, they get prioritized or somesuch22:36
freemangordonDocScrutinizer05: also, ohm/ohmd is FOSS22:37
DocScrutinizer05yes, but Nokia built a blob extension for it afaik22:37
freemangordonoh, that prolog shit?22:38
DocScrutinizer05prolly, yes22:38
freemangordonyep, right, but Pali REed it :)22:38
DocScrutinizer05:-))22:38
DocScrutinizer05now write a doc for it and it's almost useful ;-)22:39
DocScrutinizer05I really don't even grok the concept22:39
freemangordonme neither22:39
Paliyea, prolog code was decompiled :-)22:40
DocScrutinizer05we should try to contact javispedro and ask him, he seemed to have some degree of understanding in that stuff22:45
DocScrutinizer05~seen javispedro22:46
infobotjavispedro <~javier@Maemo/community/contributor/javispedro> was last seen on IRC in channel #maemo, 798d 3h 45m 34s ago, saying: 'they don't, but you will have poor signal in stock n900'.22:46
freemangordoniirc he did a rage quit, so I doubt he'll be cooperative22:46
KotCzarnyo.O22:46
DocScrutinizer05why?22:47
Juestohey wb freemangordon22:47
Juestosafe link?22:47
DocScrutinizer05can't recall any ragequit by javispedro22:47
*** Juesto has quit IRC22:48
*** Juesto has joined #maemo22:48
DocScrutinizer05rage targeted at Nokia?22:48
Juestois being a contributor strictly a programming contribution?22:48
DocScrutinizer05no22:49
freemangordonno22:49
Juestookay, perhaps i can have it once i get this working22:49
DocScrutinizer05maemo cloaks managing is a royal pita22:49
Juestohow so22:49
DocScrutinizer05GC MIA22:49
KotCzarnybencoh: that syspart.conf fix is incompatible with xpolicy.conf fix22:50
Juesto??22:50
DocScrutinizer05group contact missing in action22:50
KotCzarnyremoving oscp from stream group in xpolicy made it unglitchable again22:50
DocScrutinizer05~seen generalantilles22:50
infobotgeneralantilles <~ryan@Maemo/community/contributor/GeneralAntilles> was last seen on IRC in channel #asterisk, 841d 4h 21m 27s ago, saying: 'OK, thanks. :)'.22:50
KotCzarnyhrm, even stranger, it stops working after i stop oscp, but restarting pulseaudio and ohmd make it work again22:52
DocScrutinizer05basically Maemo/community/contributor/ is equivalent to Maemo/EX-council/22:53
KotCzarnyvery strange.22:54
Juestoo_o22:54
KotCzarnybencoh, freemangordon: any clues on ^ ?22:54
freemangordonKotCzarny: no idea, sorry22:55
KotCzarnyi suspect some policies changing22:56
freemangordonKotCzarny: I guess you should look at the code that parses those config files22:56
KotCzarnyi suspect pa playing some role in all this22:58
bencohKotCzarny: restart ohmd alone makes it work again, afaict22:59
KotCzarnyyeah, just tried it23:00
bencohand it stops working after some time23:00
bencohlike, a few minutes23:00
DocScrutinizer05/who Maemo/community/*23:01
bencoh?23:01
*** M4rtinK has joined #maemo23:02
JuestoDocScrutinizer05: doesnt tell me many people because its freenode :|23:03
DocScrutinizer05err?23:03
DocScrutinizer05Juesto: when I was councilor, I two times (iirc) pushed a initiative to hand out Maemo/community/contributor/ cloaks to renowned members who applied for it. It bith times took about 5 months until all council agreed and GC implemented those few cloaks. I wouldn't suggest you hold your breath for a 3rd such initiative any time soon23:06
KotCzarnybencoh, maybe its related to some cpu usage quota?23:06
Juestoo_O23:06
Juestoholy23:06
*** luf has quit IRC23:07
KotCzarnywhen i enable cpu hogging effects i get glitches more easily, no matter if i restart ohmd23:07
KotCzarny(mind you, its not glitching during play, only when doing new app open/notification show)23:07
Juestowelp23:09
DocScrutinizer05Juesto: anyway if you really really want to get such cloak, the recommended way is: find a recent council member who's actually joining this IRC channel, ping them about a cloak, send a email to council AT maemo.org applying for one, and then hope for the best23:11
Juestookay nevermind then23:11
DocScrutinizer05IF I could get a hold on Ryan Abel (our GC MIA), I could ask him to grant co-GC to me, so we could cut a few corners there, but last mail I sent been unreplied23:12
Juestobut thanks for the info DocScrutinizer0523:12
JuestoGC MIA?23:12
DocScrutinizer05[2017-01-29 Sun 21:50:27] <DocScrutinizer05> group contact missing in action23:13
JuestoAh23:13
Juestosorry23:13
DocScrutinizer05the contact person between owners of namespace and freenode admins who can actually assign cloaks23:13
DocScrutinizer05I'm not sure if council changed the GC for #maemo*, last thing I know is: it been Ryan Abel aka generalantilles23:14
DocScrutinizer05~seen generalantilles23:15
infobotgeneralantilles <~ryan@Maemo/community/contributor/GeneralAntilles> was last seen on IRC in channel #asterisk, 841d 4h 46m 19s ago, saying: 'OK, thanks. :)'.23:15
*** ceene has quit IRC23:17
bencohKotCzarny: doubt it, but dunno23:18
bencohI even tried increasing min freq from 250m to 600m, didn't help23:18
JuestoDocScrutinizer05: probably it did change since... ryan abel isnt listed in community council page23:40
Juestohe was in council in 2009 tho23:42
Juestoinagural council*23:43
DocScrutinizer05Juesto: sorry? GC is not mandatory member of council23:54
DocScrutinizer05council usually doesn't have any administrative roles, those are delegated23:54
DocScrutinizer05council decides who's administrative person for all the different tasks maemo involves23:55
DocScrutinizer05though only on recent demand by situation, or by request from community23:56
DocScrutinizer05actually usually council only approves suggestions made by e.g. techstaff23:57
DocScrutinizer05or, in case of cloaks, by chanops and GC23:58
DocScrutinizer05council isn't even expected to have the expertise to do all that administrative tasks by themselves23:59

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