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: https://paste.ubuntu.com/p/TwQpbhyh4Z/ | 00:52 |
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: https://paste.ubuntu.com/p/Zz9WF92GjP/ | 06:50 |
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 matter | 07:53 |
T42 | <edp_17> Yes, libngf-qt5-qtfeedback is installed. | 08:11 |
T42 | <edp_17> version: 0.8.2-1.9.1.jolla | 08: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 |
piggz | lbt: downloading dod packages https://build.sailfishos.org/project/monitor/nemo:devel:hw:volla:yggdrasil?arch_aarch64=1&blocked=1&defaults=0&repo_sailfish_latest_aarch64=1 | 09:18 |
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 Samsung | 12:10 |
mal | @edp_17 forget libhybris-libvibrator, it's not needed, except maybe by libhybris tests | 12:21 |
T42 | <edp_17> Well, CONFIG_USER_NS is still set to y in .config. :P, What fixed the issue was reverting this: https://github.com/edp17/android_kernel_samsung_jf/commit/93d8ad07a4938e3f6437ccd21007030f47cbf81e (re @TheVancedGamer: I told you from the ...) | 12:25 |
T42 | <edp_17> mal : Thanks | 12: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 |
piggz | mal: any thoughts why i might not be getting video frames from android/droidmedia? port is android 10, 64bit | 15:20 |
mal | piggz: anything interesting in logcat? | 15:20 |
mal | @edp_17 which packages do you have installed? | 15:20 |
piggz | i trauled through it ... it was looking for .ogg sound effects from /product, a symlink fixed that but didnt fix the issue ... | 15:20 |
piggz | ill get a fresh logcat | 15:21 |
piggz | there was some selinux related things | 15:21 |
T42 | <edp_17> mal : libngf-qt5-qtfeedback, ngfd-plugin-native-vibrator and libhybris-libvibrator | 15:22 |
mal | that is 4.4? | 15:22 |
T42 | <edp_17> Do you meant the sfos version or versions of packages? It is sfos 4.4.0.58 | 15:24 |
mal | yes, 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: https://paste.ubuntu.com/p/CxjnnHwNxm/ | 15:27 |
piggz | mal: cast your highly skilled eyes over https://privatebin.net/?9ddb5be7fd978e6e#5vRrJ44Rfh5kxrUask2hkn5yYG9zP463iBLACzrSbEkT :D | 15:28 |
mal | @edp_17 can you also show journal log when you try to use vibrator from somewhere in UI | 15:30 |
mal | piggz: does that contain when you try to stop recording? something at least crashes in android side | 15:31 |
piggz | mal: yesh, should be everything until the camera app locks up | 15:31 |
piggz | ill also add, when the viewfinder is on, all looks ok, but when you press record, the frame rate drops a lot | 15:32 |
mal | piggz: 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: https://paste.ubuntu.com/p/QWPh6bsRvj/ | 15:34 |
piggz | mal: along with jolla-camera and related things, /vendor/bin/hw/camerahalserver and /system/bin/cameraserver | 15:36 |
mal | @edp_17 can you run "systemctl restart ngfd" and check journal again | 15:36 |
mal | piggz: any hidl related camera process? | 15:37 |
piggz | mal: not that i can see | 15:38 |
mal | piggz: what happens if you stop cameraserver, that is disabled on sony devices, maybe mtk is different | 15:38 |
mal | not sure if stopping hal server is good idea but try first without cameraserver and then without the other also if it still fails | 15:39 |
piggz | k | 15:39 |
piggz | mal: same with cameraserver disabled... | 15:43 |
piggz | mal: camerahalserver is needed, without it, logs: | 15:47 |
piggz | ServiceManagement: Waited one second for android.hardware.camera.provider@2.4::ICameraProvider/internal/0 | 15:47 |
piggz | so, it must provide that interface | 15:47 |
piggz | mal: this is the log without cameraserver https://privatebin.net/?30a66f494437c41d#7bpGapKgS3afKtHmZaE5BdcwyPQ3d9ofXotc2rHKQocz | 15:52 |
mal | piggz: just curious, do hw codecs work correctly? | 15:53 |
piggz | mal: the built-in jolla video plays ok ... can i check it hw codec si being used? | 16:03 |
mal | piggz: check logcat when you start playing the video | 16:04 |
mal | if you codec init etc there then it should be working | 16:04 |
T42 | <edp_17> mal : AFter restarting ngfd, vibra started to work from csd. | 16:05 |
mal | hmm, strange | 16:05 |
mal | does it still work after reboot? | 16:05 |
piggz | mal: 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 |
mal | piggz: ServiceManager: Waiting for service 'media.audio_policy' on '/dev/binder'... | 16:08 |
piggz | oh, is that in the logs | 16:08 |
mal | piggz: yes | 16:08 |
mal | piggz: quite sure I asked from you in the past whether it was waiting for anything | 16:09 |
piggz | ok, i can see that now! | 16:09 |
mal | quite sure camera will work after you fix that | 16:09 |
* piggz hold head in shame | 16:09 | |
T42 | <edp_17> mal : No, after reboot vibra doesn't work. However, restarting ngfd fixes it. | 16:10 |
mal | hmm, maybe some race condition at boot or something | 16:11 |
mal | maybe permissions are wrong when ngfd starts but are fixed after it | 16:12 |
piggz | mal: any preference between droidmedia's audo_policy support, and rinigus' miniaudiopolicyservice? | 16:42 |
piggz | becuase the latter builds, and doridmedia doesnt ... i probably could fix it, fails to find a header, but that header does exist | 16:45 |
piggz | mal: interesting ...no more waiting, problem persists https://privatebin.net/?f9e339089318e1be#4v3wmhnRNrRWu6Utgb54eMWJimfDV4EocUakarZs3SE5 | 17:16 |
T42 | <elros34> @edp_17 no idea what I was refering to faq line 57 | 17:21 |
mal | piggz: probably go with separate process for now | 17: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 |
piggz | mal: thats what i did | 17: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 base | 17: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 clear | 18:25 |
T42 | <elros34> also are you sure you have only timed interface not ffmemless? | 18:33 |
Thaodan | try with ngfd -vvv as user | 18:34 |
Thaodan | which soc do you have? | 18:34 |
Thaodan | sm8xxx usually has ffmemless | 18:35 |
piggz | mal: so, any other ideas what it could be? | 18:52 |
piggz | mal: i see camera nvram related errors | 19:53 |
piggz | mal: 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:halium | 20:31 |
T42 | <edp_17> @elros34 , Thaodan : ngfd -vvv as user (I only was able to upload this much from the whole output now) : https://paste.ubuntu.com/p/WjnvV6kDst/ | 20:58 |
T42 | <edp_17> The device uses ffmemless (according to this log) | 20:59 |
Thaodan | [0.231] DEBUG: ffmemless: No force feedback device, stopping plugin | 21:02 |
Thaodan | It doesn't | 21:02 |
T42 | <edp_17> SoC: Qualcomm Snapdragon 600 APQ8064T | 21: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 |
Thaodan | the issue that the dbus plugin somehow fails | 21: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 device | 21: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 it | 21:46 |
Thaodan | just do systemctl --user edit ngfd.service and add [Service] \n ExecStart=/usr/bin/ngfd -vvv | 21:57 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!