libera/#maemo-leste/ Monday, 2023-12-11

arno11Wizzup: rc.log and n900-pm script show a dependency loop between af-services - icd2 - xorg - af services08:54
arno11that's pretty new (< 2 weeks)08:57
freemangordonno, it is no0t08:58
freemangordonthat's old and (supposedly) harmless08:58
arno11ok08:58
arno11hope you'll find a way to add HW compo btw :)09:08
siceloWizzup: https://github.com/maemo-leste/gps-nokia-n900/pull/1. please review :-)09:29
Wizzupsicelo: looks good to me11:02
Wizzuplet me double check something11:03
Wizzupsicelo: yeah, I think that's probably fine (had to read up on select() again)11:09
Wizzupdid you find this with gdb?11:09
Wizzupsicelo: building11:19
siceloWizzup: yes, gdb was very helpful here.11:33
siceloi was expecting you'd need to add a new tag ... so actually no tag needed for doing a build?11:34
siceloeither way, may i ask you to add a new tag, so i can use the same source on postmarketOS11:35
* sicelo hides11:35
WizzupI did add a tag did I not?11:37
Wizzup0.3.111:37
Wizzupoh I forgot to push the tag11:37
WizzupI wonder how the build succeeded then..11:37
Wizzupfreemangordon: dsc_: I think conversations needs to look in address book to look up incoming sms numbers to contac names11:39
Wizzup(also for other msgs of course, but definitely for sms)11:39
WizzupI guess sphone does the same potentially11:39
freemangordonWizzup: I guess you need https://github.com/maemo-leste/osso-abook/blob/master/lib/osso-abook-aggregator.h#L14011:49
freemangordonand maybe https://github.com/maemo-leste/osso-abook/blob/master/lib/osso-abook-aggregator.h#L14511:50
Wizzupokay, ty11:56
Wizzupfreemangordon: in OMP genre and playlist don't have the touch scroll it seems14:51
Wizzupwait14:52
Wizzupnow it works14:52
WizzupI guess some ts bug14:52
arno11few n900 news: i'm currently testing a Polarcell 1600mA (1572 real) on my n900, got 15 hours of music with audacious (thx to PA user mode), 35 hours idle with modem and cmtspeech On (24 hours with wifi)15:32
arno11sounds really good15:33
arno11and with new fmg DDX most ps1 games run @50-60 fps15:35
Wizzup:)15:41
branonthat's pretty impressive18:19
freemangordonok, and gdb refuses to do stepi and nexti :(18:23
freemangordonwhat the?!?18:23
dsc_ps1 games on the n900??19:06
dsc_thats cool19:06
sicelofreemangordon: re-gdb: talking to me? i didn't do stepi/nexti. instead, after the `select`, running the FD_ISSET line would always segfault. while stepping through the program, i realized that `fake` was set to -1 in my case, so the call looks like FD_ISSET(-1, &rfds)19:14
siceloreading up on the problem, i almost ported the code to use `poll` instead of `select` ... i chose the easier path in this case (lazy?)19:16
WizzupI think he was talking to himself19:21
siceloah :-)19:22
Wizzupdsc_: we have pcsx19:54
freemangordonor rather, /me was talking to the world :)20:13
freemangordonHW compositing fails for ATLAS blits, whatever it is20:14
freemangordonand I cannot debug why20:14
freemangordon(have to step in the blob)20:14
freemangordonok, at least on d4 scrolling in abook is faster with SW compositing21:54
Wizzuphuh21:55
freemangordonmhm21:56
freemangordonthe same in settings21:56
freemangordon44 vs 48 fps21:56
Wizzuphow is the cpu utilisation?21:56
freemangordonSW vs HW?21:57
freemangordonI would say the same21:59
freemangordonkeep in mind not all compositing is HW accelerated21:59
freemangordonseems there is a bug in blobs that prevent compositing when src and dst have different bpp21:59
Wizzupfreemangordon: yeah I was asking about cpu utilisation between sw and hw22:01
Wizzupseems like it shouldn't be the same if there are no bugs22:01
Wizzupunderstood in any case22:01
freemangordonwell, the diff would be in range of 2-3%22:01
freemangordonthe heavy ops are copying22:01
freemangordonwhich are already accelerated22:02
Wizzupok22:03
freemangordonhmm, actually with HW cpu usage is higher22:25
freemangordonweird22:25
bencohbut is it "faster"?22:32
freemangordonno22:33
bencohoh, nevermind, you said sw is faster22:33
freemangordonmhm22:33
bencohsomething about upload textures to gpu maybe22:33
freemangordonnot textures22:33
freemangordonthose are already BOs22:33
bencohah22:33
freemangordonall the memory is omap_bo_new() etc22:34
freemangordonactually I would expect fallback path to be slower, as there I wait for GPU ops to complete before allowint CPU to render22:34
freemangordonand the shaders for HW compositting are 'borrowed' from blob that was released by TI, so I would expect those to be fast22:35
freemangordonabout 2000LOC in vain :(22:56
Wizzupit might not be in vain22:57
Wizzupit might also be faster on n900 still22:57
freemangordonit is not22:59
Wizzupok23:08
freemangordonI wonder what to do with that code23:09
Wizzupdef. keep it around, I think there is a decent change we might get it to be faster23:10
WizzupI'm kind of surprised that it's almost exactly as fast23:11
freemangordonkeep in mind it has some renering issues23:11
freemangordon*rendering23:11
freemangordonlike, transparency seems to be ignored23:11
freemangordonbut ok, I'll ifdef the code23:12
Wizzupis it any different in 16 bit btw?23:15
freemangordondidn't try23:16
freemangordon16bpp is useless anyways,no?23:16
freemangordonthough, there is some code to force alpha in 16 bits23:16
Wizzupyeah, I don't know if it will help a lot23:17
freemangordonok, I'll push the code with HW compositing disabled23:19
freemangordonso if someone wants to check what's going on23:20
freemangordondespite this, I think I was able to squeeze few fps more, by tracking pixmaps ownership23:21

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