libera/#maemo-leste/ Tuesday, 2023-12-12

Wizzupgreat00:03
Wizzupwould neon help somehow?00:03
Wizzup(maybe it is already)00:03
freemangordonmaybe, but not in Xorg00:03
freemangordonafaik it already uses pixman00:04
freemangordonmaybe we have some issue in GTK00:04
freemangordonbecause on n900 even in 16bpp scrolling in gtk apps is too slow00:04
Wizzupright00:05
freemangordonon n900 gears render with 20fps00:07
freemangordoneven on 16bpp00:08
Wizzupbut that comes from gpu right?00:11
freemangordonyes00:15
freemangordonhowever, those 20 fps are enough so scrolling in launcher to be nice00:15
freemangordonit is gtk apps that suffer from some issues00:16
freemangordonmaybe NEON optimization I put there is not hit, dunno00:16
freemangordonwhat? github will require 2FA?!?00:17
Wizzupyou can do sms00:25
Wizzupit's not for commits/push00:25
freemangordonyeah, but still00:27
Wizzup*shrug*00:27
WizzupI use sms and forget about it mostly00:27
freemangordonthis: https://github.com/maemo-leste/xf86-video-omap/commit/6a6a11ec81a3dd317361f265884f04cf3e9244ff00:28
freemangordonwhoever wants to play with it00:28
arno11pretty sure that transitions/zoom/animations is a big part of the problem with gtk. not normal that n900 runs so much faster with light transitions (specially with overclock)11:37
freemangordonarno11: I found an issue with BO cache11:40
freemangordondoing final tests and there will be new release11:40
arno11ah ok :)11:40
freemangordonarno11: I don;t see any need for light transitions here12:13
freemangordonthe only issue I see is slow scrolling in gtk apps12:14
freemangordonbut I don;t think this is related to transitions.ini12:14
freemangordonunless I am missing something12:15
freemangordonalso, scrolling in settings (for example) is slow even when compositing is disabled12:17
freemangordonso it is something with GTK, not related to h-d at all12:17
uvos__i mean gtk2 scrolling is allways bad even on fremantle12:19
uvos__its no where near the smoothness of eg android on simmular hw, since its sw rendered,12:19
freemangordonbut not *that* bad12:20
freemangordonsodeffinitely we lack some optimizationf from fremantle12:20
freemangordonuvos__: actually, with the ddx I am about to release, it is pretty smooth on d412:21
freemangordonbut is really bad on n90012:22
freemangordonalbeit better than ever before12:22
freemangordonuvos__: do you have any idea why would be HW compositing slower, even on d4?12:23
uvos__i mean d4 has sufficant cpu to just brute force it to be mostly ok yeah12:25
uvos__freemangordon: no sorrz12:25
uvos__*y12:25
freemangordonok, but it is slower on n900 as well12:25
freemangordonfew fps, but still12:26
freemangordonlike, 5 or so & slower12:26
freemangordon%12:26
freemangordonanyway12:26
freemangordonnew ddx is on its way12:26
freemangordonplease upgrade and test12:26
uvos__lower fps in what12:27
freemangordoneverything12:27
uvos__i mean it stands to reason that hw comp. dose more on sgx, so if the cpu would otherwise be idle sgx might have more time to do rendering12:27
uvos__but im just guesing, i really dont know12:27
freemangordonok12:28
freemangordonanyway, I think we now have DDX that is more or less ok12:28
uvos__grea12:28
uvos__t12:28
uvos__i mean honestly it was fine on d4 before12:28
uvos__performance wise12:28
freemangordonuvos__: maybe you can compare with 1.5 (or whatever the last omapofb one was)12:28
uvos__freemangordon: yeah n900 is different story12:29
freemangordonlike, not scientifically12:29
arno11freemangordon: (on my device, scrolling in settings is very fast when i disable compo)12:29
uvos__but omapdf we cant really try anymore12:29
freemangordonyeah12:29
uvos__since it needs really old kernel for sgx to work on fb12:29
freemangordonarno11: in 32bpp?12:29
arno111612:29
freemangordonwell...12:30
arno11but even 32 is ok12:30
uvos__yeah i mean if you copy only have the data around12:30
uvos__thats cheating12:30
freemangordonit is ok, but not good12:30
uvos__*half12:30
arno11let me try again12:30
freemangordonuvos__: :nod:12:30
freemangordonarno11: please upgrade ddx first12:30
freemangordonor...12:31
freemangordoncheck before and after the upgrade12:31
arno11ok let's go12:31
arno11brb12:31
freemangordonI want another confirmation (or not) that the new ddx is better12:31
arno11ok12:33
Daanct12good morning everyone, haven't been here for a while12:37
Daanct12anything changed since i last looked at it?12:37
freemangordonlots of things, do you want to know something in particular?12:38
WizzupDaanct12: depends on when you last looked ;)12:42
arno11freemangordon: well...things are a bit deroutant13:19
arno11no change between 16 and 24/32 without new ddx in term of scrolling13:20
arno11but again with light trans.13:20
arno11so with light trans things are better in term of scrolling13:21
arno11now the weird stuff13:21
arno11with new ddx, everything is ok, absolutely no change for me in 24bpp13:21
arno11(with light trans)13:22
freemangordonwhy weird?13:22
arno11but in 16bpp, huge diff13:22
freemangordonlike for good or?13:22
arno11for good13:22
freemangordonyeah, because on 24bpp we are CPU bound13:22
freemangordonin 16bpp it is the same as it is in fremantle, with stock transitions13:23
arno11the weird part arrives...lol13:24
freemangordon?13:24
arno11now i'm able to play ps1 games in windows mode without disabling compo13:24
arno11full speed13:24
freemangordon:)13:25
arno11that's cool but weird13:25
freemangordonwhy weird?13:25
arno11es2gears is still slow with compo for example13:26
freemangordonbecause it is GPU bound13:26
freemangordonwe can;t get anything more than lets say 20fps there13:26
arno11ah yes indeed13:26
arno11so ok nothing weird13:26
freemangordonBTW, do you have uSD with the old (and I mean old) drivers?13:27
arno11and new ddx seems ok for n900 imo13:27
freemangordonlike, 4.x kernel or something13:27
arno11ah, not sure13:27
arno11i have to check13:27
freemangordonwith omapfb driver that is13:27
freemangordonit would be great if you can compare13:28
arno11yes indeed13:28
arno11i can try a bit later13:28
freemangordonto see if we are hitting the HW limits or it can be better13:28
freemangordonno hurry13:28
arno11ok i see13:28
arno11i'll check :)13:29
freemangordonanother thing:13:29
freemangordondo you see rendering artifacts in conversations or in wheather application?13:29
arno11let me check13:29
arno11nope in weather and the app is faster13:30
Wizzupis this about ants?13:31
freemangordonno13:31
freemangordonI see fonts misrendered and some other drawing artifacts on d413:31
Wizzupisn't that the ants problem (fonts misrendered?)13:31
freemangordonnot sure13:31
WizzupI've been seeing for many months, probably a yeare13:31
Wizzupyear*13:31
arno11conversation is faster too and no artifacts13:31
freemangordonI am trying to see if I didn;t break something with so many optimizations :)13:32
freemangordonarno11: do you know which exactly transitions.ini change makes scrolling faster?13:32
arno11good question, iirc it is when i disable zoom/animations13:33
freemangordoncould you confirm?13:34
arno11let me check13:34
freemangordonWizzup: hmm, that's weird13:35
freemangordonI have the feeling that rendering artifacts are somehow related to battery charge level13:35
freemangordonI left the device on charger for a while and now there are only some ants there13:36
freemangordonbut fornts are rendered properly13:36
freemangordontmlind: ^^^13:36
freemangordonno, conversations are still bad13:37
arno11freemangordon: sorry i need time to check all trans parameters13:43
freemangordonsure, no hurry13:44
freemangordonok, whatever the issue with misrendering is, it is not in DDX13:45
freemangordonat least not in PVR EXA13:45
Wizzupyeah, it's been very hard to track down this ants problem13:46
Wizzupor however we want to call it :)13:46
freemangordonwith Option"NoAccel""true" conversations still misrender fonts13:46
freemangordonso it is either blobs or kernel driver not flushing caches13:47
freemangordonuvos__: what was that register which was changing some GPU frequency parameter or something?13:48
freemangordonLIBGL_ALWAYS_SOFTWARE=1 /usr/bin/conversations 'fixes' it :)13:52
uvos__yeah i mean for some reason textures are created with missing bits13:56
uvos__so letting llvmpipe do it works ofc13:57
uvos__freemangordon: i dont know what you mean, the register to control the sgx core clock was 0x4A00816413:57
freemangordonright13:57
freemangordonthat one13:57
freemangordondo you have the commands around?13:57
uvos__omapconf write 0x4A008164 $VALUE13:58
uvos__its a devider so increasing the value lowers the clock13:58
uvos__iirc13:58
freemangordonWizzup: uvos: could you please create /etc/powervr.ini with content:14:23
freemangordon[default]14:23
freemangordonDisableHWTQTextureUpload=114:23
freemangordonto check if that fixes the ants and misrendering?14:23
freemangordonheh, I think that was it :)14:31
tmlindcool so not a battery power level issue?14:32
Wizzupfreemangordon: wow, let me try now14:33
freemangordontmlind: hard to say yet, lets confirm it14:35
tmlindfreemangordon: ok i'll enable it too later on today :)14:35
freemangordonso far 5 reboots in a row, no ants in either h-d or conversations14:36
freemangordonor anywhere in that regard14:36
freemangordonbut my battery is fully charged :)14:36
Wizzupfreemangordon: how did you figure this out14:39
Wizzupthis is probably the best improvement in a long time14:39
freemangordonwell... intuition14:39
freemangordondoes it work for you?14:39
Wizzupyes14:39
freemangordongreat14:40
freemangordonplease someone to add powervr.ini to omap4 devices with sgx config14:41
freemangordonarno11: sicelo: no ants on n900, right?14:42
arno11freemangordon: indeed, no ants15:04
arno11and i switched to original transitions to check, and no diff with scrolling (still good in settings) but h-d is def. slower with all animations15:05
arno11so for the scrolling there is something in my config which improves things15:06
freemangordonok, please find what it is15:06
arno11yep15:06
arno11no idea atm lol15:07
freemangordonheh15:07
freemangordoncould you shot a video of scrolling in settings, so I can compare with mine?15:07
freemangordonnot ow, but when you have some time15:07
freemangordon*now15:07
freemangordonmaybe overclocking?15:08
freemangordonmy device runs on stock speeds15:09
freemangordonand given it is CPU bound...15:09
freemangordonBTW, what stops those changes from entering the repos?15:09
freemangordon720/805 that is15:09
freemangordonWizzup: any idea? ^^^15:10
arno11there is no build with that change with 6.1.4815:10
freemangordonok, but why? is ther any issue?15:11
arno11freemangordon: a bit slower on my device at 600MHz15:11
uvos__freemangordon: what settings? transtitions.ini? we dont want to disable all the bling with no knowlage of what helps, its very shotgun aproche15:11
freemangordonumm...15:11
uvos__hmm?15:12
freemangordonI am against changing transitions.ini :)15:12
uvos__right15:12
arno11fmg was talking about boost freq15:12
freemangordonright15:12
Wizzupfreemangordon: what changes from entering the repo?15:12
uvos__oh the kernel patch?15:12
freemangordonyes15:12
uvos__its in the repo15:12
Wizzupthe over clock?15:12
arno11yep15:12
freemangordonwhich repo?15:12
arno11?15:12
freemangordonmy n900 is on -devel and there are no boost freqs15:12
arno11me too15:12
uvos__i just never released a new kernel, since i was sure 6.6 was about to happen15:12
freemangordonah :)15:13
uvos__but then there where additional issues15:13
freemangordonwith 6.6 I guess15:13
uvos__yes15:13
uvos__so if you want you can just rebuild the kernel15:13
freemangordonyes, please15:13
freemangordonme?15:13
uvos__sure15:13
freemangordonit was a while I did that15:13
uvos__it works, i ran it on my device a while15:14
freemangordoncould you do it for me?15:14
uvos__you just need to change the changelog15:14
freemangordonheh, ok15:14
uvos__sure but then you will need to wait untill im at home15:14
uvos__(2 days)15:14
freemangordonwell...15:14
arno11freemangordon: or just create a uimage15:14
freemangordonwe can wait for 2 more days I guess15:14
freemangordonI can do it as well if I find spare time for it15:14
freemangordonuvos__: so, everything is pushed on github?15:15
uvos__freemangordon: yes15:15
freemangordonok15:16
uvos__you need to give this a tag https://github.com/maemo-leste/droid4-linux/tree/maemo-6.1.y15:16
freemangordonright15:16
uvos__and update ttps://github.com/maemo-leste/droid4-linux/blob/maemo/chimaera-devel/debian/changelog15:16
uvos__and kick ci15:16
freemangordonmhm15:16
freemangordonthanks15:16
freemangordonhow to make WtWebbrowser fullscreen?15:29
freemangordonQtWebbrowser that is15:30
uvos__i dont think you can15:40
freemangordonhmm, FF seems to use GPU to render15:42
Wizzupyou can disable this if you wish15:43
freemangordonright, but I was surprised it even works on SGX15:43
Wizzupmhm15:44
Wizzupso I've been using sphone+tp module, voicecall and conversations for a few days on my d4 and it's mostly fine15:44
Wizzupa few things remain to be done (mostly improved notifications and mapping remote_uid to remote_name using abook)15:45
Wizzupbut for sms and calls it seems fine15:45
Wizzupfreemangordon: shall I add a powervr.ini (or powervr.d entry maybe) to leste-config for mapphone and n900 ?15:45
freemangordonfor n900 it is not needed15:45
Wizzupinteresting15:46
Wizzupok15:46
freemangordononly for mapphone15:46
freemangordonwell, maybe sgx in n900 does not have that buggy HW :)15:46
WizzupI see15:46
freemangordonok, I am impressed with how FF performs on d415:49
freemangordonthe only thing that's slow is YT playback15:52
freemangordonbut I guess it is because it uses gst :)15:52
Wizzupand gst is without xv?15:56
freemangordondoes not matter15:59
freemangordonits decoding is slow16:00
freemangordonthe same clip that runs with 25 fps on n900 through mplayer (and xv) runs with .5 fps through gst (and xv) :)16:01
* freemangordon feels excited for finally killing all the ants around16:02
uvos__poor ants :(16:12
freemangordonWizzup: does choosing IM action from abook work?16:12
freemangordonuvos__: ok, you can keep yours alive :p16:12
Wizzupfreemangordon: with conversations currently, no16:48
Wizzupbut we should work on that :)16:48
tmlindfreemangordon: no ants here so far with just the powervr.ini change and after reloading pvr modules, battery pretty full though17:00
freemangordonumm... what OS is that?17:01
freemangordonnot leste I guess17:01
tmlindstellarium just seems to getting slower and slower, about 2.5 fps right now.. maybe it constantly adds new objects17:01
tmlindonly tested so far with with my alpine setup and sway..17:02
freemangordonabout 4 fps here17:04
tmlindhmm17:14
tmlindstellarium 23.3 here, i'll try disabling some objects17:16
freemangordon0.20.417:17
freemangordonmaybe xorg renders faster than WL :)17:18
tmlindi get only 4 fps if i disable atmosphere nowadays it seems17:22
tmlindi think i was getting over 12 fps at some point but that was some earlier version of stellarium too17:23
freemangordonyeah17:23
freemangordonback then on n900 it was rendering like mad17:23
tmlindyeah i guess glmark2 is the only thing that really counts though17:24
freemangordonlemme try it with compositing disabled17:25
tmlindno ants though, battery at 87%17:25
WizzupI don't think the battery plays a role here17:26
tmlindok great17:26
freemangordonyeah, seems that option fixes the issue17:26
tmlindnice17:26
tmlindearlier i saw ants often when just flipping workspaces in sway17:27
tmlindalso nice to hear it does not seem to be a kernel driver cache issue17:28
freemangordonright17:28
freemangordonif it was kernel issue, most probably we would have to live with it17:29
tmlindwell that pile of stuff must have many bugs remaining though..17:31
freemangordonglmark2 Score: 8517:33
freemangordonthis is with full leste stack running17:34
tmlindnice17:34
freemangordonglmark started in fullscreen, in landscape17:34
freemangordonso, no compositing17:34
freemangordonlemme check with compositing17:35
freemangordonI guess twice less :)17:35
freemangordonoh, here we are more or less vsync-ed17:37
freemangordonomg17:41
freemangordonglmark2 Score: 6017:41
freemangordonI was expecting lower score17:41
freemangordonseems latest DDX performs really well17:41
tmlindgreat17:42
freemangordonI wonder what would be the results on WL17:43
freemangordonmaybe above 90 for non-composited mode17:43
tmlindlooks like glmark2 is currently uninstallable for arm on alpine for some reason17:44
freemangordonI was building it from source17:45
tmlindyeah let me check17:45
freemangordonglmark2 2021.0217:46
freemangordontmlind: did you try the latest blobs?17:52
tmlindhmm nope, did you?17:53
freemangordonI can't, libc6 is too old in chimaera17:53
tmlindgot glmark2 installed, did not have testing repo enabled.. but it won't start, produces Error: Failed to find suitable EGL config17:54
freemangordon32bpp?17:54
tmlindi think so17:55
freemangordonumm, is that glmark2-wl?17:55
tmlindglmark2-es2-wayland --size 960x54017:56
freemangordonweird17:56
freemangordondsc_: weather app is nice, good job :)17:58
freemangordonbut.. why Not Open?17:58
Wizzupwhat is 'Not Open' ?17:58
freemangordonNOMWeather17:59
Wizzuphttps://github.com/maemo-leste-extras/NOMWeather17:59
Wizzupoh, in the name17:59
freemangordonmhm17:59
freemangordondsc_: also, maybe it is better if settings/about windows are stacked18:00
WizzupThe application is called not open maemo weather because during development people kept referring to OMWeather (a legacy maemo application).18:01
dsc_freemangordon: thanks, it needs some small UX improvements still18:02
dsc_the QML that powers this weather app can only be described as spaghetti code, but I made it in a few days so.. :P18:03
freemangordonmhm18:03
freemangordonwell, I guess that applies to all qml (and js in general) code, no? :p18:03
dsc_indeed, but this QML is even worse18:04
dsc_ill change settings to stacked18:05
freemangordoncool18:05
freemangordonit is a matter of setting a property18:05
tmlindi give up on building earlier glmark2 for now.. depends on xdg-shell-client-protocol.h that seems to be only in qt6 dev here and would require uninstall a bunch of qt5 stuff..18:22
freemangordonwhy don't you checkout some older version, as I did18:23
freemangordonrecent code seems to depend on oh-so-shiny stuff18:23
freemangordonI hit the same issues back then, that's why I am using version from 2021 :)18:24
Wizzupuvos__: if sphone could deal with dynamically added/removed backends, that would be great, btw18:27
tmlindfreemangrodon: i tried to build 2021.0218:28
siceloarno11: my leste sd was misplaced by my SO. if you don't mind, please install gps-recorder ... should be in the repos. Then see what date it will fetch from the gps (you may need to watch for the gps fix, since i *think* the gps time only shows up as a transient notification). basically, i'd like to confirm if it's 2004-04-27. i will see if i can fix that to show correct date18:58
sicelofmg: nice work regarding ants!19:06
sicelobtw, i've seen them in fremantle too, a couple of days ago19:06
* sicelo prods fmg in the direction of screen rotation on N900, and hides19:07
Wizzupsicelo: seen ... ants hw bug on fremantle?19:13
siceloYes, I was surprised tbh.19:14
Wizzupheh19:16
Wizzupbtw, 6834 songs in OMP and it's all smooth :)19:16
freemangordonsicelo: hmm19:28
freemangordonif it persists, we may use the same workaround on N90019:28
freemangordonplease, keep an eye on it with latest DDX19:29
freemangordonif you see it again, please LMK19:29
siceloi hardly use fremantle, but will note if i see it on Leste19:29
freemangordonoh, on fremantle?!?19:30
Wizzupyes that was my surprise too19:30
WizzupI haven't seen it on fremantle either19:30
freemangordonWizzup: ok, I'll try to find time to put XV support back in mafw19:30
freemangordonso eventually we'll be able to move lots of things to stable as a new-year present for everyone :)19:31
freemangordonWizzup: oh, and we must find time to check what's going on with PPP h-d19:33
WizzupI can hook it up in 1-2 hours19:40
Wizzupyup @ new year19:40
freemangordonI won;t have time today, but that shouldn't stop you from booting leste on it :)19:45
WizzupI'll probably focus on conversations tonight if you're not avail19:45
Wizzupmade a lot of progress there and would like to keep that going19:45
freemangordonsure19:48
arno11sicelo: currently looking @gps20:37
arno11can't get any sat, i'll try tomorrow in a better place.20:52
sicelosure :-)20:57
siceloyou shouldn't live in tunnels :p20:57
arno11lol indeed21:02

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