libera/#maemo-leste/ Wednesday, 2025-04-23

Wizzuphttps://nlnet.nl/news/2025/20250422-announcement-grants-CommonsFund.html13:16
sicelo💯13:26
arno11Wizzup: sicelo: i tried more testing with sphone/rakia, the ringtone trick doesn't work and when sphone crashes, vcm crashes too. what a mess14:32
arno11if i kill/restart vcm from dsmetool, sphone works again14:34
arno11are sphone/rakia calls still working on d4 daedalus btw ?14:38
arno11(just to be sure all recent troubles are n900 specific...)14:39
Wizzuparno11: I think we want to understand why things crash14:45
Wizzupregarding rakia, I haven't gotten that to work well for me yet, I need to revisit that14:45
Wizzupbut I would oh so love for that to work reasonably well14:45
arno11yeah indeed, could be really cool14:46
Wizzupbut maybe we should fix any issues with tp-ring first and then move onto tp0-rakia14:50
Wizzuptp-rakia14:50
arno11sure14:50
arno11ah @tp-ring calls, seems the ringtone randomly doesn't work only with idle/screen off15:06
Wizzupso I see this on my d416:05
Wizzup2025-04-22T12:28:57.821929+02:00 maindroid pulseaudio[3307]: [pulseaudio] alsa-util.c: Error opening hctl device: No such device16:05
Wizzup2025-04-23T15:48:34.610504+02:00 maindroid pulseaudio[3307]: [alsa-sink-40124000.mcbsp-cpcap-hifi cpcap-hifi-0] alsa-mixer.c: Assertion 'm' failed at ../src/modules/alsa/alsa-mixer.c:1479, function pa_alsa_path_select(). Aborting.16:05
Wizzupfollowed by16:05
Wizzup2025-04-23T15:48:35.058654+02:00 maindroid pulseaudio[6374]: [pulseaudio] pid.c: Stale PID file, overwriting.16:05
Wizzup2025-04-23T15:48:35.668609+02:00 maindroid pulseaudio[6374]: [pulseaudio] module-alsa-card.c: Failed to find a working profile.16:06
Wizzup2025-04-23T15:48:35.684143+02:00 maindroid pulseaudio[6374]: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="platform-omap-hdmi-audio.3.auto" card_name="alsa_card.platform-omap-hdmi-audio.3.auto" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no16:06
Wizzupcard_properties="module-udev-detect.discovered=1""): initialization failed.16:06
Wizzup15:48 is when I started mpv16:06
Wizzupso it seems to me like pulseaudio is aborting16:06
WizzupThe assertion failure indicates that the mixer argument passed to pa_alsa_path_select is invalid16:10
Wizzupsicelo: I wonder if we ought to merge this mce fix for unexpected shutdown soon, is it mixed in in the pending mr?17:50
siceloWizzup: a quick and dirty fix is the one i shared yesterday ... you would have to create that MR since i didn't submit it:17:59
sicelo22/04 12:53 < sicelo> if we're not ready for mce/#64, then a quick workaround/solution would be to change https://git.maemo.org/leste/mce/src/branch/master/src/modules/battery-upower.c#L194 to `if ((upowbat.state == UP_DEVICE_STATE_EMPTY && !mcebat.charger_connected) || ...`17:59
Wizzupright18:00
Wizzupwell, I can make that change today18:00
sicelobut yes, mce/#64 already does this, and in fact does not use UP_DEVICE_STATE_EMPTY at all ... so even without a charger, as long as either voltage or capacity_level match, it would remain powered on18:01
Wizzupok18:32
freemangordonon my n900 with chimaera, starting calculator takes about 5 seconds (warm start)20:27
freemangordonOMP takes about 620:28
freemangordonstarting dist-upgrade20:29
freemangordonthis is stock clock speeds ets20:32
freemangordon*etc20:32
Wizzupfreemangordon: I don't know if you were gone for a bit or not, but I went over the strace extensively20:39
Wizzupand we realised that Arno was disabling some qt plugins unintentionally, and this gave him a speedup20:40
freemangordonI saw you did, but didn;t get the conclusion20:40
WizzupWe have three qt plugins, he only had two enabled20:40
freemangordonyes, I understand, but why would loading maemo platform plugin take so long?20:40
freemangordonor, did I miss something?20:41
Wizzupthey all load hildon and gtk, which seems to do some theme and icon loading20:42
Wizzupthe warm start is similar on daedalus to chimaera20:42
Wizzupfor me on n900 at least20:42
freemangordonright, but loading some icons should not tgake 3-4 seconds, no?20:43
Wizzupif I recall correctly20:43
Wizzupwell, you can look at strace and do the same work :)20:43
Wizzupif I recall correctly at least my conclusion was that there didn't seem to be a regression there20:43
Wizzupthere might be in the pvr/dri mesa initialisation20:43
freemangordonI think there is no regression20:44
Wizzupbut yes, out platform plugins do add significant startup overhead20:44
freemangordonbut it is still slow20:44
freemangordonmhm20:44
Wizzupmaemo-launcher support would probably help here.20:44
freemangordonyes20:44
freemangordonthat's what I was thinking about20:44
freemangordonbut I want to dist-upgrade my device to daedalus first20:44
freemangordonalso, I wonder what it is so much faster on d420:45
arno11freemangordon: i think there is a regression: warm start is definitely a lot slower on daedalus from a FRESH install.20:55
arno11seems different from dist-upgrade20:56
freemangordonarno11: are you sure your dist-upgarded system is the same as FRESH install, like, you did lots of tweaks, no?20:56
arno11just to be clear: i made some tweaks to workaround the main issue form a afresh install20:57
freemangordonanyway, lets see *my* dist-upgraded system performance20:58
freemangordonbecause in chimaera it takes lots of time, comparable to what you report for daedalus20:58
freemangordon*here*20:58
arno11ah i see20:59
freemangordonalso, I'll make measurements with a very basic QApplication, to see why our plugins add so much overheas21:05
freemangordon*overhead21:05
Wizzupsome of this might be solved with some gtkrcs, specifying specific fonts and not loading everything else, that kind of stuff I guess21:05
Wizzupbut we also load loads and loads of icons21:05
freemangordonI think the style plugin is inefficient, as it loads all kinds of gtk widgets, even if not needed21:06
freemangordonbut have to confirm it21:06
freemangordonalso, why do we load all those icons, do you have an idea?21:07
WizzupI think this is the gtk2 qt style plugin21:07
freemangordonactually we should not load them, as they are served by sqpwood server21:07
freemangordon*sapwood21:07
WizzupI am not sure that that works in qt21:08
freemangordonwhy not? ah, you think gtk2 qt plugin ignores pixbif engines?21:08
freemangordon*pixbuf21:08
freemangordonwait, it does not21:09
freemangordonyou you try to start from ssh shell, it complains about missing sapwood-server if you don't export proper DISPLAY21:10
Wizzupfreemangordon: no, I did:21:22
Wizzupon device, start osso-xterm, screen -SU work21:22
Wizzupclose term21:22
Wizzupssh, screen -Uxr21:22
Wizzupthen you have a term with same env21:23
freemangordonWizzup: btw, do we have noatime set for our ext4 partitions?21:35
Wizzupno idea21:35
Wizzupwe have relatime21:36
freemangordonugh21:36
freemangordonthat's slow21:36
freemangordonwhere is rottfs mounted?21:36
freemangordon*rootfs21:36
Wizzupwhat do you mean21:36
Wizzuptea i create --repo leste/bugtracker -a MerlijnWajer -t 'Switch to noatime instead of relatime for root fs'21:36
Wizzuphttps://git.maemo.org/leste/bugtracker/issues/77421:37
freemangordonI don't see rootfs mounted in /etc/fstab21:37
freemangordonso, where are mount options?21:37
Wizzupprobably defaults to relatime21:41
Wizzupoh, I see what you mean21:41
WizzupI think it's probably just ... not there21:42
freemangordonwith noatime calendar loads in 4 seconds (warm)21:46
Wizzupon daedalus?21:46
freemangordonchimaera21:47
Wizzupok21:47
Wizzupbtw you might be able to do mount -o remount,noatime /21:47
Wizzup(saves a reboot)21:47
freemangordonthat's what I did21:47
Wizzup:)21:47
freemangordonI think we shall set noatime everywhere21:48
freemangordonthat's a great improvement more or less for free21:48
freemangordonnot to say we *must* set it for flash storage21:49
arno11i just tried noatime on daedalus (no qt5 tweaks), calculator starts in 12 sec warm21:54
freemangordonI just started dist-upgrade, will take a while21:55
arno11freemangordon: on daedalus, the biggest issue i see with qt5 is when you launch more than one qt5 app: need 20-30 sec to start calculator or qalendar22:07
arno11i mean, with only 2 apps, it doubles the time22:08
sicelowhere will that noatime be set? want to boot with it going forward.23:23
siceloi suppose it means defining it in fstab, which currently doesn't have definition for / ?23:26
sicelooh, kernel has `rootflags=`23:30
WizzupI'd put it in fstab yeah23:34
Wizzupbut yes, you can use rootflags23:34
sicelocan you share how your / is currently mounted (my N900 is out of battery ... about to boot, and i want to make this change before booting)23:37
siceloiirc we're ext4?23:38
sicelodone :-)23:51

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