<arno11>
hi guys, i just compared my Fremantle (cssu kernel v53, no thumb2, light transitions, swappiness=30, 500-805MHz) with Leste (same freqs, same transitions, -devel and same swappiness)...and the feeling is pretty similar now :)
<Wizzup>
sweet :)
<arno11>
the feeling is even better with h-d navigation
<arno11>
:)
<Wizzup>
I guess we should work on cmt speech integration then
<arno11>
yes indeed, i forgot that :P
<Wizzup>
uvos: I am wholly impressed by the razr battery life btw
<arno11>
for cmtspeech (cmt_pulse as user in fact), i think that 'the not too bad moment to start it' is when pin code entry appears (because we are sure that nokia-modem is already loaded)
<Wizzup>
maybe it can somehow only be started when modem is online, and shut off when modem is not online
<arno11>
sounds good
<Wizzup>
(not sure how to do that ;))
<arno11>
ok :)
<arno11>
we need chrt prio for PA and sphone as well and we can't use limits.conf for that (only working with rt kernel iirc)
Guest9934 is now known as Elektra
Elektra is now known as Guest7201
<arno11>
maybe someone has a magic trick for that
Guest7201 is now known as RogueAdmin
<freemangordon>
IIRC you said with PA as user no prio change is needed
<arno11>
yes indeed it works
<freemangordon>
but?
<arno11>
but not very well if you are running other apps at the same time
<freemangordon>
I see
RogueAdmin is now known as NotAKitten
NotAKitten has quit [Changing host]
NotAKitten has joined #maemo-leste
NotAKitten is now known as ashley
<freemangordon>
can't we add some sudoer.d and call it a day?
<freemangordon>
also, maybe we can create a cgroup with higher prio
<arno11>
sudoer could work
<arno11>
no idea for cgroup
<freemangordon>
yeah, but cgroup shall be better
<arno11>
yes probably
<freemangordon>
Wizzup: ^^^ any idea how to tell elogind to move pid into a cgroup?
<freemangordon>
we have /sys/fs/cgroup/elogind already
<Wizzup>
freemangordon: the point was not about how to elevate the privs but how to start it at the right time
<freemangordon>
I wonder if elogind will be happy if we create session dir subdir and move some processes there
<Wizzup>
sorry I don't know much about cgroups
<arno11>
Wizzup: we also need to elevate the privs to use chrt (just chrt, no impact on PA or sphone)
<freemangordon>
arno11: so, renice does not work?
<arno11>
renice is not enough unfortunately
<freemangordon>
hmm, how's that?
<freemangordon>
so, you set SCHED_FIFO on PA?
<arno11>
sched RR
<Wizzup>
arno11: this is all easily done with sudo
<Wizzup>
we just need to figure out how it gets started
<freemangordon>
with sudoer
<Wizzup>
freemangordon: if we start it as init script on boot, it won't work
<Wizzup>
that's the point
<freemangordon>
I understand that
<Wizzup>
15:19 < arno11> for cmtspeech (cmt_pulse as user in fact), i think that 'the not too bad moment to start it' is when pin code entry appears (because we are sure that nokia-modem is already loaded)
<Wizzup>
so when I say 'how it gets started' I mean which process actually launches it when the modem is online
<freemangordon>
what I am saying is that we can change the prio once the process is started by using sudoer
<arno11>
freemangordon: yes
<arno11>
best option imo
<freemangordon>
arno11: RR ends up as FIFO on linux, afaik
<freemangordon>
RR is notr really supported
<freemangordon>
(afaik)
<arno11>
it seems to work well :P anyway FIFO gives similar results
<freemangordon>
did you try DEADLINE?
<Wizzup>
uvos: my static cpcaprw with armhf just owrks :)
<freemangordon>
Wizzup: why not? as soon as you dont; try to use any FP, you should be fine
<freemangordon>
FP as in call annother lib
<freemangordon>
arno11: OTOH, during call there is no more impotant task that audio, so yeah...
<freemangordon>
*important
<Wizzup>
freemangordon: because he said it might not work
<freemangordon>
ah
<arno11>
freemangordon: didn't try deadline
<Wizzup>
uvos: you said this:
<Wizzup>
17:06 < uvos> Wizzup: you can use cpu freq to force the oop
<Wizzup>
17:06 < Wizzup> in android?
<Wizzup>
17:06 < uvos> clowboot dose it in the script even
<Wizzup>
17:06 < uvos> yes
<Wizzup>
17:06 < uvos> just before kexec
<Wizzup>
but I don't see it changing the freq anywhere
<Wizzup>
I suppose what I could do is to install just kexecboot without the clown part on the other droid3 that I have, and manually kexec from android
<Wizzup>
so make sure it's really in that frequency
<Wizzup>
to make sure*
<uvos__>
yes
<uvos__>
but this is a fun procedure
<uvos__>
not
<Wizzup>
yeah
<Wizzup>
well so I can just run the cpcaprw tool on leste now
<uvos__>
because the uart.ko module distroys the serial port
<Wizzup>
hm, the d3 also has 1200000 as available freq
<Wizzup>
should it?
<uvos__>
and then it also breaks usb and wifi
<uvos__>
Wizzup: no, yes, maybe
<uvos__>
Wizzup: bionic also has the same omap variant (1.0ghz only)
<uvos__>
but motora decded 1.2 is fine there
<uvos__>
but we tried this allready im sure
<Wizzup>
I do remember that we did that, but we did not do it with the freq locked to 1Ghz before kexec
<Wizzup>
but if you want maybe I should just run the cpcaprw script now?
<uvos__>
sure you can try
<uvos__>
its hardly hard
<Wizzup>
bbiab
arno11 has left #maemo-leste [#maemo-leste]
fab_ has joined #maemo-leste
uvos__ has quit [Ping timeout: 252 seconds]
uvos__ has joined #maemo-leste
<sicelo>
arno11: Wizzup: regarding cmtspeech maybe we can create a wrapper that runs at boot ... so it's a normal openrc/dsme service. this wrapper listens for the appearance of ofono's AudioSettings interface. when that shows up (meaning we have voice-capability ready), the wrapper starts the real cmtspeech.
uvos__ has quit [Ping timeout: 252 seconds]
<sicelo>
but i think long term, we may need to fix whatever it is that causes cmtspeech to be sensitive about when it's started (tbh, i am not really sure it is, but i haven't done more extensive tests yet, even though i'd like to)
uvos__ has joined #maemo-leste
uvos__ has quit [Ping timeout: 252 seconds]
arno11 has joined #maemo-leste
<arno11>
sicelo: hi
<Wizzup>
uvos: it does look like locking to 300mhz indeed did not help
<arno11>
cmtspeech itself is not a problem on boot
<Wizzup>
maybe the best thing to do at this point is to just do the reg dump and compare
<sicelo>
ah, i meant to say `cmt_pulse`
<arno11>
sicelo: a ok
<arno11>
*ah
<Wizzup>
so what actually is the problem with starting cmt_speech on boot? it can't find /dev/cmt_speech, or the modem isn't on ofono yet, or?
<arno11>
cmtspeech is not the problem it is already loaded on boot
<Wizzup>
what I mean is that is cmt_pulse just iterates over the modems on start and then doesn't listen to modem changes, we just fix that
<Wizzup>
is that if*
<freemangordon>
:nod:
<arno11>
iirc cmt_pulse returns errors if the modem, ofono and PA are not already loaded
<freemangordon>
what is cmt_pulse?
<freemangordon>
sorry for the stupid question, but still
<freemangordon>
where is the repo?
<arno11>
libcmtspeechdata
<arno11>
cmt_pulse is the binary
<freemangordon>
who builds that? libcmtspeechdata?