IRC log of #maemo-ssu for Tuesday, 2015-10-20

freemangordonbencoh: hmm, ok, just hanged00:00
bencohoh00:00
bencohfreemangordon: can you reproduce it without hdcodecs?00:06
freemangordonno idea :)00:06
freemangordonhmm, actually it started after a while00:07
*** jonwil has joined #maemo-ssu00:10
jonwilhi00:12
freemangordonjonwil: hi!00:13
freemangordonbencoh: did you install the .deb?00:13
bencoh mafw-gst-renderer depends on libglib2.0-0 (>= 2.24.0); however:00:14
bencoh  Version of libglib2.0-0 on system is 2.20.3-1maemo5+0m5.00:14
bencohlooks like your sb has been cssu-develified00:14
bencoh(or -testing at least)00:14
bencohoh and00:15
bencohdpkg - warning: downgrading mafw-gst-renderer from 0.3.2010.24-1+0m5 to 0.3.2010.24-1.00:15
bencohwhere does that come from?00:15
freemangordon+0m5 is a suffix added by the Nokia autobuilder00:16
freemangordonwhen a package is released00:16
bencohhm, okay00:16
freemangordonbencoh: sorry, I was under the impression you're on cssu-thumb00:16
bencohanyway .... dpkg-buildpackage with no further patching?00:16
freemangordonyes00:16
bencohautoreconf: failed to run aclocal-1.9: No such file or directory00:17
bencohoh shit, not that again00:17
bencohfreemangordon: do you have automake1.9 in sb?00:19
*** esoare has joined #maemo-ssu00:20
freemangordonbencoh: yes00:22
*** NishanthMenon has quit IRC00:22
bencoh/usr/lib/mafw-plugin/mafw-gst-renderer.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), stripped00:24
bencohhmmm00:24
freemangordonbencoh: export DEB_BUILD_OPTIONS=debug,noopt,nostrip,nolauncher00:24
bencohit plays thus far00:30
*** xes has joined #maemo-ssu00:31
merlin1991freemangordon: are we talking about mafw-gst-renderer, because it has explicit strip in debian/rules dh_strip --dbg-package=mafw-gst-renderer00:31
bencohanyway, in the event it does fail, how would you try and debug it?00:31
bencohgdb on mafw-gst-renderer?00:31
bencohmerlin1991: /usr/lib/mafw-plugin/mafw-gst-renderer.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), not stripped00:32
bencoh(with DEB_BUILD_OPTIONS=debug,noopt,nostrip,nolauncher)00:32
merlin1991weird00:32
merlin1991ah well00:32
freemangordonno, "nostrip" is your friend :)00:32
bencohI guess dh_strip looks for it00:32
freemangordonbencoh: yah, gdb on it00:33
freemangordon*yeah00:33
bencohI dont think process really hangs00:33
bencohoh btw00:33
bencohhow comes when I attach mafw-gst-renderer with gdb, video keeps playing?00:33
bencohwhere does the magic happen?00:34
freemangordonI hope you attach to mafw-dbus-wrapper00:34
bencohI do00:34
bencohuser     27693  8.1  2.6  39952  6288 ?        S<sl 00:31   0:00 /usr/bin/mafw-dbus-wrapper mafw-gst-renderer00:34
bencohthat's the only one matching "grep gst"00:35
freemangordonwell, no idea then00:35
freemangordonooh "***** DSPMMU FAULT ***** IRQStatus 0x2" :)00:35
bencohattaching the right mediaplayer process makes slider/control buttons stop00:35
bencohbut attaching gst-renderer doesnt make video stop00:35
bencohfreemangordon: what if you restart dsp-manager/dsp?00:36
freemangordonwell, it just spit the error in dmesg00:36
freemangordonbut it still plays00:36
bencohah00:37
freemangordonanyway, it is time to have some sleep, night00:39
bencohyeah, was thinking the same00:39
jonwilbencoh: your idea to clone the devlock stuff seems interesting, I will play with it and see what I can come up with. libcodelockui is what draws the UI for it though, maybe that's what needs to be cloned.00:41
freemangordonjonwil: what about systemui?00:42
bencohjonwil: :-)00:43
freemangordon27144 Jun 15  2010 /usr/bin/systemui00:43
jonwilcurrently looking at osso-systemui-devlock00:43
jonwilsee what I can find and how hard that might be to clone00:43
freemangordonok00:43
freemangordonwish you luck00:43
freemangordonnight00:44
jonwilok00:44
jonwilcya00:44
bencohhmm, it hang with the debug package00:46
*** esoare|2 has joined #maemo-ssu01:26
*** esoare has quit IRC01:27
*** merlin1991 has quit IRC01:40
*** merlin1991 has joined #maemo-ssu01:42
*** esoare has joined #maemo-ssu01:57
*** esoare|2 has quit IRC01:59
*** Pali has quit IRC02:48
*** LauRoman has joined #maemo-ssu04:25
jonwilxes: ping05:03
*** povbot has joined #maemo-ssu06:39
*** esoare has quit IRC06:47
*** esoare|2 has joined #maemo-ssu06:47
jonwilbencoh: ping07:55
*** sparetire_ has quit IRC08:03
*** esoare|2 has quit IRC08:29
freemangordonbencoh: yeah, happened here as well08:41
jonwilStill haven't found something to reverse engineer, every binary I fiddle with ends up having some reason why its too hard09:03
jonwilAll the easy stuff has been cloned already :(09:03
*** futpib has joined #maemo-ssu09:17
bencohjonwil: pong?09:26
jonwilLooked at the device lock stuff, the actual UI is drawn by libcodelockui09:26
bencohyup09:26
jonwiland I hit snags reverse engineering both it and osso-systemui-devlock09:26
jonwillibdevlock is just for managing the actual settings in CAL09:27
jonwiland has nothing to do with UI09:27
bencohI think we have a .h somewhere for libcodelockui09:27
jonwilwe do09:27
jonwilthe dev package was released by nokia09:27
jonwilbut that doesn't help with reverse engineering either it or osso-systemui-devlock09:28
jonwilwe have a .h file for libdevlock too FYI09:28
jonwilcreated by me as part of my MCE work as it happens09:28
bencoh:)09:28
bencohso ... we have a "documented" header, we know which symbols it depends on ... what's missing for libcodelockui?09:29
bencoh(apart from "I dont wanna write gtk stuff" :D)09:30
jonwilit just needs someone to write a clone that implements the documented API09:31
bencohweren't you looking for a package to clone?09:31
jonwilwell I would clone it myself but its got some wierdness going on that makes reverse engineering it hard09:31
jonwilhence why I am not cloning it :)09:32
bencohwhich is?09:32
jonwilwell for starters its got some private data structures (and my skills in regards to figuring those out are non-existent)09:35
jonwiland the dialog has the usual stuff that makes reverse engineering GTK bits annoying09:36
jonwilhence why I have decided to pick up work on libconnui and friends09:36
jonwilspecifically figuring out the currently-unknown functions from those libs09:36
bencohokay :)09:38
jonwilanyone know who runs the CSSU repos?09:38
jonwilI think it might be merlin1991 but I am not 100% sure09:39
jonwilor is it freemangordon?09:41
bencohit's merlin199109:42
jonwilok09:42
bencohthumbs are hosted by merlin1991 as well, but -testing/-stable are hosted on maemo infra09:42
jonwilok09:43
freemangordonbencoh: could you try if adding  worker->xid = 0; on line 2256 in mafw-gst-renderer-worker.c (between eos and seek_position) fixes the issue for you09:56
jonwilmerlin1991: ping10:06
bencohfreemangordon: line 2256?10:10
freemangordonhmm, well, my bad10:10
freemangordonit is other on your side (I added some g_warnings)10:11
freemangordonanyway the function is   p, li { white-space: pre-wrap; }  mafw_gst_renderer_worker_stop10:11
freemangordonstupid QtCreator !!!10:11
freemangordonmafw_gst_renderer_worker_stop10:11
freemangordonbencoh: after the comment   /* Reset worker */10:12
freemangordoninit worker->xid to 0 somewhere there10:12
*** futpib has quit IRC10:14
freemangordonbencoh: got it?10:15
bencohyeah10:15
freemangordonok, as I am going afk10:16
freemangordonbbl10:16
*** freemangordon_ has joined #maemo-ssu11:23
*** freemangordon_ has quit IRC11:28
bencohfreemangordon: works fine thus far11:29
*** freemangordon_ has joined #maemo-ssu11:33
bencohfreemangordon: 11:29 < bencoh> freemangordon: works fine thus far11:46
*** freemangordon_ has quit IRC12:27
*** freemangordon_ has joined #maemo-ssu13:21
freemangordon_bencoh: seems there is more to fix13:22
xesfreemangordon_: i think to recall that most of time the problem happens while trying to resume a previously played video13:37
freemangordon_:nod:13:37
freemangordon_seems the change I proposed fixes the issue at least partially13:40
freemangordon_xes: you're on cssu?13:40
merlin1991jonwil: pong13:42
jonwilxes: about your message earlier (which I saw in chanlogs) regarding per-contact ringtones, I took a look into it and in theory its possible. To make it work you would need to change hildon-sv-notification-daemon (part of hildon-home) so that it listens for the relavent "incoming call" signal from the cellular services daemon and grabs the incoming phone number so it can find the right...13:45
jonwil...ringtone. Then when it gets the normal "play ringtone" signal from librtcom-call-ui/rtcom-call-ui it plays that sound instead of the default one.13:45
jonwilWont work for VoIP though13:45
jonwiland you might need to clone the hildon-plugins-notify-sv library to pull it off13:46
jonwilbut its definatly possible13:46
jonwilmerlin1991: where does cssu get hald-addon-bme-dev from?13:46
jonwilits not in the nokia SDK repos or in any of the cssu git stuff13:47
merlin1991one sec, let me check13:47
merlin1991iirc it's in one of our gits that has a different name13:47
jonwilThere should be something somewhere listing any git repos other than https://github.com/community-ssu that are needed by CSSU (like this one and anything else)13:48
merlin1991actually there should be nothing else needed13:49
merlin1991if something is missing on https://github.com/community-ssu then that's a mistake13:50
jonwilwell hald-addon-bme-dev isn't there13:50
jonwilMy guess is that hald-addon-bme-dev is comming from the bme replacement stuff13:50
freemangordon_:nod:13:51
freemangordon_we should pester Pali13:51
jonwilalso merlin1991, would it be possible to get commit access on github to https://github.com/community-ssu/libconnui-dev and https://github.com/community-ssu/osso-systemui-dev ? I have plans to do some more work on reverse engineering the missing pieces to go into those dev packages so they can be made complete.13:53
jonwilOr if you would rather have me make patches and submit them for review, thats ok too, I can do that13:53
freemangordon_jonwil: iirc you had commit access on gitorious, ain't?13:53
freemangordon_s/commit/push/13:54
infobotfreemangordon_ meant: jonwil: iirc you had push access on gitorious, ain't?13:54
merlin1991jonwil: you should have mail13:54
jonwilyes I had push access on gitorious but not sure to which trpos13:54
jonwilrepos13:54
freemangordon_I guess to those you're working on :)13:54
jonwilJust reinstalled vmware so I can load up my Maemo DEV VM (I hadn't reinstalled it since I bought an SSD and re-installed Windows) so now I can properly work on those repos :)13:55
merlin1991jonwil: where do you need hald-addon-bme-dev? because I don't have that in my scratchbox where I build all the cssu releases13:56
jonwilthe package mce references it13:57
jonwilso if mce isn't built as part of cssu then that would explain it13:57
merlin1991hm mce was in cssuT1113:58
merlin1991gotta check how I built that13:58
jonwilnow I just have to figure out how to pull a github repo inside scratchbox inside my VM13:58
jonwilI guess I probably want to pull via ssh13:58
jonwilok, now I can pull stuff from github :)14:10
*** freemangordon_ has quit IRC14:10
jonwilok, its telling me I dont have commit access to osso-systemui-dev14:20
jonwilMy ssh keys are set properly and its letting me in, it just tells me I dont have push access to it14:20
merlin1991jonwil: one sec14:21
merlin1991github changed the permission system14:23
merlin1991now there are "teams" inside an organization and other stuff14:23
merlin1991jonwil: you should be able to push now (I hope)14:23
jonwilok, I can push to that repo now14:24
jonwilso which repos do I now have push access to exactly?14:24
merlin1991all of the community-ssu repos14:25
jonwilok, thanks14:25
merlin1991I thought I gave you enough permissons when I added you, but due to the fact the we had no proper team configured yet you were a member without any rights :D14:25
jonwildid you figure out how you compiled mce and where hald-addon-bme-dev came from?14:32
bencohfreemangordon: yeah, I've just seen a strange bug14:38
bencohclick on a video, window changed to player waiting (dots), failed and moved back to video list14:40
bencohre-clicking on video openeded a new window with player inside that closed almost instantly14:40
*** freemangordon_ has joined #maemo-ssu14:41
freemangordon_bencoh: hmm?14:42
bencohnot sure what happened, maybe the player process of mediaplayer that kept crashing/relaunching14:42
freemangordon_never happened here14:42
bencohfirst time I see this behavior as well14:42
bencohI havent been able to reproduce it from the begining14:43
bencohbut when it happened, reclicking on the mediaplayer window from task manager led to window closing/reopening14:44
freemangordon_I guess it is a bug in OMP14:45
bencohstock mediaplayer14:45
bencohbut maybe14:45
freemangordon_ooh14:45
freemangordon_OMP here14:45
freemangordon_maybe that's why i've never seen it14:45
freemangordon_however, besides that xid, there is something else14:46
freemangordon_could be in gst-dsp this time14:46
bencohplayer hanging seems to be a common bug14:46
bencohso gst or mafw14:46
freemangordon_yeah14:46
freemangordon_mafw for sure14:46
freemangordon_otherwise it won't recover on mafw-gst-renderer restart14:46
bencohoh, and ... how the hell did they manage to overlay controls over video and switch it on/off without any playback artifact?14:47
freemangordon_it is supposed to recreate the gst pipeline on every new video14:47
freemangordon_bencoh: omap3 overlay supports it14:47
freemangordon_it is a HW feature14:47
bencohhmmm...14:48
bencohmafw-gst-renderer uses xvimagesink with xoverlay14:48
freemangordon_:nod:14:48
bencohso ... where does the omap3 magic happen?14:48
freemangordon_toldya, in HW14:48
bencohOMP is able to overlay controls as well, but playback stutters14:48
freemangordon_do gst-inspect on xvimagesinl14:49
bencohstock mediaplayer has no playback issue, it's smooth14:49
freemangordon_*xvimagesink14:49
freemangordon_well, OMP has it glitches still14:49
freemangordon_but this "hang" is driving me nuts, that is the last bug in Maemo still standing (for me)14:50
bencohI see glitches as well when playing with a plain, simple gst-launch playbin2/xvimagesink pipeline and notifications/volume pop14:50
bencoh(the same glitches)14:51
bencohbut I dont see any on stock mediaplayer, so I guess they found a way14:51
freemangordon_that's normal as well, volume indicator is not overlaid via overlay14:51
freemangordon_gimme a second to find how was it called14:52
freemangordon_bencoh: http://processors.wiki.ti.com/index.php/UserGuideDisplayDrivers_PSP_03.00.00.05#Color_Keying14:57
bencohyeah I came across color keying as well14:58
freemangordon_that is how it is supposed to be done14:58
freemangordon_no ide what OMP does14:58
freemangordon_*idea14:58
bencohbut I dunno in which window stock MP makes mafw render the video14:59
bencoh(the xid)14:59
bencohI'm starting to think it's the rootwindow14:59
bencohoh, and ... I still dont understand how it can playback when gdb-attached (mafw-gst-renderer)15:00
*** freemangordon_ has quit IRC15:06
*** freemangordon_ has joined #maemo-ssu15:08
freemangordon_bencoh: it is possible that it does DMA from DSP to framebuffer15:09
jonwilwould it be useful to poke in stock MP to see what sort of calls its making to this code (and if so, which functions should I be looking for?)15:09
freemangordon_jonwil: what for?15:10
jonwilthis mafw discussion15:10
bencohfreemangordon_: who is "it"?15:10
freemangordon_implementing color keying in OMP is easy15:10
jonwilit being the stock media player15:10
freemangordon_bencoh: HW :)15:10
bencohgstreamer pipeline lives in mafw-gst-renderer15:10
jonwili.e. figuring out what calls its making that are different to omp15:11
freemangordon_not sure15:11
jonwilthe goal here seems to be to make omp do what stock mp does15:11
bencohand it's a "simple" playbin2/xvimagesink pipeline15:11
bencohunless I missed someting15:11
freemangordon_bencoh: I don;t think it is that simple, I guess output buffers are allocated by the player, not mafw15:11
bencohoutput surface maybe15:12
bencoh(hence the xid)15:12
freemangordon_also, you don;t need a running process for DMA to happen15:12
bencohdo you think it's end-to-end DMA?15:12
bencohwith no software interaction15:12
freemangordon_it is not, xvimagesink does a copy15:12
bencohthen I dont understand how it can run when attached15:13
bencohwhich means there has to be something else, but I dont see what :)15:13
freemangordon_or you're making some mistake :)15:13
bencohmost probably15:14
bencoh:)15:14
freemangordon_bencoh: anyway, even with the xid fix, OMP still hangs on me. way harder to trigger it, but still15:14
freemangordon_so, there is another bug living somewhere in mafw15:14
freemangordon_bencoh: what I suspect is that pipeline is not really reset on a new playback, or mafw's internal state is not reset15:17
bencohyeah15:18
freemangordon_jonwil: no, the goal is to find the bug in mafw which causes both players to "hang" when video playback is attempted15:18
bencohfunny thing is:15:18
bencoh * FIXME: Could the same pipeline be used for playing all media instead of15:18
bencoh *  constantly deleting and reconstructing it again?15:18
freemangordon_:D15:18
bencohbefore _construct_pipeline15:18
bencohso I guess it should be :D15:18
freemangordon_camera-ui reuses the pipeline iirc15:19
bencohor .... something's racy15:19
freemangordon_don;t see why mafw cannot15:19
freemangordon_bencoh: yeah, or that one15:19
bencohcamera-ui has no media/format detection issues15:20
bencohpipeline can be static15:20
bencohplaybin2 has a lot of things going under15:20
freemangordon_sure15:20
bencohit's quite amazing that it works as it is considering the amount of "automagic" stuff :]15:21
freemangordon_anyway, I put g_warning(__FUNC__) in all functions in ...-worker.c file, will try to find the difference between "ok" and "hang" once I am back home15:22
freemangordon_bencoh: you may try to do the same as well15:22
bencohhow are you supposed to see warn messages wit mafw?15:23
bencohrun it without wrapper?15:24
xesfreemangordon_: yes, cssu devel thumb15:28
xesjonwil: per-contact ring tone would be great if really working without slow down everything like with the other "fantasy" solutions of the past15:30
freemangordon_bencoh: no idea15:33
freemangordon_but I see them in syslog :)15:34
freemangordon_xes: ringtones are supposed to be "prepared" as pcm, so they should not slow down the system15:35
*** Sicelo009N has joined #maemo-ssu15:40
bencohfreemangordon_: how right, syslog15:42
bencoh(I dont have it since it's not a dev device)15:42
Sicelo009Neasy to install.. have it on all my N90015:45
xesfreemangordon_: yes, but old tricks with a service swapping symbolic links with ringtone associations in a txt file... were a mess15:46
*** freemangordon_ has quit IRC16:09
*** sparetire_ has joined #maemo-ssu16:20
*** freemangordon_ has joined #maemo-ssu16:25
freemangordon_xes: right, but that's unrelated16:25
freemangordon_the correct way is what jonwil said (I guess)16:25
*** freemangordon_ has quit IRC16:41
*** Sicelo009N has quit IRC17:28
*** Pali has joined #maemo-ssu18:37
*** Sicelo009N has joined #maemo-ssu18:38
*** povbot has joined #maemo-ssu19:33
-card.freenode.net- [freenode-info] if you're at a conference and other people are having trouble connecting, please mention it to staff: http://freenode.net/faq.shtml#gettinghelp19:33
*** jonwil has quit IRC19:46
*** useretai- has joined #maemo-ssu20:02
*** futpib has joined #maemo-ssu20:50
*** _LauRoman has joined #maemo-ssu21:03
*** LauRoman|Phone has joined #maemo-ssu21:04
*** jon_y has quit IRC21:34
*** jon_y has joined #maemo-ssu21:34
freemangordonxes: btw, did you try the last modest? it should have "show more" working as it is supposed22:09
freemangordonbencoh: any progress?22:09
bencohregarding? mafw?22:09
freemangordonyep22:10
bencohnot really, the strange mediaplayer bug occured again (player window closes and opens back like it crashed)22:10
bencoh(and no playback, of course)22:10
freemangordonhmm22:10
*** useretai- is now known as useretail22:10
freemangordonI am going to dig it further in a while22:11
bencohI'd probably need to install syslog and add g_warns everywhere as you suggested22:12
freemangordonoh, I thought you already did it22:12
freemangordonI see no other sane way to debug that22:12
bencohnot yet no22:12
bencohI played with gstxoverlay/colorkey and managed to overlay gtk widgets on the video (just like stock mediaplayer), but that's another story :)22:15
bencohoh, and ... it feels like it's easier to trigger the mafw bug when using a gst video pipeline in a different process beforehand22:16
*** Sicelo009N has quit IRC22:29
*** Sicelo009N has joined #maemo-ssu22:40
*** ccnnjj has quit IRC23:14
*** Pali has quit IRC23:44
*** futpib has quit IRC23:47

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