libera/#maemo-leste/ Sunday, 2024-06-30

arno11Wizzup: i tried 6.6.36 and now call audio works. in fact everything seems to work but something still seems to slowing down Qt510:28
arno11conversations is sometimes very slow to launch and use, same for hamsterfiler and calendar. but that's totally random10:29
arno11for calls, audio works but sphone is unusable: when you receive a call, the caller UI is too slow to appear10:31
arno11(sometimes it's ok, but again things happen randomly)10:31
arno11ah, and i got again an error during kernel install: dkms failed to find headers for 6.610:35
arno11(but headers are ok)10:35
arno11btw i didn't notice any process burning the cpu or using too much RAM10:41
arno11(*troubles with sphone happen with qtloop, i didn't try without but i'll doublecheck later and i suppose it will be ok without any Qt stuff)10:46
arno11bbl10:54
Wizzuparno_11: maybe you didn't install/upgrade the header package again11:29
arno11Wizzup: nope, headers install/upgrade is ok12:14
Wizzupstrange...12:14
Wizzuplet me upgrade on my phone12:14
arno11but i found on the web that 6.6 could cause troubles with swap12:14
arno11and indeed, decreasing swappiness seems to be a workaround12:15
arno11ok12:15
Wizzuphm, so they didn't solve it yet in 6.6.36 eh12:15
Wizzupyou'd assume they would fix these swap issues with stable point releases12:16
Wizzupuvos: yeah so even on 6.6.36 the hotspot doesn't work, but it works on 6.1.y :D12:19
Wizzuparno11: ok I also see the header warning12:19
arno11ah ok12:19
Wizzupstrange12:20
arno11weird, now with swappiness=10, the N900 seems very stable and fast like 6.1.7612:24
arno11swappiness=10 was previously unusable btw, too agressive12:25
arno11maybe the way it works has been changed again (pourcentage vs agressivity)12:25
arno11*i mean too agressive on 6.1 or older12:27
Wizzupwhat was your src on 6.6 changing swap behaviour?12:29
Wizzupkeep in mind that on this latest version I also enabled a bunch of debugging stuff12:29
WizzupI don't think it will really slow down anything (it's just some printks that are optionally enabled) but who knows12:29
Wizzup(but again, it is very unlikely to be the cause)12:29
arno11ah ok12:29
WizzupI enabled this so that I can try to debug call audio on d412:30
Wizzupbrb ~10-15 mins12:31
arno11ok12:31
arno11maybe it is worth a try to disable the debugging stuff12:47
Wizzuparno11: it is 100% not that12:53
Wizzupsince you saw this also with an earlier build that didn't have it12:53
arno11ah yes indeed12:55
arno11so we should have a deeper look @swap imo12:56
Wizzupif a different setting works, is that enough, or?12:57
Wizzupor is maybe zram not available even though you normally use it, or?12:57
arno11good questions12:57
arno11swappiness=10 is enough atm but multitasking with heavy apps is impossible12:58
arno11and for zram, i don't know12:58
arno11i've never understood what's going on with zram and Leste tbh13:00
Wizzupwell, you didn't use it right?13:03
Wizzupit would show up as additional swap them13:04
arno11ok so it is not activated by default13:05
Wizzupit might be :)13:05
WizzupI can check in a bit - have to go for a bit again13:06
arno11ah13:06
arno11ok no probs13:06
arno11according to syslog, zram starts on boot and add /dev/zram013:20
arno11but it doesn't appear in fstab13:21
arno11it appears in /dev/13:22
arno11hm, according to irc logs (fmg, uvos), not using zram is normal on N90013:43
arno11so i'll rather have a look on possible kernel changes with vm stuff13:46
Wizzupback13:58
Wizzuparno11: ok, well, I want to really try to take another look at call audio and at least write a report to tmlind and others13:58
Wizzuphopefully we can figure it out13:59
Wizzupcall audio n d4 that is13:59
arno11yeah that's definitely a priority14:00
arno11i'll continue to 'investigate' on swap/vm stuff and LYK14:03
Wizzupok,14:10
arno11Wizzup: ok, for 6.6 the culprit is h-s-m again and again...so no new issue. it is just worse19:13
arno11i mean, usually i killall h-s-m after boot to restart it properly. it doesn't work anymore19:14
sicelobtw hsm is?19:14
arno11hildon-status-menu19:15
siceloum, what's wrong with it?19:15
arno11don't know19:15
siceloi mean - what do you observe?19:15
siceloi don't recall having issues with it19:16
arno11pin entry freeze, availibility or other plugin buttons not visible19:16
Wizzupthe pin entry is not part of h-s-m19:16
arno11it is now according to fmg19:17
Wizzupbuttons not being visible means that it crashed prior and loaded only 'safe' plugins19:17
arno11yep19:17
siceloyes, i have the pin entry issues. but haven't yet had problems with status19:17
WizzupI think we just need a core dump to see what happens19:17
WizzupI think fmg was working on enabling those19:17
Wizzuphe should be back tomorrow19:17
arno11ok19:17
siceloarno11:  what plugins do you have on hsm?19:17
siceloi have none.19:17
arno11i just do have FB19:18
arno11but even without it, it is buggy19:18
Wizzupthat's not a hsm plugin fwiw, that's just part of the general status plugin19:18
arno11oh yes indeed19:18
arno11i just have original plugins19:19
siceloi want to work on wpa_supplicant stuff at some point19:19
Wizzupbetter error messages? :D19:20
sicelohehe, well first, signal strength19:20
Wizzupwait, this works, doesn't it?19:21
siceloicd doesn't report correct signal strength - only reports whatever was the strength when the connection was established19:21
Wizzupare you sure?19:21
Wizzupthat's very strange, I've seen that number change frequently19:21
siceloquite sure, yes19:21
Wizzupmaybe this broke from beowulf->chimaera19:22
sicelohttps://github.com/maemo-leste/bugtracker/issues/73019:23
siceloi don't think it ever worked correctly. there are some dbus signals we should subscribe to19:23
WizzupI've definitely seen that number change in the status applet19:24
Wizzupbut I believe you19:24
Wizzupshouldn't be too hard to check I think19:24
siceloso yes, the number will seem to change because when making a new connectio , the correct strength will ne recorded19:24
Wizzupdo you use the wifi signal applet?19:24
sicelobut as long as the connection is established, it won't change19:24
sicelono, i dont use the applet19:24
Wizzupok, might be worth checking to see if it works with that just in case19:24
Wizzupin src/wlan.c see19:25
siceloi think it won't... i looked at its source. i *think* it asks icd19:25
Wizzupstatic void wlan_statistics(const gchar * network_type,19:25
Wizzup    enum icd_nw_levels signal = map_rssi(info->signal);19:25
Wizzup    stats_cb(link_stats_cb_token, network_type, network_attrs, network_id, 0,   /* time_active */19:25
Wizzuphm, yeah, ok, it doesn't look like info->signal gets updated19:26
siceloi meant to update that issue with the signal we should subscribe to, but got sidetracked19:27
Wizzupcurrent_bss_info should contain a new signal though19:27
arno11Wizzup: so excepting h-s-m troubles we already had before, i don't see any issue with 6.6 atm :)19:28
Wizzuparno11: right, well, there's no audio at all on d4 for calls19:28
Wizzupso that needs to be solved19:28
Wizzupafter that we're probably fine19:28
Wizzupsicelo: see get_bss_info in src/wpaicd.c19:28
arno11oh yes ofc, i meant on n90019:28
Wizzup_BSS_SIMPLE_INFO_FROM_DICT(&bss_info_dict, "Signal", &info->signal, G_VARIANT_TYPE_INT16, "n")19:29
Wizzupthis is where it gets set every time get_bss_info is called19:29
siceloI'm on android atm ... so i can't easily check19:29
WizzupI'll just install the applet and test it now, easy enough to remove it afterwards19:29
siceloyes, good idea19:29
WizzupI wouldn't have packaged it if it never worked I would hope19:30
Wizzup:D19:30
sicelothat get_bss_info ... does it get called again if connection remains intact? what calls it?19:30
siceloiirc we're not subscribing to fi.w1.wpa_supplicant1.BSS.PropertiesChanged signal.19:31
siceloso we don't know when signal strength of currently connected network changes19:31
siceloanyway, i might be wrong  :-)19:32
siceloi *think* i actually noticed the problem when i installed signal applet (first time ever)19:32
Wizzupwell doing that made icd2 use 50-60% cpu19:33
Wizzupit seems to repeatedly issue dbus calls19:33
Wizzupsicelo: yes it gets called frequently19:33
Wizzupat least when statistics are asked for19:33
siceloah! what triggers calling it19:33
Wizzupyour dbus call I would say19:34
Wizzupand having the conndlgs open19:34
Wizzupand opening the status menu19:34
Wizzupiirc19:34
Wizzupand the wifi signal applet19:34
sicelook. I'll retest again.19:35
Wizzupwell the wifi signal applet for me just caused havoc19:37
Wizzupit's gone now that I uninstalled it19:37
sicelohehe, what havoc? 🤪19:38
arno11Wizzup: btw did you see my msg about the 3 missing deps for drnoksnes ?19:53
arno11cause i expect to be able to push drnoksnes in the next couple of days :)19:54
Wizzuparno11: I did see the message20:11
Wizzupdo you need me to package them, or just to make the repos and such?20:11
arno11they are easy to pkg so i can do it if you want, i just need you to make the repos.20:15
arno11sicelo: your battery patches work, got a fully charge msg + green led20:20
arno11i mean, we know it works lol but works ootb now with 6.620:21
arno11Wizzup: *i mean empty repos20:25
arno11bbl20:26
Wizzuparno11: ok, will make it20:38
Wizzupsicelo: icon for otp would be nice btw :D20:39
Wizzuparno11: https://github.com/maemo-leste-extras/x11proto-xsp https://github.com/maemo-leste-extras/libxsp https://github.com/maemo-leste-extras/sdlhaa20:40
Wizzupuvos: even with my regtool I can't get call audio to work20:46
Wizzupuvos: I think it might be somehow dapm related20:47
Wizzuphmm20:50
Wizzuphttps://bpa.st/6GXA20:50
Wizzupthe above is with20:51
Wizzupecho 'file cpcap.c +p' > /sys/kernel/debug/dynamic_debug/control20:51
Wizzupecho 'file motmdm.c +p' > /sys/kernel/debug/dynamic_debug/control20:51
Wizzupecho 'file n_gsm.c +p' > /sys/kernel/debug/dynamic_debug/control20:51
Wizzupecho 'file soc-dapm.c +p' > /sys/kernel/debug/dynamic_debug/control20:51
WizzupI wonder if the hifi muting interferes with our dapm forcing20:51
Wizzupuvos: I should note that my regtool doesn't necessarily write all regs I think, just a few that I picked20:52
Wizzupuvos: the dapm entries definitely seem *off*20:55
Wizzupvery strange to see what when I accept the call the Hifi is unmuted20:56
Wizzupthat has to be sphone doing something20:57
Wizzupwith 6.6 I seem to regularly lose wifi btw, it just disconnects20:58
Wizzupmuch like the n900 does frequently20:59
arno11Wizzup: ty for the 3 repos21:14
arno11btw i've never seen wifi disconnections on my device21:15
arno11and weird at hifi unmuted when call is accepted21:15
arno11seems really wrong21:16
arno11could be sphone or ucm21:16
arno11btw what is the call audio sample rate on D4 modem ?21:19
siceloarno11: nice @ applet21:20
arno11yep21:20
siceloWizzup: @icon ... i'm not good with that kind of stuff, but can try21:20
arno11ok D4 call audio rate seems 8000 | 1600021:27
arno11so if hifi is unmuted and use 44100 | 48000, it is normal to have no audio during calls imo21:29
freemangordonthat could be the ringing tone21:42
Wizzupfreemangordon: hi21:42
freemangordonthere is a race between ringing and call audio it seems21:42
Wizzupfreemangordon: based on what?21:42
freemangordonhi21:42
freemangordongut feeling21:42
WizzupI am drafting a email, and I also thought that21:43
freemangordonthe only thing that unmutes hifi during call is ringing tone21:43
Wizzuplet me send it21:43
Wizzupsending21:43
Wizzupsicelo: maybe just pick some generic otp icon, inspired by what android does or something21:44
freemangordonanyway, as I said I just came home from ~1000km driving. tomorrow :)21:45
Wizzupsure :)21:45
Wizzuparno11: hifi is not involved in d4 audio, it's all internal21:48
arno11i understand that but i suppose you can't use hifi and voice at the same time, or ?21:50
Wizzupdon't know21:50
Wizzupmy assumption is that our dapm hack is being nullified due to hifi being messed with during call setup21:51
freemangordonWizzup: try to disable ringiong tone and see if you can repro21:56
Wizzupfreemangordon: this is with ringtone disabled22:08
Wizzupprofile set to silent22:09
Wizzupcan't we make a dapm "Switch" widget hooked up in such a way that the all the call audio components get power?22:20
Wizzupfreemangordon: to me it looks like just switching ucm makes the hifi muted but the dapm (or whatever it is) turns it off only after 5 seconds (presumably a timeout)22:24
Wizzup(on "Switch", looks like probably not...)22:27

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