libera/#maemo-leste/ Tuesday, 2021-09-28

sicelohey ho! that's a beautiful sight :)00:22
konaFreemangordon progress!!!!!01:08
uvosgreat11:03
lelIMbackK closed an issue: https://github.com/maemo-leste/bugtracker/issues/383 (Change geometry file for Droid4 keyboard a tiny bit.)12:59
lelIMbackK milestoned an issue: https://github.com/maemo-leste/bugtracker/issues/524 (PowerVR DDK 1.17 Glamor/Xorg)13:04
mighty17[m]hey tmlind tried out your wlroots branch (https://github.com/tmlind/wlroots/tree/pvr-gles2-v2) and it doesnt seem to be working15:51
mighty17[m]i disabled `HAS_GBM_BO_GET_FD_FOR_PLANE` as well as you told in the issue still i get15:51
mighty17[m]`(phoc:1764): phoc-wlroots-CRITICAL **: 19:12:00.449: [GLES2] OpenGLES 2.0 API generated error code 0x500(GL_INVALID_ENUM)`15:51
uvosit works fine for me17:05
uvoswhat are you using?17:05
uvospvr wise17:06
mighty17[m]uvos ddk 1.17 (pmOS)18:48
tmlindmighty17[m]: so i have some pending kernel related omapdrm and pvr changes in my branch, do you have those applied? that's currently https://github.com/tmlind/linux_openpvrsgx/commits/droid4-pending-pvr-omapdrm-v5.1519:37
mighty17[m]tmlind: nope, i just used the openpvrsgx branch and added my dts as a patch19:37
mighty17[m]do you mind if i use your kernel as a base for my pmOS kernel?19:38
tmlindmighty17[m]: ok may see if my branch has something that helps, most of those are for command mode lcd panels though19:38
tmlindmighty17[m]: no go for it, more testing :)19:38
mighty17[m]thanks! I'll try it out19:39
mighty17[m]also did you build wlroots on device?19:39
tmlindseems the remaining unsolved issue for wlroots is how to deal with finding the right /dev/dri render node and still have the pvr blobs work19:40
tmlindmighty17[m]: yeah i've been building patched mesa, wlroots and sway on my d4.. mesa takes hours19:40
tmlindgood thermal and memory test though19:41
mighty17[m]just make a package for the patched mesa, like pmOS does it?19:42
mighty17[m]lol great test xD19:42
tmlindwell i've been adding some debug statements..19:42
mighty17[m]oh, well cant imagine how you bear with it building for hour19:43
mighty17[m]for pmOS i suppose i dont need any changes on wlroots? or `HAS_GBM_BO_GET_FD_FOR_PLANE` needs to be removed?19:44
tmlindi just hack for a little while then let it build, then check later. slow going but no rush, it's a hobby :)19:44
mighty17[m]still must be painful19:45
tmlindyeah i just changed the HAS_GBM_BO_GET_FD_FOR_PLANE line to #if 019:46
tmlindyeah it's a pain, i could build it on a much faster machine but been too lazy to switch to that so far19:47
mighty17[m]well you get more time to test :P19:48
tmlindbuilding wlroots and sway is quite tolerable19:51
mighty17[m]my tab gets quite hot so compiling is a no go xD19:52
tmlindWizzup, uvos: finally figured out why n900 no longer hits off mode during idle while my 37xx based board does :)20:23
Wizzupwow20:23
Wizzupthat's great news20:23
tmlindso in omap3430_idle_driver, the nokia measured target_residency is so high current mainline kernels will never pick it20:24
tmlindas a test, i set .target_residency = 46057 also for core ret and core off states20:24
tmlindcore_pwrdm (ON),OFF:1047,RET:0,INA:0,ON:1048,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:020:25
tmlindnot sure what the values should be now.. i can't currently measure power on n900 as it's in a rack20:26
uvoswhy is it switching to on or off but never ret20:26
tmlinduvos: well right now they core of and ret have the same values, cpuidle picks off as the lower state20:27
uvosok20:27
uvosanyhow sadly this dosent help us atm since the leste kernel dosent hit ret either.20:27
uvosddk1.17 things...20:27
tmlindthat thing again :)20:27
tmlindroughly i recall the core off latency is up to 150ms on n90020:28
uvosthats pretty long (comeing from a uc background here)20:28
uvos(might be normal for this kind of processor idk)20:29
tmlindyeah, on 37xx it's way faster some tens of ms i recall, maybe 30 ms i forgot20:29
uvosthat sounds more sane20:30
tmlindthe exit_latency numbers measured by nokia should be very accurate20:30
tmlindthere was some workaround issue on 34xx causing super long wake up latency20:30
tmlindwe really should have omap37xx_idle_driver there too with values picked from the nokia n9 kernel if anybody wants to patch that in20:31
tmlindwell we should rename omap3_idle_driver to omap37xx_idle_driver, and compare the current omap3_idle_driver to the nokia n9 kernel values20:33
tmlindhmm i wonder if the large target_residency values cause some timer calculation overflow error in cpuidle?20:36
_inkyi know someone ported modrana, but can can can i tell you, i miss maemo mapper so much!20:37
tmlind_inky: heh, i mostly use foxtrotgps, have not figured out how to configure custom map repos though.. i just hardcoded some in20:39
uvosnavit also works pretty well20:40
tmlinduvos: yup trying with target_residency of 50000 and 60000 makes core ret work20:40
tmlindcore_pwrdm (ON),OFF:19,RET:6,INA:0,ON:26,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:020:40
uvosgreat20:40
uvosprobubly finishing the linux port on this would be best https://github.com/organicmaps/organicmaps20:41
_inkytmlind: let me see, i didn't know it's in the repos. do you remember maemo-mapper?20:41
uvosit compiles and works on my desktop but its quite rough20:41
uvos(especcaly the build system needs work)20:41
uvosotherwise it looks like an awsome modern osm navigator20:42
tmlind_inky: oh yeah20:42
tmlindhmms so we have new u64 target_residency_ns and old unsigned int target_residency.. i also recall some issue with those from years ago20:44
_inkyuvos: never heard of it. i'll try when it'll be in the repos.20:50
Wizzup_inky: maemo mapper?20:53
Wizzup_inky: you could probably port it?20:53
Wizzup_inky: this? http://maemo.org/packages/view/maemo-mapper/20:53
Wizzup_inky: probably we can do an initial port in a matter of hours20:54
Wizzupyou probably could too, all the deps should just be there20:55
_inkyi am concerned about gps, i have no idea how the app connects to gps.20:58
_inkybut i may try, thank you for encouraging.20:58
Wizzup_inky: we already ported liblocation21:03
Wizzupit is API compatible, so your build should just work21:03
_inkyyes, so there is gpsd and liblocation.21:03
_inkyaaa, liblocation? i was using it in other my app!21:03
_inkyit was a location sharing via xmpp.21:04
_inkyhttp://norayr.am/meridian23/meridian23.gif21:04
Wizzupcool :)21:06
uvos_inky: porting maemo mapper would be neat but if you need something right now that works dose navigation and vector maps navit is in the repos and works fine and is even touch frendly (atho clunky)21:19
_inkyuvos, i never was able to use navit on fremantle, don't remember why. but i'll try again. i remember i was in love with maemo-mapper for some reason.21:27
uvoson leste it works fine i use it regularly21:27
uvosyou have to configure the xml file a bit to get resonable ui21:28
uvosotherise it works out of the box21:28
uvosyou need to donwload maps for it too ofc get them here21:30
uvoshttp://maps3.navit-project.org/21:30
_inkythank you so much for doing it.21:32
_inkyi am opening the link now.21:33
uvosi dident do anything :P its in the debian/devuan repos21:33
_inkydownloadable maps are cool for offline work. (:21:33
_inkyoh.21:33
uvosbut i think i should publish my config21:33
_inkybut what does it use? liblocation? gpsd?21:33
uvosgpsd21:33
_inkyit works on droid with gpsd?21:33
_inkycool.21:33
uvosyeah21:33
tmlindso for the n900 off idle issue, i think the bug is kernel is too busy with timers to hardly ever hit the 484ms target residency. somebody should measure longer term idle power consumption though with lower values, i suspect it still saves power below 484ms sleep lengths21:35
uvostmlind: btw i noticed that ret wakeups on d4 can be reduced in frequency a bit by messing wihth the sched21:37
uvosmight help here too21:37
uvos*the sched values21:37
tmlinduvos: yeah cool i saw that21:39
uvosbut yeah not way the kernel is ever going to sleep for half a second21:39
uvosat least in its current state21:39
tmlindnope.. n9 often slept for about 8 seconds between debug led blinks :(21:39
uvosmight make sense to trace the timers a bit21:40
tmlindyeah21:40
tmlindso n900 should be idle and limited to a single cpuidle state at a time while measuring21:42
tmlindsome kind of sample integration is needed to get let's say 10 minute total power consumption21:43
tmlindwell i guess those cheapo usb charge monitor dongles will show the cumulative power consumption21:44
uvosthe n900 battery chip should be enough no21:44
uvosit has a charge counter21:44
tmlindoh ok yeah that should do21:44
WizzupI have a n900 on lab psu, so could use that too for measuring21:47
tmlindWizzup: ok, not seeing a charge counter after bq2415x_charger, don't have a battery connected if that matters21:48
tmlindhmm or was it the twl madc that's needed?21:49
tmlindrx51_battery module using twl madc i guess21:51
_inkycan you remind me, so we supposed to have maemo/beowulf branch, and the builder bilds code from that branch?21:51
_inkyor from master?21:51
Wizzupinky_: tag master, maemo/beowulf for debian/ dir21:54
_inkyso maemo/beowulf branch contains debian dir, ok, i understand that.21:55
_inkybut tag should be done in master?21:55
_inkyok.21:55
_inkyand the builder will take debian dir from maemo branch, and tag from master?21:55
_inkyok.21:55
tmlindnot seeing a charge counter with cat /sys/class/power_supply/*/uevent, should not be hard to add it based on the madc data. although reading might affect the idle states..21:58
uvossomeone had a userspace script to dump that21:58
uvosi have been trying to find it the last 5min :P21:58
tmlindi don't think madc has a charge counter, but maybe it's sampling time can be set long enough to not require much polling21:58
uvosok i was pretty sure it did21:59
uvosbut maybe the script was simply calculating behind my back21:59
tmlindoh ok21:59
tmlindi sort of recall madc being just a few raw adc inputs21:59
uvosi might be wrong22:00
uvosim just basing this off me running this script and viewing its output once22:00
tmlindthe bq chip might have one though22:00
uvosthe bq chip has one internaly for sure22:00
uvosbut looking at the register datasheet you cant read it drectly22:01
tmlindso maybe the script you're talking about is using i2cget on the bq2415x chip?22:01
tmlindah ok22:01
uvosah its bq2720022:03
tmlindoh22:03
uvosthere is another bq27200 fule guage22:03
tmlindright, i forgot :022:03
tmlind:)22:03
uvosheh :P22:03
uvosyeah the script was just i2cget'ing  from that22:03
uvosfor sure22:03
uvosyou wil lwant to read 0x15 and 0x1422:06
tmlindlooks like after modprobe of bq27xxx_battery_i2c i see power average but not charge counter, weird that it's not implemented if it can be just read22:07
tmlindhere's another good project for somebody :)22:07
uvoser 0x21 -0x2022:08
uvosits not totaly directly22:08
tmlinduvos: any idea what units the register shows?22:09
uvosAvailable Energy in mWh22:09
tmlindok22:09
uvoseffectively  a charge counter22:09
uvos(just in reverse)22:09
tmlindyeah ok22:09
uvosyou also have to devide by the shunt22:10
uvosits external to the chip22:10
uvosso you need to know what value nokia used22:11
uvosbut its irellivant if you just want to compear values22:11
uvosbetween to operating states to figure out what uses more power22:11
tmlindhmm yeah, that should be a fun project to award to somebody as writing linux kernel drivers project :)22:12
tmlindzzz time here now, ttyl22:13
freemangordonkona: could you please package http://safr.mrrau.eu/maemo/maemo.muarf.org/apt-mirror/mirror/repository.maemo.org/pool/maemo5.0/nokia-binaries/4bc37c7c77ebe90177c050b805a8dc79/nokia-binaries/m/modest-providers-data/modest-providers-data_1.3-2010.06-1+0m5_i386.deb for leste?22:21
freemangordonmodest needs this22:21
_inkydo you remember what is gbp.conf? is it necessary in debian dir?22:25
_inkyaaand can you remind me how was i building the XB-Maemo-Icon-26?22:28
_inkyah ok found22:28
_inkythe icon part, not the gbp.conf part22:28
freemangordongbp is needed by CI22:34
freemangordonlike jenkins22:34
_inkyok!22:34
freemangordongbp.conf that is22:34
_inkythanks!22:34
freemangordonotherwise gbp is git-build-package, IIRC22:34
_inkywoow22:34
sicelotmlind: thanks for these great news of 2021 (N900 off mode) :)22:35
freemangordonhmm, what did I miss?22:38
uvosnothing off mode dosent work because the kenrel has way to many fireing timers22:39
uvosyou can make it enter the mode anyhow22:39
uvosbut it wont under normal circumstances with the current latency figures22:40
freemangordonI see22:40
freemangordon(23,39,11) phoenix-bot: Project modest-binaries ยป architecture=amd64,label=amd64 build #1: SUCCESS in 7 min 59 sec: https://phoenix.maemo.org/job/modest-binaries/architecture=amd64,label=amd64/1/22:41
freemangordon:)22:41
uvosgreat22:41
uvoswhat works?22:41
freemangordonit doens;t have abook integration enabled still, but it will help me a lot with abook REing22:41
freemangordoneverything else22:41
uvosneat22:42
freemangordonwell, I set-up my gmail accoun and it works fine22:42
freemangordondidn;t try to send mail though22:42
freemangordonuvos: any clue why hildon-desktop does not update applicatyions in the launcher when new one is installed? is that common issue?22:43
uvoshmm22:44
uvosworks for me22:44
_inkyif i remove 'end' at the end of uuencoded image, the end of the file looks like:22:44
uvosi installed ltris just yesterday and it worked fine22:44
freemangordonI had to restart hildon-desktop in order modest icon to appear22:44
uvoshmm22:44
uvosstrange22:44
freemangordonmhm22:44
uvosi gues maybe its broken outside the debian menu?22:45
freemangordonyeah, modest is outside of debian22:45
freemangordonso maybe it is broken like that22:45
siceloi'm a bit lost though - what's missing in the bq27200 driver?22:45
freemangordonok, will play a bit with it when I have some spare time22:45
_inkysorry for interrupting you, but the last two lines look like:22:46
_inky/-,<L`````$E%3D2N0F""22:46
_inky `22:46
uvoslet me install modest22:46
_inkyonly one symbol of backtick on the last line.22:46
freemangordonwait few more minutes22:46
_inkyshould i remove it?22:46
freemangordonuvos: armhf/arm64 are still building22:46
sicelofreemangordon: one thing that's really broken is desktop widgets. possibly something that must be fixed as part of Gio port22:46
uvosok ill install something else then22:46
freemangordonyeah, must have broken it when I did the port. or, was it me? I don't really remember22:47
uvosfreemangordon: i just installed dorian22:47
uvosand it worked fine22:47
uvoslooks like its just broken on your machine22:48
freemangordonin the VM?22:48
uvosno on d422:48
uvostrue might be 64 bit issue or something22:48
freemangordonmhm, will look at it22:48
_inkyok i need a repo already23:36
_inkyit builds.23:36
_inkythat's a gemini client that uses sdl.23:36
_inkyi used it on droid for a couple of weeks, but now i can commit a package.23:37
_inkyi also built an emulator for 8bit computer: oric atmos.23:37
_inkyuse it on droid. woud like to package too.23:37
_inkybut wait. i am not sure how to deal with submodules.23:47

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