libera/#maemo-leste/ Monday, 2021-11-01

lellevomer opened an issue: https://github.com/maemo-leste/bugtracker/issues/584 (droid4:Only speaker output works for audio during calls)09:12
Wizzupsomeone who actually manages to get further in call audio than me :-D09:13
Wizzupuvos: https://github.com/maemo-leste/bugtracker/issues/521 - you wrote you use it quite often, in car or on foot?12:25
Wizzupfreemangordon: can we close https://github.com/maemo-leste/bugtracker/issues/207 ?14:11
lelMerlijnWajer closed an issue: https://github.com/maemo-leste/bugtracker/issues/207 (Import modest/tinymail (mail client))14:14
lelMerlijnWajer edited a pull request: https://github.com/maemo-leste/libicd-network-ipv4/pull/3 (etc/50_ipv4_network_setup: use resolvconf)14:49
lelMerlijnWajer edited a pull request: https://github.com/maemo-leste/libicd-network-ipv4/pull/3 (etc/50_ipv4_network_setup: use resolvconf)14:49
Wizzupuvos: parazyd: should we add the profiles cpa to the hildon-meta ?15:11
Wizzupsame for modest15:11
freemangordonWizzup: we need fixed libglib16:43
freemangordonwhich reminds me to ping the upstream16:43
Wizzupfreemangordon: ok, well, we can build that now16:46
freemangordonoh, we also need the thumbnailer16:48
freemangordonummm....16:48
freemangordonwhat was the name?16:49
freemangordonhildon-thumbnail16:49
Wizzupit's probably in repodiff16:51
Wizzupfreemangordon: what should I write about osso-abook in our news update19:00
freemangordonnot sure... maybe something between the lines "soon to be ready"19:01
Wizzupany screenshot or something to share?19:02
Wizzuphttps://maemo-leste.github.io/images/VirtualBox_leste-beowulf_17_09_2020_15_06_07.png we shared this last time19:02
sunshaviWizzup: is that an abook pic?19:06
Wizzupsunshavi: from our previous update, yes19:09
freemangordonWizzup: lemme check if I keep some other pic19:22
freemangordonWizzup: trying to send you a file via irc :)19:25
freemangordonLMK if it doesn't work19:25
Wizzupfreemangordon: ah let me check19:26
WizzupI don't think it works19:27
freemangordonok, will put it on my web server19:27
Wizzupmeanwhile I'm extending the infobox a bit to automatically add categories for some packages https://leste.maemo.org/Category:Packages19:28
freemangordonWizzup: I have 2 screenshots of modest, do you want them as well?19:29
Wizzupsure, I did tweet some which I planned to use19:31
Wizzupbut why not19:31
WizzupI'll see what I include19:31
freemangordon/var/www/leste/screenshots_nov_202119:31
freemangordonoops19:31
freemangordonhttp://46.249.74.23/leste/screenshots_nov_2021/19:32
freemangordonthis19:32
Wizzupgreat, ty19:32
buZz'are sent to Nokia'19:39
buZz:D19:39
freemangordonwell, yeah19:40
freemangordonthis has to be fixed19:40
Wizzupthis is the case in various places19:41
Wizzup(not the sending, but the nokia references)19:41
buZzhmhm, yeah like in the appmanager19:41
Wizzupright19:43
Wizzupactually this could just be fixed in weblate now19:43
sunshaviWizzup: thx for the answer20:22
sunshavinice pictures20:22
tmlindfreemangordon: so i tested your patched mesa finally, glmark2-es2-wayland still causes sgx lockup oops20:22
uvosWizzup: "hm I think having the battery guard without charge mode is quite tricky" ???20:46
uvosmakes no sense to me battery guard IS charge mode20:46
uvosWizzup: "uvos: I *think* it resets my device at like 35% battery" it powers the device off if it stops charging for more than 5 seconds20:47
uvosWizzup: this never happens to me on my main charger but when connected to my laptop cpcap can jus stop charging for no reason20:47
uvosthis causes a reboot because then the device will shut off as its not charging anymore20:48
uvosand then after some time mbm will trigger a boot again because the device is charging again.20:49
uvosthis really is just a bug in the mapphone kernel unrelated to charge-mode20:49
uvosWizzup: "hm now it says 2% charging, makes no sense" if the device is uncallibrated (very likely when entering charge-mode on d4) it just uses what the kernel reports as a voltage and current and estimates the charge state20:51
uvosunfortionatly this is wildy unaccurate20:51
uvosagain this is more down to the fact that battery callibration dosent really work right on d4 (we dont save the charge counter becasue we lack nvram)20:51
Wizzuphi20:53
Wizzupwhat I meant was that my device was powered off when it wasn't really depleted, at least percentage wise, it wasn't being charged at the time, but yeah, later on I did try to charge it and I thought that was happening20:53
uvosWizzup: cant parse20:54
uvosa more detailed desctiption of behavior please20:54
uvosfreemangordon: so i dont see what the problem is with modesetting with your glamor replacement.20:54
tmlinduvos: would be nice to save the charge_full value into some cpcap scratch register for reboot, probably also a timestamp must be saved20:54
uvostmlind: yeah20:54
uvosfreemangordon: it tears, thats more or less unavoidable in x20:55
uvosfreemangordon: its slow in rotation20:55
uvosfreemangordon: well thats not really its department drm should expose accelerated rotation and modesetting should be using it20:55
uvosfreemangordon: if its not working figureing out why would make more sense than to hack pvr2d acclerated rotation into a ddx20:55
uvosfreemangordon: maybe look at wlroots it rotates fast20:56
uvosWizzup: regaring the sphone problem20:58
tmlinduvos: i recall also with weston there is not a huge difference in fps in landscape compared to portrait mode, only tested looking at the es2gears output so not accurate20:58
uvosWizzup: i just tryied repoducing that20:58
uvostmlind: its "fine" for me in sway20:58
uvostmlind: its a bit slower but not massively slow20:58
tmlindagreed, yeah it's just fine for me too20:59
uvoses2gears is a great test for this btw20:59
uvosit dose little work besides fliping the buffers20:59
tmlindok20:59
uvosso its a test of buffer flipping perfomance :)20:59
uvosWizzup: so cant repoduce the sphone problem atm21:00
Wizzupok21:00
uvosWizzup: i called myself21:00
Wizzupsorry, I will try to catch up momentarily21:00
uvosWizzup: and hung up on the remote side21:00
uvosand the d4 stoped rinnging as expected21:00
Wizzupsphone also said it was 'not responding'21:00
uvosoh ok21:00
uvoshmm21:00
Wizzupyeah21:00
Wizzupit's ok, I'll debug later21:00
uvossure21:01
WizzupI was outside in the park showing my parents the device, hehe21:01
Wizzupso wasn't really able to debug21:01
uvosupps :P21:01
uvosok can you still repo?21:01
WizzupI can try later tonight21:01
Wizzuplet me read up21:01
uvosok ill do a relese of the sphone version in the repo atm21:01
uvossince thats what i use (and fixes the ui issues)21:02
Wizzupcool21:02
Wizzuplooked like pavel was interested too21:02
Wizzupand a user filed a bug report about the headphones not working for calls :P21:02
uvosheh21:02
Wizzupwhen/if should we use sphone to non-devel? maybe just not yet, right21:03
uvosnot yet21:03
Wizzupok21:03
WizzupI started porting yappari, it'll be quite some work21:03
Wizzupbut made a start at least21:03
uvosnot even considering how green my new sphone backend code is, calling needs to work right on some defice first21:03
uvoskernel wise21:03
Wizzupright21:03
Wizzupwe actually don't have -devel documented anywhere, which is perhaps a bit silly21:04
uvosthat is silly21:04
Wizzupyeah, ok21:06
freemangordontmlind: does glmark2-es2-wayland oopses the kernel for you?21:18
freemangordonuvos: keep in mind I am using kernel with latest tmlind's patches21:18
freemangordonnot that I tried WL though21:19
freemangordonuvos: how did you test modesetting performance?21:20
freemangordonI mean - do you use pathced glamor?21:20
freemangordon*patched21:20
uvosfreemangordon: ?21:20
uvosfreemangordon: i did not test modesetting performance21:20
freemangordon"(21,54,14) uvos: freemangordon: so i dont see what the problem is with modesetting with your glamor replacement."21:21
freemangordonthere are lots of problems21:21
uvosright that was more of a question21:21
freemangordonah, ok21:21
uvoswhat is the problem rn?21:21
uvossry that was unclearly worded21:21
uvosso you reported rotation is slow and tearing21:22
uvoswhat else?21:22
uvosthats what i wanted to say21:22
freemangordonnot only the rotation, on n900 rendering is slow21:22
freemangordoneven in landscape21:22
freemangordonwith compositing that is21:22
uvosfreemangordon: ok21:23
freemangordonthis can be fixed21:23
freemangordonor at least optimized21:23
uvosok and rotation needs to be solved in omapdrm if possible21:23
uvosomap4 should expose tiler as acclerated rotation21:23
uvosand on ompa3 im not sure21:23
freemangordonbut, if bad rotated performance can't be solved, I don;t see a point in continuing in that direction21:24
freemangordonn900 does not have a tiler21:24
freemangordonomap3 that is21:24
freemangordonalso, 16bpp does not work in modesetting21:24
uvoswhy not?21:24
freemangordonno idea21:24
uvosit should work according to docs21:24
uvos16bpp is unusable anyhow21:24
freemangordonwell, es2gears work, but not hildon-desktop21:24
uvossince its really slow with clients21:25
uvossome clients dont work too21:25
freemangordonnot maemo clients21:25
freemangordonthey will have to be fixed21:25
uvosno its just over with that21:25
freemangordonwe gain nothing from 24 bpp21:25
freemangordonsays who?21:25
freemangordonuvos: please, lets not go into that21:25
freemangordonwe have low resources devices which will benefit a lot of reducing the needed bus bandwidth twice21:26
freemangordon*lot from21:26
freemangordonesp n90021:26
freemangordonbut, 16bpp is a small problem21:27
freemangordonrotation is major one IMO21:27
freemangordonin general - MS/glamor is created with desktop/opengl in mind21:27
freemangordonat least that's my understanding21:27
freemangordonuvos: oh, BTW, did you pull the latest pvr mesa?21:28
uvosfreemangordon: not sure what is latest21:28
uvoswhy?21:28
freemangordonbecause I pushed a fix for WL segfaulting21:28
uvosoh ok21:28
freemangordon(hopefully a fix)21:28
uvosno dident try that21:28
uvosyet that is21:28
freemangordonhttps://github.com/freemangordon/mesa/commit/5bd40a453e1484efea842be9a3f388adb5fac93c21:29
freemangordonhmm?21:29
freemangordonah, you didn't try it yet21:29
uvosright21:30
freemangordonuvos: so, on DDX - MS/glamor is not made with mobile in mind21:30
uvosi dont see what special things we need on "mobile" right now21:30
freemangordonit has lots of features I guess, but it requires resources we don;t have on mobile21:30
freemangordonperformance21:30
uvosbesides the work you already did21:30
freemangordonrotation support21:30
uvosit has rotation support21:30
freemangordonlow memory footprint21:31
uvossupporing rotation is kernels job21:31
uvosand ms suppots those interfcaces21:31
freemangordonalso, even in native orientation it still does some copy, somewhere21:31
uvosnot sure what low memory footprint means in this context, non glamor modesetting has exactly one buffer21:31
freemangordonnot really, it has shadow buffer as well21:32
uvosit dosent have to21:32
freemangordonwhich is used for rotation21:32
freemangordonwithout it it cannot rotate21:32
uvosit can with drm accelerated rotation21:32
freemangordonok, please enable it21:32
uvosfreemangordon: sure but thats more of a pvr problem than a mobile vs desktop problem21:32
freemangordonbut, we have PVR21:32
uvosyeah sure21:33
uvosfreemangordon: i think tiler would a possiblity21:33
uvoson n900 yeah21:33
freemangordonso, we have to deal with it21:33
uvosno idea21:33
freemangordonmhm21:33
freemangordonalso, given we use gles, which can rotate as we want, doing SW rotation is not the best solution21:33
uvosso what do you want to do?21:34
uvoswirte a new ddx that uses gles?21:34
freemangordonwrite ddx from scratch21:34
freemangordonno21:34
freemangordonthat uses mmap-ed bo's21:34
uvosand rotates via gles21:34
freemangordonsimilar to modesetting, but without overhead it has21:34
uvosim unsure where modesetting has avoidable overhead....21:35
freemangordonmodesetting/glamor actually hack xorg interfaces21:35
freemangordonthere is not EXA there21:35
uvosexa is depricated21:35
uvosthose interfaces21:35
freemangordonand what is the next shiny?21:35
uvosglamor :P21:35
uvosall the modern ddxes use it21:35
uvosie radion and intel and sutch21:35
freemangordonwhich gives something like 15fps on n90021:36
uvosim not saying use it21:36
freemangordonwith compositing21:36
uvosim saying exa is depricated21:36
freemangordonwell, xorg is deprecated :p21:36
uvoswell not officaly21:36
uvosbut yeah in a way21:36
freemangordonanyways, what I think:21:37
freemangordon1. crate DDX that operates on gbm backed primary framebuffer21:37
uvosbtw: im unsure where modesetting has avoidable overhead...21:37
uvosi dont see it really21:37
uvostakling modesetting only here (ie dri2 noAcell path)21:37
freemangordonuvos: I am not sure how easy it would be to fix the rotation issue there21:38
uvosok sure but thats a different problem21:38
uvosanyhow21:38
uvosdo explain21:38
uvos[21:37] <freemangordon> anyways, what I think:21:38
freemangordon1....21:38
freemangordonthis is more or less what omap driver does ATM21:39
freemangordonall the pixmaps shall be backed by BOs and dri3 rendering will be done by memcpy21:39
freemangordonas you expect, the performance will be awful21:40
freemangordonbut..21:40
freemangordononce we have that as a template, I can start optimizing that21:40
freemangordonlike, using gles for copy operations21:41
freemangordonor, using pvr 2d engine to accelerate almost everything21:41
freemangordonwhat I lack here is how to use double-buffering for display framebuffer to avoid tearing21:42
freemangordonI lack the theory there21:42
freemangordonshall I use single buffer and draw on vsync only?21:43
freemangordonor, shall I use double-buffering and track the damage?21:43
uvosthe latter, the former would be way to slow21:43
uvoson d4 you could use the display itself as a frond buffer so to speak21:44
freemangordonthe same on n90021:44
uvosand just update it whenever your done21:44
freemangordonwhat do you mean "update'?21:44
freemangordonah21:44
freemangordonright21:44
freemangordonwell, yeah, wont; work on n90021:44
uvosyeah i know21:44
uvosreally in modern x21:45
uvosthe compositor is expected to take care of this21:45
uvos*compositing window manager rather21:45
freemangordonyeah21:45
uvosso the wm ends up implmenting double buffering21:45
uvosessentaly21:46
freemangordonbut still, blitting on the framebuffer shall be done on vsync only21:46
freemangordonon the primary framebuffer21:46
uvosyeah the wm dose this by its own volition iiuc21:46
freemangordonanyway, have to run now21:46
freemangordonttyl21:46
uvosttyl21:46
uvosWizzup: regarding liblocation i have been using gpsrecorder quite a bit for hikeing/cycleing21:54
uvosWizzup: i did use it in car once too21:54
uvosWizzup: but otherwise have not used it while driveing21:54
uvosWizzup: i also ocasionally use navit for navigation21:55
uvosWizzup: but that uses gpsd directly21:55
Wizzupok21:56
Wizzupuvos: so it sounds like h-d might need work too if the wm plays a part in this21:57
Wizzupuvos: parazyd: I don't know what to write for fbkeyboard and  charge-mode, should I just put it off until we get it in place?22:27
uvosWizzup: fbkeyboard is in place22:28
Wizzupin the recovery mode?22:28
uvosWizzup: yes22:28
Wizzupok22:28
uvosWizzup: on bionic22:28
uvosWizzup: (only)22:28
uvosWizzup: since on d4 it makes not sense ofc22:28
uvosWizzup: mainly i took it from its original author22:28
Wizzupok22:28
uvosWizzup: and rewrote its event loop and ported it to libinput22:29
uvosWizzup: so now it can be callibrated22:29
uvosWizzup: (ts wise)22:29
uvosit should be used on pp too22:30
uvosin some capcacity22:30
Wizzupuvos: I see it also on droid3, but I don't think ts events work22:30
Wizzupyet another thing to look at I guess22:30
uvosWizzup: ok yeah since you took the bionic image you shal have it22:30
uvosWizzup: it uses libinput to choose a input device22:31
uvosWizzup: if you still have the main touchscreen disabled in libinput22:31
uvosWizzup: it wont work22:31
uvos(disabled in favor of ts-buttons)22:31
uvosit should be disabled on d3 anyhow22:31
uvosregarding pp22:31
uvoswe just lack a method of entering a special mode for an emergency shell22:32
Wizzupd3 does't do ts-buttons atm though22:33
Wizzupat least in my setup22:33
uvosright so you should remove the udev file that disables the main ts for libinput22:33
uvos(i think you did this allready for x but not sure)22:33
uvoshttps://github.com/maemo-leste/leste-config/blob/master/leste-config-mapphone/lib/udev/rules.d/85-input-devices.rules.leste22:34
uvosENV{LIBINPUT_IGNORE_DEVICE}="1"22:34
uvosoh and fbkeyboard only works right if the framebuffer is in its natve orientation22:35
uvosthats simply a current fbkeyboard limitation22:35
Wizzupwhere did we fork fbkeyboard from?22:35
uvoshttps://github.com/julianwi/fbkeyboard22:36
uvosbut its a 90% rewrite22:36
Wizzupoh, ok22:37
uvosWizzup: https://maedevu.maemo.org/pkgweb/22:54
uvosdosent appear to work for me22:54
uvosatm22:54
Wizzupit loads for me22:55
uvossame here22:55
uvosbut searching anything dosent work22:55
Wizzupparazyd: ^ any idea?22:56
Wizzupyeah 504 for me as well22:57
uvosWizzup: new sphone should be in repos shortly23:29
Wizzupcool23:33
Wizzupuvos: I guess I need to push my changes to the maemo-leste/clown-boot repo23:39
Wizzupok... almost done with the news post23:54
WizzupI guess tomorrow I get to do all the rebuilding and fixing whatever remains to be fixed23:54
Wizzupwip: https://github.com/maemo-leste/maemo-leste.github.io/blob/august/content/maemo-leste-update-october-2021.rst23:56
uvospower-generic module that allows mce to operate in adsence of dsme.23:57
uvosmce is powerd by adsense(tm) now :P23:57
Wizzupheh23:57
Wizzupfixed23:57
parazydSearch seems ok here23:59
parazydhttps://maedevu.maemo.org/pkgweb/search?q=hildon23:59
parazydAny specific bug?23:59
uvosparazyd: just clicking on armhf dosent work for me23:59
uvosfor instance23:59

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