Wizzup | uvos: with the modified battery, at what voltage should I try to start charging it again for calibration purposes? | 09:36 |
---|---|---|
arno11 | Wizzup: i've a question: adding /pulse/daemon.conf.leste in leste-config-n900 should work to modify sample rates stuff ? | 11:41 |
arno11 | i mean to customize daemon.conf | 11:59 |
Wizzup | what is the question specifically? :) | 12:02 |
arno11 | Wizzup: well i would like to add my modified version of /pulse/daemon.conf in leste-config-n900 in devel to test if it works :P | 12:27 |
arno11 | if it works we'll have sip calls working OOTB (twinkle) and 80% voicecalls OOTB | 12:28 |
arno11 | then a basic script to start cmtspeech + chrt commands should be enough for 100% working voice calls | 12:30 |
arno11 | (On the other hand we absolutely need to modify the default transitions.ini file to speed up n900 and avoid random slowness) | 12:35 |
arno11 | Wizzup: I made a PR for transitions and daemon.conf, hope it helps and works | 13:33 |
arno11 | https://github.com/maemo-leste/leste-config/pull/38/commits/8b3cb687ab07b96f3e00c958112298bb38079b0c | 13:47 |
arno11 | https://github.com/maemo-leste/leste-config/pull/38/commits/7e6f6829962093ac95ff86c7274ffae1e09ec514 | 13:48 |
Wizzup | arno11: can we specify the rt params somewhere, or does that need to be done at runtime | 15:36 |
arno11 | Wizzup: it must be done at runtime | 16:17 |
Wizzup | darn | 16:17 |
Wizzup | we could maybe set /etc/security/limits.conf to allow user to set realtime for certain processes | 16:20 |
Wizzup | then it won't need to be done by root, and could be done by dsme launch | 16:20 |
arno11 | chrt only works as root but keep apps running as user | 16:22 |
Wizzup | with limits.conf it can work as user | 16:22 |
arno11 | ok | 16:23 |
sicelo | yes, limits.conf is the way :-) | 16:26 |
sicelo | we shouldn't run `cmt_pulse` as root | 16:26 |
arno11 | in PA system mode, not sure cmt_pulse will work as user | 16:27 |
arno11 | /dev/cmt_speech doesn't work as user | 16:29 |
sicelo | it does ... there's an udev rule for it | 16:29 |
arno11 | ok | 16:29 |
sicelo | although i don't know if there's actually a `pulse` group ... in pmOS, i'm using `audio` group | 16:29 |
sicelo | i.e. not sure if user `user` is in `pulse` group | 16:30 |
sicelo | ah, i see why arno11 might find it not working ... the udev rule says `pulse`, but `user` is in `pulse-access` | 16:31 |
sicelo | Wizzup: ^^ | 16:31 |
sicelo | https://github.com/maemo-leste/leste-config/blob/master/leste-config-n900/lib/udev/rules.d/10-nokia-modem.rules.leste | 16:31 |
sicelo | modem is gone now on D4 ... at least my DCEW widget has made me 'see' it earlier | 16:32 |
sicelo | http://paste.debian.net/1297884/ | 16:37 |
arno11 | (for udev rules) ah ok but according to Pavel only cmt_alsa could run as user, not cmt_pulse but anyway i can try, modifying rules ;) | 16:38 |
sicelo | trust me ... i run it (`cmt_pulse`) as user under pmos :-) | 16:39 |
arno11 | ok cool | 16:41 |
arno11 | how was cpu usage ? still very high or better ? | 16:42 |
sicelo | what i was doing for now was ... start cmt_pulse as user, then renice its pid as root, and chrt ... so cmt_pulse remains running as user | 16:44 |
sicelo | cpu_usage doesn't seem bad ... at least i can still interact with dbus to Answer/Hangup the call. | 16:44 |
arno11 | ok | 16:44 |
sicelo | only problem (in pmos) is that i don't get clear calls :-p | 16:45 |
arno11 | ah | 16:45 |
arno11 | could be several different things | 16:45 |
arno11 | could you provide me an easy way to run cmt_pulse as user to test what's going on ? | 16:49 |
sicelo | sudo chown root:pulse-access /dev/cmt_speech (i guess) | 16:50 |
sicelo | then run cmt_pulse as user ... leave out the `nice` | 16:50 |
arno11 | ok | 16:50 |
arno11 | thx let's try | 16:51 |
sicelo | then you can do `renice -n -20 $(pgrep cmt_pulse)` | 16:51 |
sicelo | and chrt as you were already doing, etc. | 16:52 |
arno11 | ok makes sense but cmt_pulse still refuses to run as user | 16:58 |
arno11 | ok seems to work with user:pulse-access | 17:05 |
arno11 | i'll test and let you know | 17:05 |
arno11 | ok results are good :) no real diff using leste | 17:10 |
arno11 | it means we can probably use limits.conf | 17:11 |
arno11 | sicelo: thx | 17:12 |
arno11 | for pmos, maybe the resampling method is wrong | 17:14 |
sicelo | I'm using the same daemon.conf as leste | 17:15 |
arno11 | ok, so i think you should try resample-method=trivial to see if it's different/better | 17:17 |
arno11 | and other question, how is latency ? | 17:17 |
sicelo | i haven't looked, but the one time that it worked, it sounded acceptable to me | 17:18 |
arno11 | ok and which tech-preference, 2g or 3g ? | 17:19 |
sicelo | I think i have any | 17:19 |
arno11 | ok | 17:20 |
sicelo | Wizzup: the bind/unbind on USB doesn't cause the modem to reappear | 17:20 |
arno11 | sicelo: i suppose you used a very recent kernel like 6.6 ? | 17:21 |
sicelo | yeah, i had 6.5 before | 17:21 |
arno11 | ah maybe interesting to test with 6.1 like Leste | 17:22 |
arno11 | maybe some changes in PA | 17:22 |
sicelo | possible @PA. i would like to think kernel is not part of it | 17:24 |
arno11 | yep | 17:24 |
arno11 | maybe time to work on pipewire :P | 17:28 |
arno11 | Wizzup: sicelo: i'll try to use limits.conf and let you know | 18:35 |
freemangordon | Wizzup: seems we have some issue with maemo5 style and qtoolbutton | 19:15 |
arno11 | sicelo: limits.conf can't be used for specific apps, right ? | 20:06 |
sicelo | I'm no expert ... but i think not | 20:11 |
sicelo | what i was going to do is ... use limits.conf to permit our user to set niceness of -20 | 20:12 |
sicelo | then start the program with nice -n -20 cmt_pulse | 20:12 |
sicelo | as user, of course | 20:12 |
arno11 | ah ok i get it now | 20:14 |
arno11 | makes sense | 20:16 |
arno11 | so do you think we can do the same with rtprio to be able to use chrt as user ? | 20:20 |
arno11 | i mean rtprio option in limits.conf | 20:20 |
sicelo | yes, that was my understanding | 20:25 |
arno11 | ok so we can imagine an init script depending of sphone and nokia-modem, starting cmt_pulse and setting up all priority stuff as user | 20:25 |
Wizzup | sicelo: ok @ bind/unbind, weird | 20:26 |
sicelo | any other suggestion, or I'll just reboot | 20:27 |
Wizzup | freemangordon: hmm? | 20:27 |
freemangordon | ok, the issue is in sapwood, not in qt maemo5 style | 22:58 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!