Tuesday, 2021-06-29

T42<RealTheHexagon> y tho? https://paste.ubuntu.com/p/9F4fPSkVMY/ happens when doing build-packages —gg05:56
piggzlbt: ping08:46
mighty17[m]is it worth updating to 4.1 (from 3.4) considering apps and perf (and the work to change patterns into the new thing they introduced)09:03
mighty17[m]its a community port*09:03
T42<RealTheHexagon> what's holding you back?09:03
T42<RealTheHexagon> mighty17: did you get my message, because the bridge hasnt been working perfectly09:08
mighty17[m]@RealTheHexagon yup T42 (ie bridge seems to be working dine)09:25
mighty17[m]fine* also whats holding me back? the effort xD09:25
mighty17[m]and the fact i have a working 3.4 port09:26
rinigusmighty17:: you could get stuck with older apps when using old sfos. It's not trivial to support older versions and developers could just drop the support for them. OBS, when it's back, might not even have those targets09:35
cacti_chameleon10[m]Is it "easy" to port sailfish?09:40
mighty17[m]Kinda is, the guide is fairly easy to follow, but u never know what device specific issues u face09:41
mighty17[m]Also hello from sfos matrix client :D09:41
cacti_chameleon10[m]OK. I may give it a go09:42
mighty17[m]@rinigus, exactly most apps do support 3.4, but developing for newer versions takes time ig09:42
cacti_chameleon10[m]Is it a reasonable thing to try, or should I attempt something like ubports?09:42
mighty17[m]I mean i like sfos more than ubports xD09:42
cacti_chameleon10[m]Fair enough. I don't know much about sfos, but I did like ubports.09:43
cacti_chameleon10[m]Do android apps work or is that a paid feature09:43
mighty17[m]What device is it?09:43
cacti_chameleon10[m]The website is confusing09:43
cacti_chameleon10[m]<mighty17[m] "What device is it?"> A non existing one - mtc m809:43
cacti_chameleon10[m]> <@mighty17:matrix.org> What device is it?09:44
cacti_chameleon10[m] * A non existing one - htc m809:44
mighty17[m]Android apps will NOT work for community ports09:44
mighty17[m]Idk if later jolla allows alien dalvik for us as well09:44
cacti_chameleon10[m]Thats a shame. Anbox couldn't work on sailfish, could it?09:45
mighty17[m]Sorry, no clue about anbox development09:45
cacti_chameleon10[m]Fair enough09:45
mighty17[m]Apps that i need are already in sfos09:45
cacti_chameleon10[m]Is the app store (or eq.) that good?09:46
mighty17[m]Jolla app store - not so much09:46
mighty17[m]But there is openrepos.net09:46
mighty17[m]And storeman09:46
cacti_chameleon10[m]Thats more extensive than ubuntu touch (from a quick look - there are 2 apps for signal not 1)09:49
mighty17[m]There are apps for signal, telegram, matrix (im chatting from it xD), reddit etc09:50
cacti_chameleon10[m]Welp, signal is pretty much my only requirement... I may give it a go09:50
mighty17[m]All he best! Any issues feel free to ask here09:51
cacti_chameleon10[m]How well do "normal" linux apps work on slailfish, or is that not something thats done09:51
mighty17[m]Wdym by normal linux apps, sfos has zypper and rpm package managers09:51
cacti_chameleon10[m]As in say if I installed firefox - would it just work (expect ui scaling issues)09:52
mighty17[m]Ermmm.... Not so easy to explain09:53
T42<b100dian> cacti_chameleon10[m] you might want to try an existing device first, like buying a secondhand supported Sony device + install an existing community port or full Sailfish and see how it works for you09:53
mighty17[m]Plus that would give android app support as well with Sailfish X09:54
cacti_chameleon10[m]T42: That may be sensible - but if I were to do that I would probably just use that09:54
cacti_chameleon10[m]I want to know if I can use an existing device without having to buy a new one09:54
cacti_chameleon10[m]Quick question.... how do you copy commands from a pdf so the new lines are still there?09:58
T42<b100dian> If you crack that secret let met know, I don't:)10:01
mighty17[m]Well do the new lines matter?10:01
mighty17[m]Or did something change in 4.x hadk?10:02
riniguscacti_chameleon10: don't think firefox will work - we have rather old qt wayland composer. maybe something via chroot10:02
* cacti_chameleon10[m] just realised that T42 was a bridge bot10:02
cacti_chameleon10[m]mighty17: I am not sure if the new lines matter... but they are in the pdf... I just did it line by line10:03
mighty17[m]Use webcat or the default sfos browser (its gecko just like firefox)10:03
cacti_chameleon10[m]I wouldn't actually use firefox - it was a hypothetical question10:04
cacti_chameleon10[m]Do I have to use /srv/mer/?10:10
cacti_chameleon10[m]I prefer things to be in my home dir10:10
cacti_chameleon10[m]Well - it seems to be fine with it being elsewhere10:14
T42<elros34> no, you can symlink to home dir but sdk must be on partition without nodev and maybe nosuid options10:17
cacti_chameleon10[m]How would I know what options are set on a partition?10:18
cacti_chameleon10[m](nvm - I can look that up)10:19
T42<elros34> findmnt /path/to/mount/point10:20
cacti_chameleon10[m]Well neither of my partitions have that set10:21
T42<elros34> then it should be fine. BTW I think there were attempts to port sfos to m8 but I don't remember how it end up. Maybe you will find some device specific isssues and solutions in channel logs10:24
cacti_chameleon10[m]I didn't know that, does anyone else remember any details from a previous m8 port?10:25
cacti_chameleon10[m]I will look in the channel logs if something comes up10:26
cacti_chameleon10[m]Although I know already the m8 is very special with its bootloader10:26
cacti_chameleon10[m]Does sailfish os use stock devicetree(dt.img)?10:26
cacti_chameleon10[m]Also, do I run this line `sudo sed -i 's/jessie/bullseye/g' /usr/bin/ubu-chroot`?10:27
cacti_chameleon10[m]It says it should be removed with 4.2010:27
cacti_chameleon10[m]But thats not yet10:27
T42<elros34> latest release is and yes sfos do not touch dts usually10:28
cacti_chameleon10[m]OK. That should be fine then10:29
cacti_chameleon10[m]elros34: so yes to running the sed command?10:29
T42<elros34> I think but I never run it:)10:29
cacti_chameleon10[m]Well I'll run it10:30
cacti_chameleon10[m]I am sure it is fine10:30
* cacti_chameleon10[m] < https://matrix.org/_matrix/media/r0/download/matrix.org/hjbTtgzjTOPZfchpdTRrtFdO/message.txt >10:31
mighty17[m]@elros34 does 3.0 kernel work with sfos 4.1 or is there a new patch by you (after sfos3.4)10:31
T42<elros34> should be fine: http://repo.merproject.org/obs/home:/elros34:/glibc/sailfishos_4.1.0.24/armv7hl/ but I am still on older version10:34
mighty17[m]Well didn't edp17 update his samsung iirc?10:42
cacti_chameleon10[m]OK, so when running sudo inside the ubuntu chroot I get the following error:10:42
cacti_chameleon10[m]`sudo: account validation failure, is your account locked?`10:42
T42<elros34> @mighty17[m] if yes then is double fine10:43
mighty17[m]@elros34 another question, idk if this is sfos issue, but videos seem to lag10:45
mighty17[m]And shutdown doesn't work, ie the battery still drains, I need to go to twrp and shut down10:48
T42<elros34> does video player use hw decoder? For shutdown maybe enable persistent journal logging, probably something stuck10:50
mighty17[m]It's the default sfos gallery app, don't know if it has hw decoding11:11
T42<elros34> mighty17[m] not matter which apps you use check logcat for decoder initialization when you start playing video. Also start gallery with GST_DEBUG=3 or higher and search for droidvdec13:14
mighty17[m]https://pastebin.ubuntu.com/p/dRb2mrq7pT/ @elros34 no droidvdec13:30
mighty17[m]https://pastebin.ubuntu.com/p/n2TwjdCfH5/ here's microtube where the lag is pretty visible (even at 360p)13:34
mighty17[m]plus persistant journal seems to be broken https://pastebin.ubuntu.com/p/zNBf6Wr3fm/13:44
zotanDoes anyone have any z3compact tablet images? Windy Scorpion.13:54
T42<elros34> mighty17[m] like I said try with higher number/more verbose logs13:55
mighty17[m]@elros34, https://pastebin.ubuntu.com/p/mGwcPt9pbJ/ in the last part, vid starts lagging14:00
T42<elros34> what is that zNBf6Wr3fm? You don't show comman used to generate it so hard to guess14:07
mighty17[m]where is zNBf6Wr3fm? i cant find it14:08
T42<elros34> I meant https://pastebin.ubuntu.com/p/zNBf6Wr3fm/14:26
mighty17[m]well thats persistent journal broken ig14:29
mighty17[m]i went to /var/log/journal14:29
T42<elros34> so you cat it? journald use binary format for logs so you need to use journalctl to read them14:32
T42<elros34> zotan maybe you will find something at https://gitlab.com/sailfishos-porters-ci14:33
mighty17[m]Ooh didn't know I couldn't cat it, well how do I read it then14:34
mighty17[m]<T42 "<elros34> zotan maybe you will f"> Can I push Tab2 there?14:35
T42<elros34> same as aways use journalctl14:41
T42<elros34> looks like gstreamer use avdec_h264 instead droidvdec so you need to figure out why. Remove ~/.cache/gstreamer-1.0/ and try again. Also I will repeat again check logcat14:49
mighty17[m]`error: XDG_RUNTIME_DIR not set in the environment.` @elros34 should i set it to ~/.cache/gstreamer-1.0/14:55
mighty17[m]`GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "avdec_h264` https://pastebin.ubuntu.com/p/mGwcPt9pbJ/ logcat14:56
T42<elros34> Do not start gui apps as root14:56
mighty17[m]Remove ~/.cache/gstreamer-1.0/ and tried again https://pastebin.ubuntu.com/p/MPKBb6ZFgz/ still avdec_h26415:00
T42<elros34> do you even have droidvdec in gst-inspect-1.0 after removing cache? logcat means /usr/libexec/droid-hybris/system/bin/logcat, I though you already know that15:05
mighty17[m]firstly, `gst-inspect-1.0` command doesnt exist for me, and https://pastebin.ubuntu.com/p/gGwHh77HDY/ here's logcat, both the paths lead to same result15:08
T42<elros34> install it?15:09
mighty17[m]oh now i get i pasted the wrong link with logcat name, derp15:09
mighty17[m]editing will create more mess ig15:09
T42<elros34> anyway logcat is full of video decoder errors15:10
T42<elros34> or maybe they are camera related15:11
mighty17[m]https://pastebin.ubuntu.com/p/dpnhPjKJhw/ and yes i do have droidvdec15:12
mighty17[m]<elros34> or maybe they are camera related > yeah thats more likely15:12
mighty17[m]https://pastebin.ubuntu.com/p/BgmGdyYbDJ/ so many damn errors15:14
T42<elros34> there is no point to use try gallery anymore. gst-inspect shows that you are missing video/x-h264 in caps so you need to fix that first. I guess there must be some init error in logcat15:17
mighty17[m]@elros34 uhh https://en.wikipedia.org/wiki/Distributed_Codec_Engine i think this is related15:20
T42<elros34> maybe it is but not very useful for anything. I would focus on first error in your logcat: hardware/ti/omap4/domx/domx/omx_rpc/src/omx_rpc.c:153 find that file and check why it fails (maybe some permission issue)15:22
mighty17[m]@elros34 omx_rpc.c, hm there is no such file15:39
mighty17[m]atleast on device15:40
T42<elros34> obviously, source files (*.c) are not useful on device, you can find them probably in your pc15:40
mighty17[m]https://github.com/CyanogenMod/android_hardware_ti_omap4/tree/cm-13.0/domx/domx/omx_rpc/src here they are15:41
mighty17[m]err 13 is EACCES so yeah as you said permission issue15:42
T42<elros34> great now figure out which file and check permissions15:43
mighty17[m]again that probably is camera15:44
mighty17[m]`pRPCCtx->fd_omx = open("/dev/rpmsg-omx1", O_RDWR);`15:44
mighty17[m]`crw-rw----    1 drmrpc   drmrpc    253,   1 Jun 29 19:11 rpmsg-omx1`15:44
mighty17[m]@elros34 it looks like perms get reset on reboot :015:50
T42<elros34> who would have thought:) find udev rule for it in /lib/udev/rules.d/999-* and change it to something less restricted.15:51
mighty17[m]@elros34 new logcat https://pastebin.ubuntu.com/p/KMj7mb2wxr/ :D16:00
T42<elros34> so anything new in gst-inspect and logcat at the same time after removing cache?16:05
mighty17[m]https://pastebin.ubuntu.com/p/np7sPVtsjx/ yeah....16:06
mighty17[m]https://pastebin.ubuntu.com/p/JKK5hpCBWf/ still uses avdec...16:09
T42<elros34> looks better, at least caps have h264 now. Do you really have nothing new in logcat when you load video after removing cache or you just ignore it?16:16
mighty17[m]https://pastebin.ubuntu.com/p/cgbTCwh872/ @elros34 this is all that comes17:38
mighty17[m]i'll try again17:38
mighty17[m]yup all that comes is this17:39
DylanVanAsscheIf you pair a Bluetooth device with your phone you can show its device settings (Settings > Bluetooth > context menu of device > Show device settings).18:06
DylanVanAsscheIt shows then the Bluetooth profiles of the device, but I am looking for how that UI shows these profiles, where does it get those?18:06
piggzDylanVanAssche: just a hunch, but the bluez dbus api?18:34
DylanVanAsschepiggz: Possibly... Seems to match with bluetoothctl. I'm just stuck with the fact that PBAP profile is missing on the PinePhone, even with Sailfish19:02
DylanVanAsscheSame OS version on Xperia X has it19:02
T42<RealTheHexagon> Forwarded from RealTheHexagon: y tho? https://paste.ubuntu.com/p/9F4fPSkVMY/ happens when doing build-packages —gg19:38
piggzDylanVanAssche: check for installation of obexd-calldata-provider and bluez5-obexd19:40
DylanVanAsschepiggz: well both installs have it, I have a PBAP client script (pyobex) and that works fine, it seems to be an advertisement difference between hardware :) I didn't know about the obexd-calldata-provider package though.20:01
T42<elros34> @RealTheHexagon have you tried to follow advice included in your log?20:26
*** attah_ is now known as attah22:08

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