Thursday, 2022-05-19

T42<eriki73> The Obexd package contains D-Bus services providing OBEX client and server functionality. OBEX is a communications protocol that facilitates the exchange of binary objects between devices. (re @edp_17: What is this "/usr/l...)00:04
T42<edp_17> Thank you.00:04
T42<edp_17> Regarding vibra. It works if I echo 255 into /sys/class/timed_output/vibrator/enable, otherwise doesn't. I think all setup is correct:
T42<elros34> @edp_17  couldby sailjail,, check what vibra packages do you use and compare with default droid-config's patterns. I think all is now handled by ngf at low level.05:53
T42<edp_17> @elros34 : Thanks. I have these:
T42<edp_17> Shouldn't i have "qt5-feedback-haptics-native-vibrator" installed?06:50
T42<edp_17> On the XA2 I only have "ngfd-plugin-native-vibrator" and don't have "libhybris-libvibrator". Should I remove "libhybris-libvibrator" from device?06:52
T42<edp_17> Does anyone know why "udisksctl-user mount" is mouning about "wrong fs type" when trying to mount a fat32 (vfat) external sd card? If I issue the simply mount command, it works.07:33
T42<edp_17> pketo : please add Samsung Galaxy S4 access to the store. Device model: Galaxy S4 (jfltexx / jfltexx)07:37
T42<elros34> @edp_17 : do you have libngf-qt5-qtfeedback? libhybris lib doesn't matter07:53
T42<edp_17> Yes, libngf-qt5-qtfeedback is installed.08:11
T42<edp_17> version: 0.8.2-1.9.1.jolla08:12
Keto@edp_17 I already added it, might be that I forgot to mention here :)08:12
T42<edp_17> Keto : Thanks! :)08:17
T42<edp_17> @elros34 : Do you know how to permanently remove privatenetwork from systemd-hostnamed.service for new builds?08:23
T42<edp_17> I just made a fresh build and realized that still need to do this magic to prevent reboots.08:24
piggzlbt: downloading dod packages
T42<edp_17> @elros34 : Three years ago you mentioned this as a solution for the I have this error massive amount of times reported in log. Is this still the workaround to get rid of it or I can apply something on the device as well? (re @elros34: liux: faq line 57 ii...)10:21
T42<edp_17> Sorry, it was sent before I could complete the message :(10:21
T42<edp_17> Anyway, I hope still clear what I wanted to ask.10:22
T42<TheVancedGamer> I told you from the start :D (re @edp_17: It seems to be worki...)12:09
T42<TheVancedGamer> tip: never use USER_NS on a Samsung12:10
mal@edp_17 forget libhybris-libvibrator, it's not needed, except maybe by libhybris tests12:21
T42<edp_17> Well, CONFIG_USER_NS is still set to y in .config. :P, What fixed the issue was reverting this: (re @TheVancedGamer: I told you from the ...)12:25
T42<edp_17> mal : Thanks12:26
T42<edp_17> I am puzzled why vibra doesn't work. With defaultuser when I echo 255 into "/sys/class/timed_output/vibrator/enable", the device vibrates. It seems defaultuser is in correct groups and "/sys/class/timed_output/vibrator/enable" has correct permissions too (system:input)15:06
T42<edp_17> ngfd.service is running and happy.15:06
piggzmal: any thoughts why i might not be getting video frames from android/droidmedia?  port is android 10, 64bit15:20
malpiggz: anything interesting in logcat?15:20
mal@edp_17 which packages do you have installed?15:20
piggzi trauled through it ... it was looking for .ogg sound effects from /product, a symlink fixed that but didnt fix the issue ...15:20
piggzill get a fresh logcat15:21
piggzthere was some selinux related things15:21
T42<edp_17> mal : libngf-qt5-qtfeedback, ngfd-plugin-native-vibrator and libhybris-libvibrator15:22
malthat is 4.4?15:22
T42<edp_17> Do you meant the sfos version or versions of packages? It is sfos
malyes, sfos version, but maybe also versions of all ngf related packages, pastebin output of "pkcon search ngf"15:26
T42<edp_17> mal : Here they are:
piggzmal: cast your highly skilled eyes over :D15:28
mal@edp_17 can you also show journal log when you try to use vibrator from somewhere in UI15:30
malpiggz: does that contain when you try to stop recording? something at least crashes in android side15:31
piggzmal: yesh, should be everything until the camera app locks up15:31
piggzill also add, when the viewfinder is on, all looks ok, but when you press record, the frame rate drops a lot15:32
malpiggz: what camera related processes are running?15:32
T42<edp_17> mal : There is only one line in there "[W] unknown:0 - Effect failed, id 1"15:32
T42<edp_17> mal : Otherwise the log is full of useless "QPA-HWC: err in present returned -22" but I don't know how to get rid of them.15:33
T42<edp_17> mal : Here is journal:
piggzmal: along with jolla-camera and related things, /vendor/bin/hw/camerahalserver and /system/bin/cameraserver15:36
mal@edp_17 can you run "systemctl restart ngfd" and check journal again15:36
malpiggz: any hidl related camera process?15:37
piggzmal: not that i can see15:38
malpiggz: what happens if you stop cameraserver, that is disabled on sony devices, maybe mtk is different15:38
malnot sure if stopping hal server is good idea but try first without cameraserver and then without the other also if it still fails15:39
piggzmal: same with cameraserver disabled...15:43
piggzmal: camerahalserver is needed, without it, logs:15:47
piggzServiceManagement: Waited one second for
piggzso, it must provide that interface15:47
piggzmal: this is the log without cameraserver
malpiggz: just curious, do hw codecs work correctly?15:53
piggzmal: the built-in jolla video plays ok ... can i check it hw codec si being used?16:03
malpiggz: check logcat when you start playing the video16:04
malif you codec init etc there then it should be working16:04
T42<edp_17> mal : AFter restarting ngfd, vibra started to work from csd.16:05
malhmm, strange16:05
maldoes it still work after reboot?16:05
piggzmal: yeah looks ok 05-19 16:05:49.463  1036  3734 D MtkOmxVdecEx: [0xf0fb5000] [DECODE INFO] InitHW OK iDisplayWidth(1280), iDisplayHeight(544), nFrameWidth(1280), nFrameHeight(544), nStride(1280), nSliceHeight(544), u4Width(1280), u4Height(544), u4StrideAlign(16), u4SliceHeightAlign(32), luma&chroma(8, 8)16:06
T42<edp_17> It is strange, moreover as I am sure that have restarted ngfd before. Previously, I echoed 255 into the "/sys/class/timed_output/vibrator/enable", but last time I did it with defaultuser. Could it helped fiing this? Idk. I am rebooting and re-trying again.16:07
malpiggz:  ServiceManager: Waiting for service 'media.audio_policy' on '/dev/binder'...16:08
piggzoh, is that in the logs16:08
malpiggz: yes16:08
malpiggz: quite sure I asked from you in the past whether it was waiting for anything16:09
piggzok, i can see that now!16:09
malquite sure camera will work after you fix that16:09
* piggz hold head in shame16:09
T42<edp_17> mal : No, after reboot vibra doesn't work. However, restarting ngfd fixes it.16:10
malhmm, maybe some race condition at boot or something16:11
malmaybe permissions are wrong when ngfd starts but are fixed after it16:12
piggzmal: any preference between droidmedia's audo_policy support, and rinigus' miniaudiopolicyservice?16:42
piggzbecuase the latter builds, and doridmedia doesnt ... i probably could fix it, fails to find a header, but that header does exist16:45
piggzmal: interesting more waiting, problem persists
T42<elros34> @edp_17 no idea what I was refering to faq line 5717:21
malpiggz: probably go with separate process for now17:23
T42<edp_17> Yeah. Tried to find in history on github but haven't found. (re @elros34: @edp_17 no idea what...)17:23
piggzmal: thats what i did17:23
T42<elros34> @edp about vibra, did you notice any difference when you start csd/sfos components app from terminal?17:29
T42<elros34> @edp_17 about -22 maybe I was talking about numDisplays patch but this was relevant for old caynogenmod base17:40
T42<edp_17> @elros34 : I think tried vibra with csd started from console but I test it again.18:16
T42<edp_17> Regarding that -22 message, the log is full of them and very hard to see clearly anything else.18:16
T42<edp_17> @elros34 : Vibra doesn't work until restart of ngfd no matter if I call it from console or Settings. I think should amend ngfd service to start later e.g. after lipstick or something.18:23
T42<elros34> you can use grep -v QPA-HWC to filter out it currently. Have you checked ngf logs when it starts? Maybe you need enable more verbose logging. Native plugin is trivial so errors sould be pretty clear18:25
T42<elros34> also are you sure you have only timed interface not ffmemless?18:33
Thaodantry with ngfd -vvv as user18:34
Thaodanwhich soc do you have?18:34
Thaodansm8xxx usually has ffmemless18:35
piggzmal: so, any other ideas what it could be?18:52
piggzmal: i see camera nvram related errors19:53
piggzmal: also after some repo's on OBS please nemo:devel:hw:fxtex:qx1050, nemo:testing:hw:fxtec:qx1050, nemo:devel:hw:halium and nemo:testing:hw:halium20:31
T42<edp_17> @elros34 , Thaodan : ngfd -vvv as  user (I only was able to upload this much from the whole output now) :
T42<edp_17> The device uses ffmemless (according to this log)20:59
Thaodan[0.231] DEBUG: ffmemless: No force feedback device, stopping plugin21:02
ThaodanIt doesn't21:02
T42<edp_17> SoC: Qualcomm Snapdragon 600 APQ8064T21:04
T42<elros34> so did you add this -vvv in systemd service? what happend when you start app now?21:05
T42<edp_17> @elros34 : No I didn't add that in service. I only ran that command manually.21:07
Thaodanthe issue that the dbus plugin somehow fails21:07
T42<edp_17> @elros34 : I've added -vvv to the service, restarted and started a few apps. Didn't see anything special, they started fine.21:16
T42<elros34> You said issue is at boot time, so restart device21:17
T42<edp_17> Oh, yes you're right. :)21:18
T42<edp_17> After reboot, still no vibra until restart ngfd.service. :( So nothing changed. Apps do start normally.21:22
T42<b100dian> Yes but the -vvv should tell you what went wrong, shouldnt it21:46
Thaodanjust do systemctl --user edit ngfd.service and add [Service] \n ExecStart=/usr/bin/ngfd -vvv21:57

Generated by 2.17.1 by Marius Gedminas - find it at!