libera/#maemo-leste/ Sunday, 2023-07-09

Wizzuparno11: yea it's supposed to run in system mode01:16
WizzupCynicalDebian: great01:57
Wizzupuvos: over the next few days I would like to try to make some progress on additional devices - droid3, razr, etc16:16
Wizzupif you're around I'd appreciate some help/thoughts etc16:16
arno11Wizzup: sicelo: finally i fixed 2g calls issue. Sound is clear and latency is...well...very low...arround 5ms ! the problem is PA cpu usage: it causes audio sync troubles if other apps are running. 3g works with the same config with 300ms latency as usual.17:37
arno11the 15 sec weird bug in incoming calls is still there17:38
arno11(my 10 sec sleep trick doesn't work anymore)17:38
arno11so i think i need help to solve this weird bug and need to talk about why PA is running in system mode (too much cpu usage for n900)17:41
Wizzuparno11: 5ms latency on 2g seem impossible?17:47
Wizzupdo you mean PA latency17:47
arno11yes pa latency17:48
Wizzuppa in system mode shouldn't use more cpu fwiw17:48
arno11are you sure ?17:49
Wizzupwhy would it?17:53
arno11i just remember reading stuff about it and the high cpu usage but maybe i'm wrong17:56
arno11anyway the cpu usage is really to high17:56
bencohwell, I often get high cpu usage and crackling audio when using twinkle (sip client) on droid4/leste17:56
bencohnot sure if it is related17:56
WizzupI don't see why system pa would take more cpu tbh17:57
bencoh(pulseaudio* cpu usage)17:57
arno11interesting17:57
bencohno idea about system vs user mode17:57
arno11bencoh: did you noticed high xorg cpu usage using twinkle too ?17:58
bencohnot that I remember17:58
arno11ok17:58
bencoh(I use it mostly in commandline mode anyway)17:59
arno11yes but for example on n900 during calls, xorg burns 40% cpu in command line18:00
arno11so weird18:00
Wizzupxorg burning cpu is weird yes18:00
Wizzupthat we want to figure out for sure18:00
arno11yep18:00
arno11i'll try to monitor what's going on with xorg18:03
arno11during calls18:03
Wizzupfreemangordon might have some idueas18:05
Wizzuparno11: does it also happen if you don't use sphone btw?18:05
Wizzupor if the screen is off?18:05
arno11oh good question18:05
arno11pretty sure it happens with screen off but not sure for sphone18:06
arno11let me check18:06
arno11so weird: 2 pulse processes, 20 and 40%. xorg 2518:14
bencohuh18:14
arno11even without sphone18:15
arno11using ofono scripts18:15
arno11Wizzup: i already asked freemangordon about xorg few weeks ago18:19
arno11something is really wrong: creating a loopback using arecord/aplay, PA burns only 10% and xorg 1018:24
arno11Wizzup: the main question is why things are working differently with calls since the last kernel update ? or maybe PA reacts differently when we use UCM files ?18:36
Wizzuparno11: I don't think pulseaudio and x really interact18:48
Wizzupinteresting though @ 25%18:48
arno11i think so18:49
arno11anyway we have few remaining troubles but 2g calls quality is really good now18:53
Wizzupgreat18:54
Wizzupwhat did you change?18:54
Wizzupwhen you say sync troubles with other apps, do you mean when other applications are playing sound?18:54
arno11just if apps burn cpu18:55
arno11not necessary playing sound18:55
arno11oh didn't see your question about changes18:58
arno11few lines in PA daemon.conf again, one sleep in cmtspeech_ofono_test and fragsize/tlength set to 256 !19:00
arno11this way 2g calls work well and no inpact on 3g calls19:01
arno11*fragsize/minreq/tlength19:03
arno11in pulse.c19:03
Wizzuphm, ok19:11
Wizzupcan you share a diff or git patch against something?19:11
arno11sure19:13
freemangordonsorry guys, I am very short on spare time recently :(19:21
Wizzupuvos: yo yo22:24
Wizzupuvos: so I hope to make some time for the d3 and razr soon22:34
WizzupI'll be in the US for three weeks where I can't really use the d422:34
uvosWizzup: okay22:38
uvosgreat22:38
uvosus razr wont work either22:40
uvoseu razr will22:40
Wizzupbecause of the spi modem?22:41
Wizzupoh22:41
Wizzupright22:41
Wizzupuvos: yeah, but I will probably need some guidance from you :D22:41
WizzupI might have this one sent to the office https://www.ebay.com/itm/364123083812 because I think I mostly have xt912's even though they were called xt910's22:43
uvosokay22:45
uvoswell for d3 dumping emif regs would be usfull22:45
uvosthe same is usefull for the crtc controller on xt91x22:46
Wizzupokay, so this requires flashing a certain android version, rooting it, and then running a certain tool?22:46
Wizzupright, the razr had some display update issues right?22:46
Wizzup(I'm asking now so then I'll update the github issues)22:51
uvosdisplay roles around22:51
uvoslike a tv out of hsync22:51
WizzupI see22:52
WizzupI don't remember, did I send a droid 3 to both you and tmlind ?22:52
uvosi have one yes22:53
WizzupThere is a bullet point for me to do that here https://github.com/maemo-leste/bugtracker/issues/64722:53
uvosno idea if you sent one to tmlind22:53
uvosofc22:53
Wizzuphttps://github.com/maemo-leste/bugtracker/issues/60022:53
WizzupI guess this is what you meant?22:53
uvosye22:53
Wizzup(with emif?)22:53
uvoss22:53
uvosyes22:53
uvosno22:53
uvosnot sure what that was about at this point22:53
uvosbut its about dumping cpcap not emif22:54
Wizzupand I guess also backlight control?22:54
Wizzupsorry, that is razr22:54
Wizzup(was looking at https://github.com/maemo-leste/bugtracker/issues/648 too)22:54
uvosi mean razr has no backlight22:57
Wizzupdo you mean backlight doesn't work currently?22:58
uvosno it dosent have one22:58
uvosits oled22:58
uvosyou have to speak to the display controller to set bightness22:58
uvosno idea how this work exactly22:58
Wizzupthrough xrandr?23:01
Wizzupxrandr --output foo --brightness 0.523:01
uvosno23:01
uvosyou can tell the display to change brighness, this has mutch more dynamic range than the 255 usual values23:02
Wizzupah, so it is through /sys23:02
uvoswell no - what i mean is i dont know how to tell the pannel to do this on razr23:02
Wizzupok23:03
uvoslike in the electrical interface and kernel sense23:03
Wizzupok23:03
uvosmaybe it goes via dsi commands, maybe there is some i2c side channel or so23:04
uvosreally no idea23:04
uvosbut looking at the pannel code in android should do it23:04
Wizzupprobably in the android kernel somewhere23:04
Wizzupyeah23:04
* sicelo got an N9 the past week23:05
Wizzup:)23:06
sicelowill try mainline once i have some time to spare23:07
Wizzupcool23:10
Wizzupwe have this issue for them https://github.com/maemo-leste/bugtracker/issues/53523:10
WizzupI'm trying to make screenshots of maemo weather for the news post but the font has all these ants23:17
Wizzup:D23:17
Wizzupanki works ok with default theme and 2.0 scale23:28
Wizzupmaybe 1.5 is better23:28

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