libera/#maemo-leste/ Saturday, 2023-09-30

freemangordonsicelo: arno11: http://95.43.220.235/leste/n900/10:07
freemangordonthis one seems to work without OC and with 125 min freq10:08
freemangordonplease test how it will behave for you10:08
freemangordonif you confirm it is ok, I will post a patch to the ML10:08
siceloI'll give it a try later today11:09
sicelothank you so much11:10
maxwelld> Hello, I just wanted to announce a small codesizing release which was programmed on a Droid 4 running maemo-leste: https://macario-moreno.itch.io/picoblazer-1k11:19
maxwelldomg this is amazing, thank you for sharing!11:19
maxwellddoes d4 or linux have some runner of these games without having to open a browser?11:19
Wizzupmorning11:30
Wizzupmaxwelld: nice11:30
Wizzupuvos: btw so this probably explains the tp issues we were seeing before with anon calls (maybe I wrote this before)11:42
maxwelldit is not me, macario wrote it.12:05
WizzupI know12:11
Wizzupjust saying12:11
uvosWizzup: yes13:21
uvosit worked in sphone because i used d4 as a referance, so it was swapped13:22
uvosit worked in ofono-scripts because there "default" is used13:22
uvoswhich worked fine13:22
uvosi suspect tp was setting disabled13:22
Wizzupyes13:31
WizzupI will test later today13:31
uvosplease also test the pinephone, i am if its not also swaped there i am mildy suprised no one ever complained13:32
arno11freemangordon: pwm-ir-tx works with no overclock :) a bit slow using cpufreq ondemand/conservative mode but works well in performance mode14:07
arno11well done and tysm14:07
arno11it was a hard task14:08
arno11when i say slow, i mean i have to press a button a bit longer to get the pulse working14:09
arno11(tested on Samsung TV and Technics CD player)14:10
freemangordonarno11: do you have 125MHz CPU freq enabled?14:19
freemangordonBTW it seems to me this is an issue in pierogi (having to press the button for some time)14:22
freemangordonlike it somehow first sends ir pulse and then it redraws the button14:23
arno11yes 125MHz enabled and yes possible it is pierogi14:23
freemangordondisable 125 MHz14:24
freemangordonwe shall do that in policy as well14:24
freemangordonWizzup: ^^^14:24
freemangordonpolicy/config14:24
arno11yes indeed14:24
Wizzupyou want a certain cpu freq blacklisted?14:26
freemangordonyes14:26
freemangordon12500014:26
Wizzupis that the lowest?14:26
freemangordonmhm14:26
freemangordonbut we gain nothing from it14:26
arno11( i can try a bit letter with 125 freq removed because it could explain why it works perfectly in performance mode (locked at 600) )14:26
Wizzupno pm improvements?14:26
freemangordonno14:26
Wizzupok14:26
arno11definitely not14:26
freemangordonfremantle does not use it either14:26
Wizzupdo you know how to do this? is it dts work?14:26
freemangordonwell I don;t want to carry a patch14:27
freemangordonso, a stgartup script14:27
freemangordon*startup14:27
freemangordonI know where to disable (in sysfs)14:27
freemangordonbut don't know the best way to execute something on startup. init.d script?14:28
freemangordonor here> https://github.com/maemo-leste/leste-config/tree/master/leste-config-common/etc/sysctl.d14:30
arno11freemangordon: why not using cpufreq stuff ? iirc it is quite easy to choose a freq range or remove freqs14:33
freemangordondon't know how :)14:33
freemangordonthat's why I asked "what is the best way?"14:34
freemangordonwtym "cpufreq itself"?14:34
freemangordon/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq ?14:35
arno11yep14:35
Wizzupfreemangordon: if we want to allow OC we might as well carry it in the same patch maybe14:35
Wizzupthe scaling min freq might even work with sysctl14:36
arno11ah that's another story lol14:36
Wizzupdoesn't look like it @ sysctl14:36
* Wizzup double checks14:36
arno11it is easy to remove 125 freq from dts14:36
freemangordonarno11: well, that's what I meant saying "I know where to disable (in sysfs)"14:36
freemangordonWizzup: yeah, seems it is not14:37
arno11freemangordon: ok14:37
freemangordonWizzup: hmm, right14:37
freemangordonok, what OC frequencies we want to support? up to 800?14:37
Wizzuplike, if we have one patch that adds OC clocks (but makes them disabled by default) and removes 125 maybe it's not too bad14:37
freemangordonyeah, correct14:38
freemangordonbut still, we need startup script to set the max freq14:38
freemangordonto 60014:38
Wizzupyeah, was just thinking about this14:38
freemangordonbecause I don;t want to OC by default14:38
freemangordonso, init.d script14:38
WizzupI guess there is no kernel module option that we can set right14:39
* freemangordon checks14:39
Wizzupwe can do init script btw, just thinking14:39
freemangordonalso, don;t we use the same cmdline for n900 and d4?14:39
uvosno14:41
uvosand script is too late14:41
freemangordonoh, right14:41
uvoswe must avoid the cpu ever overclocking even for a moment on boot14:41
freemangordonagree14:41
arno11btw 850 MHz is the maximum stable freq with Leste14:42
freemangordonthat's HW specific anyways14:43
freemangordonuvos: maybe if we mark them as turbo frequencies, they will not be enabled without user asking for i14:44
freemangordon*it14:44
Wizzupsomething like that yeah14:44
freemangordonI think 720 is already marked as such14:44
arno11yes by default14:45
WizzupI think that would make sense14:49
Wizzuphow would we enable the turbo states?14:49
freemangordonno idea14:49
freemangordonlemme check14:49
freemangordon/sys/devices/system/cpu/cpufreq/boost14:58
freemangordonwe don't have it now as we don't have turbo freqs enabled14:58
Wizzupok15:06
Wizzupsounds like we have a potential solution right?15:07
Wizzupdid anyone try jib on the n900 btw15:07
arno11Wizzup: i tried yesterday15:09
arno11it works even with javascript and webgl but to slow to use ATM15:09
arno11but really promising for powerful devices15:10
arno11Wizzup: freemangordon: i can try to use boost freq in one hour if you want15:11
arno11easy stuff with a local custom uImage15:11
Wizzupdon't we have to enable turbo freqs currently?15:12
Wizzups/currently/first/15:12
Wizzuparno11: ok, so even with js/webgl disabled you can't scroll around and stuff?15:12
arno11yes too slow unfortunately15:12
freemangordonarno11: yeah, maybe enable 720 and add 80015:13
arno11freemangordon: ok15:14
Wizzuplooks like my n900 lcd became unhappy over the last day15:14
arno11dead pixels ?15:15
Wizzupnah, worse15:17
Wizzupscreen has lots of noise and moves around15:17
Wizzupmy testing n900 anyway, I have spares15:18
arno11ah yeah you have now the hundreds maemish n900's :D15:22
Wizzupthey are without mainboards15:23
Wizzupbut the lcds I have15:23
uvos"yes too slow unfortunately" <- pretty inevitable unfortionatly - it uses more ram than n900 has free at startup just to render duckduckgo15:25
Wizzupright15:25
arno11uvos: indeed15:25
uvosi would be curious how mutch  ram starting everthing with this would save on n90015:29
uvossomeone could15:29
uvosoops wrong paste15:29
uvoshttps://github.com/IMbackK/ksmrunner15:29
uvos(note currently ksm is broken in our kernel, we need https://lkml.org/lkml/2023/9/21/170)15:30
Wizzupmaybe make an issue for this, could be interesting15:30
Wizzupcan we set the ksm flag just on init or something?15:30
uvoswe could runn everything downstream of ksmrunner15:30
Wizzup(since everything else would inherit)15:30
uvosthen disable it x seconds after boot15:31
uvosin sysfs15:31
uvosthen all the stuff thats laoded on startup gets merged where possible15:31
uvosand we dont constanly waste power15:31
uvos(ksm uses a lot of power to find mergable pages)15:31
uvosdont know how mutch this would really help15:31
arno11freemangordon: Wizzup: ok so i tried boost freq and it seems really the best option: when you add boost freqs they cannot be used until you manually activate boost in /sys/devices/system/cpu/cpufreq/boost (works on the fly)16:06
arno11so we can safely add higher freq with no risk on boot and we don't need any boot script :)16:07
arno11and also remove the f***ing 125MHz freq16:08
arno11ah i forgot one thing: it only works with ondemand governor16:09
arno11performance mode seems to stay at 60016:09
arno11which is not bad if we need a lock freq for realtime stuff like calls16:10
arno11argh finally no, performance mode can use boost freq16:11
arno11and conservative gov seems the best16:13
arno11my current freqs: 250,500,550,600 and boost 720,85016:17
arno11if think 900-1000 using boost should work, i'll try :D16:19
arno11not working with higher freqs lol16:54
arno11anyway 850 is ok (6 months using it, no crash)16:54

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