libera/#maemo-leste/ Thursday, 2025-04-24

Wizzupsicelo: as noted, you can make this change live using mount -o remount,noatime /00:08
Wizzupfwiw00:08
siceloi wanted to make it permanent, on every boot06:16
freemangordonsicelo: please make a PR that makes it permanent for everyone07:17
freemangordonwe would like data=writeback too, perhaps07:20
freemangordonhmm:07:23
freemangordondpkg: warning: downgrading hildon-base from 1.14+m7.1 to 1.10+4m707:23
freemangordonok, that's fine07:24
freemangordonWizzup: sicelo: see https://developer.ridgerun.com/wiki/index.php/High_performance_SD_card_tuning_using_the_EXT4_file_system07:38
freemangordonso yeah, I think we want both noatime and data=writeback07:39
freemangordonhttps://community.progress.com/s/article/linux-filesystem-tuning---performance-datawriteback-vs-dataintegrity-dataordered07:46
freemangordonhttps://www.infradead.org/~mchehab/kernel_docs/admin-guide/ext4.html07:51
sicelommm, the progress.com website seems to advise against data=writeback08:31
freemangordonsure, but what is the context - "Product: MarkLogic"08:33
freemangordonwe're not making server OS here :)08:35
sicelofreemangordon: Wizzup: might be unrelated causes, but seems that with the icon blinking forever, power draw is a bit high09:47
sicelofreemangordon: try that data=writeback yourself ... seems to not be working correctly. at least it sent me to recovery login10:57
Wizzupsicelo: yeah I think it's searching for wifi all the time10:58
Wizzupthe main effect of the patch it as I understand it that it doesn't 'give up' on connecting10:59
Wizzupthis works around the kernel/firmware issues where it sometimes rejects the association, but it also has this effect10:59
Wizzupfreemangordon: this writeback is mostly for writes yeah, not for reads?11:01
WizzupI am not sure if disabling journalling is a good idea11:01
Wizzupsicelo: building status area applet11:03
sicelotx11:04
siceloi wouldn't mind the writeback that much myself, if it would boot :-)11:04
WizzupI don't think disabling journalling is a good idea tbh, especially on devices that run on battery11:06
Wizzupyou probably have to remove the journalling bit or something11:06
Wizzupand run fsck11:06
Wizzupsee the wiki that fmg linked, it has like 3-4 steps11:06
Wizzupbut again, they're trying to optimise for writing 40 fps 1080p video11:07
uvos__disabeling journalling on a battery powered and genneraly pretty unstable platform is a terrible idea imo14:05
uvos__i also like my atime, but i can see disableing this14:07
g4rrgl3n0m4d.1114:16
Wizzupuvos__: I agree @ no journalling14:30
Wizzupuvos__: can you look at the mce mr and see if it's ready? I'm living without battery icon for some days now :D14:30
freemangordonwait, where did you find that data=writeback means journaling is comp[letely disabled?15:20
Wizzupthe links you sent say it15:21
freemangordonhmm, I think they say something else15:21
WizzupThe optimization consists on selecting the data mode for our fileystem as data=writeback. The other two possible data modes (data=ordered and data=journal) do not have as good of bandwidth performance as writeback. The EXT4 journaling is disabled when using writeback. For details on the attributes of the various EXT4 data modes, read the "Data Mode" section from the Ext4 Filesystem kernel15:21
Wizzupdocumentation.15:21
freemangordonsec15:22
freemangordon"Data ordering is not preserved, data may be written into the main file system after its metadata has been committed to the journal."15:22
freemangordonthis is from https://www.infradead.org/~mchehab/kernel_docs/admin-guide/ext4.html15:22
freemangordonok, my n900 powered off with fully charged battery15:23
freemangordonI was under the impression this was already fixed15:23
freemangordonhmm, no, wait15:24
freemangordonit is up15:24
freemangordonbut very busy15:24
freemangordonhmm, what it is doing?15:25
sicelomining bitcoin :-)15:27
freemangordonlooks like15:27
freemangordonmaybe no swap15:27
freemangordonyeah, no swap15:29
freemangordonok, qalendar starts (warm) in 5 seconds15:36
freemangordonwait, but only when started from ssh15:37
freemangordonif started from launcher, it takes > 10 s15:38
freemangordonok, for sure there is a regression15:49
arno11freemangordon: yeah and it is even worse if you launch another qt5 app15:53
freemangordonunfortunately looks like a regression in qt15:53
freemangordonmaybe a comparison between strace from chimaera will reveal something15:54
arno11yep15:55
Wizzupfreemangordon: the description 'over ssh' is not a very useful one unless it means 'not the standard environment'15:55
freemangordonwell, "over ssh" means - ssh client session15:55
freemangordonbut even there it is slower than on chimaera15:56
freemangordonnot to say that it takes ages to boot15:56
WizzupI use GNU screen and then it's 100% the same15:56
Wizzupif it takes ages to boot then it doesn't seem like it'd be qt related almost15:56
freemangordon mhm15:57
freemangordon[  209.983886] wlan0: authenticate with 10:fe:ed:dd:f7:6115:57
freemangordonconnection is set to "auto connect to wifi"15:59
freemangordonok, calculator took > 20s to start16:01
arno11indeed...16:01
freemangordonhmm, and 30% of the memory, what the?16:02
arno11yeah that's crazy16:03
freemangordonit takes 75MB RES16:03
arno11but seems not so leste specific, other distros are affected, that's how i found the qt5ct raster widget tweak16:05
uvos__"Data ordering is not preserved, data may be written into the main file system after its metadata has been committed to the journal."16:06
arno11btw forcing raster from env var to launch an app doesn't help. it is also very slow16:06
uvos__iiuc that breaks restoreing from journal16:06
uvos__so its as good as not haveig it16:06
freemangordonarno11: try export MESA_SHADER_CACHE_DISABLE=true16:07
arno11ok16:07
Wizzupif it's not the same from the maemo loader and from regular env you have another problem16:07
WizzupI think you first want to make sure everything is on the same env16:07
Wizzupfor example, I don't think arno's setup loads our qt style plugin with special maemo widgets16:07
freemangordonsure, but there still might be some effect16:08
Wizzupyup16:08
freemangordonanyway, it is not normal for qalendar to take 70MB16:08
arno11Wizzup: it is easy to disable qt5ct stuff, i test without it on the fly16:09
Wizzupyou can check /proc/pid/maps16:09
Wizzupsee if there's other libs loaded that you do not expect16:09
arno11freemangordon: same result 10 sec16:09
Wizzupraster should be disabled for this16:10
freemangordonsorry, have to run, ttyl16:10
freemangordonbut16:10
freemangordon qalendar -style=windows -platform=xcb16:11
freemangordonstill takes lots of memory (even more that by default) and takes ages to load16:11
freemangordon*than by16:11
Wizzupfreemangordon: there's also the input plugin16:30
WizzupI would run env|grep QT16:31
Wizzupand unset them all16:31
uvos__"1745497821 <Wizzup> uvos__: can you look at the mce mr and see if it's ready? I'm living without battery icon for some days now :D"16:51
uvos__done16:51
Wizzupthanks :)17:02
WizzupI'll finish some work things and then build/test it17:02
sicelothanks.17:05
sicelolet us know if you end up with magic smoke ;-)17:08
sicelobut yeah, i've been running this for weeks now - on D4 while the battery was still working a bit, and on both my N900, the one which charges normally (thus reports normally), and also on the one with broken USB (thus always 0%)17:11
Wizzupmerged & building17:26
freemangordonWizzup: with everything QT unset, and MESA SW, it is still ~75MiB19:46
freemangordoncalculator uses 65 MiB19:46
freemangordonthat's not normal19:46
freemangordonwill make a minimalistic qt app when I have time19:47
Wizzupcalculator might load qt5maemo19:49
siceloWizzup: silly q - so what's the plan with the homepage? will it remain on github.io?20:12
WizzupI don't know :)20:16
Wizzupnot planning any major disruption, maybe keep it there, maybe mirror, maybe redirect20:17
sicelocool20:38
Wizzupsicelo: just rebooted after upgrading, looks like there's still some reboot thing going on20:47
Wizzupbut the battery applet showed the battery at ~30% or so, basin on how green-filled the battery weas20:47
Wizzupbefore I rebooted the device was at 87%20:47
sicelommm,20:48
siceloshare /sys/class/power_supply/battery whenever you can, and `upower -d`20:49
Wizzupbooting with charged worked20:50
Wizzupcharger*20:50
Wizzuphttps://pastebin.com/raw/KHWYgFwE20:51
Wizzupit rebooted again20:52
Wizzup$20:52
WizzupBroadcast message from root@maindroid (Thu Apr 24 20:51:43 2025):20:52
WizzupThe system is going down for system halt NOW!20:52
Wizzupheh20:52
sicelorebooted when you disconnected charger?20:53
Wizzupno20:53
Wizzupwith charger connected20:53
Wizzupit really seems to take a while though, quite interesting20:53
WizzupI am going to try to ssh in and run upower -d20:54
Wizzuphttps://paste.debian.net/1371364/ huh the critical action looks strange20:56
Wizzupwhat should the config path be again20:56
Wizzup/etc/UPower/Upower.conf right?20:56
siceloyes20:56
Wizzuplooks like my config is messed up somehow20:57
Wizzupit reboots again20:57
WizzupI don't understand why upower does this, but clearly the config is wrong20:57
siceloand definitely that upower -d says yours is wrong ... but you're on correct upower version at least20:57
Wizzupthe config in /etc for me is empty20:57
Wizzupwell, in /etc/UPower20:57
Wizzupbut there is a leste-orig20:57
sicelomust be the packaging20:57
Wizzupwill get to the bottom of this20:57
Wizzupok, got it set to ignore now21:02
Wizzupphew21:02
Wizzupnot sure what's up with leste config though, it looks ok21:03
Wizzupit does say my battery is at 0% again ,but at least no reboot21:03
siceloi downloaded the binaries from maedevu:21:07
sicelo$   dpkg-deb -c leste-config-common_1.132-1+4m7_all.deb | grep UPower21:07
sicelo-rw-r--r-- root/root      3376 2025-04-18 12:09 ./etc/UPower.conf.leste21:07
sicelo  dpkg-deb -c leste-config-common_1.132-1+4m7_all.deb | grep UPower21:07
sicelo-rw-r--r-- root/root      3376 2025-04-18 12:09 ./etc/UPower.conf.leste21:07
sicelo so the issue is in leste-config21:07
siceloas for 0% ... is it reporting it while you're charging? i disabled percentage estimation while charging, because it over-estimates. when you disconnect charger, it should resume estimating21:11
siceloas for 87% sounds like it was estimating indeed .. but should have been 82%, or it was 57%? it was clearly not directly from UPower, since your battery isn't reporting any percentage21:15
Wizzupsicelo: is that the latest leste-config?21:19
Wizzupdid you pull from daedalus-devel?21:20
sicelomanual download from maedevu, because i wanted to be 100% sure that i'm not looking at any customization i might have locally21:24
siceloand yes, according to changelog, 1.132 is the latest leste-config21:25
WizzupI must have forgotten to commit something in git21:37
Wizzupyeah...21:37
Wizzuplol21:37
WizzupI am off my game recently :)21:38
Wizzupbuilding new leste-config21:39
WizzupI did rename the file, but with 'mv' and not 'git mv'21:39
sicelokeep me updated :-)22:07
Wizzupit should be in the repo22:08
siceloyes i saw. is your device fixed now? reporting is still 0%?22:16
Wizzup(work mtg, but will check)22:22
Wizzupyeah the percentage is ok22:22
Wizzupwill update and reboot22:22
sicelonow an MR i've waited for years to be able to make, https://git.maemo.org/leste/leste-config/pulls/6022:42
arno11cool22:46
sicelohah, was also in april, https://gitlab.freedesktop.org/upower/upower/-/merge_requests/40#note_134512023:19

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