T42 | M4rcosG4briel was added by: M4rcosG4briel | 05:15 |
---|---|---|
rinigus | Morning! For ports that can boot but without gui, do we have already some systemd unit that enables rndis and telnet? Not in recovery but full system. | 06:45 |
T42 | <DylanVanAssche> mal: Some progress on the V4L stuff! Jolla Camera starts without showing the weird input but from the camera instead. The input is blank and I hear the camera ticking (trying to start/focus?). Reading the camera feed fails with QtMultimedia because of this: https://bin.disroot.org/?ac92249050ce84af#PzBtUdEPU2Q4L1AqV3Q2fKw8r+EeD | 07:00 |
T42 | i3XWHx5YEiUpA0= | 07:00 |
T42 | <DylanVanAssche> Manually creating a pipeline works with gst-launch. | 07:00 |
vknecht | password protected paste ? :-) | 07:24 |
T42 | <DylanVanAssche> vknecht: No :P that's possible to enable that, but I didn't | 07:24 |
vknecht | well, can't open it, even appending i3... to the url | 07:26 |
T42 | <DylanVanAssche> vknecht: That's weird :O works fine here :) I will use another pastebin :) | 07:27 |
T42 | <DylanVanAssche> vknecht: https://paste.mozilla.org/AHSw69OM | 07:28 |
vknecht | thx, not that I can help on that one... | 07:33 |
T42 | <DylanVanAssche> vknecht: Native v4l instead of droid stuff is a bit unknown. I searched already a lot on these errors on the web, but nothing to find about it :P | 07:34 |
vknecht | I became wary of those "Locale '0' is not set, defaulting to C locale" message, tho, seemed to induce strange problems | 07:37 |
vknecht | using testing repo instead of devel helped | 07:38 |
T42 | <DylanVanAssche> vknecht: That's when you launch it from a terminal, mostly related to translations and localization stuff. | 07:38 |
rinigus | To rephrase my earlier question: how can I run test programs on device to check why gui doesn't start? | 08:26 |
abranson | @DylanVanAssche: it'd definitely not managing to set some parameters in the camera there, like focus. could be that we're hardcoded to droidcamsrc there? otherwise there's the video sink - might need some changes in qtmm to use whatever video output component is available there, and make sure the buffers can get from the camerabin viewfinder sink to that? | 09:41 |
T42 | <DylanVanAssche> abranson: Probably, the settings aren't working at all since media-ctl configuration isn't supported by Qt. pmOS devs are working on supporting these things with libcamera. However, the video sink should work if you configure the camera first with media-ctl. I will ask other OS devs with Qt if they can use it with Qt, maybe an | 09:54 |
T42 | update to the v4l plugin of Qt is needed | 09:54 |
abranson | i really need to get me one of these pinephones... | 10:14 |
abranson | any luck with video playback btw? might be a smaller step to get that working first. camera viewfinder depends on more hal stuff. | 10:15 |
T42 | <DylanVanAssche> abranson: orders for the brave heart editions are almost open I think. Really awesome stuff :) I haven't looked into video playback yet. | 10:17 |
abranson | that will at least make sure that qtmm can use the videooutput, whatever that is. i guess that would be v4l too | 10:18 |
abranson | hw codecs would also come from there. i think there are v4l dev nodes for those | 10:19 |
T42 | <DylanVanAssche> abranson: According to pmOS devs: Qt and other frameworks enumerate the frame size. They pick thr highest one, but some are just not working. Manually configuring, works | 11:51 |
T42 | <DylanVanAssche> abranson: https://paste.mozilla.org/Aiqucwbn | 12:52 |
T42 | <DylanVanAssche> Jolla Gallery with a sample video from: https://sample-videos.com/ (mp4, 1280x720, 30 Mb) | 12:52 |
T42 | <DylanVanAssche> `-plugins-bad` and `-plugins-good` are installed though | 12:52 |
abranson | both of those usually come from gst-droid :) | 12:52 |
T42 | <DylanVanAssche> abranson: hmmm so for native support, we will have a lot of work to do :S | 12:53 |
mal | why does't it find the codec? | 12:54 |
abranson | mal: this is on the pinephone I think? no droid codecs | 12:54 |
T42 | <DylanVanAssche> abranson: on the PinePhone indeed, however, these packages are available and installed? | 12:54 |
abranson | gst-droid won't work - it uses droidmedia to package up stagefright codecs through hybris for gstreamer. it's all just not there, and should be either. | 12:55 |
abranson | you could use gst-libav for aac, sw ffmpeg | 12:56 |
abranson | but for mobile devices you really need hw codecs. even decoding on these chips isn't fast enough, let alone keeping up with a video recording | 12:56 |
abranson | iirc mal, didn't you find some v4l nodes for hw video codecs on another device? i guess they'll actually work on the pine | 12:57 |
T42 | <DylanVanAssche> abranson: I suppose that native Linux would have support for hw decoding | 12:57 |
abranson | yeah | 12:58 |
T42 | <DylanVanAssche> `gstreamer1.0-libav` just returns `Bus error` and crashes `jolla-gallery` | 12:58 |
abranson | it's not in sfos yet. where did you get it from? | 12:58 |
T42 | <DylanVanAssche> native-common: https://paste.mozilla.org/xHd2Fcej | 12:59 |
abranson | dunno who built that. it should work though - just sw codecs | 13:02 |
mal | abranson: yes, there should be codec video nodes but maybe something is not finding those | 13:02 |
abranson | so if there are errors then that might be the video output? | 13:02 |
mal | does QtMultimedia even support that | 13:02 |
abranson | mal: what should find them? i don't think we have any support for non-droid hw codecs | 13:02 |
abranson | mal: might need to turn more of those v4l gst plugins on | 13:03 |
mal | abranson: v4l backend of something, maybe gst has such backend | 13:03 |
abranson | really need to get that 1.16 in :) | 13:03 |
mal | abranson: https://github.com/GStreamer/gst-plugins-good/blob/master/sys/v4l2/gstv4l2videodec.c | 13:03 |
abranson | mal: there are extra components to that if you remember. | 13:04 |
abranson | disable-gst_v4l2 is in our current gst-good build | 13:05 |
mal | abranson: yes, maybe it could work in 1.14 also if that is enabled | 13:05 |
abranson | there's also v4l2-probe and v4l2-libv4l2 which is disabled in 1.16 too | 13:06 |
abranson | lots to play around with | 13:06 |
T42 | <DylanVanAssche> abranson: I enabled in a local build v4l2 support (1.14), that's why I can capture manually picture by creating a gst pipeline | 13:06 |
mal | https://gstreamer.freedesktop.org/documentation/tutorials/playback/hardware-accelerated-video-decoding.html?gi-language=c | 13:06 |
abranson | there may also be ffmpeg hw accel | 13:06 |
mal | @DylanVanAssche can you show output gst-inspect | 13:06 |
abranson | that might work here | 13:06 |
T42 | <DylanVanAssche> mal: I need to find which package it has since gstreamer-tools doesn't provide that one :( | 13:08 |
abranson | also, I recently enabled dumping the gst graph in qtmultimedia. if that version is being used then you can do this: https://embeddedartistry.com/blog/2018/2/22/generating-gstreamer-pipeline-graphs | 13:08 |
mal | abranson: yes, ffmpeg also have v4l codec support | 13:08 |
T42 | <DylanVanAssche> abranson: Indeed, I use gst-plugins-good with v4l hw support | 13:08 |
mal | @DylanVanAssche it's in tools, it's gst-inspect1.0 or something like that | 13:08 |
abranson | gst-inspect-1.0 should be in gstreamer1.0-tools | 13:08 |
T42 | <DylanVanAssche> abranson: Forgot about that :O need to check if we have those here | 13:08 |
T42 | <DylanVanAssche> mal: Oh typo by me! | 13:09 |
T42 | <DylanVanAssche> mal: http://ix.io/1ZXF | 13:09 |
mal | can you get details of v4l2sink and v4l2src, or video4linux2 in general | 13:11 |
T42 | <DylanVanAssche> video4linux2: http://ix.io/1ZXG | 13:13 |
T42 | <DylanVanAssche> v4l2sink: http://ix.io/1ZXH | 13:13 |
T42 | <DylanVanAssche> v4l2src: http://ix.io/1ZXJ | 13:13 |
abranson | ooh nice | 13:13 |
abranson | looks like that sink can take mpeg2,4, h263, h264 directly :D | 13:15 |
abranson | radio tuner too! | 13:16 |
T42 | <DylanVanAssche> abranson: Yeah native Linux is nice :P | 13:17 |
T42 | <DylanVanAssche> v4l2radio: http://ix.io/1ZXL | 13:17 |
abranson | getting the media player using that for fm should be on the end of the priority list somewhere :D | 13:22 |
T42 | <DylanVanAssche> abranson: hahah sure :) however, FM radio is not supported by the hardware on the PinePhone, if the CPU supports, it there's no wiring to make it actually work :P | 13:23 |
T42 | <DylanVanAssche> Anyway, the graph stuff, is it already in the 3.1.0.12 release? | 13:23 |
abranson | I don't think so | 13:23 |
T42 | <DylanVanAssche> but* | 13:23 |
T42 | <DylanVanAssche> Will build it on OBS then :) | 13:23 |
abranson | for video playback I think this is the problem: https://git.merproject.org/mer-core/nemo-qtmultimedia-plugins/blob/master/src/videotexturebackend/videotexturebackend.cpp#L537 | 13:24 |
T42 | <DylanVanAssche> Probably, there's no native support in there to create a v4l pipeline or something | 13:25 |
abranson | no, but that whole thing might not be needed on a native device. is it installed? | 13:29 |
abranson | and is v4l enabled in your qtmm? | 13:30 |
T42 | <DylanVanAssche> abranson: v4l disable thing in the qtmm spec is removed, so v4l is enabled. | 13:31 |
T42 | <DylanVanAssche> I would think that instead of droideglsink, something else must be there. If that's done, it should workTM. | 13:31 |
T42 | <elros34> there is glimagesink I used it with gst-launch | 13:33 |
abranson | what we're missing is what sets the gst element for the qt VideoOutput | 13:39 |
abranson | that plugin is what's used on a hybris system, but where is that chosen in qtmm | 13:40 |
T42 | <elros34> I mean its worth to test whether decoding works with just gst-launch and glimagesink | 13:41 |
T42 | <DylanVanAssche> @elros34 Is this what you mean: | 13:44 |
T42 | <DylanVanAssche> `gst-launch-1.0 -v v4l2src device=/dev/video0 ! glimagesink async=false enable-last-sample=false qos=false sync=false` ? | 13:44 |
T42 | <DylanVanAssche> Got it from here: https://developer.ridgerun.com/wiki/index.php?title=IMX8/Multimedia/Gstreamer_Support/Pipeline_Examples | 13:44 |
T42 | <elros34> I think this should be enough: gst-launch-1.0 -v playbin uri=file:///video.mp4 video-sink=glimagesink | 13:45 |
T42 | <DylanVanAssche> @elros34 http://ix.io/1ZYo | 13:47 |
abranson | that's using gst-libav for the h264 | 13:51 |
T42 | <elros34> rank for v4l2 is 0 | 13:51 |
T42 | <elros34> or just lower than libav | 13:52 |
abranson | yeah | 13:55 |
abranson | Dylan: do you have nemo-qtmultimedia-plugins-gstvideotexturebackend installed? i think you shouldn't | 13:57 |
T42 | <DylanVanAssche> abranson: I do ... | 13:57 |
abranson | that looks to be purely gst-droid wrapping. maybe if you removed it, then the factory wouldn't find it and it would default to something from the gsttools set | 13:58 |
T42 | <DylanVanAssche> abranson: Sure? https://paste.mozilla.org/OUb0mUwZ | 13:59 |
T42 | <DylanVanAssche> A lot of stuff is depending on it | 13:59 |
abranson | lol | 13:59 |
abranson | everything ui | 14:00 |
T42 | <DylanVanAssche> Yep :P | 14:00 |
T42 | <DylanVanAssche> Maybe this can do the same in this case: `devel-su rm -r /` | 14:00 |
abranson | must be just one of those explosing | 14:00 |
abranson | lipstick maybe | 14:00 |
T42 | <DylanVanAssche> abranson: It's impossible to remove the package :( | 14:06 |
abranson | looks like sailfish-components-media-qt5 is the culprit, but it shouldn't break in your case if you remove that dependency | 14:13 |
abranson | in a forcey kind of way ;) | 14:13 |
T42 | <DylanVanAssche> abranson: So removing the nemo-qtmultimedia-plugins-gstvideotexturebackend package or the sailfish-components-media-qt5? | 14:14 |
abranson | gstvideotexturebackend with --nodeps | 14:14 |
abranson | as far as I can see gstvideotexturebackend isn't directly used in there. just brought in. | 14:15 |
T42 | <DylanVanAssche> —nodeps isn't possible for zypper, pkcon? | 14:15 |
abranson | rpm | 14:34 |
T42 | <DylanVanAssche> abranson: Now it doesn't use droideglsink anymore, just crashes with a Bus error | 14:39 |
abranson | progress! :D | 14:39 |
abranson | any more info to that bus error? | 14:39 |
T42 | <DylanVanAssche> Not yet, increasing GST_DEBUG level atm | 14:40 |
abranson | i shouldn't think we'd have to make an alternative non-droid version using those v4l elements instead. you'd think standard stuff like that would work anyway | 14:40 |
abranson | as on desktops | 14:40 |
abranson | but I think it's qt debug you'll want | 14:40 |
T42 | <DylanVanAssche> abranson: it should be like on desktops, indeed. Generating a pastebin of the GST_DEBUG=4, but seems fine IMHO. Will check the Qt one now | 14:43 |
T42 | <DylanVanAssche> abranson: http://ix.io/1ZYO with Qt logging enabled | 14:49 |
abranson | that doesn't look very broken | 14:51 |
T42 | <DylanVanAssche> With GST_DEBUG=4 also enabled: http://ix.io/1ZYQ | 14:51 |
T42 | <DylanVanAssche> abranson: That's what I think too :P | 14:53 |
abranson | i see qgstvideorenderersink0 in there but no v4l | 14:53 |
abranson | but "pad has no peer" | 14:53 |
abranson | if you get that graph dumping working, that would be useful | 14:54 |
T42 | <DylanVanAssche> I have it working :) | 14:54 |
T42 | <elros34> iirc qtmultimedia also use playbin so if gst_launch doesn't pick up correct decoder it will not work anyway. Why don't you just try simple pipeline with v4l2dec? | 14:56 |
T42 | <DylanVanAssche> @elros34 I can give it a try | 14:57 |
T42 | <DylanVanAssche> @elros34 `gst-launch-1.0 -v v4l2dec uri=file:///video.mp4 video-sink=glimagesink` —> ERROR: pipeline could not be constructed: no element "v4l2dec". | 15:00 |
T42 | <elros34> clearly there is no v4l2dec. Is that A64? Isn't cedrus used on sunxi devices? | 15:04 |
T42 | <DylanVanAssche> Yes it's an A64, cedrus should be used on sunxi device | 15:04 |
T42 | <elros34> it might be not that easy as using v4l2dec https://linux-sunxi.org/Sunxi-Cedrus | 15:13 |
T42 | <DylanVanAssche> Hmmmm will check with the other devs who are working with the A64 stuff | 15:15 |
T42 | <DylanVanAssche> Maybe they have something already with cedrus | 15:15 |
abranson | with gst-libav you should get sw decoding to test the sink though | 15:23 |
abranson | two things to get working - the hw decoder and the video output sink | 15:23 |
T42 | <DylanVanAssche> abranson: true, will see where I get and report if I have something new :) | 15:27 |
xreactx[m]__ | deathmist: I sent you a PM | 15:53 |
deathmist | mal: should I try upstream ofono as on hybris-16.0 it just fails super hard on my phone and spams my logs like crazy with stuff like "Unexpected data call status 4100" & "Skipping disconnect of /ril_0, network is connecting." | 17:04 |
mal | deathmist: I doubt updating ofono helps | 17:14 |
mal | could be some configuration issue, are you using the ofono binder plugin? | 17:15 |
deathmist | mal: yes I am, pre-downgraded to 1.0.7 to make build happy https://git.io/JeEj4 (btw that exact version functions perfectly fine on hybris-15.1) | 17:16 |
piggz | g'd evening | 17:45 |
piggz | mal: did you rebase the tidy up pr? | 17:45 |
vknecht | o/ | 17:45 |
mal | piggz: yes | 17:48 |
mal | piggz: what shall we do with the semicolons in javascript code? | 17:49 |
piggz | mal: im not sure. my preference is to keep them, cos im used to c++ ... qt/sailfish says differently tho! | 17:50 |
mal | piggz: if we keep those then we can't use the automatic formatting tool in sdk | 17:51 |
piggz | mal: lets remove them and ill get used to it | 17:54 |
piggz | i dunt suppose we do anything that will trigger errors becuase of it | 17:55 |
vknecht | see anything wrong in this attempt to connect a fsoperations signal to storagemodel slot ? https://paste.mozilla.org/iE8xw8ju | 17:55 |
piggz | mal: https://bugreports.qt.io/browse/QTCREATORBUG-20669 | 17:56 |
vknecht | sent that in pr anyway, please check and advise | 18:00 |
vknecht | still under the impression that signals don't get to SettingsOverlay, but in CameraUI it's ok | 18:01 |
piggz | vknecht: buttonPanel enabled property is set depending on panels being open, would that cause a problem? | 18:04 |
vknecht | ah, maybe ? | 18:05 |
piggz | do signals get delivered to disbaled items? | 18:05 |
vknecht | I'm not that experienced in Qt, maybe that's why | 18:05 |
vknecht | commented/forced-true "enabled: !panelOpen" doesn't seem to help | 18:19 |
vknecht | but first step is to get storagemodel re-populated when fsoperations::writablelocation fails on not-present-anymore-sdcard/usb-mount | 18:27 |
vknecht | hopefuly the dockedlistview will catch the model change automagically... | 18:27 |
vknecht | I guess the best/cleanest way would be to catch the mount-removal with dbus as soon as it happens (rather than discovering the change at the last moment) but I'm not there yet | 18:31 |
vknecht | (so there would be no need coupling fsoperation and storagemodel, which is not so nice architecturally speaking ?) | 18:31 |
mal | piggz: ok, let me know if there something else you found in that cleanup PR | 18:40 |
xreactx[m]__ | Warning[10/27 20:19:04] : repo problem: nothing provides draoi-hal-guacamole-detritus needed by pattern:jolla-hw-adaptation-guacamole-1-1.noarch, | 20:32 |
xreactx[m]__ | is detritus needed? | 20:32 |
deathmist | xreactx[m]__: yes since you added straggler files, right? :) | 20:36 |
xreactx[m]__ | i did as you said, but that error comes up | 20:37 |
deathmist | build_packages -d then build_packages -c and attempt mic build again I think | 20:38 |
xreactx[m]__ | still the same issue... i read somewhere it was required | 20:44 |
T42 | <BusterBg_18> deathmist: besides changing your .rc files what else you did to get GUI? | 20:45 |
xreactx[m]__ | wasnt*** | 20:45 |
mal | show the droid-hal spec file | 20:47 |
xreactx[m]__ | https://pastebin.com/fYLs4CyJ | 20:48 |
deathmist | @BusterBg_18 is droid-hal-init not failing now for you? | 20:50 |
T42 | <BusterBg_18> I haven't tested the new build I did with your .rc files | 20:51 |
T42 | <BusterBg_18> I'm gonna try it when I get home in a few minutes | 20:52 |
deathmist | YAYY WLAN works on 16.0 when built as a module \o/ | 21:01 |
vknecht | cheers :-) | 21:02 |
deathmist | damn do I have to load BT manually too now or something? I don't have anything in rfkill :/ | 21:03 |
deathmist | it worked before seemingly fine on last build | 21:04 |
piggz | mal: what is droid-system-device ? | 21:10 |
mal | deathmist: do you have bluebinder setup? | 21:10 |
deathmist | mal: I should, I only changed defconfig and rebuilt hybris-hal, droid-hal packaging and did a new mic image build and on the build before BT worked nice | 21:12 |
mal | piggz: that is for devices (official ones) which package /system and /vendor to rpms | 21:13 |
deathmist | ok bluebinder service was just dead, after a simple service restart it works, guess I'll make it load after my "modprobe wlan" unit is done unless I get it to work as a built-in again like on 15.1 :p | 21:15 |
mal | xreactx[m]__: wondering why that doesn't work, only difference is that you have spaces before and after the path, compare to this https://github.com/mlehtima/droid-hal-fp2-sibon/blob/master/droid-hal-fp2-sibon.spec#L18 | 21:17 |
mal | deathmist: did you have any progress with ofono, I wonder which version of the ofono binder plugin you should use, I would have used 1.0.6 which is the one normally in sfos 3.1.0 | 21:20 |
deathmist | I don't think using an even older version would help especially when considering 1.0.7 worked on 15.1 flawlessly for me, I'll look into it tomorrow | 21:21 |
xreactx[m]__ | I had detritus problem for a while. I just removed it. I thought I read somewhere that it wasn't require if the last "%include" line was present | 21:22 |
mal | xreactx[m]__: you will probably need it | 21:23 |
mal | xreactx[m]__: you never change the last line in that spec file, never | 21:24 |
xreactx[m]__ | mal: i didnt mean change the last line... i meant i thought i read somewhere that detritus isnt required if the last line was there | 21:25 |
mal | xreactx[m]__: that makes no sense at all | 21:25 |
mal | those are not in any way related things | 21:25 |
mal | the last line of the file is always the same | 21:26 |
xreactx[m]__ | i'm saying "i thought i read that somewhere"... i definitely wrong about that if youre saying its required | 21:26 |
mal | xreactx[m]__: I suggest you try to change the formatting to match the link I gave | 21:26 |
mal | xreactx[m]__: I'm quite sure straggler files is always needed on 16.0 base | 21:26 |
xreactx[m]__ | mal: i'm not arguing with you... i just said i thought i read that somewhere | 21:29 |
xreactx[m]__ | Formatting was from deathmist | 21:29 |
xreactx[m]__ | But I have revised it | 21:29 |
deathmist | yeah those definitely work, I get no errors my self so it's not the formatting, maybe some local cache file that's causing an issue? | 21:30 |
deathmist | xreactx[m]__: if the detritus package got built your should have it in your local repo, check if "cd $ANDROID_ROOT/droid-local-repo/$DEVICE/droid-hal-$DEVICE && ls *detritus*; cd -" lists it | 21:33 |
mal | deathmist: ok, maybe build_packages.sh -d is not really doing what it's supposed to do then | 21:33 |
mal | xreactx[m]__: did you add detritus to patterns? it's not needed there anymore because of https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L171 | 21:34 |
mal | that means detritus is used automatically if straggler files is present | 21:34 |
xreactx[m]__ | Yes. I added it to my patterns | 21:36 |
xreactx[m]__ | That's what I meant when I said I removed it | 21:36 |
mal | xreactx[m]__: but still it should have been built, do what deathmist said in his previous message | 21:44 |
deathmist | seems ofono & connman both go crazy when I toggle on cellular data, I'll have to test if calls etc work normally or if it's just data that is broken | 21:56 |
deathmist | debugging just became SOOO much easier after I got WLAN working and can actually SSH in since telnet is broken for some reason, I've tried a few different combinations of GSI, RMNET, RNDIS etc options but I just get nothing each time | 21:57 |
xreactx[m]__ | I'll have to check later. My build only fails when I add it to my jolly-hw-adaptation-guacamole.yaml | 21:57 |
xreactx[m]__ | So detritus is not required in there? | 21:58 |
deathmist | xreactx[m]__: could you run "ls $ANDROID_ROOT/droid-local-repo/$DEVICE/droid-hal-$DEVICE/*detritus*" so we know if the package is even built? | 21:59 |
xreactx[m]__ | I'll have to do it later. I'm away from my PC | 21:59 |
deathmist | alright, no problem. I'll be going soon too :p today was a very productive day for my hybris-16.0 rebase and I'm very happy with the current progress | 22:00 |
deathmist | btw does "vendor.livedisplay-hal-2-0" service from LineageOS do anything in/for SFOS? I just disabled it and don't see anything changed really, sources https://git.io/JeuJH | 22:05 |
mal | deathmist: now that you have UI working you might want to change the usb configs back and see what happens | 22:06 |
vknecht | livedisplay, that's for "redshift" / less-blue for eye saving methinks | 22:08 |
vknecht | *eyes (unless, you know...) | 22:08 |
deathmist | yes I know lol but does it even work properly in SFOS? I haven't noticed it before or seen a setting for it unless I'm actually blind | 22:08 |
mal | sfos doesn't have any redshift or such support currently | 22:09 |
vknecht | that could be done in hal, so done-without-sfos-knowing, couldn't it ? | 22:10 |
mal | maybe, not sure how that is done in android | 22:10 |
vknecht | ah, found the link I was thinking about: https://github.com/tanish2k09/KLapse-Livedisplay/ | 22:11 |
vknecht | a specific form/implementation of it, but iiuc could work even in sfos | 22:12 |
T42 | <BusterBg_18> Jesus damn I still cant get to guihttps://pastebin.com/RgA17Tq4 | 22:14 |
deathmist | @BusterBg_18 the droid-hal-early-init.sh implementation I used was useless, seems the other .mount unit solution doesn't work either. if you grep "/system/etc/ld.config.28.txt" for hybris and it isn't there currently without you doing manually something after boot, just replace it with a hard copy instead for now | 22:17 |
deathmist | and after replacing it in /system with the patched version restart ofc to see if lipstick loads | 22:18 |
T42 | <BusterBg_18> Well the problem is that for me the fil is ld.config.vnkd_lite.txt I forgot to change that | 22:19 |
deathmist | for me none of the current bind mount solutions haven't worked so I'm just dealing with a full hard copy since that will 100% work every time | 22:20 |
T42 | <BusterBg_18> Should I just remove droid-hal-early-init.sh? | 22:20 |
deathmist | well sure if it doesn't actually do the ld.config.*.txt bind mount (and you don't do anything else in there) | 22:21 |
T42 | <BusterBg_18> I have the exact same thing in /system/etc https://github.com/BusterGR18/droid-config-sirius/blob/master/sparse/usr/libexec/droid-hybris/system/etc/ld.config.vndk_lite.txt | 22:23 |
deathmist | well you should see the obvious mistake yourself, see you're appending the hybris line first to the "paths" variable but then it gets set to something else right below it. you can move it right under the "paths = ..." line and that would do it. | 22:27 |
T42 | <BusterBg_18> Damn I feel dumb now :p | 22:28 |
deathmist | @BusterBg_18 you're also missing another entry near the vendor paths, compare it against my file https://git.io/JeuU2 (search for hybris) and look at the sorrounding content to see where you should place the lines yourself | 22:28 |
deathmist | nvm your config doesn't seem to use "namespace.default.permitted.paths" in any place, maybe you could use "namespace.default.search.paths" instead and try to place them near similar looking entries? mal may know what to do | 22:34 |
T42 | <BusterBg_18> Thats what I thought, since the treble implementation of my device is actually different | 22:38 |
T42 | <BusterBg_18> With the whole vndk_lite meaning it isnt fully isolated or something along those lines | 22:39 |
Thaodan | rinigus: How do you create dtbo.img from your port and how do you flash it? | 22:41 |
Thaodan | I can't even do fastboot boot on the device. | 22:41 |
T42 | <BusterBg_18> Well journalctl is smaller now tho https://pastebin.com/8A3x2FjW | 22:42 |
deathmist | seems main reason pulseaudio doesn't work is that a "audio_policy.conf" file is literally not anywhere in the entirety of /system or /vendor, jusa do you know more about this change in Android 9 Pie? my old config is definitely not going to work anymore https://git.io/JeuTU | 22:59 |
deathmist | maybe "/vendor/etc/audio_policy_configuration.xml" is the replacement file I'm looking for? pretty sure they moved fully to .xml format configs | 23:02 |
Thaodan | there was as newer format as far as I know. Android 8 doesn't has that file either. | 23:06 |
deathmist | here's the sample, it may come in handy https://pastebin.com/GPJ7XnQj | 23:06 |
mal | deathmist: we need to figure out proper ld.config fix | 23:08 |
deathmist | mal: yep, none of the current bind mount methods that have been floating around have worked for me personally yet | 23:10 |
Thaodan | deathmist: which device do you target? | 23:10 |
deathmist | OnePlus 5 (cheeseburger) | 23:11 |
Thaodan | ah that one. Codenames sometimes are weird. | 23:11 |
mal | deathmist: did you try the bind mount service I gave some time ago? | 23:13 |
mal | deathmist: https://piggz.co.uk/sailfishos-porters-archive/index.php?log=2019-10-21.txt#line210 | 23:15 |
deathmist | yeah I tried that one too as well as "bind --mount" method in droid-hal-early-init, neither worked. I'll look into the mount unit again tomorrow if I made a mistake or something since it's quite late now. cya! | 23:17 |
Thaodan | mal: do you have experience with external dtbo partitions, do I need to give the partition to the image creation with mkbootimg our will the bootloader fine it on its own? | 23:34 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!