libera/#maemo-leste/ Friday, 2024-05-24

Wizzup:)00:37
unic0rnlooks like completely discharged droid needs a dumb charger. tried imac and laptop with 2 different cables and it just ignored it00:46
unic0rnkickstarted it with some old samsung charger, now it charges from the laptop as it should. https://i.imgur.com/YlMwBil.png will try not to break it in the weekend00:47
Wizzupit depends on whether kexecboot is installed as well00:47
Wizzupgreat!00:47
Wizzupuvos: ok, I think I have a -mostly- working xt912 image01:27
Wizzupjust /boot/boot/boot.cfg somehow is not there but boot.cfg.leste is01:28
sicelounic0rn: yup. i also found old N900 charger (1A) works better than a modern Samsung charger (2A or greater)07:30
sicelobut also charging depleted device from a computer's USB port doesn't really work, because you can't mess with the data pins then07:31
uvos__"<Wizzup> it depends on whether kexecboot is installed as well" no it dose not, mbm dosent boot below 3.1 or so volts if the d+ d- arnt tied together like on a dumb charger, this is the case regardless of kexecboot11:11
uvos__Wizzup: good, but  the image is ofc not that usefull yet untill the display works properly11:12
Wizzupyup, but I'm just trying to tackle anything I can now for the nlnet stuff12:09
Wizzupsince the razr is really neat hw wise12:09
WizzupI also have a xt910 image if you want to test it12:20
unic0rnbefore I'll forget, is a sim card needed for droid 4? I recall seeing such a note under power usage12:50
unic0rnhow's the battery drain anyway?12:51
dsc_if the battery is healthy its pretty good12:55
dsc_"pretty good" being my non scientific answer :P12:56
Wizzupso yeah, this really depends on the battery12:56
WizzupI have a battery that freemangordon helped me make12:57
Wizzupbased on a e960 battery, using parts of the droid battery12:57
WizzupI get 2+ days idle12:57
Wizzupbut this other droid4 I have with a stock weak battery gets like 17 hours12:57
WizzupI basically don't worry about my d4 battery life during the day/night and usually charge it in the morning12:59
Wizzupit's been my trusty alarm for 1+ year now13:00
uvos__no sim power usage problem is sloved i think13:01
uvos__should be anyhow13:01
uvos__you need to cfun=0 the modem when there is no sim and i think the modem deamon fmg wrote dose this13:01
uvos__battey life is ok, i get 1 day usually, but it drops like a stone if you use the device13:02
arno11dsc_: btw ram usage is still stable after 48 hours on my device13:07
unic0rnthanks for all the info so far :) the battery should be more or less ok, dropped like 3% from 90% in 8-9h of idle time under android, airplane mode though13:07
dsc_arno11: thanks for testing :) got another commit coming later today13:08
dsc_arno11: whats your RAM usage?13:09
arno11dsc_: really cool (commit)13:09
arno11ram usage is around 100MB free/available (idle)13:10
arno11when i use conversations, ofc ram usage is a bit heavy but still back to normal when i close it13:11
dsc_maybe after this commit its 70MB idle13:13
dsc_lets see13:13
arno11amazing13:13
arno11yep13:13
arno11it should help N900's a lot13:14
uvos__unic0rn: android in idle + airplane mode uses about 10% of the power of leste13:24
arno11uvos__: btw what is D4 idle current draw actually ? (just to compare with n900)13:30
uvos__30ish mW in leste13:31
uvos__er mA13:31
uvos__30mA or there about13:31
arno11not bad13:31
uvos__i mean compared to android its still pretty terrible13:32
uvos__but yeah its not _that_ bad13:32
arno11yes indeed13:32
uvos__bionic dose a bit better for some reason13:34
uvos__25mA or so13:34
arno11ok (btw on N900, i got 39-43 modem OFF and 47-52 modem ON)13:35
arno11on bionic, the kernel config is different, or ?13:36
uvos__no its the same13:36
uvos__the hw just uses less power for whatever reason13:36
uvos__android also uses les13:36
arno11ah ok13:37
uvos__its a bit strange since they are so simmilar13:37
arno11yes indeed13:37
uvos__dunno where the 5ma are going on d413:37
arno11maybe an additional sensor ?13:38
uvos__bionic has an addiitional sensor chip13:38
uvos__a seperate magnetometer chip13:38
uvos__so it has more mouths to feed not less :P13:38
arno11yep lol13:38
uvos__ah no its a gyro not a maenetometer13:40
uvos__both d4 and bionic have magn.13:40
uvos__but only bionic has a gyro on a seperate chip13:40
uvos__anyhow still bionic has more sensors13:40
arno11ok13:41
arno11anyway i wonder if main blockers are similar (D4, N900, Bionic)13:47
arno11*RET / OFF blockers13:48
uvos__nothing actively blocks ret in idle on d4/bionic (ie it works)13:50
uvos__and the kernel dosent support off mode at all for omap413:50
arno11ah ok13:51
uvos__the last bit is probubly the main culprit for androids better performance13:51
uvos__since it spends quite a bit of time in off13:51
unic0rnhttps://lore.kernel.org/linux-arm-kernel/1316844884-21700-11-git-send-email-santosh.shilimkar@ti.com/ related?15:35
Wizzupin a way, but off mode is much more complicated - there's a lot of things on driver level too iirc16:00
Wizzupuvos: ok yes the boot.cfg install doesn't work in the image generation16:22
WizzupI confirmed the droid4 one is different too16:22
dsc_https://github.com/maemo-leste/conversations/commit/04192a07451e7da84aa701021523e00c6c467d8517:17
dsc_https://plak.infrapuin.nl/selif/8mlwhgfo.png17:18
dsc_with 1 chat window opened it goes to 57mb17:19
dsc_granted, my rtcom database is near-empty17:19
Wizzupuvos: think I solved the boot issue17:22
Wizzupdsc_: nice17:24
Wizzupdo we support c++20?17:24
dsc_yes17:25
dsc_conversations has been c++20 since 3 weeks hehe17:26
Wizzupokay cool17:26
dsc_but this seems to save a lot of mem, like 50mb17:27
dsc_and then opening a chat window adds 10mb17:27
Wizzupinteresting, so we still have some qml stuff in there, but the overview one was more memory heavy than the chat windows?17:27
dsc_on close, it actually releases that 10mb17:27
dsc_Wizzup: I am a bit puzzled yeah17:28
Wizzupyeah we don't close the main window in conversations right, we just hide it17:28
Wizzupso that could not be freed17:28
Wizzupunless you actually closed the window rather than hide17:28
dsc_no, I destroyed the QML engine on mainwindow hide17:28
Wizzupmaybe I remember wrong17:28
Wizzupok17:28
dsc_Wizzup: could you check if your overview looks ok and then maybe make a new tag?17:41
dsc_+ build17:41
dsc_brb17:42
Wizzupok20:32
Wizzuplet me build on my d420:32
d4dscnvm got 2 small fixes still20:38
d4dscbut you can still test20:38
Wizzupok, building atm20:39
arno11Wizzup: vm and nr_request stuff seems to work fine, i've been able to download a PSX game from the web and unzip the img from the N900 with no troubles and in a couple of min ! ofc the device was slowing down but not much, still able to use it at the same time (with around 90MB of free ram)22:49
arno11with boost 72022:49
arno11i used links2 to download22:52
arno11and ofc the unzipped game works (758MB)22:56
Wizzuparno11: sweet, would be nice to have the ps emulate packaged23:02
Wizzupuvos: I am going to modify the kexecboot mapphone config stuff to make /boot/boot if it doesn't exist23:02
arno11Wizzup: ah yes indeed, but the problem is that the emulator is only D4 and N900 friendly23:03
Wizzupwhat do you mean?23:04
Wizzupneeds a physical keyboard?23:04
arno11yep23:04
Wizzupthen just put that in the description :)23:04
Wizzupmost of our users use the n900 or d4 anyway23:04
arno11yes indeed23:04
arno11there is picodrive and drnoksnes as well23:06
arno11drnoksnes needs additional repo from android-808 iirc23:07
arno11*pkg from repo23:07
arno11there are missing in Leste repos (but they build fine)23:08
arno11picodrive doesn't need any specific stuff iirc23:09
arno11anyway i'll doublecheck23:09
Wizzupjust let me know, I can help this weekend23:15
arno11ah ok cool, ty23:16
dsc_Wizzup: can I force push to master for a small change or just a commit23:19
dsc_or should I do a commit*23:20
dsc_ill commit23:23
Wizzuppls commit23:24
Wizzupunless you need to wipe out a password or something23:24

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