| T42 | <nc1x72> Hello, | 05:42 |
|---|---|---|
| T42 | <nc1x72> I'm resuming Nothing Phone 1 port. | 05:42 |
| T42 | <nc1x72> Current state : boots fine with wifi, sound, ril, camera, etc working | 05:42 |
| T42 | <nc1x72> Current issue: vibrator. | 05:42 |
| T42 | <nc1x72> I damaged the vibrator last time trying to fix it because it would start up at max strength and wouldn't stop. | 05:42 |
| T42 | <nc1x72> | 05:42 |
| T42 | <nc1x72> Is there a way to use ngfd with forced feedback directly? | 05:42 |
| T42 | <nc1x72> The aidl plugin for fp5 doesn't work here. | 05:42 |
| T42 | <nc1x72> The native plugin doesn't work here as well. | 05:42 |
| T42 | <nc1x72> I have Ubuntu Touch working on the device and the only solution was to use hfd-service with ff (aidl and sysfs didn't work). | 05:42 |
| T42 | <nc1x72> | 05:42 |
| T42 | <nc1x72> Checking this https://github.com/mer-hybris/ngfd-plugin-droid-vibrator/blob/aidl/src/native.c#L18-L23, I see that my kernel doesn't have any of these nodes for vibrator. | 05:42 |
| T42 | <Mister_Magister> @nc1x72 please don't write multiline messages or use paste service for them | 08:12 |
| T42 | <nc1x72> Oh ok | 08:15 |
| T42 | <nc1x72> My bad | 08:16 |
| T42 | <Mister_Magister> Just when you type hello and then proceed to next line, in irc it's being sent as separate message, so with that one message you managed to send 12 messages on irc | 08:17 |
| Keto | it's fine as long as it's not a wall of text, so don't write a novel or copypaste logs or stuff like that | 08:24 |
| T42 | <nc1x72> I was aware of logs indeed | 08:30 |
| T42 | <nc1x72> Didn’t know about long text and new lines etc | 08:30 |
| T42 | <Mister_Magister> hence i'm informing you :) | 08:40 |
| T42 | <elros34> @nc1x72 so default ff plugin doesn't work? https://github.com/sailfishos/ngfd/tree/master/src/plugins/ffmemless | 13:22 |
| mal | @nc1x72 did you have android vibrator service running, check "binder-list -d /dev/binder" | 13:23 |
| T42 | <nc1x72> Not that ffmemless didn’t work. Maybe it just never got compiled to start with | 13:46 |
| T42 | <nc1x72> Is there something to change in droid-config to get it working? | 13:47 |
| mal | ffmemless is rare nowadays | 13:54 |
| mal | fp5 has one but it's not something we can use so I had to go binder way | 13:54 |
| mal | the memless driver was not working with ngfd | 13:55 |
| T42 | <nc1x72> Ok but if that’s the only way, how do I set up ngfd to use it? | 14:04 |
| T42 | <nc1x72> Or write my own plugin maybe? | 14:04 |
| T42 | <elros34> there is whole chapter about ffmemless in hadk | 14:12 |
| mal | @nc1x72 check the binder-list first, if it's not in /dev/binder then check also /dev/hwbinder | 14:16 |
| T42 | <mettska111> Webview problem solved on my own. Now make fails because of another reason: | 14:54 |
| T42 | <mettska111> https://paste.opensuse.org/pastes/820eb9d0fba5 | 14:54 |
| T42 | <mettska111> As far as I understand, the needed modules are propertiery modules. The mentioned .mk doesnt need the missing modules. But in has this line: $(call inherit-product, device/sony/pdx225/device.mk) . In this file the needed modules are listed. As far as I understand that are some propertiery modules. So I found them in /home/sail/hadk/vendor/sony/pdx225/proprietary/ and copied a few (for testing only) of them to different places to see, if th | 14:54 |
| T42 | <elros34> can you show your local manifest file? | 15:14 |
| T42 | <mettska111> https://paste.opensuse.org/pastes/a900edd3845a | 15:15 |
| T42 | <elros34> what about sony common repository and vendor one? | 15:16 |
| T42 | <mettska111> I made like the example in the hadk-guide | 15:18 |
| T42 | <mettska111> so I need more? I look it up in the nagara port and use that as an example? | 15:18 |
| T42 | <elros34> like https://github.com/LineageOS/android_device_sony_pdx225/blob/lineage-22.2/lineage.dependencies and proprietary vendor | 15:23 |
| maxmight5328 | mettska111 you can also check the sagami port (pdx215) if that is of any help. It is still WIP but at least I got it to a stage where it can be compiled | 15:24 |
| maxmight5328 | this is the GH page: https://github.com/orgs/sailfishos-sony-sagami/repositories | 15:24 |
| T42 | <mettska111> ok, thanks. Will tell later if I managed it to get it worked | 15:25 |
| maxmight5328 | for vendor blobs check those two lines in my local manifest: "vendor/sony/pdx215" and "vendor/sony/sm8350-common" | 15:27 |
| T42 | <mettska111> perhaps a stupid question. I found a lot of ".pack" files, that are quite big. Can I delete them after a successfull repo sync? Or are they used later? | 17:23 |
| mal | @b100dian I tested the gst-droid PR and it didn't work as it should at least on FP5, check the PR for what I saw | 22:25 |
| T42 | <b100dian> mal: how do you determine switching to software? | 22:27 |
| T42 | <b100dian> Yes I have Failed to parse caps | 22:29 |
| T42 | <b100dian> I think I mis-placed `count = gst_caps_get_size (caps);` hang on | 22:32 |
| T42 | <b100dian> unfortunately you're right, just setting that flag does not work | 22:51 |
| mal | @b100dian it's actually no-media-buffers that fixes playback on fp5 | 23:16 |
| mal | try that on your device also | 23:17 |
| T42 | <b100dian> omg. I can repro that. Are you sure it is not falling back to software too? | 23:19 |
| T42 | <b100dian> Can't believe I pused into one direction and got the opposite result ;D | 23:19 |
| mal | use this: GST_DEBUG=droidv*:5 jolla-gallery | 23:19 |
| mal | you should be seeing messages for each frame from droidvdec | 23:19 |
| T42 | <b100dian> yup, confirmed | 23:20 |
| T42 | <b100dian> need to sleep now, but nice turnaround of events | 23:21 |
| mal | yeah | 23:21 |
| mal | I just remembered that in gecko-camera we force media buffers based on vendor, unisoc and mediatek have those enabled there | 23:21 |
| mal | so that is why qcom was working browser with gecko-camera afaik | 23:22 |
| T42 | <b100dian> Yes but both sake and nagara force that in the browser | 23:22 |
| mal | oh | 23:22 |
| T42 | <b100dian> Doesnt FP5 too? I think my other droidmedia PR showed results not only on sake | 23:23 |
| T42 | <b100dian> The recycle buffers or how was it called | 23:24 |
| mal | hmm, interesting | 23:26 |
| mal | not sure how it can different in browser and gallery app | 23:27 |
| mal | *can be | 23:27 |
| T42 | <Mister_Magister> gallery app and browser work very differently no? | 23:32 |
| T42 | <Mister_Magister> iirc gallery just uses gstreamer via qtmultimedia and browser uses droidmedia directly | 23:32 |
| mal | @b100dian it seems youtube videos don't work anymore on fp5, I'm pretty sure those used to work | 23:35 |
| mal | it seems to only show couple of frames | 23:37 |
| mal | looks like it works a bit randomly | 23:41 |
| mal | @Mister_Magister I meant that forcing media buffers in browser works but only disabling those gallery works | 23:42 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!