Friday, 2021-08-13

rinigusI wonder whether we are expected to have fb0 available on hybris devices. looks to be missing on sony tama...09:23
piggzrinigus: ive 0,1,210:26
piggz(pro1)10:26
piggztrying to draw to the raw fb?10:26
T42<Mckeating> Wow๐Ÿ˜‚๐Ÿ˜‚..Another CashOut๐Ÿ˜‹ with my CashApp. Seeing my profit ๐Ÿ˜is my greatest Joy today. Wish I have done this last year that things were rough for me๐Ÿ˜‹๐Ÿ˜‹10:38
T42<Mckeating> https://t.me/tueuttieowosfhvnsmwksmvvnrsoq10:38
riniguspiggz: via SDL app - https://gitlab.com/postmarketOS/osk-sdl10:41
rinigusI wonder what I am missing on sony....10:41
piggzrinigus: oh, i thought youd choose yamui10:42
riniguspiggz: that SDL was suggested by vknecht last night and has proper keyboard. as how to make it in yamui - I have no idea.10:43
rinigusin this sense, I'd love to choose something which is ready or almost ready to use. :)10:44
T42<elros34> rinigus I remember something about legacy fbdev mode in defconfig in mainline which could be enabled if you can't use drm. https://cateee.net/lkddb/web-lkddb/DRM_FBDEV_EMULATION.html11:00
rinigus@elros34: will have to look into it tonight. anyone else with sd845 - do you have framebuffer device? anything specific to enable in the kernel?11:02
rinigus@elros34: yeah, maybe that one is needed - see https://gitlab.com/sdm845-mainline/linux/-/blob/sdm845-stable/arch/arm64/configs/sdm845.config#L5411:21
T42<elros34> btw anybody tried showing splashscreen on screen using yamui? It works only for text, png is not rendered but I have old device11:32
rinigus@elros34: tried with sony tama - didn't work for it. text and progress bar work11:34
rinigus(no fb device though)11:34
T42<elros34> As  far I can see it has fallback to drm, my for suure use fbdev11:35
rinigus@elros34: now that I haven't tested it properly, just tried with sfos splash screen package11:56
poetasterpiggz: what's the status on 4.x on the volla/gs290? Soon I'll have to buy a bloody sony :<13:40
poetasterpiggz: what is your main device, if I may ask?13:41
riniguseven with `CONFIG_DRM_FBDEV_EMULATION=y` I still don't get any /dev/fb0 device on sony tama... any ideas?14:01
T42<eugenio_g7> Super-stupid question, have you checked in /dev/graphics?14:03
rinigus@eugenio_g7: no /dev/graphics on tama :( . found mal statement in the logs (framebuffer rarely works directly on modern mobile devices)14:07
rinigusI hope he's wrong14:08
T42<eugenio_g7> Sad, time to play with minui I guess :D14:08
riniguspffff... any tips on that? in principle, don't mind, just have to get some kind of example to hack around it14:09
T42<eugenio_g7> Haven't played with it yet, but have to at some point14:11
T42<eugenio_g7> yamui is the more fitting example I guess14:12
riniguslooks like it...14:13
poetasterrinigus: frame buffer hacks rock.14:33
poetasterrinigus: I was involved in weird shit like: https://en.wikipedia.org/wiki/PC_Weasel_200014:34
malrinigus: what are you trying to do?14:42
poetastermal: he's trying to use a framebuffer on a sony tama to render an interface to capture a passphrase for luks crypto14:55
poetastercool.14:55
poetasterled me to read: https://kaustav.space/2018-09-22/introduction-to-android-framebuffer (also cool)14:56
piggzpoetaster: no sensors yet ... apparently ints the first device with sensor hal 2 only15:25
piggzpain device is pro115:25
piggzs/main15:27
malpoetaster: doing the same way as official decrypt UI is not wanted?15:29
piggzmal: what does the official way use to render?15:31
poetasterpiggz: thanks. hal 2 only, hmmm.15:31
poetasterpiggz: what's a pro1?15:31
piggzpoetaster: i have a way to implement it, but mal doesnt like it, but it might have to do until we get something better :D15:31
piggzpoetaster: fxtec15:31
piggzmal: rinigus is looking ad plain sdl, and yamui iirc15:32
poetasterpiggz: thanks15:34
poetastermal: some of us 'pure' community ports guys are going to need 4.x devices. otherwise our apps will fall behind.15:35
poetastermal: no pressure :) no really, tell me what to do. I bought a second phone just for kernel stuff.15:35
piggzpoetaster: fxtec port runs 4.1 fine btw15:36
malpiggz: sailfish-minui, which is extension on top of minui15:36
piggzas do other ports...this is a voll problem15:36
poetasterpiggz: got it. mal: ignore me.15:37
malpoetaster: not sure what you meant by the earlier comments15:37
malpiggz: is that related to the sailjail issue?15:38
poetastermal: was a ref. to piggz saying you didn't like his 'work-a-round' for the volla hal 2 hack.15:38
poetastermal: vis, volla port sensors, hal 2 only15:38
malwell if you want to use that fine but it wouldn't end up in master branch of sensorfw15:39
piggzmal: no, the sensor issues15:39
poetasterguys, sorry, I'm wasting your time.15:39
poetastermal: minui question that rinigus is on is more important. I'm just 'stuck' with 3.4 and can't do proper aarch64 testing15:40
poetastermal: but being stuck is ok. I have lots to do.15:40
mallike I said, nothing prevent using the hacky sensor code on that device, just saying that the suggested way will not be added to main repo of sensorfw15:41
poetastermal: I believe that piggz is entirely of your opinion and it's MY fault that this digression is taking place. SORRY>15:42
poetasterpiggz: can you point me at the hacks?15:43
piggzso yeah, i am busy on packaging the hacky way...15:43
piggzpoetaster: for info, you can flash the 4.1 image from here to get surrent status, id appreciate some testing15:43
piggzhttps://gitlab.com/sailfishos-porters-ci/yggdrasil-ci/-/jobs/142497729715:43
poetasterpiggz: +1 will do15:44
piggzpoetaster: you have to go through some hoops first...15:44
piggzyou need to turn it into a gs290 device15:44
poetastererr, it is :)15:44
piggzfollowing the /e/ guide to convert it, then flash los1715:44
poetasterpiggz: ok, navigate to the e site, find guide, flash. I feel the pain. I do.15:45
poetasterpiggz: https://doc.e.foundation/devices/GS290/install15:46
piggzyup, that looks like what I used ... you need to flash up to the gigaset android 10 release...then los17 ontop of that15:47
poetasterpiggz: non-trivial but what the hell15:48
poetasterpiggz: so, basically, it's a lineage 17 install OR is the e part needed?15:52
piggzno, the e/ part isnt needed, you just need oem anroid 10 + los 1715:53
poetastergo it.15:53
poetasterpiggz: uh, volla os is now at 10? maybe it's easier just to use ubports?16:19
poetasterpiggz: still, non-trivial. hmmm. I'll try both.16:23
riniguscatching up after being afk for some time16:25
rinigusmal: I need some UI to allow users to enter password/passphrase that will be used either as it is to unlock LUKS or as an input to key generator using hw stored key16:26
riniguswhat makes it non-trivial for me is that it is rather early in the boot. so no qt / silica as far as I understand16:27
rinigusone way would be to use https://gitlab.com/postmarketOS/osk-sdl, but that requires framebuffer. which I don't see how to enable on tama16:28
rinigusmal: as for doing as official UI for unlocking, I wish I new how to do that using sailfish-minui... don't know where to start even16:32
T42<eugenio_g7> rinigus: if you're going to just handle home encryption I think you could use hwcomposer and silica16:32
rinigus@eugenio_g7: that's what I thought originally. but that would require reworking systemd init sequence and look how to push /home mounting further.16:33
rinigusmaybe we can also figure out UI that would work for others (UT and droidian)16:34
T42<eugenio_g7> don't remember how early /home mounting is on sfos, but perhaps with some drop-ins you can get going16:39
T42<eugenio_g7> I think jolla-startupwizard doesn't even need home mounted, but correct me if I'm wrong16:40
rinigus@eugenio_g7: I would expect that it is mounted by that time. could have also changed in time, systemd is eager to do it early these days.16:41
poetasterpiggz: is it worth trying to do you install on a volla that's updated to lineage 17.x android 10?16:41
riniguslet's see if mal pulls something out of the hat to enable fbdev on tama ... piggz seems to have few of those on sd 835, why would sdm845 be now without :(16:42
rinigus@eugenio_g7: ^16:42
poetasterrinigus: there MUST be a framebuffer approach. worst case, we write a driver :)16:42
poetasterpiggz: background is that 10 is OTA on volla as of a couple of days. I'm assuming, you 'just' need the los 17, regardless the provenance.16:45
T42<eugenio_g7> yea on 835 there are indeed, will check later on 85516:50
T42<eugenio_g7> still, something more universal would be great16:51
rinigus@eugenio_g7: you mean something like minui based?16:51
rinigusor are there some other options?16:51
T42<eugenio_g7> not that I know of, aside of using hwcomposer once the android bits have been started16:52
T42<elros34> I wonder why do you want framebuffer anyway. According to sources and output of strings sailfish-minui-gallery and yamui have drm support. I assume that osk-sdl should also support it?16:55
rinigus@elros34: what's sailfish-minui-gallery?17:00
T42<elros34> mal mentioned about it. I assume its gui for pin. It has bunch of pngs and minui like code inside closed binary17:01
rinigus@elros34: mainly want to avoid reinventing a wheel and reuse working solution. osk-sdl refused to start without fb0.17:04
T42<elros34> I would assume that sdl app can be started without fb0, maybe it just needs some additional options17:05
rinigus@elros34: maybe. I'll look around17:08
poetastersdl 2 does not support FB17:13
poetastersdl 1.2 was the last version (I'm writing an sdl 2 audio synth for sfos).17:14
poetasterpiggz: I've got the volla os 10 install (which I believe to be los 17.1?) installed (OTA) just to see if this avenue works.17:30
poetasterpiggz: should I try the sfos install?17:30
piggzpoetaster: go for it, cant hurt17:51
T42<elros34> For the record if anybody have issues with not working yamuisplash then try to resize sailfish_logo_rgb.png to match your screen size.18:44
poetasterpiggz: ok, kids to bed and I'm on it.18:54
T42<elros34> rinigus sorry looks like I was wrong about sailfish-minui-gallery, I have managed to start it after fixing one broken symlink. While I can't interact with it it doesn't looks like anythink useful19:28
rinigus@elros34: didn't managed to start hunting that yet. thanks for heads up19:30

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