libera/#maemo-leste/ Tuesday, 2023-07-11

uvos__so xorg cpu usage is probubly some x client makeing x do work rather than x doing something by itself12:08
uvos__for instance if the volume applet where to constantly be getting pa events12:08
uvos__this might cause it to constantly wake up and query some xatom or something like that12:08
uvos__so it would make sense to xtrace all pa clients you have12:10
uvos__se if someone is constantly calling xgetprop or something12:10
arno11uvos: thx12:28
Wizzupuvos__: yeah I was thinking also it could be volume applet13:08
Wizzupuvos__: in any case if we have 4 PA servers we have other problems13:08
uvos__idealy we should not use system pa at all13:21
uvos__we now have elogind session13:21
uvos__so session pa should work13:21
uvos__should save some non trival amount of ram for n900 too, when no one is playing sound13:22
Wizzupin any case I am not sure if this is the problem13:22
uvos__no13:22
uvos__you have other issues13:22
uvos__but just going for the session pa setup might make sense13:22
uvos__vs figureing out why system pa is being launched multiple times13:23
WizzupI don't think the system one is launched multiple times13:26
Wizzupit seems to me like cmt_pulse or whatever it is just launches its own13:26
Wizzupwhich probably just means the env is not correct?13:26
Wizzupnot sure, I would have to check13:26
Wizzupuvos__: do you know, how can we know if all regular modules are loaded13:31
Wizzupmaybe some udev trigger13:31
Wizzupor some udev init script that finishes13:31
Wizzupthe idea being that we need to load nokia-modem as last module13:33
Wizzuparno11: is pa still set to do this autospawn thing on your device?13:40
arno11autospawn is deactivated13:41
arno11no change with pa cpu if activated13:41
arno11btw when i kill one of these weird pa daemons i get specific errors from cmtspeech13:42
arno11like pa_get_latency error, sink error, so it seems cmtspeech is creating its own daemons for specific tasks13:43
Wizzupdo you know why it would do that? or where the code is that does this?13:44
arno11i think it's because cmt_pulse has been split into 3 different progs and each ones are using different PA api commands13:47
arno11my idea is to create a new prog with all code in the same file13:48
arno11like it was before the split.13:49
Wizzuphmmmm13:49
Wizzupdo you know where the code is that doe sit?13:49
Wizzupalso probably a good idea to ask pavel13:49
Wizzupand it could indeed be the volume applet or some other maemo program that acts on the presence of other PA daemons that causes xorg cpu usage13:49
arno11really not sure13:50
arno11yes for Pavel13:51
arno11at the beginning cmtspeech_ofono_test was the main app13:52
arno11and then Pavel split it to different files13:53
arno11to be ale to easely switch between alsa, dsp and pulse13:53
Wizzuphmm13:53
arno11*able13:54
arno11according to gh cmtspeech history13:54
arno11and if i understand correctly lol13:55
Wizzupmhm13:57
arno11that's a lot of mhm, hmm and mmmhmmm :D14:02
bencohmhm!14:03
uvos__as long as its not mhh14:03
Wizzuparno11: heh14:04
Wizzuparno11: well I think what I need to do is power up my n900 tonight and see if I can reproduce what you have14:05
Wizzupand then see if I can see what's happening with all the pulse servers14:05
Wizzupor maybe the x11 cpu usage first14:05
arno11ok, should be easy to reproduce14:07
arno11thx for your help14:16
arno11if you just build calls-test-2 branch and set alternate-sample-rate to 4000 in daemon.conf, it should be enough to reproduce14:19
Wizzupok14:20
Wizzuplast time I didn't really know who to call :D14:20
arno11lol not easy to test indeed14:23
bencohI usually call my "real" day-to-day cellphone14:26
Wizzupyeah but for testing whether there is echo cancellation and not that's painful/difficult14:27
Wizzupbut I also have done that14:27
bencohoh, that. yeah14:27
WizzupI would also call my landline and pick up using sip, but at some point I worried the neighbours might hear it and get annoyed14:27
Wizzup(since I forgot to disconnect the old actual phone)14:27

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