libera/#maemo-leste/ Tuesday, 2023-04-18

freemangordonplymouth seems to require initrd11:43
buZzfreemangordon: ah, we arent using that now?15:38
uvoscan you kexec from arm32 to aarch64 ?16:38
uvosprobobuly not right?16:38
Wizzupuvos: no idea18:00
Wizzupuvos: why?18:00
freemangordonugh, why is omap xorg driver on n900 set to do manual update?18:59
freemangordonno wonder it is so slow18:59
arno11Wizzup: i would like to modify pulse.c again to improve latency and try 8000hz freq. (there is also a buffer issue just at the beginning of calls). can i make a PR in latency-test branch ? or maybe you have few minutes to do it ?19:04
arno11freemangordon: you mean there is no xorg update for a long time ?19:06
arno11even at 850mhz es2gears shows only 34 fps max19:10
freemangordonarno11: I mean that xorg.conf on n900 is wrong, fixing19:12
freemangordon99-ompa.conf that is19:12
freemangordon*omap19:13
arno11ok19:13
uvosWizzup: i want to maybe use kexecboot on xt160219:18
uvosWizzup: its bootloader is 32bit and only loads 32bit kernels19:19
uvospmos have thair own 2nd stage bootloader to deal with this19:19
uvosbut i was hopeing to use kexecboot to make it more like the mapphones to make supporting it easier19:20
uvosgoing stock bootloader -> pmos bootloader -> kernel -> kexecboot -> kernel is too mutch mess for me19:21
freemangordonarno11: how do you manage to get 34fps? I get 16 here19:25
arno11freemangordon: really ? normally with no overclock it's arround 29-3019:28
arno11do you run it as root ?19:28
arno11let me try19:29
uvosmaybe n900 sgx has the same problem where its sometimes slow19:29
uvoshappens on d4 soemtimes for some reason19:29
uvosuntill you reboot19:29
Wizzuparno11: if you want to test it, you can just make a change locally, no?19:30
freemangordonarno11: please upgrade, with new config you should get few fps more19:30
freemangordonuvos: my uSD card is very slow, that might explain it19:30
Wizzupyes, it can explain it19:30
WizzupI had the same problem19:30
uvoshmm19:30
uvosshould be full speed then if you suspend composeing or?19:31
uvossince its h-d that stalls on io19:31
arno11freemangordon: cool but i can't upgrade ATM. to much things to configure again19:31
arno11but i'll try asap19:31
Wizzupyou can upgrade specific packages19:32
arno11yes i know but sure there is no probs ?19:32
uvosits not arch linux19:32
arno11:)19:33
freemangordonsure, it is ok19:33
arno11cool19:33
arno11let's try19:33
freemangordonso, you get 35 fps with h-d running?19:33
arno11h-d ?19:36
uvoshildon-desktop19:37
arno11ah ok yes with h-d19:39
arno11between 32 and 34fps19:39
arno11i need to reboot. back in sec19:40
arno1135 fps instead of 32 just before update19:51
arno11but es2gears is not really accurate19:54
arno11let's try pcsx re-arm19:54
freemangordonis there any diff after the update?19:54
freemangordonyou upgraded leste-config-n900, right?19:55
arno11right19:56
arno11yes 3 fps more19:56
freemangordonmhm19:56
arno11no sorry19:57
arno11wait a bit19:57
freemangordonhmm?20:00
arno11arghhh i'll lost mycustom  asound.state20:00
arno11anyway20:00
arno11reboot20:00
arno11freemangordon: no diff still 32-35 fps20:08
freemangordonwell, at least we don;t put overhead with additional ioctls20:10
freemangordonbut I wonder why fps here is so low20:10
freemangordonactually desktop scrolling is with up to 34 fps20:11
freemangordonbut es2gears are with 15fps20:11
arno11i'm currently testing psx to check20:11
freemangordonI doubt 850MHz OC is the reason20:12
freemangordondo you use kernel from the repos?20:12
arno11yes20:14
arno11no diff in emulators20:14
arno11and agree can't be overclock20:14
arno11even with stock kernel i get 30 fps iirc20:15
arno11in es2gears20:15
freemangordoncould you confirm /usr/share/X11/xorg.conf.d/99-omap.conf ManualUpdate is false?20:15
arno11sec20:15
arno11yes false20:16
freemangordonok20:16
freemangordonwell, it is still better, if not fps wise, then PM wise20:17
freemangordonas we don;t issue extra ioctls20:17
arno11maybe i forgot a change i made but i doubt20:17
freemangordonlooks lik :)20:17
freemangordon*like20:18
arno11lol indeed20:18
arno11oh wait. what is exactly the sd card you use ?20:18
freemangordonslow one20:18
freemangordonbut, I don;t see why it should affect GPU performance20:18
arno11and you get 16 fps ?20:19
freemangordonyes20:19
arno11like me and Wizzup lol20:19
freemangordonmhm20:19
freemangordonwe shall find the reason for that20:19
arno11that's the sd card because of i/o20:19
freemangordonit is not some logging (at least strace shows nothing)20:19
arno11yes indeed20:19
freemangordonI did strace on both h-d and xorg, nothing suspicious20:20
freemangordonmaybe some other process, dunno20:20
arno11i remember really weird things when sd is too slow20:21
freemangordonright, but why?20:21
freemangordonwe don;t have any IO20:21
freemangordonat least should not have20:21
arno11a good challenge again i think20:21
freemangordonmhm20:22
freemangordonhmm, is it possible that kernel is doing some background sync every now and then?20:23
arno11how monitoring that ?20:24
freemangordonno idea20:26
freemangordonlemme see what powertop has to say20:26
arno11Wizzup: i'm a noob. i just realise i can edit pulse.c localy lol20:26
arno11freemangordon: be careful sometime powertop causes crash on n90020:27
freemangordonit refuses to start :)20:30
arno11lol ok20:32
arno11better than crash20:32
arno11not related but updating n900 config doesn't affect custom asound.state20:35
freemangordonwell, it just hangs20:35
freemangordonwhy it should?20:35
arno11because mine is custom and apt tried to update it20:35
arno11it is a custom one to get calls working20:36
freemangordonyeah20:37
freemangordonok, enough for today20:37
freemangordonbbl20:37
arno11need to go too20:37
arno11see u20:37
PankajraiIs there any doc for porting it to new device.20:55
buZzPankajrai: 99% is 'get linux mainline kernel booting' :)20:56
buZzwell, a lot of it20:56
buZzif you can get debian or devuan booting, you could just add the leste repos and install it like that20:57
uvoshttp://uvos.xyz/maserati/screenshots/IMG_20230418_231231.jpg23:14
uvosxt160223:15
Wizzupuvos: sweet!!23:17
arno11nice23:17
uvosits realllly fast23:18
uvoshmm23:20
uvoseventually the display dies23:20
Wizzupwhat kernel version?23:21
uvoshappend twice allready23:21
uvos6.323:21
Wizzupnice23:21
norayrquallcomm, nice23:24
norayrcongrats23:24
norayrisn't it the device which worked with hasselblad camera plugin?23:24
norayrpmos has many quallcomm devices with 3d graphics supported.23:24
norayri think it is worth to support some more newer qualcomm devices, since they are simply faster.23:25
norayrand newer.23:25
norayrand you cannot find d4 anymore.23:25
norayr(but i love d3 so much, please please please do not forget about it)23:25
uvosi havent heard anyone getting xt1602's camera working23:26
uvoshmm yeah ok23:29
uvosif you let it go into dpms display off23:29
uvosthe deivce never comes back23:29
uvosissues to figure out23:29
uvosgpu accel is really fast23:30
uvosand with video decodeing23:30
uvosso thats neat23:31
Wizzupstill, that's great23:31
Wizzupnorayr: we didn't forget d3 :)23:31
norayryay yay yay23:32
Wizzupuvos: lmk if I can help with leste-config or images, I have a device here23:32
Wizzupnorayr: not saying there is progress now..23:32
Wizzupbut i have like 10 at home :)23:32
Wizzup(d3)23:32
* norayr nodding23:32
uvosWizzup:  a good preperation would be to duplicate all build/config stuff from the pp23:32
uvosto get a image going23:32
uvosxt1602 needs a android boot.img for the kernel23:33
uvosnot sure what we are going to do about that23:33
uvosit needs to be flashed via fastboot23:33
uvosyou cant have it on the sdcard like on all of our other deivces23:33
uvosso no /boot23:33
Wizzupuvos: hm, so what does that mean for us?23:37
Wizzupthat people can't boot into android?23:38
uvoswell that and we need to distrobute the kernel seperately23:38
uvosand have people flash it by hand23:38
uvosand we might as well also distrobute fastboot images for rootfs too23:38
uvossince you have to nuke android anyhow23:38
uvosno reason to run rootfs from sdcard really23:39
uvosand then to upgrade the kernel23:39
uvoswe need some mechanism to flash the boot.img from a package install hook23:39
uvos(not terrbily hard, but we need sutch a thing)23:39
uvosanyhow this is going to be our life for every unlocked bootloader android device23:40
uvossince unsuprizeingly they all have android bootloaders23:40
Wizzuphm, can't we use fastboot to flash new kernels/23:40
uvosnot from within the device (to upgrade)23:40
Wizzupactually, I think on my IFC6410 I was able to just use dd from linux to flash a new aboot.img23:41
uvosbut there we can dd23:41
Wizzupright23:41
uvospoint is installing a kernel is not simply copying it somewhere23:41
uvosyou need to generate a android boot image with android-tools23:41
uvosand flash it to the right place23:41
Wizzupright23:42

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