Wednesday, 2023-06-21

rinigushenk: I wonder whether you have a mix from openrepos and chum. Try to uninstall all presage related packages and install those from chum05:04
henkmal: yeah, me too /-: and things like this happen constantly to me, in all areas of life, actually o_O06:31
henkrinigus: I did not do anything yet, only list packages, but this time with zypper (because pkcon seems like it was written by a drunk idiot in the 90s) and it seems to be fine: http://ix.io/4yJu06:34
henk'zypper pa -i' does list a few packages from openrepos, though. should I generally try to get rid of those?06:35
rinigushenk: no need to get rid of unrelated openrepos packages. I don't know why you have sailfishos-chum-yggdrasil as well, but that's probably not problem. no ised why just chum and your chum variant packages are installed06:48
rinigusbut it does look messy and maybe you should ask your porter on how to handle it06:49
henkpiggz: I think that’s you for the volla/gs290, right? do you happen to have any idea what could be going wrong with presage keyboard?06:58
*** amccarthy is now known as Guest369607:02
*** amccarthy_ is now known as amccarthy07:02
henkstoreman and openrepos are still valuable, they are not deprecated or obsolete yet, right?07:05
piggzhenk: erm, no .. whats it doing?07:07
henkpiggz: I was looking for a predictive keyboard and found presage. installing it gave some troubles but we got that sorted out (see the backlog between me and mal if details on that are relevant). currently relevant: these last few lines in this chat from the last 9 hours. would you mind reading those?07:11
henk(to my mind, this sounds like asking a lot but I don’t think I can summarize the current situation much shorter anyway, so it also seems efficient … I don’t mean to act demanding or entitled!)07:12
piggz[m]just booting up the volla...07:13
rinigushenk: looking at your backlog - maybe you have to reboot to enable presage keyboard selection07:20
henkrinigus: I can select it just fine in the settings under 'text input'. and changing things there also changes what keyboard in the 'messages' app shows.07:22
henkalso, it worked for mal without reboot.07:22
rinigushenk: so it all works now for you, right?07:22
henkso I’d like to leave the reboot as the last resort to try …07:23
henkrinigus: no. it changes what the 'messages' app shows but not correctly. when I enable only presage keyboards in the settings, the messages app shows a blank (blue) area where the keyboard should be shown.07:23
rinigushenk: no idea with it. if you prefer to troubleshoot before reboot - sure. good luck with it :)07:25
henkhehe, thanks (:07:26
piggz[m]there is the maliit service that could be restarted07:32
henkhumm, where? how?07:58
henk'systemctl | grep -i maliit' doesn’t return anything08:08
piggzyeah, that fixes it....08:27
piggzsystemctl --user restart maliit-server08:27
piggzfor me ... i installed it, enabled it as the only keyboard ... it worked as a keyboard, but there were no predictions in the box above the keys08:28
henkoooh, yes, that works.08:32
henkand I get predictions08:32
henkmal, rinigus, piggz: thank you all very much for your help (:08:33
Mister_Magisterwwwwwwwwaaaaaaaaaaaaiiiiiiiiiiiiiiiiiittttttttttttttt a minute18:47
Mister_Magisterdroidmedia is fine as long as you convert the output coming after decoding/encoding back to standard raw stuff18:47
Mister_Magisterand i saw some stuff to do what in droidmedia18:47
Mister_Magisterso you could just use completely standard gstreamer everywhere18:47
Mister_Magisteror am i talking nuts18:48
Mister_Magisterlike after using vaapi to encode you still need to filter it into normal data18:48
Mister_Magistersadly i don't think there's anyone here that can answer my question so i will just have to try and see18:49
malwhich issue are you talking about?18:58
Mister_Magistermal: no issue18:59
Mister_Magisterits just that unless you're using qtmultimedia you usually don't have hw decoding, unless you do stuff I do, that is using the droidmedia elements directly. But i saw in droidmedia that there's conversion from droidmedia format to standard raw format, that way you can use standard software that uses gstreamer, in normal way, just slightly different pipeline, but i'm not sure if thats true19:00
akrosidoes VAAPI work out of the box, generally, if you install programs that use it, or are there missing drivers etc.20:17
akrosiI was actually just wondering earlier how hardware video decoding/encoding works on sailfishos—the commonly-used video player uses gstreamer to interface with kernel APIs directly, right?20:20
Mister_Magisterakrosi: n…no20:28
Mister_Magisterakrosi: vaapi works if you install proper package, but thats on desktop linux, on sfos you get droidmedia, and to use it you have to use specific gstreamer components. Droidmedia talks to android side to decode/encode video20:28
akrosiMister_Magister: right, that makes sense, I didn't expect it to be used20:32
Mister_Magisterand so far the only two apps that use that gstreamer component are sfos's qtmultimedia and my yt app20:33
akrosido the stock browsers or any others use qtmultimedia?20:34
Mister_Magisterstock browser uses droidmedia in some other way. Normal apps just use qmultimedia20:34
akrosiit sounds a bit like a similar situation to the PinePhone/allwinner & rockchip SoCs where there's no VAAPI drivers but gstreamer has a means of directly interfacing with the codecs... which works but means you're limited to gstreamer-based video players. qtmultimedia at least sounds better20:34
akrosi*sounds like a similar situation to20:35
Mister_Magisterqtmultimedia as in patched qtmultimedia to instead of using standard gstreamer pipeline, it uses droidmedia component20:35
Mister_Magister…of gstreamer20:35
akrosiif I'm understanding correctly, sailfishOS uses something of a mix of android drivers and custom interfaces directly to the kernel, right? which is... strange, but seems to work well enough, especially for devices without proper mainline support20:37
malMister_Magister: I thought only the camera side or qtmm is patched, not the codec side20:39
mal*of qtmm20:39
akrosiI mean in general, not just for video codecs20:40
akrosibased on the architecture page, for example, storage and USB is just plain old linux kernel APIs, but graphics/sound use the android HAL on the lower layers20:40
malthat architecture page describes the way most sailfish devices use things, it's also possible the do almost everything (not sure if something is not possible) using normal linux kernel APIs20:43
malfor example graphics can be done using mesa if it support the device20:45
akrosimal: that makes sense, I assume the sailfishOS ports to the pinephone/pinephone pro use the kernel APIs near exclusively, though they have... issues relating to the modem in my experience20:56
akrosiprobably in part due to lacklustre ofono support of the EG25-G though, most of the development effort has been for ModemManager20:56
malakrosi: yeah, that is the main reason for modem issues21:09
malofono qmimodem plugin hasn't been developed well enough21:10
Mister_Magistermal: decoding pretty sure it used droideglsink21:28
Mister_Magisteras i was looking at it when droideglsink changed to see how its handled21:29
Mister_Magisterotherwise every app could have hw decoding21:29
Mister_MagisterI'm the only nutcase nut enough to use droideglsink outside of sfos's qtmultimeda xd21:30
Mister_Magisteri want to experiment with hw encoding tho, sending video to gstdroidvenc, filter it to standard video, and then either save or stream it21:32
Mister_Magisterbasically current pipeline is whatever gstreamer compenents for video input -> gstdroidvdec -> droideglsink as only droideglsink accepts format coming out of gstdroidvdec21:33
Mister_Magisterin case of camera, camera is using droidcamsrc21:33
malhmm21:34
Mister_Magisterso theroetically if the filter im talking about exist you could use droidcamsrc -> droidvenc -> filter -> http stream?21:34
Mister_Magisteror source -> droidvdec -> filter -> normal apps?21:34
Mister_Magisterman i've been sitting in the droidmedia so hard lately, tempts me to update this stuff or something21:35
Mister_Magisterhttps://github.com/sailfishos/gst-droid/blob/master/gst/droidcodec/gstdroidaenc.c you can even encode audio on android side but why would anyone do that21:36
malthay is leftover from times when mp3 was not free21:36
malafaik21:36
maland maybe some other codecs could be used also like that21:36
Mister_Magistermayhaps21:37
Mister_Magisterugh i can't find the filter i was talking about now21:37
Mister_Magisterhttps://github.com/sailfishos/droidmedia/blob/master/droidmediaconvert.cpp ah this, its not in gstdroid21:37
Mister_Magisterif this exists, then it could be viable to make gstreamer element that filters the doidmedia output to normal raw format?21:38
Mister_Magisterand that would make everything 10x less pain21:38
Mister_Magisteri stopped poopin on droidmedia as i learned that vaapi is also poop so droidmedia gstreamer plugin isn't that bad of idea…?21:39
Mister_Magisterbut we need the filter to bring it backk to standard world21:39
Mister_Magisterif i'm talking like nutcase please tell me21:40
malI should probably have a look at gst-droid to see if things could be done in some different way21:41
Mister_Magistermal: like let me brak it down. Basically the idea is sound, we take some source, it get passed to droidvdec, nothing else but qtmultimedia can use it because of that, so we patch qtmultimedia so that it can use it, and any app that doesn't use our patched qtmultimedia or droideglsink can't use hw encoding, decoding or camera. But if we converted it bas to raw standard video, then we wouldn't have to patch qmultimedia, just gstreamer21:44
Mister_Magisterto use our custom pipeline by default (currently it only defaults to droidvdec) and then, no qtmultimedia patching and everything that uses gstreamer can… just use it, along with gstlaunch21:44
Mister_Magisterthe only problem thats left is the camera21:45
Mister_Magisteridk how controling camera works over gstreamer21:45
malintesting that there no mention of droidegl in qtmm21:49
Mister_Magisterye inded21:49
Mister_Magistercan u throw me a link?21:49
malto where?21:52
Mister_Magistermal: https://github.com/sailfishos/nemo-qtmultimedia-plugins21:53
Mister_Magisterthis one uses it21:53
malah21:54
Mister_Magisterspeaking of which, i wonder where is QPlatformNativeInterface21:57
Mister_Magisterapparently gui-private21:58
akrosiMister_Magister: what's so bad about vaapi?22:01
Mister_Magisterakrosi: don't ask me i'm not vaapi dev22:01
akrosiyou said "i stopped poopin on droidmedia as i learned that vaapi is also poop"22:02
akrosiit never seemed too bad to me as a standard or interface as an end user, though my radeon video decoders on my laptop are rather mediocre... can't even handle 5k 60fps HEVC22:03
Mister_Magisterthats what ffmpeg devs told me22:05
Mister_Magisterk sfos is trolling me again. No package that this https://github.com/sailfishos/nemo-qtmultimedia-plugins requires, contains QPlatformNativeInterface22:12

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