libera/#maemo-leste/ Monday, 2023-07-10

Wizzupfreemangordon: so I'm running nomweather with LIBGL_ALWAYS_SOFTWARE=1 and the ants disappear01:49
WizzupI have them running side by side, one native pvr gl, one with sw render01:50
Wizzupand the ants/corruption is def. gl related01:50
freemangordonWizzup: Either driver issue or kernel (cache) issue07:22
freemangordonin both cases not much I can do about it07:23
freemangordonmaybe send a mail to AD on pvr ML07:24
Wizzupfreemangordon: mhm11:55
arno11Wizzup: i made a PR with new changes into libcmtspeechdata (in calls-test-2 branch because it is already quite similar to my config)12:42
Wizzupty!12:44
arno11:)12:45
WizzupI see the email to pavel too12:49
arno11ah ok12:52
arno11Wizzup: sicelo: i made some progress with PA cpu usage19:28
arno11the cpu usage is still very high but sound desync decreases a lot if other apps are running19:31
arno11the trick is to disable high priority and realtime-scheduling in daemon.conf19:32
rafael2khey, is maemo-lest using the alsa-plugin maemo to talk to the DSP in the N900?19:33
rafael2kI kind of need urgently write an alsa plugin, and bumped in the maemo plugin for alsa19:33
rafael2kneat19:33
arno11hi, dsp is not working iirc19:34
Wizzuparno11: interesting that disabling it helps19:37
arno11yes and the other interesting thing is that xorg burns 65% cpu when i use cmt_alsa for calls !19:49
arno11instead of cmt_pulse19:49
arno11and only with sound in one way19:50
WizzupI really don't understand what X has to do with sound at all19:50
arno11mee too !19:50
arno11i found nothing about that issue on internet19:51
arno11just one thing: alsa looking for wrong sound card per default19:51
Wizzupalsa_cmt or something else?19:52
arno11sorry don't understand19:53
Wizzupwhen you say alsa is looking at the wrong card per default, it's this dictated by ucm?19:54
arno11sorry misunderstanding. i was talking about a possible reason found on the net19:55
Wizzupreason for what, X usage?19:56
Wizzupor one way sound?19:56
arno11for high cpu usage for both PA and xorg19:56
Wizzuphmm19:57
arno11but seems not possible with leste i think because asound shows only one card20:00
arno110 snd_soc_rx5120:01
arno11and nothing else20:01
Wizzupyeah20:01
Wizzupno, that's not likely it. I would check the Xorg log files, or maybe figure out how we can profile it20:02
Wizzupor attach with gdb, but eh...20:02
Wizzupcan I test this without actually calling?20:03
arno11hm not sure20:03
arno11maybe using pa_test20:03
arno11let me check20:04
sicelomaybe it just seems to be X, but could be dbus? wild shot, but who knows ...20:06
arno11ah ok20:06
siceloit's just a guess ... don't take me too seriously on this one :-)20:07
sicelobut i'll be 'happy' to be correct, heh20:07
arno11ok lol20:07
Wizzupsicelo: it might be some interaction for sure yes20:07
Wizzuplike something repeatedly trying to do some action20:07
arno11so weird: no troubles using pa_test20:07
Wizzupwhat does pa test do differently20:08
arno11excepting dbus and ofono links, nothing20:08
arno11ah sorry i think i'm wrong20:10
arno11let me check in cmt20:10
Wizzupit might be worth checking dbus-monitor and dbus-monitor --system20:12
Wizzupsee if it is super spammy20:12
Wizzupor maybe strace Xorg, see if it tries to do some system calls repeatedly that fail with say permission error20:12
arno11ok20:13
WizzupI can try to reproduce it on my n900, have to do some work first though20:13
arno11ok. i found the huge difference between pa_test and cmt20:13
arno11pa_test uses only one PA daemon instead of 3-4 for cmt_pulse or cmt_alsa20:14
WizzupI still can't believe we ever need more than one PA20:15
Wizzupthis is something I really don't get20:15
Wizzupeverything should go through one PA20:15
Wizzupwhy are multiple servers started?20:15
arno11because cmt_pulse is split in 4 different files/progs20:16
Wizzupok, but those can just be four separate pulse clients?20:17
Wizzuptalking to the same server, right?20:17
arno11not sure, htop shows 4 different daemons. for me it is 4 different servers20:18
Wizzupok, that's very likely a problem regardless of X20:18
Wizzupthis might also be why you see that removing realtime helps20:19
Wizzupif they all want to be realtime...20:19
arno11makes sense20:19
Wizzupbut, if the server is running, another one should never be spawned20:19
Wizzupis this some env difference or something20:19
WizzupI'm really confused :D20:19
arno11me too20:19
sicelowe may have to also look at cgroups ... at least fremantle used cgroups heavily for call handling20:20
arno11maybe we can ask Pavel why he has split cmtspeech_ofono_test...20:21
arno11because it was just one prog at the beginning20:21
arno11iirc20:22
Wizzupcgroups exist on fremantle?20:22
WizzupI didn't know it did back in 2009 / 2.6 era20:22
rafael2khttps://github.com/alsa-project/alsa-plugins/tree/master/maemo20:30
rafael2kinteresting to read20:31
siceloyes cgroup support was already there in fremantle. see the bootlog here, https://wiki.maemo.org/N900_Hardware_Hacking/serial_dump20:51

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