IRC log for #maemo-ssu on 20151020

01:25.58*** join/#maemo-ssu LauRoman (~LauRoman@5-14-22-54.residential.rdsnet.ro)
02:03.41jonwilxes: ping
03:39.02*** join/#maemo-ssu povbot (~supybot@178-236-196-236.csc.lt)
03:47.23*** join/#maemo-ssu esoare|2 (~kvirc@71-222-117-68.ptld.qwest.net)
04:55.40jonwilbencoh: ping
05:41.44freemangordonbencoh: yeah, happened here as well
06:03.48jonwilStill haven't found something to reverse engineer, every binary I fiddle with ends up having some reason why its too hard
06:03.53jonwilAll the easy stuff has been cloned already :(
06:17.09*** join/#maemo-ssu futpib (~futpib@176.104.194.78)
06:26.10bencohjonwil: pong?
06:26.33jonwilLooked at the device lock stuff, the actual UI is drawn by libcodelockui
06:26.43bencohyup
06:26.50jonwiland I hit snags reverse engineering both it and osso-systemui-devlock
06:27.04jonwillibdevlock is just for managing the actual settings in CAL
06:27.08jonwiland has nothing to do with UI
06:27.39bencohI think we have a .h somewhere for libcodelockui
06:27.45jonwilwe do
06:27.52jonwilthe dev package was released by nokia
06:28.05jonwilbut that doesn't help with reverse engineering either it or osso-systemui-devlock
06:28.24jonwilwe have a .h file for libdevlock too FYI
06:28.36jonwilcreated by me as part of my MCE work as it happens
06:28.50bencoh:)
06:29.59bencohso ... we have a "documented" header, we know which symbols it depends on ... what's missing for libcodelockui?
06:30.36bencoh(apart from "I dont wanna write gtk stuff" :D)
06:31.26jonwilit just needs someone to write a clone that implements the documented API
06:31.55bencohweren't you looking for a package to clone?
06:31.56jonwilwell I would clone it myself but its got some wierdness going on that makes reverse engineering it hard
06:32.08jonwilhence why I am not cloning it :)
06:32.25bencohwhich is?
06:35.11jonwilwell for starters its got some private data structures (and my skills in regards to figuring those out are non-existent)
06:36.18jonwiland the dialog has the usual stuff that makes reverse engineering GTK bits annoying
06:36.37jonwilhence why I have decided to pick up work on libconnui and friends
06:36.50jonwilspecifically figuring out the currently-unknown functions from those libs
06:38.25bencohokay :)
06:38.55jonwilanyone know who runs the CSSU repos?
06:39.14jonwilI think it might be merlin1991 but I am not 100% sure
06:41.39jonwilor is it freemangordon?
06:42.13bencohit's merlin1991
06:42.44jonwilok
06:42.58bencohthumbs are hosted by merlin1991 as well, but -testing/-stable are hosted on maemo infra
06:43.45jonwilok
06:56.46freemangordonbencoh: 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 you
07:06.44jonwilmerlin1991: ping
07:10.36bencohfreemangordon: line 2256?
07:10.51freemangordonhmm, well, my bad
07:11.06freemangordonit is other on your side (I added some g_warnings)
07:11.27freemangordonanyway the function is   p, li { white-space: pre-wrap; }  mafw_gst_renderer_worker_stop
07:11.39freemangordonstupid QtCreator !!!
07:11.46freemangordonmafw_gst_renderer_worker_stop
07:12.23freemangordonbencoh: after the comment   /* Reset worker */
07:12.52freemangordoninit worker->xid to 0 somewhere there
07:15.08freemangordonbencoh: got it?
07:15.44bencohyeah
07:16.11freemangordonok, as I am going afk
07:16.15freemangordonbbl
08:23.46*** join/#maemo-ssu freemangordon_ (~ivo@212.5.158.15)
08:29.39bencohfreemangordon: works fine thus far
08:33.51*** join/#maemo-ssu freemangordon_ (~ivo@212.5.158.15)
08:46.30bencohfreemangordon: 11:29 < bencoh> freemangordon: works fine thus far
10:21.15*** join/#maemo-ssu freemangordon_ (~ivo@212.5.158.15)
10:22.18freemangordon_bencoh: seems there is more to fix
10:37.14xesfreemangordon_: i think to recall that most of time the problem happens while trying to resume a previously played video
10:37.28freemangordon_:nod:
10:40.44freemangordon_seems the change I proposed fixes the issue at least partially
10:40.56freemangordon_xes: you're on cssu?
10:42.40merlin1991jonwil: pong
10:45.42jonwilxes: 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...
10:45.43jonwil...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.
10:45.48jonwilWont work for VoIP though
10:46.06jonwiland you might need to clone the hildon-plugins-notify-sv library to pull it off
10:46.13jonwilbut its definatly possible
10:46.37jonwilmerlin1991: where does cssu get hald-addon-bme-dev from?
10:47.03jonwilits not in the nokia SDK repos or in any of the cssu git stuff
10:47.12merlin1991one sec, let me check
10:47.35merlin1991iirc it's in one of our gits that has a different name
10:48.53jonwilThere 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)
10:49.44merlin1991actually there should be nothing else needed
10:50.06merlin1991if something is missing on https://github.com/community-ssu then that's a mistake
10:50.20jonwilwell hald-addon-bme-dev isn't there
10:50.35jonwilMy guess is that hald-addon-bme-dev is comming from the bme replacement stuff
10:51.13freemangordon_:nod:
10:51.28freemangordon_we should pester Pali
10:53.10jonwilalso 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.
10:53.25jonwilOr if you would rather have me make patches and submit them for review, thats ok too, I can do that
10:53.51freemangordon_jonwil: iirc you had commit access on gitorious, ain't?
10:53.59freemangordon_s/commit/push/
10:54.07merlin1991jonwil: you should have mail
10:54.21jonwilyes I had push access on gitorious but not sure to which trpos
10:54.30jonwilrepos
10:54.41freemangordon_I guess to those you're working on :)
10:55.44jonwilJust 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 :)
10:56.50merlin1991jonwil: where do you need hald-addon-bme-dev? because I don't have that in my scratchbox where I build all the cssu releases
10:57.04jonwilthe package mce references it
10:57.13jonwilso if mce isn't built as part of cssu then that would explain it
10:58.03merlin1991hm mce was in cssuT11
10:58.09merlin1991gotta check how I built that
10:58.25jonwilnow I just have to figure out how to pull a github repo inside scratchbox inside my VM
10:58.40jonwilI guess I probably want to pull via ssh
11:10.55jonwilok, now I can pull stuff from github :)
11:20.07jonwilok, its telling me I dont have commit access to osso-systemui-dev
11:20.31jonwilMy ssh keys are set properly and its letting me in, it just tells me I dont have push access to it
11:21.18merlin1991jonwil: one sec
11:23.10merlin1991github changed the permission system
11:23.21merlin1991now there are "teams" inside an organization and other stuff
11:23.40merlin1991jonwil: you should be able to push now (I hope)
11:24.06jonwilok, I can push to that repo now
11:24.25jonwilso which repos do I now have push access to exactly?
11:25.01merlin1991all of the community-ssu repos
11:25.14jonwilok, thanks
11:25.36merlin1991I 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 :D
11:32.50jonwildid you figure out how you compiled mce and where hald-addon-bme-dev came from?
11:38.18bencohfreemangordon: yeah, I've just seen a strange bug
11:40.22bencohclick on a video, window changed to player waiting (dots), failed and moved back to video list
11:40.43bencohre-clicking on video openeded a new window with player inside that closed almost instantly
11:41.24*** join/#maemo-ssu freemangordon_ (~ivo@212.5.158.15)
11:42.01freemangordon_bencoh: hmm?
11:42.03bencohnot sure what happened, maybe the player process of mediaplayer that kept crashing/relaunching
11:42.40freemangordon_never happened here
11:42.53bencohfirst time I see this behavior as well
11:43.08bencohI havent been able to reproduce it from the begining
11:44.17bencohbut when it happened, reclicking on the mediaplayer window from task manager led to window closing/reopening
11:45.19freemangordon_I guess it is a bug in OMP
11:45.30bencohstock mediaplayer
11:45.31bencohbut maybe
11:45.35freemangordon_ooh
11:45.38freemangordon_OMP here
11:45.55freemangordon_maybe that's why i've never seen it
11:46.11freemangordon_however, besides that xid, there is something else
11:46.17freemangordon_could be in gst-dsp this time
11:46.20bencohplayer hanging seems to be a common bug
11:46.23bencohso gst or mafw
11:46.28freemangordon_yeah
11:46.34freemangordon_mafw for sure
11:46.54freemangordon_otherwise it won't recover on mafw-gst-renderer restart
11:47.09bencohoh, and ... how the hell did they manage to overlay controls over video and switch it on/off without any playback artifact?
11:47.12freemangordon_it is supposed to recreate the gst pipeline on every new video
11:47.41freemangordon_bencoh: omap3 overlay supports it
11:47.47freemangordon_it is a HW feature
11:48.09bencohhmmm...
11:48.23bencohmafw-gst-renderer uses xvimagesink with xoverlay
11:48.30freemangordon_:nod:
11:48.34bencohso ... where does the omap3 magic happen?
11:48.48freemangordon_toldya, in HW
11:48.50bencohOMP is able to overlay controls as well, but playback stutters
11:49.02freemangordon_do gst-inspect on xvimagesinl
11:49.04bencohstock mediaplayer has no playback issue, it's smooth
11:49.10freemangordon_*xvimagesink
11:49.22freemangordon_well, OMP has it glitches still
11:50.17freemangordon_but this "hang" is driving me nuts, that is the last bug in Maemo still standing (for me)
11:50.52bencohI see glitches as well when playing with a plain, simple gst-launch playbin2/xvimagesink pipeline and notifications/volume pop
11:51.11bencoh(the same glitches)
11:51.31bencohbut I dont see any on stock mediaplayer, so I guess they found a way
11:51.46freemangordon_that's normal as well, volume indicator is not overlaid via overlay
11:52.09freemangordon_gimme a second to find how was it called
11:57.49freemangordon_bencoh: http://processors.wiki.ti.com/index.php/UserGuideDisplayDrivers_PSP_03.00.00.05#Color_Keying
11:58.13bencohyeah I came across color keying as well
11:58.29freemangordon_that is how it is supposed to be done
11:58.33freemangordon_no ide what OMP does
11:58.36freemangordon_*idea
11:59.27bencohbut I dunno in which window stock MP makes mafw render the video
11:59.35bencoh(the xid)
11:59.42bencohI'm starting to think it's the rootwindow
12:00.09bencohoh, and ... I still dont understand how it can playback when gdb-attached (mafw-gst-renderer)
12:08.56*** join/#maemo-ssu freemangordon_ (~ivo@212.5.158.19)
12:09.26freemangordon_bencoh: it is possible that it does DMA from DSP to framebuffer
12:09.32jonwilwould 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?)
12:10.09freemangordon_jonwil: what for?
12:10.23jonwilthis mafw discussion
12:10.33bencohfreemangordon_: who is "it"?
12:10.35freemangordon_implementing color keying in OMP is easy
12:10.48jonwilit being the stock media player
12:10.48freemangordon_bencoh: HW :)
12:10.54bencohgstreamer pipeline lives in mafw-gst-renderer
12:11.02jonwili.e. figuring out what calls its making that are different to omp
12:11.03freemangordon_not sure
12:11.15jonwilthe goal here seems to be to make omp do what stock mp does
12:11.18bencohand it's a "simple" playbin2/xvimagesink pipeline
12:11.49bencohunless I missed someting
12:11.51freemangordon_bencoh: I don;t think it is that simple, I guess output buffers are allocated by the player, not mafw
12:12.06bencohoutput surface maybe
12:12.14bencoh(hence the xid)
12:12.16freemangordon_also, you don;t need a running process for DMA to happen
12:12.33bencohdo you think it's end-to-end DMA?
12:12.49bencohwith no software interaction
12:12.51freemangordon_it is not, xvimagesink does a copy
12:13.06bencohthen I dont understand how it can run when attached
12:13.42bencohwhich means there has to be something else, but I dont see what :)
12:13.59freemangordon_or you're making some mistake :)
12:14.04bencohmost probably
12:14.06bencoh:)
12:14.43freemangordon_bencoh: anyway, even with the xid fix, OMP still hangs on me. way harder to trigger it, but still
12:14.54freemangordon_so, there is another bug living somewhere in mafw
12:17.10freemangordon_bencoh: what I suspect is that pipeline is not really reset on a new playback, or mafw's internal state is not reset
12:18.29bencohyeah
12:18.32freemangordon_jonwil: no, the goal is to find the bug in mafw which causes both players to "hang" when video playback is attempted
12:18.35bencohfunny thing is:
12:18.37bencoh<PROTECTED>
12:18.37bencoh<PROTECTED>
12:18.44freemangordon_:D
12:18.49bencohbefore _construct_pipeline
12:18.52bencohso I guess it should be :D
12:19.18freemangordon_camera-ui reuses the pipeline iirc
12:19.25bencohor .... something's racy
12:19.34freemangordon_don;t see why mafw cannot
12:19.47freemangordon_bencoh: yeah, or that one
12:20.00bencohcamera-ui has no media/format detection issues
12:20.07bencohpipeline can be static
12:20.19bencohplaybin2 has a lot of things going under
12:20.24freemangordon_sure
12:21.05bencohit's quite amazing that it works as it is considering the amount of "automagic" stuff :]
12:22.25freemangordon_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 home
12:22.51freemangordon_bencoh: you may try to do the same as well
12:23.45bencohhow are you supposed to see warn messages wit mafw?
12:24.02bencohrun it without wrapper?
12:28.52xesfreemangordon_: yes, cssu devel thumb
12:30.17xesjonwil: per-contact ring tone would be great if really working without slow down everything like with the other "fantasy" solutions of the past
12:33.49freemangordon_bencoh: no idea
12:34.00freemangordon_but I see them in syslog :)
12:35.01freemangordon_xes: ringtones are supposed to be "prepared" as pcm, so they should not slow down the system
12:40.08*** join/#maemo-ssu Sicelo009N (~sicelo@unaffiliated/sicelo)
12:42.13bencohfreemangordon_: how right, syslog
12:42.29bencoh(I dont have it since it's not a dev device)
12:45.28Sicelo009Neasy to install.. have it on all my N900
12:46.17xesfreemangordon_: yes, but old tricks with a service swapping symbolic links with ringtone associations in a txt file... were a mess
13:20.39*** join/#maemo-ssu sparetire_ (~sparetire@unaffiliated/sparetire)
13:25.02*** join/#maemo-ssu freemangordon_ (~ivo@212.5.158.41)
13:25.27freemangordon_xes: right, but that's unrelated
13:25.58freemangordon_the correct way is what jonwil said (I guess)
15:37.47*** join/#maemo-ssu Pali (~pali@Maemo/community/contributor/Pali)
15:38.23*** join/#maemo-ssu Sicelo009N (~sicelo@unaffiliated/sicelo)
16:33.40*** join/#maemo-ssu povbot (~supybot@178-236-196-236.csc.lt)
17:02.27*** join/#maemo-ssu useretai- (useretail_@gateway/shell/elitebnc/x-kzzbcpkjqhdlfcmx)
17:50.15*** join/#maemo-ssu futpib (~futpib@176.104.194.78)
18:03.39*** join/#maemo-ssu _LauRoman (~yaaic@5-14-22-54.residential.rdsnet.ro)
18:04.39*** join/#maemo-ssu LauRoman|Phone (~yaaic@5-14-22-54.residential.rdsnet.ro)
18:34.25*** join/#maemo-ssu jon_y (~enforcer@2001:e68:4074:444c:e01f:8e6d:cdca:d0e5)
19:09.26freemangordonxes: btw, did you try the last modest? it should have "show more" working as it is supposed
19:09.35freemangordonbencoh: any progress?
19:09.59bencohregarding? mafw?
19:10.33freemangordonyep
19:10.39bencohnot really, the strange mediaplayer bug occured again (player window closes and opens back like it crashed)
19:10.52bencoh(and no playback, of course)
19:10.52freemangordonhmm
19:11.34freemangordonI am going to dig it further in a while
19:12.12bencohI'd probably need to install syslog and add g_warns everywhere as you suggested
19:12.36freemangordonoh, I thought you already did it
19:12.46freemangordonI see no other sane way to debug that
19:12.47bencohnot yet no
19:15.41bencohI played with gstxoverlay/colorkey and managed to overlay gtk widgets on the video (just like stock mediaplayer), but that's another story :)
19:16.51bencohoh, and ... it feels like it's easier to trigger the mafw bug when using a gst video pipeline in a different process beforehand
19:40.51*** join/#maemo-ssu Sicelo009N (~sicelo@unaffiliated/sicelo)
22:19.29xesfreemangordon: modest "show more" now is working correctly. But i'm still testing general behavior
22:27.18*** join/#maemo-ssu jonwil (~jonwil@27-33-80-219.tpgi.com.au)
22:31.41*** join/#maemo-ssu peetah (~peetah@cha92-9-82-236-202-86.fbx.proxad.net)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.