libera/#maemo-leste/ Friday, 2025-03-14

donihalimI still doesn't understand what happen when the system boot, the system often freeze after booting to the desktop that i had to force shutdown by removing the battery14:23
donihalimThis makes rebooting the device quiete frustating14:23
arno11oh14:25
arno11donihalim: please elaborate14:25
arno11with chimaera and kernel 6.6 and sd swap ?14:26
arno11*chimaera -devel14:29
donihalimAh sorry, so this is what happen: i powered on the phone and it boot normally, since i have display timeout set to 30s, after the phone boot to the hildon desktop the display will turned of after 30s14:30
donihalimAfter that the system often freeze, touching the screen or using the lock button doesnt not turned on the display14:31
donihalimThis often happen everytime i reboot the phone or powered on the phone from shutdown state14:32
donihalimYes im using chimaera -devel and kernel 6.614:32
donihalimTo workaround this i had to touch the screen after the initial 30s display timeout14:33
arno11hmm yeah the screen time out could be a problem14:34
arno11i usually disable it btw14:34
arno11or set it to 2min14:35
arno11when you say 'reboot', you mean you reboot the device from command line ?14:36
donihalimEither rebooting from cli org poweroff the phone via power menu14:37
arno11ok14:37
arno11did you disable trackers or ?14:37
donihalimYes i disable tracker and apt worker, following the wiki14:38
arno11ok14:39
arno11and sure your fstab is ok ?14:40
arno11and do you use some custom scripts on boot ?14:42
arno11anyway, worth a try to set screen time out to 0 or 2 min14:47
WizzupI don't think it makes sense to disable apt worker14:47
arno11it is just useful for first boots, need to update wiki14:48
donihalimNo custom script and here's fstab https://0x0.st/8QPk.txt14:49
donihalim /swap is being created when dist-upgrade to -devel14:49
arno11ok14:50
donihalimWizzup: should i activate it again? How?14:50
arno11so as i said try to set time out to 0 or 2 min14:50
arno11for apt worker, same command but with different value14:51
arno11let me check14:51
donihalimI've set backlight timeout to 2min, see if still causing freeze14:52
arno11ok14:52
arno11for apt worker you can set check_interval to 10080 (once a week)14:53
arno11or 1440 for every day (original value)14:53
arno11*using the command from wiki14:54
donihalimWill try that, thanks14:54
arno11np14:54
arno11Wizzup: on daedalus, no need to deactivate ap worker for sure14:56
arno11*apt14:56
arno11but from chimaera img it is useful as many important optimisations are only in devel14:57
arno11and device is very slooow and absolutely not usable if apt worker start14:58
arno11anyway, no need now with new imgs14:58
siceloi still haven't got my libseat problem resolved, so still have never got a successful boot of daedalus.15:06
siceloWizzup: any ideas?15:06
siceloi haven't been able to spend any time on it tbh ... maybe if i do, i can figure it out15:06
donihalimarno11: setting backlight timeout to 2min  doesnt solve the issue, i've tried rebooting several time, now the phon freeze again15:08
donihalimTime doesnt change, display not turned off even after 2 min15:08
arno11weird15:08
arno11btw you didn't encounter same issue on daedalus, right ?15:09
siceloi've chrooted to it now... doing apt-upgrade. maybe it'll do a miracle15:10
donihalimarno11: it happen on daedalus aswell15:11
arno11oh15:11
donihalimMaybe hardware problem?15:11
arno11really don't know tbh15:11
arno11checking your Xorg log could be useful15:12
arno11sicelo: i doubt apt-upgrade could be useful as the img is almost up to date with chimaera -devel15:16
siceloThe following packages will be upgraded: conversations hildon-application-manager hildon-application-manager-settings-standard hildon-input-method hildon-meta hildon-meta-core hildon-meta-n900 libclockcore0-0 libgnutls30 libhildon-im-ui3 libjavascriptcoregtk-4.1-0 libopenh264-7 libtasn1-6 libwebkit2gtk-4.1-0 ofono ofono-scripts openssh-client openssh-server openssh-sftp-server qt-input-maemo15:17
siceloThe following packages will be DOWNGRADED: gtk2-engines-pixbuf libcal1 libcityinfo0-0 libclutter-0.8-0 libgail-common libgail18 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libiphb0 maemo-keyring15:17
sicelo20 upgraded, 0 newly installed, 11 downgraded, 0 to remove and 0 not upgraded.15:17
sicelothat downgrade is fine/acceptable?15:17
arno11yes15:17
arno11(versioning was wrong, that's why it says downgrade)15:19
arno11donihalim: ah, i forgot something...let me check15:28
arno11donihalim: ls /etc/sysctl.d15:33
arno11do you see n900-perf.conf in red ?15:33
donihalimLet me check15:35
Wizzuparno11: did we not push the no parallel apt change to chimaera?15:40
Wizzupsicelo: libseat problem on what device15:40
arno11Wizzup: i think we pushed it15:41
siceloWizzup: N900 with daedalus image. https://paste.debian.net/1362745/15:41
Wizzupsicelo: I think there's more problems going on there15:42
Wizzupit looks to be loading swrast15:42
Wizzup[    72.767] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/omap_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/omap_dri.so: cannot open shared object file: No such file or directory)15:43
Wizzup[    72.767] (EE) AIGLX error: unable to load driver omap15:43
siceloi think that part was also the same on arno11's N900.15:44
arno11yes15:44
arno11and everything is fine15:44
arno11but could explain qt5 troubles15:44
arno11*raster vs gpu15:45
donihalimarno11: it's linked to n900-perf.conf.leste15:45
arno11ok so that's fine15:46
arno11and what is the content of the file btw ?15:46
donihalimarno11: here https://0x0.st/8QZg.txt15:49
arno11Wizzup: there is no omap_dri.so indeed15:49
sicelohaving chrooted into the sd card, got an excuse to also build upstream iio-sensor-proxy already. so i can now spare my N900 ;-)15:49
arno11but i supposed it is pvr_dri.so instead, or ?15:49
arno11donihalim: oh15:50
arno11so there is a real problem lol15:50
arno11Wizzup: some important commits are missing in -devel for n90015:51
donihalimwhats the content supposed to be?15:51
arno11donihalim: i think you should comment all lines in this file and reboot :)15:52
Wizzuparno11: -devel being chimaera-devel yeah15:52
Wizzupsicelo: let me check my n90015:52
arno11this file is supposed to be removed or empty15:52
arno11Wizzup: yep, old vm tweaks are still there15:53
donihalimShould remove the link or?15:53
arno11so no surprise if donihalim device is freezing after boot15:53
arno11donihalim: just comment all lines15:53
arno11*#15:53
Wizzupsicelo: yes, ok, I see, the omap error I also have but it seems to be ok15:54
WizzupI don't have this libseat issue, I wonder if it is a race condition somehow15:54
WizzupI guess I should flash the latest n900 image15:54
donihalimGlad it's not hardware issue :)15:55
arno11yes indeed :)15:55
donihalimI'll rebooting several time, i'll report back15:56
arno11i need to check one more thing because maybe another file is problematic15:56
arno11donihalim: do you have 'leste-config-n900' in /etc/init.d/ ?15:58
arno11if yes, delete it or move it to $HOME15:59
donihalimYes it present in /etc/init.d16:01
donihalimI'll move it to home16:02
arno11ok so that is the real culprit16:02
arno11ok16:02
arno11it should work fine now on next reboot16:02
donihalimNice, many thanks arno11 :)16:04
arno11Wizzup: commits eaf6d22 is missing in chimaera, don't know why16:05
sicelochimaera, or daedalus? also what repo?16:06
arno11(it reverts problematic nr_request and vm stuff on boot)16:06
arno11for daedalus it seems ok16:06
arno11so that's weird16:07
arno11leste-config repo16:08
Wizzuparno11: ok, I can fix that today, so I just need to check what is missing in chimaera?16:11
arno11yes, in leste config16:11
arno11seems ok in daedalus as i've never seen those files16:12
arno11donihalim: np, but many thx to YOU for the feedback16:13
siceloi asked about my libseat issue in the libseat room, and they said it's failing during shutdown ... but i'm booting :-p16:15
siceloso that suggests that the libseat errors are not the real culprit. i need to find who/what initiates a shutdown16:15
sicelooh i'm dumb ... i think it's upower :-D16:16
arno11oh16:16
Wizzupthat's quite possible16:18
WizzupI dist-upgraded so I still have the old upower16:18
Wizzupyou can -x upowerd and see if it works16:18
arno11but why no issue on my device ? (daedalus same img)16:19
siceloarno11: my device has broken USB, so % readout in /sys/class is always 0%16:20
arno11ah ok16:20
siceloit can happen to you as well if you remove the battery for a long time, since the fuel gauge will get reset. if you try and boot again, i'm sure you'll have same experience as i, assuming you don't connect to a charger16:21
arno11ok i see16:21
siceloupower from leste/chimaera made some estimations based on voltage16:24
siceloand yay, i'm in Hildon now16:26
Wizzupgreat16:27
arno11yeah cool16:28
arno11welcome in daedalus !16:29
sicelowith my subpar SD card, can't do anything yet.16:31
siceloarno11: so (1) swap, (2) that /etc/init.d/leste-config-n900, what else?16:31
arno11you have also leste-config-n900 in daedalus ?16:32
sicelono idea. haven't looked yet. i'm just asking for what fixes i need to make in order to be able to use this ...16:32
sicelomy card isn't of the best quality, so yeah16:33
WizzupI think it's just swap16:34
arno11ok, so you should not have troubles with leste config files but yes you need sd swap16:34
arno11if your sd is slow, you should block tracker3 or at least add .nomedia in $HOME16:36
arno11and use 500MHz min freq16:36
arno11that's it16:37
WizzupI don't block tracer3 on my n900 fwiw16:37
arno11yes i know but your card is fast :)16:38
siceloi didn't have it blocked in chimaera, nor played with frequencies16:38
arno11that's just suggestions16:39
sicelostill struggling to get to terminal to even do expandcard :-D16:39
arno11that's normal16:39
arno11first boot is a pita with slow sd16:39
arno11should work fine on next reboot16:40
sicelooh wait ... maybe it's so dogslow because it's still trying to show that first boot thing ... still hasn't shown btw, and that's 14 min after :-D16:40
arno11omg16:40
arno11yeah that's the problem16:40
Wizzuptop should probably show what it is doing16:41
arno11btw on next boots the only very slow thing should be apt and ham (if the card is not fast enough)16:42
sicelothank God for lp5523 ... at least the white LED gives consolation16:45
Wizzup:)16:45
arno11lol16:45
siceloI'm more excited to see my iio-sensor-proxy working in Leste ... so screen will now get blanked during a phone call17:45
siceloI'll submit MR later today hopefully17:47
siceloif time permits, next stop should be upower ... we need to fix our stack17:48
Wizzupthank you for all the energy/efforts :)17:54
arno11cool @iio-sensor, will save at least 50mA18:30
arno11during calls18:30
arno1170mA saved in fact with brightness @5018:37
arno11(on n900 calls actually burn around 350mA !)18:39
sicelooh wow! didn't realize that18:42
Wizzupthe cpu routing part of it probably causes a bunch of that18:47
Wizzuppipewire might make some of that a bit better18:47
siceloi have given pipewire some thought for sure ... but i guest we will need to write a pipewire component for cmtspeech :-/18:50
sicelounless we go cmtspeech -> pulse -> pipewire18:50
arno11cmtspeech -> pulse -> pipewire should be easy, there is module for that iirc20:10
arno11but anyway, i doubt we can improve cpu usage, just my opinion20:10
arno11unless we find a way to use dsp chip...20:11
siceloi really wish so too (dsp)20:28
arno11oh now i remember what fmg said about cmt_pulse cpu usage: some neon code is missing for resampling 8000 -> 48000Hz iirc20:39
arno11and 48000 to 8000 in the other way20:40
arno11sicelo: yeah definitely @dsp20:41
sicelo@ neon code ... i think it's in one of the repositories. have never looked at it closely though20:46
arno11yes indeed iirc. the answer is probably in irc logs20:47
arno11if nobody has spare time for that, maybe AI could help20:50
arno11i mean for neon code20:51
sicelodsc_: have you ever used the calendar in Leste? any idea where one can look if they wanted to fix the layout/display issue, namely, the week display on the left is 6 rows, but the actual days/dates are 5 rows..20:57
dsc_sicelo: my life is so boring I dont need a calendar21:12
dsc_afaik Wizzup uses it quite a bit21:12
dsc_do you have a link to the repo?21:12
sicelodsc_: heh, i figured :-D21:21
sicelohttps://github.com/maemo-leste/qalendar/21:21
dsc_sicelo: its widgets, so .ui files21:28
dsc_you can open them in Qt Designer21:28
dsc_you'll have to find the widget/.ui file thats responsible21:28
dsc_sometimes you can just grep if there is known text21:29
siceloi have looked at it before, but will try again sometime soon21:29
Wizzupyeah I use qalendar quite a bit22:36
Wizzupwith syncevo22:36
dsc_freemangordon: around?22:50
dsc_nvm fixed it22:51

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