libera/#maemo-leste/ Monday, 2023-04-10

tmlindfreemangordon: the touchscreen controller on d4 is only capable of wake-up from idle mode it seems, that's why it need to be closed to properly idle09:07
tmlindwell unusable but still consuming power in idle mode i mean :)09:07
freemangordon73%: Checks: 15, Failures: 4, Errors: 010:40
freemangordon:)10:40
Wizzup:D11:11
freemangordonugh, actually fixed a nasty bug mafw-gst-renderer17:08
freemangordonmight be the reason why consecutive video playbacks do not work17:09
norayri will dd the new chimaera droid3 image and try.17:24
norayrthough i don't have much hope. the last image i tried in summer didn't even boot, but the image before before last was booting, and then becoming unstable.17:25
bencohfreemangordon: you mean, the reason why we had to restart it from time to time on fremantle?17:29
freemangordonmhm17:29
Wizzupnorayr: nothing changes in the d3 so it'd be a waste of time jfyi17:30
freemangordonWizzup: https://github.com/maemo-leste/mafw-gst-renderer/tree/wip_leste17:34
freemangordon:)17:34
norayri am willing to waste time. :/ maybe you don't know but it will work for some reason.17:34
freemangordonmagic !17:34
norayrwell, it doesn't work for unknown reasons often. it can sometimes work for unknown reason.17:35
norayrthe kernel updated, the system is newer maybe something else was causing the crashes.17:35
freemangordon100%: Checks: 15, Failures: 0, Errors: 017:37
freemangordonWizzup: dsc_: ^^^17:37
dsc_:)17:37
freemangordondsc_: please pull, build and try it17:37
freemangordonno idea what will happen :)17:37
freemangordonI am MIA for about 2 hours, waiting for good news when I am back :p17:38
freemangordonuser     21618  2133  0 15:37 ?        00:00:00 /usr/bin/mafw-dbus-wrapper mafw-gst-renderer17:42
freemangordon:)17:42
freemangordonttyl17:43
dsc_dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 217:44
dsc_root@devuan:~/mafw-gst-renderer# grep -r 'dh_installxsession' .17:44
dsc_> dh_installxsession17:45
dsc_https://github.com/community-ssu/upstart/blob/master/debian/dh/dh_installxsession#L117:45
dsc_(?) :P17:45
dsc_make: *** [debian/rules:18: binary] Error 217:45
dsc_dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 217:45
dsc_dh_installxsession -u 'post 32'17:46
dsc_make[1]: dh_installxsession: No such file or directory17:46
dsc_sorry for spam17:46
dsc_but what is `dh_installxsession`17:46
Wizzupdsc_: did you figure it out or do you need help17:46
Wizzup# dpkg -S $(which dh_installxsession )17:47
Wizzupmaemo-system-services-dev: /usr/bin/dh_installxsession17:47
dsc_Wizzup: what package provides dh_installxsession ?17:47
Wizzupprobably need this for the build deps17:47
dsc_thabnks17:47
freemangordonmaemo-system-services-dev17:47
freemangordondsc_: ^^^17:47
dsc_I think it should print 'yay' here; https://plak.infrapuin.nl/selif/guxfxfdd.txt17:59
dsc_maybe I'm doing something stupid with the gcc command...18:00
Wizzupdsc_: you might need to restart if you hadn't18:00
dsc_ok, ill try18:01
Wizzupor at least run what is in the .xsession18:01
Wizzupif test -x /usr/sbin/dsmetool; then sudo /usr/bin/mafw.sh start mafw-gst-renderer -718:01
Wizzupfi18:01
Wizzupthe shell script doesn't exist on my system18:01
Wizzupmaybe just start mafw-gst-renderer18:01
dsc_Wizzup: `mafw-gst-renderer` is like a daemon?18:04
dsc_I also dont have /usr/bin/mafw.sh ...18:04
dsc_or the binary 'mafw-gst-renderer' for that matter :P18:06
dsc_thought it was just a shared lib18:06
dsc_that .xsession post does seem to indicate a daemon yeah... ;)18:07
Wizzupdsc_: ok, let me try to build it18:12
dsc_ah I found /usr/bin/mafw.sh18:13
dsc_provided by mafw-dbus-daemon18:13
Wizzupah18:14
dsc_user      3170  0.1  0.6 265900 26412 ?        S<sl 16:14   0:00 /usr/bin/mafw-dbus-wrapper mafw-gst-renderer18:15
dsc_after post18:15
dsc_so thats good18:15
dsc_still not working with this demo https://plak.infrapuin.nl/selif/guxfxfdd.txt18:16
dsc_mafw_registry_get_renderers returns no renderers18:17
Wizzupmaybe other mafw packages are missing and fmg built them18:22
WizzupI know there might be one or two that we don't have yet18:22
dsc_https://plak.infrapuin.nl/selif/3mbvnjsb.txt18:22
dsc_seems relatively ok18:22
dsc_Wizzup: we might be missing libraries for `mafw-playlist-daemon`18:28
dsc_I am (maybe) expecting `mafw-playlist-daemon.so` to be present18:29
dsc_ok18:33
dsc_some info here: https://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Using_Multimedia_Components/Media_Application_Framework_(MAFW)#Packages18:34
dsc_bbl18:34
Wizzupdsc_: might make sense to run the tests18:38
Wizzupsee if you get the same things18:38
WizzupI'm building it on my d4 atm18:39
Wizzupdsc_: I also installed mafw-playlist-daemon and libmafw-shared018:45
Wizzupfreemangordon: do we need this? https://github.com/maemo-leste/mafw-tracker-source18:46
Wizzuphttps://talk.maemo.org/showthread.php?t=6196018:47
WizzupI guess it needs to be ported to new tracker18:47
Wizzuphttps://wiki.gnome.org/Projects/Tracker/Documentation/GettingStarted / https://github.com/GNOME/tracker18:48
Wizzupdsc_: but this is not relevant for you I think (tracker source)18:48
Wizzupdsc_: the warnings you get with that program, they seem a bit worrying18:53
Wizzupmafw.c:9:9: warning: type defaults to ‘int’ in declaration of ‘registry’ [-Wimplicit-int]18:53
WizzupMafwRegistry* registry =18:53
Wizzupmight be better18:53
Wizzupthe renderer example from here also builds but doesn't find more renderers https://docs.huihoo.com/maemo/5.0/mafw-shared/ch09s04.html18:57
freemangordonmaybe those get registered somehow19:06
freemangordonor, it looks for them in wring dir19:06
freemangordondsc_: plese, don;t run that as root19:07
Wizzupyeah, I'm trying to figure out where this comes from19:08
Wizzup(where the registry is)19:08
freemangordon:nod:19:09
freemangordondbus I guess19:09
Wizzupyeah, I am monitoring dbus but didn't seem registered19:13
WizzupI guess I will also reboot my droid to see19:14
freemangordonmafw_registry_load_plugins is missing, it seems19:14
Wizzupwhere is this?19:15
freemangordonhttps://pastebin.com/cg3Ur5RF :)19:15
freemangordonsee https://github.com/maemo-leste/mafw/blob/9ba0a35164ed994759507d027f0e221a4d7a6e42/libmafw/mafw-registry.c#L5019:16
freemangordonhttps://github.com/maemo-leste/mafw/blob/9ba0a35164ed994759507d027f0e221a4d7a6e42/libmafw/mafw-registry.c#L47319:17
Wizzupah to the example19:18
freemangordonmhm19:18
Wizzup$ ./mafw19:19
Wizzupyay19:19
Wizzupok, cool19:19
Wizzupdsc_:   mafw_registry_load_plugins(registry);19:19
freemangordonI wonder why this is missing from the example19:20
freemangordonah, but it calls mafw_shared_init()19:21
freemangordondsc_: I would take the example as-is19:23
WizzupI think he might have made the example based on OMP19:23
freemangordonhmm, should not be needed to load plugins manually19:46
freemangordonmafw-dbus-wrapper does already19:46
Wizzupfreemangordon: is the plugin dir correct?19:51
Wizzuphm, I mean it must be\19:51
freemangordonchecking19:51
freemangordonugh19:52
freemangordonnot it worked19:52
freemangordon*now19:52
freemangordonlemme reboot19:53
freemangordonmaybe it was started on wrong session bus19:53
freemangordonugh19:57
freemangordonwhat the?19:57
freemangordonhttps://github.com/maemo-leste/mafw-gst-renderer/blob/wip_leste/debian/mafw-gst-renderer.xsession#L419:58
freemangordonsudo?!?19:58
* Wizzup back in a bit19:58
freemangordondsc_: please pull, rebuild, install and reboot20:07
freemangordonthe problem is that postinstall starts dbus wrapper as sudo20:10
freemangordonthat's another dbus20:11
freemangordonugh, XV is not supported in VM20:38
Wizzupfreemangordon: did you get this renderer to show anything ever, or should it not?20:54
freemangordonit xvimagesing fails to initialize in the VM20:54
WizzupI am trying internet radio20:55
freemangordonme too20:55
Wizzupfor example gst-launch-1.0 playbin uri=http://streamer-02.rtl.fr/rtl-1-44-6420:55
Wizzupbut20:55
freemangordonit works here20:55
Wizzupreally?20:55
freemangordonyes20:55
freemangordonsec20:55
Wizzuphow do you run the example20:55
freemangordonsec20:55
Wizzup/mafw2 uri=http://streamer-02.rtl.fr/rtl-1-44-6420:55
Wizzupok20:55
Wizzupsure20:55
freemangordonno20:55
Wizzupthat was supposed to be ./20:55
freemangordonI copoied playlists from my n90020:55
freemangordon*copied20:55
WizzupI tried to do that too :D20:55
Wizzupto /home/user/.mafw.db20:55
freemangordonumm20:55
Wizzupanyway, no rush20:56
Wizzupif you can let me know what you did/tried20:56
freemangordon.mafw-playlists20:56
freemangordoncopy that from your fremant;e20:56
freemangordonthen edit 5 (maybe) and change the url20:56
freemangordonthen start './mafw "Internet radio"'20:57
WizzupI only have 1/2/3 and none of them have URLs I think20:57
freemangordonsec20:57
Wizzup'3' seems to be the radio playlist20:57
Wizzupbut it corresponds to database entries I think20:57
freemangordonWizzup: https://pastebin.com/pPkqEYHD20:58
Wizzupstill don't see a window or anything else20:59
Wizzuphm\20:59
freemangordondo you hear the radio?21:00
Wizzupno, I think it will timeout and get a sigtrap21:00
Wizzup[INFO] Browsing Internet radio on Mafw-IRadio-Source.21:01
Wizzup(process:4714): mafw-example-ERROR **: 21:00:46.302: Browse error: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.21:01
WizzupTrace/breakpoint trap21:01
freemangordonoh, wait21:01
freemangordondo yo use example code from https://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Using_Multimedia_Components/Media_Application_Framework_%28MAFW%29#Packages ?21:02
Wizzupcan you link to the example code directly?21:03
freemangordonhttps://pastebin.com/NPdaiuMB21:03
freemangordonsec21:03
freemangordonWizzup: https://pastebin.com/8Gi5EUAA21:04
WizzupI was using the example source that hardcodes the tracker21:04
freemangordonuse ^^^21:04
Wizzupok21:04
freemangordondo you try on-device?21:04
Wizzupyes21:05
freemangordonit will work then21:05
freemangordonI'll recompile with ximagesink here21:05
Wizzup[INFO] Assigning playlist Internet radio to Mafw-Gst-Renderer.21:05
Wizzup(process:4784): mafw-example-ERROR **: 21:04:57.130: Playlist not found21:05
WizzupTrace/breakpoint trap21:05
Wizzupgetting there21:05
freemangordonyes, you have to restart playlist daemon21:05
Wizzupnow I will get your playlist in it21:05
freemangordonright21:05
Wizzupihttps://bpa.st/raw/6JE4M21:07
Wizzuphttps://bpa.st/raw/6JE4M21:07
freemangordonyeah, same here21:08
freemangordonlemme try something21:08
Wizzupmaybe it is set to stopped and not playing21:08
freemangordon gst-launch-1.0 playbin uri=http://live.btvradio.bg/z-rock.mp3 video-sink=ximagesink audio-sink=pulsesink21:11
freemangordonthis works21:11
freemangordonoh, wait21:14
bencohin case you wanna try something that works on fremantle: http://pastebin.notk.org/pastebin.php?show=m561b61d921:14
Wizzupdoes this use mafw?21:24
freemangordonlooks like gst21:25
freemangordonok, seems like we have some issues with audio formats21:26
Wizzuphm21:34
uvosmce pr lgtm21:37
uvoswant me to merge it?21:37
freemangordonno, I will21:42
freemangordonWizzup: ok, setting playbin flags to 99 is what bugs it21:58
Wizzupfreemangordon: ah, and what fixes it?22:36
norayrso... d3 booted and... it worked so long as it never worked!23:43
norayrnever23:43
norayrusually it was booting and then starting xorg and hildon, and then it would crash and down.23:44
norayrnow i managed to use it for about 5 minutes.23:44
norayrand I even was able to open dmesg23:44
norayrand see these messages regarding CLKsomething23:44
norayrand because of those messages i guess, it crashed and shat down.23:44
Wizzupwhat messages exactly?23:55
norayri can manage to make a photo i believe, it was allowing me now.23:58

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!