T42 | <Matthew %lastname%> does Sailfish use a custom compositor | 10:27 |
---|---|---|
mal | yes | 10:29 |
Mister_Magister | mal: does sailfish use functionfs | 10:34 |
mal | Mister_Magister: what is that? | 10:35 |
Mister_Magister | mal: its in kernel usb stuff | 10:36 |
Mister_Magister | you know functionfs lmao you were talking about it with me | 10:37 |
mal | Mister_Magister: functionfs is use for mtp, usually patched in kernel to fix it properly | 10:43 |
mal | in older android bases | 10:44 |
Mister_Magister | mal: in android9 we need to setup rmnet in functionfs | 10:46 |
Mister_Magister | data.qti service is missing /dev/rmnet_ctl | 10:47 |
T42 | <Matthew %lastname%> @mal [yes], is that compositor portable to Android OS | 14:25 |
T42 | <Matthew %lastname%> mal: is that compositor portable to Android OS | 14:25 |
mal | why would you want to do that? and no | 14:26 |
T42 | <Matthew %lastname%> as im trying to make my own compositor but im having issues with rendering speed | 14:26 |
r0kk3rz | im not sure anyone here can help you with that | 14:28 |
T42 | <Matthew %lastname%> as it currently runs at 4 to 10 fps and i dont know how to get it to run at 60 fps | 14:29 |
T42 | <Matthew %lastname%> for example, it takes around 1 second to upload and display 20 textures | 14:32 |
T42 | <Matthew %lastname%> in which these textures are 50 by 50 (about 2 to 5 kb) | 14:33 |
r0kk3rz | this channel is about porting sailfishos to other devices | 14:34 |
T42 | <Matthew %lastname%> ok | 14:34 |
piggz_ | abranson: around? | 17:22 |
piggz_ | mal: around for some crazy video codec debugging? | 19:28 |
mal | piggz_: what kind? | 19:31 |
piggz_ | mal: codec fails becuase of missing native wifi-direct service | 19:31 |
piggz_ | very frustrating, as i cant find the service | 19:32 |
mal | woot, show logs | 19:32 |
piggz_ | mal: grr, paste.gnome.org is deleting my pastes! | 19:34 |
piggz_ | mal: logcat https://bpaste.net/show/ZShW | 19:37 |
mal | piggz_: where in that is it looking for that service? | 19:39 |
piggz_ | mal: line 84...... i'll explain | 19:39 |
piggz_ | piggz@linux-f1uu ~/mer/android/droid.fxtecpro1/vendor (hybris-msm-aosp-9.0) $ grep -R "Service not available yet" * | 19:40 |
piggz_ | Binary file qcom/proprietary/prebuilt_HY11/target/product/msm8998/vendor/lib/libwfdmmservice.so matches | 19:41 |
piggz_ | strings on that file, gives some hints on names, eg | 19:41 |
piggz_ | wfd.native.mm.service | 19:41 |
piggz_ | WFDMMService :: Start | 19:41 |
piggz_ | vendor/qcom/proprietary/wfd-framework/mm/wfdmmservice/src/WFDMMService.cpp | 19:41 |
piggz_ | Failed to create WFDMMService | 19:41 |
piggz_ | Adding WFDMMService Failed!! | 19:41 |
piggz_ | and, thats about where I am ... looking for files that link that lib! | 19:42 |
mal | piggz_: it can also be a coincidence? | 19:52 |
piggz_ | i guess | 19:52 |
piggz_ | mal: the log shows it tries twce, and omx fails afterwards both times | 19:53 |
mal | piggz_: the codec error messages are "out of memory" which would suggest some initialization is missing or something | 19:53 |
piggz_ | mal: there is something to be said for libav | 20:05 |
mal | piggz_: ? | 20:25 |
piggz_ | mal: sw rendering always works ;) | 20:25 |
mal | piggz_: I do remember seeing similar messages before on other devices, trying to remember how the issue was fixed on those | 20:43 |
mal | piggz_: can you check if you have the usual /dev/video/ symlinks? | 20:50 |
piggz_ | mal: pls remember :) | 20:56 |
mal | piggz_: do you see any /dev/video* on the device? | 20:57 |
mal | piggz_: the error suggests that those are missing | 20:58 |
piggz_ | mal: yes, lots | 20:58 |
piggz_ | 0,1,2,3,4,5,6,32,33 | 20:59 |
mal | piggz_: hmm, and anything in /dev/video/ folder? | 21:26 |
piggz_ | mal: yup, venus dec/enc | 21:27 |
mal | are the device permissions ok? | 21:27 |
piggz_ | mal: venus dec/enc are root/root, others are root/camera | 21:28 |
mal | piggz_: and the permissions? | 21:29 |
mal | on one device I have those are crw-rw---- 1 system camera | 21:29 |
piggz_ | /dev/video? crw-rw | 21:29 |
piggz_ | and dec/enc are lrwxrwxrwx | 21:30 |
piggz_ | mal: sorry, i meant system/camera | 21:31 |
mal | piggz_: symlinks are always like that | 21:34 |
mal | the others are relevant i.e. /dev/video* | 21:34 |
mal | not the things in the video folder | 21:35 |
piggz_ | on mido, 32 and 33 aare group audio, that the only difference | 21:37 |
piggz_ | mal: is video playback working on official android 9 ports? | 21:38 |
mal | piggz_: yes | 21:49 |
piggz_ | mal: continue tomorrow :/ its a new oddity | 21:50 |
mal | piggz_: so did you you make sure those devices match what I gave, or group audio? | 21:50 |
piggz_ | mal: they match what you have | 21:51 |
mal | piggz_: even user? | 21:51 |
piggz_ | crw-rw---- 1 system camera 81, 6 Sep 9 19:49 /dev/video6 | 21:51 |
mal | ok | 21:51 |
mal | 32 and 33 are the codecs | 21:51 |
mal | usually | 21:51 |
piggz_ | they are also group camera here | 21:52 |
mal | piggz_: did you reboot with those correct group and rights? | 21:52 |
mal | make an udev rule if needed | 21:52 |
piggz_ | mal: i havnt changed them, they have been like this all along | 21:52 |
mal | but you said earlier that you had root/camera ? | 21:52 |
piggz_ | typo | 21:52 |
mal | oh | 21:53 |
piggz_ | [22:31] <piggz_> mal: sorry, i meant system/camera | 21:53 |
mal | just to be sure make an udev rule to set them 666 | 21:53 |
mal | missed that line | 21:53 |
piggz_ | :) | 21:53 |
piggz_ | right im away ... tomorrow is either this, or pine | 21:54 |
mal | piggz_: my head is feeling quite funny because it's getting late | 21:54 |
piggz_ | sure, gnight :) | 21:54 |
mal | piggz_: btw, you can see the sources for those (or example of those) in hardware/qcom | 21:54 |
mal | just grep for the component_init for example to find that error "component_init: OMX.qcom.video.decoder.avc : fd=-1" | 21:55 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!