libera/#maemo-leste/ Tuesday, 2025-03-25

Wizzupsicelo: I would look towards debian00:24
Wizzupsicelo: I don't think devuan forks upower00:24
sicelommm, what about the build-depend against systemd-dev? but sure, i'll test properly in the morning hopefully. now must sleep00:29
sicelofreemangordon: Wizzup: sneak preview of what i've been working on for our upower predicament - depends on https://gitlab.freedesktop.org/upower/upower/-/merge_requests/25900:29
sicelostatus-area-battery-applet: https://github.com/sicelo/status-area-applet-battery/commit/c96ae44f9d311aefc089b0b52d03231332700d7b00:30
sicelomce: https://github.com/sicelo/mce/commit/cc8b4b279498bd0ec622bb73bf1b2946a8f9bab500:30
sicelofor now I haven't actually built and tested both of these, hence not submitting the PR just yet00:31
Wizzupsicelo: I think that build depend is ok00:31
Wizzupsicelo: just look at what we have currently, I think we have a -dev pkg for it00:31
Wizzupsicelo: cool @ chagnes :)00:32
sicelooh cool then. will give it a go00:32
WizzupI'm no battery expert but fallbacks are great00:32
mkfokay now this thing is stable, should i upgrade to daedalus?00:34
siceloyou really seem to know your way around this, so yes, do upgrade :-)00:35
Wizzupmaybe make a backup of the sd card00:37
freemangordonsicelo: do you expect a review?06:28
freemangordonWizzup: I'll give ananicy guys chance to reply till weekend06:31
freemangordonif they don't, I'll write our own daemon. or will add functionality as part of dsme06:33
freemangordonit already supports niceness from the command line06:33
freemangordonfor cgroup we will simply use cgrulesengd06:38
sicelofreemangordon: maybe let me build all three, give it a quick test, then submit the MR for full review08:36
freemangordonI meant code review, as I saw some nits already :)09:06
sicelosure, please share them09:32
siceloi.e. yes, it is open to review :-)09:32
Wizzupsicelo: https://git.maemo.org/explore/code?q=exit&fuzzy=false12:10
Wizzupmight get a bit painful on our few linux forks, but yeah :D12:21
mkfgood evening.12:48
mkfinternal error means a seg fault?14:09
mkfwhere should i look for core dump?14:09
siceloWizzup: cool. Will have a look at that. Otherwise, search per repository is still fine overall.14:45
siceloback to my inhibit monologue 🤭 ... what happens if, while  doing system updates via HAM, the user initiates shutdown?14:47
siceloEverything is a nail when all you have is a hammer (and my hammer is inhibit locks) ... this is one area where an inhibit lock would fit well. when HAM UI is open, it would take the lock until it is done14:49
siceloanyhow, long term project, but maybe I should open an issue so it doesn't get forgotten someday14:50
arno11mkf: core dumps appear in /home/user15:05
arno11Wizzup: @calls issue: seems to be a pulseaudio crash when it stops ringing (according to sphone logs). if no ringtone (silent mode), no crash15:08
arno11i looked @PA changes between PA 14 and 16, the only diff is module-gconf (missing in PA 16), all other config files seem similar15:10
arno11i tried to increase shm a bit more (and a lot more), same issue15:11
arno11if i play a music file and call the n900 (silent mode), no issue and remixing between call audio and music works as usual15:15
arno11so the issue seems related to ringtone but i really don't know how to monitor what's going on15:16
sicelomaybe stop PA and run it manually in debug mode, then hopefully it'll tell you what causes the crash?15:17
arno11i see it in sphone logs: it crash @/src/pulse/thread-mainloop.c15:19
arno11function pa_threaded_mainloop_stop()15:20
arno11line 16615:20
arno11will try later with PA debug mode15:21
arno11hmm in fact PA is aborting and sphone crash and restart with no issue15:25
arno11any ringtone issue on daedalus d4 btw ?15:30
freemangordonsicelo: made one comment on mce patch, not sure how to link to it17:36
sicelothanks! saw the email. will implement17:37
dsc_freemangordon: ehm.. I have a AMD 3600x laying around if you want it for free18:00
dsc_it will be faster than this 2011 cpu :x18:01
Wizzupswitched this to forgejo: https://git.maemo.org/18:58
Wizzupwill add some repos and oauth2 a bit later18:58
dsc_nice19:00
arno11cool19:07
mkftabhello from converstions19:32
mkfxHello mkf19:32
mkftabWonderful, this thing works much better than chimaera19:32
mkfdo we have debug symbols in repositories?20:53
mkffor maemo packages20:53
arno11usually yes, pkg_name-dbgsym21:02
mkfwonderful.21:10
mkfgoing from beowulf to chimaera to daedalus have been quite a big bump on reousrces used in this poor tablet. hm.21:14
mkfi wonder if i can somehow conserve ram and cpu usage.21:15
Wizzupmkf: there should not have been an increase21:18
arno11indeed, and you can even expect better perfs (a bit) with daedalus21:20
mkfi think it's not in leste side, but general gnu/linux stuff getting fatter over the releases21:22
arno11hmm on n900, ram and cpu usage is quite low on daedalus, i mean not higher than chimaera21:27
arno11btw, how things work with qt5 on your tablet ?21:27
mkfi'm not sure.21:27
mkftelegram wrecks havoc, converstions is peaceful21:28
mkftelegram used to be better in chimaera21:28
arno11ah21:28
arno11maybe you have troubles with Qt521:28
mkfcould be. how can i check?21:28
arno11i.e are qt apps very slow to launch ?21:29
arno11like calculator or calendar ?21:29
mkfi'll test.21:31
mkfshould i test right after boot or i can wait a while until things are fully loaded21:31
mkf(in other words, do maemo-launcher loads qt5 stuff?)21:32
arno11no maemo-launcher for qt unfortunately21:32
mkfalright.21:33
arno11yes you can wait to be sure all things are fully loaded21:33
siceloi wonder if there's some way to have 'signal' that things have settled :-)21:34
arno11good question21:35
sicelothen we could simply display a banner on screen ("Booting. Please wait ..."), and when everything settles, we can auto-close this banner. It's ugly, but might help us not end up with N900s thrown against walls21:36
arno11yes definitely21:37
sicelothe answer probably depends on knowing what is causing that initial 'hang'21:38
arno11mhm21:42
siceloWizzup: any idea how to 'restart' the status applets without reboot?21:43
arno11you mean hildon-status-menu ?21:44
siceloyes21:45
arno11just killall it, it restarts immediately21:45
sicelocool. i remember now, from when you had some other problem ... was it the IM account Online indication?21:46
arno11yes :)21:46
mkfbtw sicelo, do you have problems with telegram on leste?21:46
siceloi haven't run telegram in ages. arno11 does though ..21:46
mkfah21:46
mkfmine barely works. going to settings panel gives a segfault, which i couldn't debug since debian lacks a lot of debugsyms21:47
arno11telegram is very slow to start21:47
arno11around 40-60 sec on n900 and hang for 2 min on daedalus and then works fine21:47
arno11no hang on chimaera but it was an older tg version and no qt5 troubles21:48
arno11mkf: sorry, didn t see your segfault msg21:49
arno11yes the segfault is common issue21:50
arno11you have to do a long press on buttons to avoid segfault21:50
mkfodd.21:51
arno11yep21:51
arno11and you need a proper alsoft.conf file in /.config to avoid audio issues21:53
mkfthere is also a error of no seat in that tablet during the boot in daedalus21:54
arno11ah21:54
arno11battery related21:54
sicelomkf: consistent? or intermittent? (no seat during boot)21:55
mkfqalendar loads in like 5s21:56
mkfsicelo: consistent21:57
mkfalso no matter how many times i charge it, it always needs calibration21:57
mkfit got really better recently, but i think that might be a bug somewhere. (hi james)21:58
sicelowhat do you have in /sys/class/power_supply?21:58
mkfaxp20x-battery/ axp20x-usb/     axp22x-ac/21:58
mkfblindly enabled them all.21:58
sicelooh, i think PP has that one too (or at least same family)21:59
sicelonow, `ls -l /sys/class/power_supply/axp20x-battery/`21:59
mkfhttps://cloud9.org/paste/fd7222:01
mkfhttps://cloud9p.org/paste/fd7222:01
siceloyou're out of luck :-)22:02
mkfyay :D22:03
mkfwhat should i be looking for?22:03
siceloi was hoping `capacity` would be writeable ... your device has same problem as Droid 4, where on boot, calibration is lost. at least on D4 you are able to write the capacity, so there's a service which stores the last calibration when you poweroff, and restores it at boot, before upower starts22:03
sicelowhat does `health` contain?22:04
mkfGood22:04
mkffwiw, this device has very generic batteries22:05
siceloin fact, show what's in `uevent`22:05
mkfidk if they are smart or dumb22:05
mkfalso capacity tells `100`22:05
Wizzupmkf: maybe the dist upgraded added some weight22:05
mkfhttps://cloud9p.org/paste/148e22:06
mkfwizzup: could be.22:06
mkfwizzup: could you add a repo to git?22:08
mkffor browser tests :)22:08
Wizzuphttps://git.maemo.org/merlijn/mce22:10
Wizzupmkf: ^22:10
sicelomkf: at least it looks like the planned changes to upower, mce, and status-area-applet-battery will help your device too ;-)22:12
mkf\o/22:12
mkfyou guys are wonderful, thanks!22:13
siceloi'm currently building the last one of them, then will submit final MR22:14
mkfi have so many questions :D22:21
mkfsorry if it's a bit overwhelming.22:21
mkfhow can i reduce the dpi?22:22
mkfforgejo looks usable in microb too. cool.22:25
sicelomicrob?22:25
mkffrom framentle. i still use it in my n900 because notalgia and i don't have a usb port :)22:26
sicelooh nice :-)22:28
siceloarno11: Wizzup: oddly, the module blacklist for stuff like twl4030_usb, bq27000 battery, etc. isn't working22:31
siceloin daedalus, that is22:32
siceloiirc it worked in chimaera22:32
arno11ah22:36
sicelook i see. i botched it. it never worked :-D22:37
sicelowill submit fix soon22:37
arno11ok cool22:37
arno11Wizzup: forgejo seems also usable with links2 gui (no js)22:39
siceloi suppose dillo too?22:40
arno11idk, let's try22:40
mkfWizzup: while you are at it, could you either move blog to maemo.org or at least disable strict https?22:41
arno11sicelo: yeah, seems to work fine with new dillo22:44
mkfok this sips ~1200mW roughly22:52
mkfwith screen off22:52
mkfquite a lot.22:52
arno11wow22:53
mkfi'm multiplying voltage reported by battery to current reported by battery, is that correct?22:53
arno11probably, yeah22:54
arno11so you see around 300mA idle, right ?22:55
arno11it is uA in battery stuff22:55
mkfin0:           3.95 V  (min =  +3.30 V, max =  +4.20 V)22:56
mkfcurr1:       -410.00 mA22:56
mkffrom sensors command output22:56
arno11400mA is a lot22:58
arno11how is cpu @idle ?22:58
mkfindeed.22:58
mkf99.922:58
arno11ah so no surprise22:58
mkfyes surprise?22:59
arno11i mean, cpu @99.9 and 400mA is normal22:59
mkf99.9 idle23:00
arno11but the question is what is overloading your cpu ?23:00
arno11maybe tracker ?23:00
mkfcpu is @ 99.9% idle.23:00
mkfnot doing anything at all :)23:01
arno11something is wrong23:01
arno11you should check htop or something to see what processes are involved23:02
siceloi think the SoC just doesn't do good (or any?) power management23:02
arno11maybe23:03
mkfpossible23:04
arno11but first you should check if some processes use cpu or not23:04
arno11i.e telegram after a crash23:05
arno11it happened to me several times :P23:05
mkfnothing intersting.23:06
mkfit might be a kernel issue.23:06
Wizzupmkf: blog being our github pages?23:06
mkfyes23:06
Wizzupwe'll have to figure out what to do with that in time23:06
arno11mkf: @kernel, yep like cpufreq missing or something ?23:08
mkfwell cpufreq dir is empty at /sys if thats what you mean23:18
mkflooked around kernel options, nothing to find.23:18
arno11no cpufreq-dt ?23:24
mkfis that a module or a /sys file?23:26
mkfah yeah added those as modules.23:27
mkfinterestingly freemangordon have added cpu frequencies in their dts, i wonder why23:29
mkfmight be related to this issue23:29
mkffreemangordon: care to repost those patches again? they expired. :(23:34
arno11mkf: btw cpufreq missing in /sys is an issue we had last year, i wonder if it is similar on your tablet23:37
arno11what is your kernel, 6.6 or ?23:38
mkf6.1223:39
mkfroot@sunxi:/sys# ls ./devices/system/cpu/cpufreq23:40
mkfroot@sunxi:/sys#23:40
Wizzupdoes the dt have frews?23:42
Wizzupfreqs23:42
mkfmy device tree? no.23:44
WizzupI don't know if this is necessary fwiw23:51

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