rinigus | I wonder whether we are expected to have fb0 available on hybris devices. looks to be missing on sony tama... | 09:23 |
---|---|---|
piggz | rinigus: ive 0,1,2 | 10:26 |
piggz | (pro1) | 10:26 |
piggz | trying 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/tueuttieowosfhvnsmwksmvvnrsoq | 10:38 |
rinigus | piggz: via SDL app - https://gitlab.com/postmarketOS/osk-sdl | 10:41 |
rinigus | I wonder what I am missing on sony.... | 10:41 |
piggz | rinigus: oh, i thought youd choose yamui | 10:42 |
rinigus | piggz: 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 |
rinigus | in 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.html | 11: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#L54 | 11: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 device | 11:32 |
rinigus | @elros34: tried with sony tama - didn't work for it. text and progress bar work | 11:34 |
rinigus | (no fb device though) | 11:34 |
T42 | <elros34> As far I can see it has fallback to drm, my for suure use fbdev | 11:35 |
rinigus | @elros34: now that I haven't tested it properly, just tried with sfos splash screen package | 11:56 |
poetaster | piggz: what's the status on 4.x on the volla/gs290? Soon I'll have to buy a bloody sony :< | 13:40 |
poetaster | piggz: what is your main device, if I may ask? | 13:41 |
rinigus | even 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 |
rinigus | I hope he's wrong | 14:08 |
T42 | <eugenio_g7> Sad, time to play with minui I guess :D | 14:08 |
rinigus | pffff... any tips on that? in principle, don't mind, just have to get some kind of example to hack around it | 14:09 |
T42 | <eugenio_g7> Haven't played with it yet, but have to at some point | 14:11 |
T42 | <eugenio_g7> yamui is the more fitting example I guess | 14:12 |
rinigus | looks like it... | 14:13 |
poetaster | rinigus: frame buffer hacks rock. | 14:33 |
poetaster | rinigus: I was involved in weird shit like: https://en.wikipedia.org/wiki/PC_Weasel_2000 | 14:34 |
mal | rinigus: what are you trying to do? | 14:42 |
poetaster | mal: he's trying to use a framebuffer on a sony tama to render an interface to capture a passphrase for luks crypto | 14:55 |
poetaster | cool. | 14:55 |
poetaster | led me to read: https://kaustav.space/2018-09-22/introduction-to-android-framebuffer (also cool) | 14:56 |
piggz | poetaster: no sensors yet ... apparently ints the first device with sensor hal 2 only | 15:25 |
piggz | pain device is pro1 | 15:25 |
piggz | s/main | 15:27 |
mal | poetaster: doing the same way as official decrypt UI is not wanted? | 15:29 |
piggz | mal: what does the official way use to render? | 15:31 |
poetaster | piggz: thanks. hal 2 only, hmmm. | 15:31 |
poetaster | piggz: what's a pro1? | 15:31 |
piggz | poetaster: i have a way to implement it, but mal doesnt like it, but it might have to do until we get something better :D | 15:31 |
piggz | poetaster: fxtec | 15:31 |
piggz | mal: rinigus is looking ad plain sdl, and yamui iirc | 15:32 |
poetaster | piggz: thanks | 15:34 |
poetaster | mal: some of us 'pure' community ports guys are going to need 4.x devices. otherwise our apps will fall behind. | 15:35 |
poetaster | mal: no pressure :) no really, tell me what to do. I bought a second phone just for kernel stuff. | 15:35 |
piggz | poetaster: fxtec port runs 4.1 fine btw | 15:36 |
mal | piggz: sailfish-minui, which is extension on top of minui | 15:36 |
piggz | as do other ports...this is a voll problem | 15:36 |
poetaster | piggz: got it. mal: ignore me. | 15:37 |
mal | poetaster: not sure what you meant by the earlier comments | 15:37 |
mal | piggz: is that related to the sailjail issue? | 15:38 |
poetaster | mal: was a ref. to piggz saying you didn't like his 'work-a-round' for the volla hal 2 hack. | 15:38 |
poetaster | mal: vis, volla port sensors, hal 2 only | 15:38 |
mal | well if you want to use that fine but it wouldn't end up in master branch of sensorfw | 15:39 |
piggz | mal: no, the sensor issues | 15:39 |
poetaster | guys, sorry, I'm wasting your time. | 15:39 |
poetaster | mal: minui question that rinigus is on is more important. I'm just 'stuck' with 3.4 and can't do proper aarch64 testing | 15:40 |
poetaster | mal: but being stuck is ok. I have lots to do. | 15:40 |
mal | like 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 sensorfw | 15:41 |
poetaster | mal: I believe that piggz is entirely of your opinion and it's MY fault that this digression is taking place. SORRY> | 15:42 |
poetaster | piggz: can you point me at the hacks? | 15:43 |
piggz | so yeah, i am busy on packaging the hacky way... | 15:43 |
piggz | poetaster: for info, you can flash the 4.1 image from here to get surrent status, id appreciate some testing | 15:43 |
piggz | https://gitlab.com/sailfishos-porters-ci/yggdrasil-ci/-/jobs/1424977297 | 15:43 |
poetaster | piggz: +1 will do | 15:44 |
piggz | poetaster: you have to go through some hoops first... | 15:44 |
piggz | you need to turn it into a gs290 device | 15:44 |
poetaster | err, it is :) | 15:44 |
piggz | following the /e/ guide to convert it, then flash los17 | 15:44 |
poetaster | piggz: ok, navigate to the e site, find guide, flash. I feel the pain. I do. | 15:45 |
poetaster | piggz: https://doc.e.foundation/devices/GS290/install | 15:46 |
piggz | yup, that looks like what I used ... you need to flash up to the gigaset android 10 release...then los17 ontop of that | 15:47 |
poetaster | piggz: non-trivial but what the hell | 15:48 |
poetaster | piggz: so, basically, it's a lineage 17 install OR is the e part needed? | 15:52 |
piggz | no, the e/ part isnt needed, you just need oem anroid 10 + los 17 | 15:53 |
poetaster | go it. | 15:53 |
poetaster | piggz: uh, volla os is now at 10? maybe it's easier just to use ubports? | 16:19 |
poetaster | piggz: still, non-trivial. hmmm. I'll try both. | 16:23 |
rinigus | catching up after being afk for some time | 16:25 |
rinigus | mal: 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 key | 16:26 |
rinigus | what makes it non-trivial for me is that it is rather early in the boot. so no qt / silica as far as I understand | 16:27 |
rinigus | one way would be to use https://gitlab.com/postmarketOS/osk-sdl, but that requires framebuffer. which I don't see how to enable on tama | 16:28 |
rinigus | mal: 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 even | 16:32 |
T42 | <eugenio_g7> rinigus: if you're going to just handle home encryption I think you could use hwcomposer and silica | 16: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 |
rinigus | maybe 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 going | 16:39 |
T42 | <eugenio_g7> I think jolla-startupwizard doesn't even need home mounted, but correct me if I'm wrong | 16: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 |
poetaster | piggz: is it worth trying to do you install on a volla that's updated to lineage 17.x android 10? | 16:41 |
rinigus | let'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 |
poetaster | rinigus: there MUST be a framebuffer approach. worst case, we write a driver :) | 16:42 |
poetaster | piggz: 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 855 | 16:50 |
T42 | <eugenio_g7> still, something more universal would be great | 16:51 |
rinigus | @eugenio_g7: you mean something like minui based? | 16:51 |
rinigus | or 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 started | 16: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 binary | 17: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 options | 17:05 |
rinigus | @elros34: maybe. I'll look around | 17:08 |
poetaster | sdl 2 does not support FB | 17:13 |
poetaster | sdl 1.2 was the last version (I'm writing an sdl 2 audio synth for sfos). | 17:14 |
poetaster | piggz: 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 |
poetaster | piggz: should I try the sfos install? | 17:30 |
piggz | poetaster: go for it, cant hurt | 17: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 |
poetaster | piggz: 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 useful | 19:28 |
rinigus | @elros34: didn't managed to start hunting that yet. thanks for heads up | 19:30 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!