Thursday, 2026-05-07

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 working05: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 them08:12
T42<nc1x72> Oh ok08:15
T42<nc1x72> My bad08: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 irc08:17
Ketoit's fine as long as it's not a wall of text, so don't write a novel or copypaste logs or stuff like that08:24
T42<nc1x72> I was aware of logs indeed08:30
T42<nc1x72> Didn’t know about long text and new lines etc08: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/ffmemless13: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 with13:46
T42<nc1x72> Is there something to change in droid-config to get it working?13:47
malffmemless is rare nowadays13:54
malfp5 has one but it's not something we can use so I had to go binder way13:54
malthe memless driver was not working with ngfd13: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 hadk14:12
mal@nc1x72 check the binder-list first, if it's not in /dev/binder then check also /dev/hwbinder14: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/820eb9d0fba514: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 th14:54
T42<elros34> can you show your local  manifest file?15:14
T42<mettska111> https://paste.opensuse.org/pastes/a900edd3845a15:15
T42<elros34> what about sony common repository and vendor one?15:16
T42<mettska111> I made like the example in the hadk-guide15: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 vendor15:23
maxmight5328mettska111 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 compiled15:24
maxmight5328this is the GH page: https://github.com/orgs/sailfishos-sony-sagami/repositories15:24
T42<mettska111> ok, thanks. Will tell later if I managed it to get it worked15:25
maxmight5328for 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 saw22:25
T42<b100dian> mal: how do you determine switching to software?22:27
T42<b100dian> Yes I have Failed to parse caps22:29
T42<b100dian> I think I mis-placed `count = gst_caps_get_size (caps);` hang on22:32
T42<b100dian> unfortunately you're right, just setting that flag does not work22:51
mal@b100dian it's actually no-media-buffers that fixes playback on fp523:16
maltry that on your device also23: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 ;D23:19
maluse this: GST_DEBUG=droidv*:5 jolla-gallery23:19
malyou should be seeing messages for each frame from droidvdec23:19
T42<b100dian> yup, confirmed23:20
T42<b100dian> need to sleep now, but nice turnaround of events23:21
malyeah23:21
malI just remembered that in gecko-camera we force media buffers based on vendor, unisoc and mediatek have those enabled there23:21
malso that is why qcom was working browser with gecko-camera afaik23:22
T42<b100dian> Yes but both sake and nagara force that in the browser23:22
maloh23:22
T42<b100dian> Doesnt FP5 too? I think my other droidmedia PR showed results not only on sake23:23
T42<b100dian> The recycle buffers or how was it called23:24
malhmm, interesting23:26
malnot sure how it can different in browser and gallery app23:27
mal*can be23: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 directly23:32
mal@b100dian it seems youtube videos don't work anymore on fp5, I'm pretty sure those used to work23:35
malit seems to only show couple of frames23:37
mallooks like it works a bit randomly23:41
mal@Mister_Magister I meant that forcing media buffers in browser works but only disabling those gallery works23:42

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