libera/#maemo-leste/ Tuesday, 2025-02-25

gnarface(this would in theory accrue a slightly higher CPU load but as we have seen elsewhere, not as high as the CPU load of having to constantly calculate transparency of multiple layers without the aid of a dedicated hardware feature in the GPU)00:00
arno11yeah, at least now, things stay smooth even with 4 or 5 qt apps loaded00:02
arno11included a heavy app like telegram-desktop00:02
arno11not too bad for n900 :D00:03
gnarfaceyea, for sure00:03
arno11i'll open an issue tomorrow to keep a trace00:08
arno11thx for details and clarifications btw00:11
gnarfaceno problem... i wonder if qt5 stuff can still be built against gles200:11
gnarfacegoogle suggests the n900 can do gles2 in hardware, and also on the pinephones we've seen that stuff that migrated away from gles2 support took a severe performance hit00:12
gnarfacein theory that might get your performance back without losing rendering features00:12
gnarfacei think it depends though on whether the fundamental qt code has been changed too much to be able to use it00:13
gnarface(specifics of this are over my head)00:13
gnarfacein theory also, you might just be able to force an earlier opengl version with a mesa environment variable, but so far i don't think we've seen anything coded in such a way that actually works00:15
arno11ok, thx again. time to zzz00:25
arno11Wizzup: ok, so qt5 issues have been completely solved on my device with daedalus: no more segfault, slowness or weird warnings msgs. conversations display is fine after reboot.09:21
arno11for the record: we need appmenu-gtk2-module and qt5ct pkgs, few env var and particular settings in qt5ct.09:23
arno11env vars: QT_STYLE_OVERRIDE=qt5ct-style and QT_QPA_PLATFORMTHEME=qt5ct09:26
arno11for qt5ct: style: maemo5, Standard dialogs: GTK2, Troubleshooing: Force raster surface09:29
arno11*Troubleshooting09:30
arno11ah...conversations main window is ok but chat windows show the main window. weird. all other apps seem ok09:43
arno11hmm even if i revert my changes, conversations chat windows are buggy09:59
arno11dsc_: ^^^10:00
arno11in fact i didn t test conversations after very last update10:01
dsc_arno11: im silent in this channel but been actually quite busy with a large refactor of conversations10:05
dsc_as for the complaints, kindly state the version :) `apt policy conversations`10:05
arno11ok NP10:07
arno110.7.27.1+4m710:07
arno11under daedalus10:07
dsc_arno11: im inclined to think this is related to rendering as you mention the wrong content is being shown10:12
dsc_but just speculation10:13
arno11ok10:14
Wizzupdsc_: 7.27.1 is a revert to an earlier version10:28
Wizzuparno11^10:28
WizzupI reverted it to the pre-freeze version for stable10:29
arno11conversations is ok after reboot and no qt5ct changes. everythings works fine if i do the changes after boot.10:42
Wizzupso what is this qt5ct change for?10:42
arno11see logs: it speeds up launching time a lot10:43
Wizzupinteresting, do you know why?10:43
arno11not exactly10:43
arno11the change which makes conversations not happy on boot is the force raster surface option10:46
arno11this option is the 'game changer' on n900 lol10:49
dsc_arno11: so this qt5ct, you used it to override the maemo Qt5 integration, and now it loads faster?10:49
arno11a lot faster yeah10:50
Wizzupwell, but he sets it back to the regular integration10:51
Wizzupthe maemo one10:51
arno11yes10:51
arno11as i said, the raster surface option is the main trick10:52
arno11and it is the cause of chat window rendering issue. if i activate the option after boot, no issue so far10:55
arno11*with conversations10:55
Wizzupdoes it come at some performance cost?10:59
Wizzupnothing visible I guess?11:04
arno11no performance cost, memory usage is divised by 211:08
Wizzupinteresting11:09
arno11as i said even with tg-desktop running, i m able to launch and use several other qt apps at the same time with no troubles11:10
Wizzupso it's the raster surface thing11:13
WizzupI wonder if that's also an env var11:13
WizzupI think it should be11:13
arno11yeah, i have to go but will try different configs this evening and let you know11:15
arno11(at least we need qt5ct env vars to make qt5ct overriding settings working)11:16
dsc_arno11: so you disabled GPU hardware accel11:18
dsc_and now it works (c)(tm)11:18
WizzupI don't think that's necessarily true11:19
arno11i didn t do anything @gpu11:19
dsc_just trying to understand what changed11:19
arno11bbl11:21
Wizzupforce raster does sound like it might disable opengl11:21
Wizzupyeah bbiab11:21
arno11Wizzup: yeah, it uses raster graphics system instead of opengl (according to qt.io, it is indeed a way faster because of shared memory management)15:12
arno11but there is not too much doc on the web about that functionality15:15
dsc_cpu rasterization should not be faster15:16
dsc_gpu goes brrr15:16
freemangordon1I wonder if this is related to compiling shaders in $HOME and launching the tracker15:18
arno11on my device, tracker is blocked btw15:19
arno11and even with no tracker it is really slow without qt5ct stuff15:20
freemangordonbecause it compiles shaders on startup15:20
freemangordon(perhaps)15:20
freemangordonhow is tracker blocked?15:21
arno11i chmod'd -x tracker315:24
dsc_I think init.d (or whatever manages processes) will go into a loop that way15:25
dsc_not sure about timeout15:26
arno11i don t see any troubles15:28
arno11there is no init.d or xssession for it btw15:29
arno11anyway there is a specific command to block it iirc15:30
arno11freemangordon: the 'main' surprise with raster stuff is memory usage (x1.5 or x2 less)15:37
freemangordonhow do you measure memory usage?15:40
arno11just with top/htop (ok that's not ideal but gives an idea)15:41
arno11anyway i can launch lot of qt stuff at the same time now without a huge swaping15:42
arno11i m currently running telegram-desktop, hamsterfiler, qalendar and playing a mp4 on smplayer at the same time15:51
arno11and still able to use irssi to write stuff15:51
arno11no overclock15:51
arno11htop returns 125MB of ram usage and 290 of swap (but 150 only for tg-desktop btw)15:53
arno11funny that the last tg-desktop version works fine on n900 and daedalus btw. this app is incredibly well optimized16:09
gnarfacearno11: hey, i just remembered something that might be important about that hardware opengl feature i mentioned yesterday; it might not actually be a good idea because the n900's GPU might generate too much heat doing it, so thereby might stress the hardware and shorten its life22:25
gnarface(i don't remember for sure it's the case, i just suddenly remembered vaguely someone might have said that, or i might be conflating it with a separate issue)22:25
gnarfaceso maybe you're better off just disabling it like you have already22:25
gnarfacerather than seeking to get everything using Opengl ES 2.022:25
gnarface(i could be wrong)22:25
gnarfacesomeone else around here would know for sure22:27
gnarfacei haven't read the scrollback yet today so maybe that's already been covered...22:28
arno11ok thx for info. atm nobody knows exactly what's going on but the raster option seems to disable opengl with qt522:30
arno11and use raster instead22:30
gnarfaceso there's still some question about whether the blame really lies with QT, Mesa, or the GPU driver itself, or some combination of all of the above22:34
gnarfacemight not be trivial to actually diagnose fully22:35
arno11yes indeed22:35
gnarfacethe thing is, late last night i somehow remembered talking to someone in this channel who already knew exactly what was going on, i just can't remember who23:08

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