libera/#maemo-leste/ Wednesday, 2023-04-05

Wizzupfreemangordon: do you think it'll be a lot of work? mafw-gst-renderer?12:25
freemangordonno idea13:20
arno11Wizzup: combining your n900-pm script (with off-mode blocked) + cpufreq conservative + overclock 250-850MHz + modem ON + hsdpa ON and connected, I get 44mA/165mW idle ! (battery 1337mA / 30 hours idle)13:30
arno11and for calls, it wasn't working anymore after Sunday's upgrade...now it's repaired and i have a simple process to test on a fresh install before we send stuff to Pavel13:51
arno11it still works only in one way13:51
arno11but no crash or weird things13:52
arno11and sound is good13:52
Wizzupok, please mail any instructions :D13:53
arno11ok13:54
Wizzupand great @ pm13:55
Wizzupthat's probably the serial idle?13:55
arno11the serial idle ?13:55
Wizzupthe effect of the pm script is just to idle the serials13:59
arno11ah yes ok13:59
Wizzupn900 has a serial port13:59
dsc_I looked a bit at porting `mafw-gst-renderer` and its quite a bit of work I think19:31
dsc_for one it depends on "libhal" https://gitlab.freedesktop.org/archived-projects/hal/hal19:31
dsc_which in turn depends on an older version of glib19:32
freemangordonlibhal is replaced with udev19:32
freemangordonafaik19:32
dsc_exactly19:32
freemangordonbut it udev should provide the same functionlaity19:32
freemangordonor similar19:32
dsc_sure, its not the end of the world in terms of implementation, but I was seeing if I could port `mafw-gst-renderer` myself19:33
freemangordonah19:33
dsc_but this libhal->udev might be too much for me19:33
dsc_;')19:33
freemangordonwhat exactly does it need from libhal?19:33
dsc_well19:33
freemangordonanyway19:34
dsc_I think libhal is used to signal if the "tv output" is connected/disconnected19:34
freemangordonoh19:34
dsc_so, the screen basically19:34
freemangordonwell... that's something we shaould reconsider19:34
freemangordon*should19:34
freemangordonlike, what behaviour do we want19:35
freemangordonok, so...19:35
dsc_brb supermarket19:35
freemangordonlemme do mce input-ctrl module firs (whatever it is)19:35
freemangordonand then I'll try to port that19:35
freemangordonbrb19:35
WizzupI think we can stub that signal for now, we just need it in some working state to test OMP19:40
Wizzupdsc is working on OMP atm19:40
freemangordonright19:46
Wizzupeven maybe just copying a db from fremantle could work19:47
Wizzupwell, I guess not, for the renderer19:47
dsc_freemangordon: some info I guess: https://github.com/maemo-leste/mafw-gst-renderer/issues/120:12
Wizzupgst 0.10 -> 1.0 is a little annoying, depending on what is used20:29
Wizzupboth fmg, uvos and I have done the ports before20:29
Wizzupthere is also gnome vfs -> gio porting20:33
Wizzupbut as I understand it, this is just one piece, right?20:41
Wizzupthis isn't actually the db indexing20:41
dsc_i got the impression that db stuff is done by libmafw20:41
dsc_in OMP, the `player/mafw` directory provides a Qt wrapper around libmafw20:43
dsc_actual playlist management/logic is in libmafw20:43
Wizzupright, but there is also a daemon that searches the fs for music files and adds them automatically20:43
Wizzupand I am not sure what does this20:44
dsc_am sure that after fixing the renderer we'll have other OMP portings to do, for example I have not verified that the QML stuff works (OMP has some QML bits)21:02
dsc_but at least now its ported to CMake and we know that the renderer is broken21:03
Wizzupright21:14
Wizzuparno11: thanks for the mail, mind sending it to the ml too?21:20
Wizzupdsc_: for some reason I thought the qml bits were what was causing the white screen21:20
Wizzupbut now I guess I realised it's just an empty list?21:20
Wizzupor is even the playling mafw gst, and not qml/qt?21:20
Wizzupplaylist*21:20
arno11Wizzup: sure, but maybe we should try the process on a quiet 'fresh clean install' first21:24
arno11anyway it doesn't matter21:30
WizzupI mean, in general having to kill PA is not ideal, but it's a starting point21:30
WizzupI think I was able to also get the same call audio that you do, without killing PA21:30
Wizzupbut not both sides21:30
arno11yes i was able too but it was really unstable21:36
arno11and now it doesn't work anymore on my device21:36
arno11sound is greater with alsa and better in cpu usage21:37
arno11but probably impossible with just alsa to get sound both sides21:37
arno11dealing with pa is essential21:47
arno11pulseaudio-module-cmtspeech is maybe/probably the key ?21:50
dsc_Wizzup: (afaik) the screen is white because there is no mafw *renderer*22:20
dsc_as in, it tries to render things but there is no renderer :P22:20
dsc_I think the db/playlist comes in later, and yes playlist is part of mafw22:20
dsc_well, it may not immediately try to render things per-se, but it does try to setup a "rendering context" upon constructing the video or music view22:24
dsc_this is what is making it white22:24
Wizzuphmm I see22:24
Wizzuparno11: well, per the mail from pavel he had some suggestions on what to look at first22:24
Wizzuparno11: btw, re: n900 pm, I wonder if we uncomment the off mode line for now but otherwise ship it22:25
Wizzup(for serial pm)22:25
arno11(for pavel) ok22:31
arno11Wizzup: (for pm) there is still the weird lightning screen using off mode22:34
arno11we can ship it22:35
arno11i mean, the 4 remaining blockers are weird22:36
arno11what are they exactly ? kernel modules ?22:37
freemangordonWizzup: indexi22:38
freemangordonpart is tracker22:38
freemangordon*indexing22:38
Wizzuparno11: well, when we don't enable off mode we can still idle serial22:49
Wizzuparno11: well, clearly touch screen, as it seems to still use power :P22:50
Wizzup(one of them)22:50
arno11Wizzup: yes and yes indeed22:51
arno11i just have a look on last pavel emails22:52
arno11and the question is how enabling full duplex mode on n90022:54
arno11i already tried but no succes :(22:54
arno11anyway it's late, i'll try to find docs about it tomorrow22:58
arno11gn22:59
Wizzupgn23:10

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