libera/#maemo-leste/ Tuesday, 2024-04-09

arno11Wizzup: using 'tracker daemon -t'00:15
arno11it immediately stops tracker miner, extract and store00:16
Wizzupok00:29
arno11Wizzup: hi, can you confirm that appmenu-gtk2-module is not installed by default in Leste ?16:42
arno11well, seems not, and this module improves qt5 launch time17:11
arno11with this module (and trackers OFF and stock freqs), conversations starts in around 4 sec on n900 (instead of 15-20 sec OOTB)17:19
Wizzupwhat is appmenu from?17:20
arno11devuan leste repo17:21
Wizzupinteresting, wonder what this does to make it faster17:21
arno11it seems affecting other distro too17:22
arno11seems a known qt5/gtk bug17:23
Wizzupdo you have a link to the known bug?17:26
Wizzupalso great find17:26
arno11thx, let me have a look for links17:27
sicelobtw, last downloadable d4 image is from around 2-3 weeks ago. we're having storage issues again? (didn't check N900)17:29
Wizzupfwiw you can check here https://phoenix.maemo.org/view/Images/17:29
Wizzupdd: error writing '/home/jenkins/workspace/leste-image-droid4/arm-sdk/tmp/devuan-armhf-build/maemo-leste-1.0-armhf-droid4-20240407.img': No space left on device17:30
Wizzuplooks like it17:30
sicelothere'll hopefully be L5 images to build as well, soon :p17:31
Wizzupsweet17:32
sicelofreemangordon: the ongoing qmimodem work in ofono ... how does that fit in with work you've been doing wrt. d4 modem?17:33
tmlindfreemangordon: yeah did you have any luck with just qmi? :)17:54
arno11Wizzup: https://askubuntu.com/a/748186/7969118:00
Wizzuphttps://askubuntu.com/questions/1185372/why-does-forcing-qt-applications-to-use-gtk-theme-makes-those-apps-startup-slowl18:02
Wizzupafter clicking around18:02
Wizzupstill no actual explanation18:02
Wizzupbut definitely looks like it works for others18:02
arno11yep18:03
WizzupI wonder if it's something in env or not18:03
Wizzupnothing looks different I suppose?18:03
Wizzupthe app menus still work?18:03
Wizzuplike the menu in the app title18:03
arno11yes with no troubles18:03
arno11yep no diff18:03
Wizzupok18:04
arno11yes i think it is related to env18:04
Wizzupnot just the shared object?18:04
arno11(i can't find anymore the most useful links)18:05
Wizzupmaybe setting QT_QPA_PLATFORMTHEME explicitly helps somehow18:05
Wizzupbut we do set the style override18:05
Wizzupworth a shot18:05
WizzupQT_QPA_PLATFORMTHEME=gtk2 I mean18:05
arno11i tried but no diff18:06
Wizzupok18:06
arno11in fact i tried to modify several env with no result18:06
freemangordontmlind: sicelo: qmi works with d4, though I didn't test voice. However, USB wakeup doe not seem sto work18:06
freemangordonright now I suspended work on ofono, I want to finish connui-cellular first18:07
freemangordonhopefully in a week or so it'll hit -devel18:07
Wizzupsweet :)18:11
sicelocool18:12
arno11cool, sweet, great18:12
dsc_nice18:13
sicelothe other day i looked at my N900's battery display, and noticed that there's definitely space to display a 2nd battery and its parameters (if you remove the word "Battery")18:14
* sicelo hides18:14
sicelono, not saying we should do it18:14
bencoh:]18:14
tmlindfreemangordon: ok great, so are you using /dev/ttyUSB5 now for wakeups?18:14
sicelotmlind: still using sway on your D4?18:15
freemangordonI didn't try18:15
freemangordonwill do when I get back to ofono18:15
tmlindok18:16
tmlindsicelo: yeah sway and scripts.. hoping to move to ofono18:16
siceloi wondered if we changed SW_KEYPAD_SLIDE in dts to SW_TABLET_MODE ... i think sway has built in support for that switch18:17
sicelowhile nothing (besides Leste) appears to care about KEYPAD_SLIDE18:18
tmlindoh ok, not sure if we can really touch the dts mappings for keys.. but it's easy to map using hwdb18:18
sicelotrue18:20
Wizzuparno11: so let's see, we can either just install the package or try to figure out what it actually does that makes it faster18:30
WizzupI'm fine with either at this point imo18:30
Wizzupwe can just have our qt pkg depend on it18:30
Wizzuparno11: I tried it and it doesn't really make a difference for me18:38
Wizzupdid you restart after installing the package18:38
Wizzupkeep in mind that conversations will just tell the running conversations to show the window if it's already running18:39
Wizzupso this would make it 4s instead of say 15s18:39
Wizzupbtw, I'm attachign strace to one of the tracker processes and it doesn't seem to do anything other than idle18:42
Wizzuptracker-miner-fs this is18:43
arno11yes you need to reboot19:27
arno11and you need to disable trackers after reboot, otherwise it will be very slow19:28
freemangordonarno11: what Wizzup said is that tracker does *nothing* while qt applications start19:31
arno11i know that19:32
arno11i don't know what's happening19:33
freemangordonwell, there is no reason then for tracker to affect anything, it is just an idle process19:34
arno11so i recommend you to try on your device19:35
arno11and see19:35
freemangordonwill do19:35
WizzupI only straced one program19:35
arno11the problem is with the 3 progs19:36
freemangordonWizzup: please check the others19:37
freemangordonarno11: 3?19:37
freemangordontracker-extract should run on demand only19:37
Wizzupthere are no others on my n90019:37
freemangordonwhat are those 3?19:37
arno11miner, store and extract19:38
freemangordonextract runs all the time on your device?19:39
arno11yes: if you start conversations ui after boot, wait one min19:39
arno11then tracker miner start, then extract and store19:40
freemangordonarno11: first conversations start after reboot takes more time19:40
arno11then that's the moment to stop them19:40
arno11fmg: yes oc19:40
arno11*ofc19:40
freemangordonarno11: ok, I will try , not today though19:41
arno11ok no rush19:41
arno11one more thing: light transitions are needed19:48
arno11otherwise, no surprise if the device is still slow19:49
arno11transitions + appmenu + trackers OFF make the diff19:51
arno11bbl19:51
arno11Wizzup: looking to logs, my explainations are unclear as usual21:17
arno11most of the time, trackers are 'idle'21:20
arno11so that's not so easy to trace whatis going on21:21
arno11when you start a qt5 app, tracker miner usually start and use 100 cpu21:22
arno11then extract and store (for few sec)21:22
arno11enough to increase launch time a lot21:23
arno11and then, idling again21:23
arno11if you don't start a qt app and wait at least 30 sec, impossible to pgrep or stop them21:25
arno11once stopped, apps are a bit faster to start and more if you install appmenu (need reboot)21:26
arno11the last thing is transitions21:27
arno11with light ones, conversations (after the first launch) starts really faster, usually between 3-6 sec, depending of cache21:30
arno11most of the time 4 sec, 2 sec with boost @80521:31
arno11swappiness and page-cluster have a (small) impact as well21:34
arno11i just tried again: 4 sec to launch conversations ui21:39
arno11so, again, that's a combination of things, but gnome tracker and qt5 style/menu issues are quite common apparently, according to other distro forums21:54
Wizzuparno11: ok, sounds good, I didn't look very hard and I definitely believe you :)22:26

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