libera/#maemo-leste/ Sunday, 2022-08-14

buZz__20h__: its #nurds on oftc00:13
auanta* wonders if the OS supports connecting to a monitor via usb c06:27
auantai think i answered my question haha, booting from emmc you do have to change the fstab07:48
freemangordonWizzup: buffer age seems to be always zero :(11:14
Wizzupof clutter?11:28
freemangordonof   eglQuerySurface(backend_egl->edpy, stage_egl->egl_surface, EGL_BUFFER_AGE_KHR, &age);11:29
freemangordonyes in clutter11:29
freemangordonthis means inalid backbuffer and full redraw11:30
freemangordon*invalid11:30
freemangordonI will ask enunes later on11:30
freemangordonmaybe we shall support partial updates as well11:30
freemangordondoes not make sense, but..11:30
Wizzupfreemangordon: do we need more mesa features or do we need to be more clever about it somehow?12:48
Wizzupuvos: if I have a sphone new sms window open (incoming), then opening the dialer doesn't bring it forward I think12:49
Wizzupuvos: latest kernel on my bionic works again with the modem it seems13:11
Wizzupuvos: so that was probably a fluke on my device13:11
Wizzupuvos: btw I am seeing this on bionic (maybe also on d4, not sure): [   25.158325] asoc-audio-graph-card soundcard: ASoC: DAPM unknown pin Headphones13:13
freemangordonWizzup: dunno, maybe we have to enable something13:55
_uvos_Wizzup: yes, unfortinatly the libhildon api is terrible and, because it uses globals all over the place, dosent allow an application to have more than one window stack of stacked windows. this means certail combinations of windows in sphone conflict if sphone is compiled with libhildon support14:38
_uvos_since hildon itself has no sutch limitation, a fix might be to have sphone set all the xatoms to make the windows stacked itself14:39
_uvos_and then drop libhildon14:39
auantamy biggest thing with the current image is lack of on screen arrow keys for terminal navigation.. has anyone found a way to handle that?15:56
auantaespecially for apps that use the console15:56
auantajoin #devuan15:58
auantaoops15:58
sicelothe bottom panel in osso-xterm is customizable. you could 'retrofit' arrows there if you want15:58
auantaoh nice15:59
auantaoh yeah the other thing i noticed is that if i open up the surf browser or even chromium, i cant access the keyboard at all (e.g. to type a URL)16:00
Wizzupuvos: or support stacked windows16:02
sicelohttps://paste.pics/bb94b3721ed0d9abe193de20aa4afa4e16:02
auantanice :) @sicelo16:03
norayri just installed maemo-leste on my friends' droid4.16:09
norayrhe has droid4 in a very good condition.16:09
norayrvery good.16:09
norayrand it works very well.16:09
norayrand he is happy16:09
norayrthank you everyone.16:09
auantaanother question as i'm trying to navigate the UI is.. how do I create a launcher for apps?16:35
auantait appears that apps available in the repo do not populate with icons, unless they are in the 'app store'16:37
auantais there a way to do it similar to how other desktop uis let you "create a launcher"?16:37
siceloi don't recall if there's an actual widget/application to facilitate that. anyway, it's through .desktop files, like in other desktop UIs. you can look at the .desktop files from the applications that have icons, and do same thing for whatever you want to launch16:46
siceloa quick and lazy way, if you don't care about icons is to install desktop-cmd-exec widget. it allows you do run arbitrary commands from a widget on the desktop, thus a poor man's "launcher"16:50
freemangordonWizzup: it was my fault17:10
Wizzupfreemangordon: ah?17:11
freemangordonbuffer age issue17:12
Wizzupyeah17:13
Wizzupjust wondered what it was17:13
freemangordonah17:13
freemangordonwas calling the function but always returning 0, in short :)17:13
Wizzup:)17:13
auantaheyy that works for me! thx @sicelo!17:20
auantait does appear that the qtwebbrowser supports the keyboard. it seems to have its own separate keyboard that looks very different17:25
Wizzupright, that's a problem currently17:25
Wizzupour qt doesnt't support our normal keyboard yet, so this is a workaround17:25
auantafirefox, and pretty much all the browsers i tried are like that (not supporting the keyboard). will the fix work for all of them or just the qt one?17:27
auantaout of curiosity XD17:27
Wizzupit depends on the widget set and how we do it17:27
auantaah ok17:28
Wizzupyeah, sorry, no simple answer :)17:29
siceloauanta: check with uvos ... i think one of the volume keys should make keyboard work in firefox, etc17:29
Wizzupthe hamburher button17:29
Wizzupor is this pinephone?17:29
auantayes17:30
auantaPP17:30
auantaWHOA that's wild.. yes, the volume up key DOES bring up the keyboard17:32
auantathanks ;)17:32
siceloyw17:37
Wizzupuvos: btw, the bionic ofono doesn't seem to necessarily have the same bugs as the d4 does17:40
siceloit's better, or worse?17:41
Wizzupbetter I think17:42
Wizzuplike, it just detects the sim even if it has a pin17:42
Wizzupupon boot17:42
Wizzupon the d4 you need to restart ofono for it to do that, or perform some other operation17:42
Wizzupof course, my bionic doesn't want to actually connect to the network atm :)17:42
Wizzupit connected now :)17:46
freemangordonWizzup: I think I made it18:16
Wizzupany difference?18:17
freemangordonthe only thing I cannot figure out is how to determine for how long to keep the history18:17
freemangordonhard to say18:17
Wizzuphm18:17
freemangordonI mean - how to measure18:17
freemangordonh-d swipes with 56fps in portrait18:18
Wizzupmaybe compare to before with other mesa18:18
Wizzupand other h-d18:18
freemangordonactually fps is 6018:18
freemangordonin landscape it is slow, but that's because of the SW rotation18:18
Wizzupright18:19
Wizzupuvos: ok, calls work ok on the bionic too18:22
Wizzupfreemangordon: maybe it is higher? I don't really know18:22
freemangordonwell, for sure it does partial rendering18:25
freemangordonthis should affect rendering times18:25
freemangordonbut it is really hard to measure18:25
Wizzupit's a win in any case if we don't need to patch our mesa18:26
freemangordonsure18:26
freemangordonI wonder for how long I shall keep damage history18:26
freemangordonno more that 4 frames I guess18:27
Wizzupnot sure how it works and what keeps the history tbh18:29
freemangordonwe shall keep a list of damaged areas, so when we get the current back buffer age, we re-apply whatever has been done since18:29
freemangordonI borrowed the implementation from upstream clutter, but it seems it is not good18:30
freemangordonas it seems it assumes one always gets the 'oldest' back buffer, but that's not the case18:30
freemangordonanyway, I'll hard-code to 4 frames and call it a day18:31
Wizzupokay18:31
Wizzupcool :)18:31
freemangordonoccasionally we'll have full scene redraw, but...18:31
freemangordonWizzup: could you check if d4 supports EXT_buffer_age?18:33
Wizzupsure, sec18:33
Wizzupnot in es2_info at least18:35
Wizzup(es2_info | grep -i EXT_buffer)18:35
freemangordones2_info | grep -i buffer_age18:36
freemangordonshould be supported18:36
freemangordonit could be KHR18:36
freemangordoncould you just pastebin the result of es2_info?18:37
Wizzupsure18:38
Wizzuphttps://dpaste.com/F2R82S3ZN.txt18:38
Wizzup(this is bionic, but it'll be the same)18:39
freemangordonhmm, yeah, not supported18:39
Wizzupuvos: this bug is long fixed, no? https://leste.maemo.org/Motorola_Droid_Bionic#gps18:40
freemangordonWizzup: umm, with mesa/clutter from repos, h-d swipes with 15fps max19:09
freemangordoneven in portrait19:09
freemangordonhmm, lemme reboot to confirm19:09
Wizzupfreemangordon: that sounds about right I think?19:10
Wizzupbut good to test on reboot19:10
Wizzupbooting my pp19:11
Wizzupoh wait, I forgot I have no wifi :)19:11
Wizzupoh, now it works, hm..19:12
freemangordonhmm, hmm19:15
freemangordonfor some reason I was thinking in portrait it is fast19:15
freemangordonwhich it is not19:15
freemangordonwith buffer_age fix it swipes 4 times faster (vsynced ofc)19:15
Wizzupwow, that'd be real sweet19:16
freemangordonyeah19:16
Wizzupshall I measure on mine?19:19
Wizzupjust tell me how :)19:19
freemangordonyou have to dsmekill hildon-destop19:20
Wizzupok19:20
freemangordonand then start from shell with CLUTTER_SHOW_FPS=119:20
freemangordonand maemo-summoner19:20
WizzupCLUTTER_SHOW_FPS=1 maemo-summoner /usr/bin/hildon-desktop.launch19:21
Wizzup?19:21
freemangordonyes19:21
freemangordonmaybe run-standalone.sh that19:21
freemangordonyep, landscape fps is 22, portrait 6019:21
Wizzupin portrait I get 15-1719:21
freemangordonwhen swiping19:21
Wizzupin portrait19:21
Wizzuphm looks like it's similar in landscape for me (15-17)19:22
freemangordonmhm19:22
Wizzupstintel: ^^ :)19:22
freemangordonsame here with mesa/clutter from the repos19:22
freemangordon22/60 with the fix19:23
Wizzupfreemangordon: do your h-d changes work if it's not supported as well? (suppose so)19:23
freemangordonit should19:23
Wizzupok19:23
Wizzupwe can build it for -devel or -experimental and try it19:23
freemangordonbut I don't want to build mesa on d4 (again)19:23
Wizzupjust lmk when19:23
WizzupI can build it in CI quickly19:23
freemangordonso, could you please revert the hack in -devel and build mesa?19:23
freemangordon'revert the hack in mesa' that is19:24
Wizzupshould we do -experimental?19:24
freemangordonno19:24
Wizzupok19:24
freemangordonwe will break the rendering on PP for those on -devel for a while, but well, this is -devel after all19:24
Wizzupok, we also have -experimental for this toying19:24
freemangordonI know19:24
freemangordongoing to cook some dinner while mesa gets build19:25
Wizzupok, btw19:25
freemangordonwill push clutter changes after that19:25
Wizzupwe don't -need- to rebuild mesa to test this, no?19:25
freemangordonyes, we do19:25
Wizzupwe can just not use the swap behaviour19:25
Wizzuphmm ok?19:25
freemangordonotherwise it hangs19:25
freemangordonin xshmwait() or something19:25
freemangordonttyl19:26
Wizzupok19:26
Wizzupmaybe when you get back you can push the h-d changes19:26
Wizzupmesa will probably build quite quickly now on our new hw ;)19:26
Wizzup(I still think we should just do it for -experimental tbh)19:26
freemangordonh-d changes?19:27
Wizzupno, mesa19:27
freemangordonclutter changes ;)19:27
WizzupI can just built it again once it works19:28
Wizzupfreemangordon: right19:28
Wizzupas in, there's no point in knowlingly breaking -devle imho19:28
Wizzupknowingly*19:28
freemangordonwe are not going to *break* it19:28
WizzupI suppose it just re-adds the render issues19:28
Wizzupok19:28
freemangordonfor a while rendering will be ugly on PP19:28
freemangordonyes19:28
Wizzupstarted it19:29
freemangordonthanks19:29
Wizzupnp19:29
freemangordonhmm, nothing in ci channel19:29
Wizzupit posts about -source after it's done usually somehow19:30
freemangordonah, ok19:30
freemangordonbbl19:30
Wizzupfreemangordon: ok, so the mesa build for armhf and aarch64 should be ready20:08
Wizzupthe amd64 one failed due to disk space issues20:08
Wizzupit looks like jenkins has kept every build we've ever done20:08
Wizzupso I just changed the job xml config to only keep the last three, but it doesn't seem to automatically prune them, so I might have to re-run some jobs just to prune them20:08
freemangordonok20:23
freemangordongoing to push clutter to -devel20:23
Wizzupok20:23
WizzupI started another mesa build just to see if it auto cleans20:23
freemangordonok20:24
Wizzupyeah looks like it20:24
Wizzupit might do it -after- the builds succeeds, but hey :)20:24
freemangordonhmm, seems we have more issues on PP20:32
Wizzupfreemangordon: mesa related?20:33
freemangordonWizzup: before you upgrade, could you confirm that after unlock, screen goes black or shows tklock after 1-2 seconds?20:34
freemangordonnot sure20:34
freemangordonmce/tklock most-probably20:34
Wizzupwill test now20:34
freemangordononly when you are on desktop though20:34
freemangordonwith no applications started20:35
freemangordonhmm, happens with settings as well20:35
freemangordonlooks like tklock event eater window20:35
freemangordonlike it is not transparent20:36
Wizzupfreemangordon: I don't see this currently I think20:36
freemangordonlemme revert clutter20:36
Wizzupfreemangordon: maybe try conversations or firefox or some others that also had obvious glitches20:40
freemangordonno, rendering is ok20:40
freemangordonI am using xterm to test20:40
Wizzupok20:40
Wizzupright20:40
freemangordonlike swipe up<->down in xterm to select20:40
Wizzupyup20:40
WizzupI do remember that :P20:40
freemangordonthis is another issue20:40
Wizzupok20:41
freemangordonlemme downgrade mesa as well and restart, to be 100%sure it is still the same20:41
freemangordonbecause I downgraded clutter and it is there20:41
Wizzupah20:41
buZzwow new vdpau drivers? do they work on d4?20:42
WizzupbuZz: where did you read vdpau?20:42
Wizzupoh, you're seeing some debian update?20:42
Wizzupprobably just a security or bugfix for debian buster20:43
buZzin apt upgrade :P20:43
Wizzupyeah so it'll just be an upgrade from debian20:43
freemangordon:(20:47
freemangordonunrelated20:47
freemangordonjust rebooted with downgraded mesa/clutter20:48
freemangordonthe same20:48
Wizzupok20:48
freemangordondo you use tklock?20:48
Wizzupwell, that's good, right?20:48
Wizzupyes, I just use the default everything20:48
freemangordonnot really20:48
WizzupI am not seeing what you are seeing I think20:48
freemangordonbecause I have no idea how to chase it20:48
freemangordonlemme make a video20:48
buZzversion is 21.2.5+pvr6-1+2m7 , made me think it was for powervr?20:51
freemangordonbuZz: wait a bit, on PP rendering will be broken and also this is not tested20:52
freemangordonon other devices that is20:53
freemangordonit needs new clutter20:53
freemangordonWizzup: http://46.249.74.23/leste/PP/20220814_001.mp420:54
freemangordonclutter is 0.8.2.77+2m7.120:54
freemangordonmesa is 21.2.5+pvr4-1+2m720:54
Wizzupcould this be mce related?20:55
freemangordonwell... it is rather that transparency does not work as it should20:56
Wizzupso it's not locked?20:56
freemangordonbut, why it is only me?20:56
freemangordonno, it is not20:56
freemangordonit is unlocked, but some window is put on top20:57
freemangordonso I would say it is modesettnig20:57
freemangordonthat misbehaves20:57
freemangordondunno...20:57
Wizzuphm, could be, I don't remember seeing this before20:57
Wizzupwe could try your clutter in experimental (or devel I guess)20:57
freemangordonme neither20:57
Wizzupand then I can see if I get it20:57
freemangordonummm?20:57
freemangordonthis is with clutter from -devel and mesa from -stable20:58
freemangordonhow is "my" clutter involved?20:59
WizzupI don't see it on my -devel PP20:59
freemangordonyour kernel is the one from -devel, right?21:00
Wizzup5.15.5021:00
freemangordonyeah, I downgraded21:00
freemangordonok, lemme push clutter and will see if upgrading kernel fixes it21:00
WizzupI am just on -devel everything21:01
Wizzupok21:01
freemangordonme too, besides mesa and kernel (which are from -stable)21:01
buZzfreemangordon: this is on d421:02
freemangordonok21:02
freemangordonWizzup: https://github.com/maemo-leste-upstream-forks/clutter-0.8/pull/221:36
freemangordonshall I merge or you want to have a look?21:36
Wizzupwill look21:39
freemangordonWizzup: ok, in the meanwhile I will test on d421:40
Wizzuplooks good to me21:40
freemangordonok, will test on d4 and if nothing is obviously broken will release it in -devel21:46
Wizzupok21:46
Wizzupfreemangordon: holy shit this is so much more smooth in portrait22:06
freemangordonmhm :D22:07
Wizzupit'd be kinda hilarious if h-d on lima is more smooth than all the wayland things, since it was advertised to be smoother and such22:09
freemangordonit is better in landscape too22:10
freemangordonsure it is22:10
freemangordonyou mean xorg?22:10
Wizzupyeah, but the latency there is something I can feel22:10
Wizzupfreemangordon: yeah just nvm my last statement, dont feel like elaborating :)22:10
freemangordonI guess because modesetting does 3-buffer22:10
WizzupI know that folks online wrote that h-d (even before your patch) is the most smooth 3d wise22:11
freemangordonyep, saw that and wonder what did other do to make it slower22:11
freemangordon*others22:11
Wizzupbloated frameworks probably22:11
freemangordonyeah22:11
Wizzup+ maintainers like clutter not caring about low power22:11
freemangordonclutter is abandoned long time ago22:12
Wizzupneed me to try on d4 or bionic?22:16
freemangordonalready did on d422:17
Wizzup3ok22:17
Wizzupok22:17
freemangordonyou may try on bionic, just in case22:17
freemangordonnot that is is different22:17
Wizzupnah it'll be the same :)22:18
Wizzupuvos: I think we can move the omap-linux to stable, agree?22:18
Wizzupuvos: or is there still this drm hang bug that sicelo mentioned?22:18
Wizzupiirc if it's actually 100% reproducible, then that might be good news22:19
freemangordonWizzup: we still have that high iowait with PP kernel in -devel on my braveheart22:21
Wizzupdo you know what could cause it?22:22
freemangordonno idea22:22
WizzupI also have it on my d4, and thought maybe the sd card was unhappy22:22
Wizzupand they are different kernel sources and versions22:22
freemangordonmaybe your sd card is unhappy22:22
Wizzupfor sure kernel upgrade via apt or modest can really freeze it for a while22:22
freemangordonbecause I downgraded the kernel and it works fine22:22
freemangordoncompiled mesa twice without issue22:23
Wizzupok22:23
freemangordonhmm, for how long will I see that big charging battery on my d4?22:23
Wizzupwhat do yoy mean?22:23
Wizzupoh22:23
Wizzuphah22:23
Wizzupuntil you press the power button22:23
freemangordonI restarted...22:23
Wizzupthat's charge mode - it enters that when usb is plugged in and providing power on boot22:24
freemangordonI am pressing it appears22:24
Wizzupmaybe this is the drm hang sicelo was talking about22:24
freemangordonah22:24
freemangordonwait, this is not ok22:24
Wizzupyup22:24
freemangordonso, when I pressed power button it continued booting22:25
freemangordonbefore that I was pressing volume buttons22:25
Wizzupah, ok, that's fine then?22:25
freemangordonhow's that?22:25
freemangordonI wanted it to boot and it entered some "charging mode" I wo9uld expect to exit once it has enough battery to boot22:26
freemangordonnot requiring me to power it on gain22:26
freemangordon*again22:26
freemangordonthat's bad UX imo22:26
siceloit doesn't auto exit charge mode22:27
freemangordonexactly22:27
WizzupI am confused, fmg said it continued booting22:27
Wizzupso does it, or does it not exit charge mode?22:28
freemangordonafter I pressed power button22:28
freemangordonso, it want manual intervention to continue22:28
freemangordon*wants22:28
siceloit's like that by design22:28
freemangordonthats broken by design then22:29
freemangordoncorrect behaviour should be to exit that mode once there is no more need of it22:29
siceloWizzup: i don't know if it's drm hang or what, but that's what uvos says. what i observe is - boot droid 4 with usb, get in charge mode. after this, battery shows on screen with no backlight and pressing power or any other button doesn't have any effect. only way to get out of this is to force reset device.22:30
sicelofreemangordon: you can disable charge mode, by removing it from the kernel cmd line. I've been meaning to do so myself22:35
freemangordonsicelo: that's not the point22:35
Wizzupfwiw the original fw doesn't boot either when it's fully charged22:35
WizzupI don't know what the n900 does, but I don't think it does that either, not sure22:36
freemangordonWizzup: it depends:22:36
freemangordonif you power-on with usb cable attached, it just boots to OS22:36
freemangordonif you reboot from OS with cable attached, it just reboots to OS22:37
freemangordonthe only case it does not boot to OS is if you attach a cable when device is powered off22:37
Wizzupfreemangordon: I mean we're planning to eventually replace this again with actdead, no?22:37
freemangordonthen it enters ACTDEAD (aka charge) mode and does not fully boot the OS22:38
freemangordonno matter how we call it, it behaves like I explained22:38
siceloi agree about bad UX in that case, but yeah, charge-mode (taken from pmOS) has completely different goal from maemo's actdead22:38
freemangordonI am fine to call it charge mode or whatever, the point is that it shal behave consistently22:39
freemangordonwhich it does not currently22:39
freemangordonagain: I did 'sudo reboot' and end-up with animated battery22:40
freemangordonthat's broken IMO22:40
freemangordonsomeone shall check 'boot reason' from omap and decide based on that22:42
freemangordonwas it powered on because usb cable was attached? yes? ok, stay in charge mode. no? continue to boot unless there is no enough charge, etc...22:42
freemangordonanyway, enough for today :)22:44
freemangordonnight!22:44
Wizzupgn22:46

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