libera/#maemo-leste/ Saturday, 2022-10-08

freemangordonuvos: Maybe it renders fonts, dunno07:08
freemangordonbut it seems it is not the reason for the massive fps drop when hildon runs07:09
freemangordonIIUC it is that hildon must copy every offscreen buffer frame, but maybe it does not track the damage correctly07:10
freemangordonand copies the full offscreen buffer every time07:11
freemangordonhmm, even if I stop h-d, scrolling in abook (for example) is still slow07:30
freemangordoncould it be that gtk is doing bad things?07:31
uvosfreemangordon: i think gtk2 is just slow at scrolling beacuse it renders eatch frame10:05
uvosqt is 1 hw accelerated and 2 in sw just blits the viewport up a bit and renders the bottom sliver10:06
uvosi doubt this is related to comp.10:06
uvosi mean comp. is slow on x also because of the extra ipc, idk how mutch this adds, but in x the application usualy renders bits to a buffer and hands that to x to render as a pixmap onto its window, where x then maybe also dose some of its own rendering and the buffer is handed to the compositor to compose onto the display10:09
uvosthat this is inefficant and makes x a sorta useless step is why wayland got started10:10
uvosmaybe instead of trying to make this faster i would be more worth wile to just run in uncomposited mode most of the time10:11
uvosexcept while displaying tasknav or a notification banner10:11
uvoshildon dosent need to be composited at all10:11
uvosand it almost works10:11
uvosif you force disable comp. on a non-fullscreen window10:12
uvoshildon will switch back as soon as one of those things are needed10:12
uvosthe only problem is that the window title bar that hildon renders is missing, im not sure why that, probubbly because its not a real window but is just clutter geometry thats added during compositing, is but there is no reason that could not be a regular x window above the application window.10:14
uvosif we change that (not sure how mutch work in hildon) we could just allways be whithout compositing while there is a application window on top10:16
uvosthat saves a huge amount of ram too10:16
Wizzupswitching would be much slower though10:23
uvosits ok10:34
uvosreally10:34
uvos(try it)10:34
uvosbut yes switching causes some extra delay10:35
norayr> buZz:22:36
norayr> 2022-10-05  07:09 (GMT+04:00)22:36
norayr> Wizzup: plz RT https://twitter.com/buZztiaan/status/1577677393925472260 ;)22:36
norayramazing22:36
buZzheh, yeah!22:40
buZzruns really well, i need to figure out debian packaging though so i can push it to extras22:41
buZzand also do that ps1 emulator22:41
norayrnot that hard apparently, look at our packages in extras and ask here questions. the important thing is that it builds.22:42
buZzyeah i just need to 'mkdir build; cd build; cmake .. -Ddisablealltests; make' and its done22:46
buZzso some project like that22:47

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