belcher has quit [Ping timeout: 252 seconds]
belcher has joined #maemo-leste
Pali has quit [Ping timeout: 246 seconds]
lyubov has left #maemo-leste [WeeChat 3.0]
xmn has quit [Ping timeout: 265 seconds]
rafael2k has quit [Ping timeout: 245 seconds]
joerg has quit [Ping timeout: 265 seconds]
joerg has joined #maemo-leste
pere has quit [Ping timeout: 252 seconds]
drrty has quit [Ping timeout: 252 seconds]
Danct12 has quit [Ping timeout: 265 seconds]
pere has joined #maemo-leste
pere has quit [Ping timeout: 252 seconds]
pere has joined #maemo-leste
uvos has joined #maemo-leste
xmn has joined #maemo-leste
elastic_dog has quit [Ping timeout: 245 seconds]
elastic_dog has joined #maemo-leste
<uvos> great
amk has quit [Remote host closed the connection]
amk has joined #maemo-leste
inky has quit [Ping timeout: 245 seconds]
joerg has quit [Read error: Connection reset by peer]
Pali has joined #maemo-leste
joerg has joined #maemo-leste
<lel> IMbackK closed an issue: https://github.com/maemo-leste/bugtracker/issues/383 (Change geometry file for Droid4 keyboard a tiny bit.)
<lel> IMbackK milestoned an issue: https://github.com/maemo-leste/bugtracker/issues/524 (PowerVR DDK 1.17 Glamor/Xorg)
zhxt has joined #maemo-leste
cockroach has joined #maemo-leste
xmn has quit [Ping timeout: 245 seconds]
pere has quit [Ping timeout: 252 seconds]
inky has joined #maemo-leste
_inky has quit [Ping timeout: 265 seconds]
inky_ has joined #maemo-leste
inky has quit [Ping timeout: 252 seconds]
_inky has joined #maemo-leste
DPA- has joined #maemo-leste
DPA has quit [Ping timeout: 252 seconds]
drrty has joined #maemo-leste
inky_ has quit [Quit: IRC for Sailfish 0.9]
<mighty17[m]> hey tmlind tried out your wlroots branch (https://github.com/tmlind/wlroots/tree/pvr-gles2-v2) and it doesnt seem to be working
<mighty17[m]> i disabled `HAS_GBM_BO_GET_FD_FOR_PLANE` as well as you told in the issue still i get
<mighty17[m]> `(phoc:1764): phoc-wlroots-CRITICAL **: 19:12:00.449: [GLES2] OpenGLES 2.0 API generated error code 0x500(GL_INVALID_ENUM)`
pere has joined #maemo-leste
DPA- has quit [Quit: ZNC 1.8.2+deb2~bpo10+1 - https://znc.in]
DPA has joined #maemo-leste
cockroach has quit [Quit: leaving]
<uvos> it works fine for me
<uvos> what are you using?
<uvos> pvr wise
cockroach has joined #maemo-leste
<mighty17[m]> uvos ddk 1.17 (pmOS)
<tmlind> mighty17[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.15
<mighty17[m]> tmlind: nope, i just used the openpvrsgx branch and added my dts as a patch
<mighty17[m]> do you mind if i use your kernel as a base for my pmOS kernel?
<tmlind> mighty17[m]: ok may see if my branch has something that helps, most of those are for command mode lcd panels though
<tmlind> mighty17[m]: no go for it, more testing :)
<mighty17[m]> thanks! I'll try it out
<mighty17[m]> also did you build wlroots on device?
<tmlind> seems the remaining unsolved issue for wlroots is how to deal with finding the right /dev/dri render node and still have the pvr blobs work
<tmlind> mighty17[m]: yeah i've been building patched mesa, wlroots and sway on my d4.. mesa takes hours
<tmlind> good thermal and memory test though
<mighty17[m]> just make a package for the patched mesa, like pmOS does it?
<mighty17[m]> lol great test xD
<tmlind> well i've been adding some debug statements..
<mighty17[m]> oh, well cant imagine how you bear with it building for hour
<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?
<tmlind> i just hack for a little while then let it build, then check later. slow going but no rush, it's a hobby :)
<mighty17[m]> still must be painful
<tmlind> yeah i just changed the HAS_GBM_BO_GET_FD_FOR_PLANE line to #if 0
<tmlind> yeah it's a pain, i could build it on a much faster machine but been too lazy to switch to that so far
<mighty17[m]> well you get more time to test :P
<tmlind> building wlroots and sway is quite tolerable
<mighty17[m]> my tab gets quite hot so compiling is a no go xD
Pali has quit [Remote host closed the connection]
_inky has quit [Ping timeout: 252 seconds]
Pali has joined #maemo-leste
inky_ has joined #maemo-leste
_inky has joined #maemo-leste
<tmlind> Wizzup, uvos: finally figured out why n900 no longer hits off mode during idle while my 37xx based board does :)
<Wizzup> wow
<Wizzup> that's great news
<tmlind> so in omap3430_idle_driver, the nokia measured target_residency is so high current mainline kernels will never pick it
<tmlind> as a test, i set .target_residency = 46057 also for core ret and core off states
<tmlind> core_pwrdm (ON),OFF:1047,RET:0,INA:0,ON:1048,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0
<tmlind> not sure what the values should be now.. i can't currently measure power on n900 as it's in a rack
<uvos> why is it switching to on or off but never ret
<tmlind> uvos: well right now they core of and ret have the same values, cpuidle picks off as the lower state
<uvos> ok
<uvos> anyhow sadly this dosent help us atm since the leste kernel dosent hit ret either.
<uvos> ddk1.17 things...
<tmlind> that thing again :)
<tmlind> roughly i recall the core off latency is up to 150ms on n900
<uvos> thats pretty long (comeing from a uc background here)
<uvos> (might be normal for this kind of processor idk)
<tmlind> yeah, on 37xx it's way faster some tens of ms i recall, maybe 30 ms i forgot
<uvos> that sounds more sane
<tmlind> the exit_latency numbers measured by nokia should be very accurate
<tmlind> there was some workaround issue on 34xx causing super long wake up latency
<tmlind> we really should have omap37xx_idle_driver there too with values picked from the nokia n9 kernel if anybody wants to patch that in
<tmlind> well we should rename omap3_idle_driver to omap37xx_idle_driver, and compare the current omap3_idle_driver to the nokia n9 kernel values
<tmlind> hmm i wonder if the large target_residency values cause some timer calculation overflow error in cpuidle?
<_inky> i know someone ported modrana, but can can can i tell you, i miss maemo mapper so much!
<tmlind> _inky: heh, i mostly use foxtrotgps, have not figured out how to configure custom map repos though.. i just hardcoded some in
<uvos> navit also works pretty well
<tmlind> uvos: yup trying with target_residency of 50000 and 60000 makes core ret work
<tmlind> core_pwrdm (ON),OFF:19,RET:6,INA:0,ON:26,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0
<uvos> great
<uvos> probubly finishing the linux port on this would be best https://github.com/organicmaps/organicmaps
<_inky> tmlind: let me see, i didn't know it's in the repos. do you remember maemo-mapper?
<uvos> it compiles and works on my desktop but its quite rough
<uvos> (especcaly the build system needs work)
<uvos> otherwise it looks like an awsome modern osm navigator
<tmlind> _inky: oh yeah
<tmlind> hmms so we have new u64 target_residency_ns and old unsigned int target_residency.. i also recall some issue with those from years ago
<_inky> uvos: never heard of it. i'll try when it'll be in the repos.
<Wizzup> _inky: maemo mapper?
<Wizzup> _inky: you could probably port it?
<Wizzup> _inky: probably we can do an initial port in a matter of hours
<Wizzup> you probably could too, all the deps should just be there
<_inky> i am concerned about gps, i have no idea how the app connects to gps.
<_inky> but i may try, thank you for encouraging.
avoidr has quit [Ping timeout: 265 seconds]
avoidr has joined #maemo-leste
<Wizzup> _inky: we already ported liblocation
<Wizzup> it is API compatible, so your build should just work
<_inky> yes, so there is gpsd and liblocation.
<_inky> aaa, liblocation? i was using it in other my app!
<_inky> it was a location sharing via xmpp.
<Wizzup> cool :)
<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)
<_inky> uvos, 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.
<uvos> on leste it works fine i use it regularly
<uvos> you have to configure the xml file a bit to get resonable ui
<uvos> otherise it works out of the box
<uvos> you need to donwload maps for it too ofc get them here
<_inky> thank you so much for doing it.
<_inky> i am opening the link now.
<uvos> i dident do anything :P its in the debian/devuan repos
<_inky> downloadable maps are cool for offline work. (:
<_inky> oh.
<uvos> but i think i should publish my config
<_inky> but what does it use? liblocation? gpsd?
<uvos> gpsd
<_inky> it works on droid with gpsd?
<_inky> cool.
<uvos> yeah
<tmlind> so 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 lengths
<uvos> tmlind: btw i noticed that ret wakeups on d4 can be reduced in frequency a bit by messing wihth the sched
<uvos> might help here too
<uvos> *the sched values
<tmlind> uvos: yeah cool i saw that
<uvos> but yeah not way the kernel is ever going to sleep for half a second
<uvos> at least in its current state
<tmlind> nope.. n9 often slept for about 8 seconds between debug led blinks :(
<uvos> might make sense to trace the timers a bit
<tmlind> yeah
<tmlind> so n900 should be idle and limited to a single cpuidle state at a time while measuring
<tmlind> some kind of sample integration is needed to get let's say 10 minute total power consumption
<tmlind> well i guess those cheapo usb charge monitor dongles will show the cumulative power consumption
<uvos> the n900 battery chip should be enough no
<uvos> it has a charge counter
<tmlind> oh ok yeah that should do
<Wizzup> I have a n900 on lab psu, so could use that too for measuring
<tmlind> Wizzup: ok, not seeing a charge counter after bq2415x_charger, don't have a battery connected if that matters
<tmlind> hmm or was it the twl madc that's needed?
<tmlind> rx51_battery module using twl madc i guess
<_inky> can you remind me, so we supposed to have maemo/beowulf branch, and the builder bilds code from that branch?
<_inky> or from master?
<Wizzup> inky_: tag master, maemo/beowulf for debian/ dir
<_inky> so maemo/beowulf branch contains debian dir, ok, i understand that.
<_inky> but tag should be done in master?
<_inky> ok.
<_inky> and the builder will take debian dir from maemo branch, and tag from master?
<_inky> ok.
<tmlind> not 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..
<uvos> someone had a userspace script to dump that
<uvos> i have been trying to find it the last 5min :P
<tmlind> i don't think madc has a charge counter, but maybe it's sampling time can be set long enough to not require much polling
<uvos> ok i was pretty sure it did
<uvos> but maybe the script was simply calculating behind my back
<tmlind> oh ok
<tmlind> i sort of recall madc being just a few raw adc inputs
<uvos> i might be wrong
<uvos> im just basing this off me running this script and viewing its output once
<tmlind> the bq chip might have one though
<uvos> the bq chip has one internaly for sure
<uvos> but looking at the register datasheet you cant read it drectly
<tmlind> so maybe the script you're talking about is using i2cget on the bq2415x chip?
<tmlind> ah ok
<uvos> ah its bq27200
<tmlind> oh
<uvos> there is another bq27200 fule guage
<tmlind> right, i forgot :0
<tmlind> :)
<uvos> heh :P
<uvos> yeah the script was just i2cget'ing from that
<uvos> for sure
<uvos> you wil lwant to read 0x15 and 0x14
<tmlind> looks 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 read
<tmlind> here's another good project for somebody :)
<uvos> er 0x21 -0x20
<uvos> its not totaly directly
<tmlind> uvos: any idea what units the register shows?
<uvos> Available Energy in mWh
<tmlind> ok
<uvos> effectively a charge counter
<uvos> (just in reverse)
<tmlind> yeah ok
<uvos> you also have to devide by the shunt
<uvos> its external to the chip
<uvos> so you need to know what value nokia used
<uvos> but its irellivant if you just want to compear values
<uvos> between to operating states to figure out what uses more power
<tmlind> hmm yeah, that should be a fun project to award to somebody as writing linux kernel drivers project :)
<tmlind> zzz time here now, ttyl
<freemangordon> modest needs this
<_inky> do you remember what is gbp.conf? is it necessary in debian dir?
<_inky> aaand can you remind me how was i building the XB-Maemo-Icon-26?
<_inky> ah ok found
<_inky> the icon part, not the gbp.conf part
<freemangordon> gbp is needed by CI
<freemangordon> like jenkins
<_inky> ok!
<freemangordon> gbp.conf that is
<_inky> thanks!
<freemangordon> otherwise gbp is git-build-package, IIRC
<_inky> woow
<sicelo> tmlind: thanks for these great news of 2021 (N900 off mode) :)
<freemangordon> hmm, what did I miss?
<uvos> nothing off mode dosent work because the kenrel has way to many fireing timers
<uvos> you can make it enter the mode anyhow
<uvos> but it wont under normal circumstances with the current latency figures
<freemangordon> I see
<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/
<freemangordon> :)
<uvos> great
<uvos> what works?
<freemangordon> it doens;t have abook integration enabled still, but it will help me a lot with abook REing
<freemangordon> everything else
<uvos> neat
<freemangordon> well, I set-up my gmail accoun and it works fine
<freemangordon> didn;t try to send mail though
<freemangordon> uvos: any clue why hildon-desktop does not update applicatyions in the launcher when new one is installed? is that common issue?
<uvos> hmm
<uvos> works for me
<_inky> if i remove 'end' at the end of uuencoded image, the end of the file looks like:
<uvos> i installed ltris just yesterday and it worked fine
<freemangordon> I had to restart hildon-desktop in order modest icon to appear
<uvos> hmm
<uvos> strange
<freemangordon> mhm
<uvos> i gues maybe its broken outside the debian menu?
<freemangordon> yeah, modest is outside of debian
<freemangordon> so maybe it is broken like that
<sicelo> i'm a bit lost though - what's missing in the bq27200 driver?
<freemangordon> ok, will play a bit with it when I have some spare time
<_inky> sorry for interrupting you, but the last two lines look like:
<_inky> /-,<L`````$E%3D2N0F""
<_inky> `
<uvos> let me install modest
<_inky> only one symbol of backtick on the last line.
<freemangordon> wait few more minutes
<_inky> should i remove it?
<freemangordon> uvos: armhf/arm64 are still building
<sicelo> freemangordon: one thing that's really broken is desktop widgets. possibly something that must be fixed as part of Gio port
<uvos> ok ill install something else then
<freemangordon> yeah, must have broken it when I did the port. or, was it me? I don't really remember
<uvos> freemangordon: i just installed dorian
<uvos> and it worked fine
<uvos> looks like its just broken on your machine
<freemangordon> in the VM?
<uvos> no on d4
<uvos> true might be 64 bit issue or something
<freemangordon> mhm, will look at it
belcher has quit [Quit: Leaving]
belcher has joined #maemo-leste
elastic_dog has quit [Ping timeout: 252 seconds]
elastic_dog has joined #maemo-leste
<_inky> ok i need a repo already
<_inky> it builds.
<_inky> that's a gemini client that uses sdl.
<_inky> i used it on droid for a couple of weeks, but now i can commit a package.
<_inky> i also built an emulator for 8bit computer: oric atmos.
<_inky> use it on droid. woud like to package too.
xmn has joined #maemo-leste
<_inky> but wait. i am not sure how to deal with submodules.
uvos has quit [Quit: Konversation terminated!]
Pali has quit [Ping timeout: 264 seconds]
<freemangordon> ok, sending mail works (in modest)
<_inky> yay!
<Wizzup> freemangordon: how do you launch it?
<freemangordon> hmm?
<freemangordon> from the launcher
<freemangordon> just install the deb
<Wizzup> ok
<Wizzup> I tried that on my d4 and it didn't give me a launcher yet
<freemangordon> (23,42,05) freemangordon: uvos: any clue why hildon-desktop does not update applicatyions in the launcher when new one is installed? is that common issue?
<freemangordon> :)
<Wizzup> yeah that helped
<Wizzup> weird
<freemangordon> mhm
<freemangordon> anyway, I need sleep, night!
<Wizzup> hm I can't change the port number for the imap server
<Wizzup> gn
<Wizzup> freemangordon: cool, works
<Wizzup> scrolling through messages doesn't work on the d4 though for some reason
<Wizzup> hmm now it does
<Wizzup> really cool.
<Wizzup> managed to email myself as well
belcher has quit [Ping timeout: 245 seconds]
belcher has joined #maemo-leste
<_inky> people, please open two repos for me: lagrange and oricutron. i am ready to push and test.
<_inky> oh!
<_inky> thanks!
* Wizzup zzz
<lel> norayr opened an issue: https://github.com/maemo-leste-extras/bugtracker/issues/23 ([REQ] lagrange)
<lel> norayr opened an issue: https://github.com/maemo-leste-extras/bugtracker/issues/24 ([REQ] oricutron)