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

humanbetabug report: With Pinephone volume settings get lost in restart, after restart volume always in maximum.13:01
buZzused to be the same on droid4 , reboot always reset the volumes to whatever was default13:07
humanbetaso it does not read saved volume setting..or does it even save?13:10
buZzi believe it wasnt saving them at the time, not sure if thats implemented currently13:10
buZzreally should dig up my d4 and retry :)13:11
humanbetaMaemo 5 with N900 saves and it have even different volume setting for phone calls.13:15
humanbetaso that make me think feature request: add volume slider to sphone for save earpiece volume.13:17
humanbetawith Maemo 5 I used volume buttons during call to set earpiece volume and it saved it automatically.13:20
buZzi dont think it's sphone's role to do so, but just normal OS13:22
humanbetaif OS saves volume settings for each apps then it is OS.13:26
buZzits not a app volume, voice volume is a seperate mixer setting, see 'alsamixer' or 'pavucontrol' output13:27
buZzthe audio path of calls is a seperate hw path for audio13:27
WizzupI think the status area saves and should restore13:28
Wizzupor maybe it's pulse13:29
humanbetabut I think phone call volume in phones are special situation. Maybe best would be save call volume settings in addressbook so you can set it for best for every caller.13:29
buZzhumanbeta: either way, the mixer is in alsamixer/pavucontrol for you to change ;)13:29
buZzyou could likely force it to a setting in /etc/rc.local with some command i guess13:30
buZzi havent seen any phone saving 'call volume per number' :) but that would be a fun feature yeah13:31
humanbetaMaemo Leste should have something that any another phone OS does not have.13:32
humanbetaok..it has already something, but..13:33
humanbetasomething that every user understand.13:33
humanbetabut first things first, volume settings have to work during call.13:37
buZzthey do, open alsamixer ;)13:38
buZzor pavucontrl13:38
buZzcontrol*13:38
humanbetayes I have pavu control, but how to make shortcut to desktop, now I have to go debian-folder and start it..it is not easy when you speak in phone.13:41
humanbetaif volume buttons are not possible to do that how about some keyboard buttons?13:44
humanbetabtw..it would be nice write SIM–pin code (in start up) with keyboard too (you can do that with PostMarketOS).13:47
humanbetabtw..does Maemo use both GPU cores and acceleration of Pinephone in programs in Debian folder?...text rendering has someting badly wrong when testing with Hardinfo or even simple with UXTerm.14:02
humanbetabadly wrong when speaking speed.14:02
Wizzupwhat do you mean 'badly wrong' ?14:03
humanbetavery slow speed in text rendering.14:03
Wizzupis it better in portrait mode?14:04
WizzupI think there is still some slowdown in landscape mode due to everything needing to be rotated14:04
humanbetais hardware rotate only in closed source Mali drivers?14:05
WizzupI don't think it has something to do with the closed source drivers, but rather glamor14:06
WizzupI don't have more info/details, others might14:07
buZzimho, pinephone's GPU speed was always a bit 'meh'14:09
buZzcompared to droid4 or n90014:09
humanbetabut anyway X Terminal what comes with Maemo Leste has much faster text rendering than UXTerm or Xterm in Debian folder.14:10
humanbetathey had come from default repository.14:12
humanbetabuZZ: I afraid that open source Mali drivers, Lima drivers, does not use full potentional of GPU. And if Maemo does not use full potentional of those drivers..it would be problem. I remember that problem with OQO handhelds..they had quite good Silicon Motion Lynx3D+ GPU, but nobody ever made good accelerated Linux drivers although Silicon Motion14:24
humanbetagave all info.14:24
buZzhumanbeta: from all i saw, the pinephone just has a A64 soc with a pretty old/basic mali version14:24
buZzplus a -way- too high resolution display for that gpu14:25
buZzalso; mali is just the -3D- gpu14:25
buZznot the 2D one14:25
Wizzuphumanbeta: the lima drivers are very unlikely the problem14:26
Wizzupdid you try it in portrait like I asked?14:26
humanbetaWizzup: some how I did not get UXterm and Xterm to start to portrait...X Terminal of Maemo rotate well..it was not slow in first place.14:33
humanbetabuZz: Actually AllWinner has dual core Mali version with nice dual alpha layer 2D rotate and zoom mixing add on, but it might be hard to use in normal X11 use.14:35
buZzhumanbeta: i know the mali400, its in many socs14:36
humanbetado you know can it speed up with 16 bit per pixel mode? Actually how many real colors Pinephone LCD can show?14:45
freemangordonhumanbeta: bad performance in landscape mode is because modesetting/glamor rotate via SW14:54
freemangordonthis has nothing to do with maemo14:55
freemangordonor GPU being slow14:55
freemangordonyou can compare dragging desktop views landscape vs portrait14:56
freemangordonmaybe open a bug against modesetting driver14:56
freemangordonalso, unfortunately 16bpp is a nogo14:57
uvos__true but i mean the pinephones gpu is still pretty slow, its fillrate is bearly faster than the sgx in d4 and it pushes way more pixels14:57
freemangordonlots of 'modern' programs/frameworks assume 24bpp14:57
freemangordonuvos__: right, but it is fast enough to do 60fps in portrait vs 15fps in landscape, because of SW rotation14:58
uvos__resotring volumes is the resposablility of pulse14:58
uvos__and it works fine on d414:58
uvos__should work on pp too14:59
uvos__the issue on d4 previously was that one of the mixers had an invalid name14:59
humanbetaand nobody tried to use of hardware rotate in start up to change coordinates (of course portrait would be then slower)14:59
uvos__causeing the saveing to error out14:59
uvos__humanbeta: ?15:00
humanbetauvos: has anybody tried use hardware rotate of AllWinner?15:00
uvos__the way rotation should work in glamor is that the randr extentions sets a transformation matrix on every x surface and then glamor renders every surface on its side via ogl, dosent work on gles however15:00
Wizzupweren't a lot of patches submitted for glamor gles a few months ago?15:08
Wizzuplot of glamor/xv stuff too recently https://gitlab.freedesktop.org/xorg/xserver/-/commits/master15:09
freemangordonhumanbeta: it does not seem that modesetting supports HW rotate :(15:13
freemangordonunless that has been fixed recently15:13
freemangordonWizzup: yeah, I gess we shall upgrade xorg at some point15:13
freemangordon*guess15:13
freemangordonuvos__: glamor on lime should use GL, not GLES15:13
freemangordon*lima15:14
maxwelldcan someone who built qwebbrowser patch it also in a way that it would open the link it gets as a commandline argument? when clicking a link in somewhere, lets say this chat, it opens qtwebbrowser for me (dont remember if i edited something for that by hand or just made sure this is the last installed browser) but when opened it just opens blank page. i guess it has no code to open a link it gets fro15:16
maxwelldm commandline.15:16
buZzmaxwelld: alas qtwebbrowser is just a sdk example, not really a full browser :(20:32
maxwelldyeah i know... i guess it is possible to modify it to use argc/argv and pass it to the rendering engine by default.20:40
buZzsure, have at it :D20:40
buZzquite sure there's nothing changed to the upstream sdk example20:41
dsc_i am working on improving jib a bit, ill make sure to handle that use-case20:42
maxwelldjib? what is that?20:45
dsc_https://github.com/maemo-leste-extras/jib20:48
dsc_its considered alpha still, needs UX improvements20:48
dsc_but you can try it out20:48
maxwelldisn't it on repos?20:50
maxwelldis there a repo i can add? how does it work on d4?20:50
Wizzupit's in extras, but I think dsc didn't yet add a X-Maemo... entry and a desktop ico20:51
Wizzupn20:51
buZzthats not needed when you dont run maemo ;)20:51
maxwelldgood it is in extras.20:52
maxwelldWizzup, i am trying to build pango, libadwaita, gtk4 to build latest dino, since this dino has lots of bugs.20:52
maxwelldif i succeed i'll ask for repos, hope you are ok with it.20:52
WizzupI am not sure if gtk4 apps will look any good currently20:54
maxwelldyou cannot imagine how buggy this dino is.20:55
WizzupI can I think, I use it daily on my laptop20:55
WizzupI bet it's very power hungry too20:56
maxwelldi actually use d4, so i need communication. everybody around uses omemo, otherwise i would be fine with pidgin.20:56
maxwelldyes, it is very power hungry. both old version and new version.20:56
maxwelldi carry powerbank with me, my battery is also not in good shape.20:56
Wizzupwe have an open funding goal to add omemo to tp20:56
Wizzupin case anyone is interested20:56
maxwelldi don't think i am the best person for that.20:57
Wizzupfreemangordon: I wonder if we maybe want to run tracker only when phones are connected to external power21:34
freemangordonWizzup: why?21:58
Wizzupbecause it drains battery in these semi corrupt states21:58
freemangordonisn't it better to just fix the issue?22:05
uvos__sure22:08
uvos__but i think at the very least it should be removed from the metapackages until it works22:09
freemangordonit is in -devel22:09
uvos__even in -devel22:09
freemangordonand -devel is meant to break your devce22:09
freemangordon*device22:09
uvos__havin pm broken in devel for long lengths of time has the issue of masking subsiquent issues intrduced22:09
uvos__that can be quite hard to find22:09
uvos__so its not great22:10
uvos__even in devel22:10
freemangordontracker seems to have issue that is easily reproducible on Wizzup's device22:10
uvos__it happens on my device too22:10
freemangordonok, then please, either attach gdb or provide logs22:10
freemangordondisabling tracker will not help to move ahead22:11
uvos__its not so easy to repduce sometimes it just gets into states where it uses to mutch cpu22:11
uvos__but its qute random22:11
freemangordonI am sure that high cpu usage is because it crashes22:11
uvos__it dosent crash22:11
freemangordonhow do you know?22:11
uvos__pid dosent change22:12
freemangordonI think on Wizzup's device it crashes22:12
freemangordonotherwise it does not affect battery22:12
freemangordonat least here22:12
uvos__powertop lists it as a lot of wakeups/S22:13
freemangordontracker wakes-up every 30 seconds22:13
uvos__causeing the device to use ~400mw22:13
uvos__but its not wedged or anything22:13
freemangordonBTW, when we you 'tracker', what exactly do you mean22:13
freemangordonbecause there are couple of processes involved22:14
freemangordontracker-miner, tracker-fs, etc22:14
freemangordon*when you say22:14
uvos__have to check witch process it is22:14
uvos__its allways the same one22:14
freemangordonok, that might be the one starting the other, the other crashes and 'the one' restarts the other, etc22:15
freemangordonthus high CPU usage22:15
freemangordondo you have any idea how to repro?22:15
freemangordondid you do tracker reset perhaps?22:18
* freemangordon copies 7GiB of music to his d422:23
dsc_all CC0 licensed23:04
Wizzupfreemangordon: agree trying to fix it is better23:21
freemangordonWizzup: you can enable logs23:22
freemangordonsee TRACKER_USE_LOG_FILES23:23
freemangordonand also "tracker daemon --set-log-verbosity"23:23
Wizzupok23:23
Wizzupwill do (later tonight)23:23
freemangordonmaybe there are more logs23:24
freemangordonbut loets start with those23:24

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