T42 | <PizzaG> Hey Barry | 00:11 |
---|---|---|
T42 | <F1a5H> hi | 01:39 |
rinigus | mal: I didn't check minimedia, but looked on strace of audiopolicy. Also kept 32 bit links, as in seine. So, cannot tell much regarding it | 05:16 |
T42 | <lackingcheesepuffs> Can lineage 17.1 trees be used with sailfishos now? | 07:20 |
T42 | <Verevka86> @lackingcheesepuffs [Can lineage 17.1 trees be used with sailfishos …], Yes | 09:09 |
T42 | <edp_17> @elros34 [the values in hw-settings.ini seems to be qt k …], Thanks @elros34 . I've defined these and therefore I can test all of them with csd. Although, pressing the home button do nothing ib csd. Otherwise the home button does work (it wakes the screen up and goes back to the home page). What is funny, csd/Key doesn't react on p | 10:41 |
T42 | ressing the home button, but if I go back to the Hardware tests page, pressing the home button it minimizing the csd app and taking me to the Home page. | 10:41 |
T42 | <edp_17> The same code 0x01000090 does work on Note 4 (treltexx) and S2 (i9100). | 10:41 |
mal | what are you trying to do? | 10:46 |
T42 | <edp_17> @birdzhang [@edp_17 check MINIMEDIA_AUDIOPOLICYSERVICE_ENA …], I've don this and the result: | 10:51 |
T42 | <edp_17> When I turn on the camera and picture mode is selected, the image appears in the view finder for a second, then it goes black. | 10:51 |
T42 | <edp_17> When I turn on the camera and video mode is selected, I always see the image correctly in the view finder. When I start recording a video the counter counts at the top but when I hit the stop button the app gots frozen and not responding. The recorded video is not stored anywhere only an empty file created in ~/Videos/Camera. | 10:51 |
T42 | <edp_17> mal: I was trying to test the Home button in csd. | 10:52 |
mal | not sure if there is support for that | 10:53 |
T42 | <edp_17> mal: thats not important at all, as the home button dos work, only cannot be tested in csd. I just wanted to highlight this. Don't worry about it as I have more important issues to solve. | 10:53 |
mal | probably not worth the effort to look into that right now | 10:54 |
T42 | <edp_17> mal: Exactly. I agree. | 10:54 |
T42 | <edp_17> mal: The HADK still says to build and install gstreamer1.0-droid and gstreamer1.0-droid-tools and droid-camres. (Section 14.3 Camera) Is it still required to make the camera work? | 11:19 |
mal | gstreamer1.0-droid is needed for camera, those others help creating needed configuration files (those can be made manually also) | 11:29 |
T42 | <elros34> @edp_17 Have you checked logcat? That hang after recording might generate some error | 11:43 |
T42 | <edp_17> The HADK said to add audiosystem-passthrough-dummy-af into pattern and rebuild droid-configs. I also rebuilt droidmedia and then installed all packages onto device. Now, both, picture and video mode, shows black screen. The viewfinder in video mode is gone. | 12:06 |
T42 | <edp_17> Okay, I manually created /etc/gst-droid, then run the command mk-cam-conf 0 /etc/gst-droid/gstdroidcamsrc-0.conf and mk-cam-conf 0 /etc/gst-droid/gstdroidcamsrc-1.conf | 12:10 |
T42 | <edp_17> Now, the viewfinder in video mode is back. | 12:10 |
T42 | <edp_17> When I stop video recording and the caera hangs, I get this in journal: CameraBin error: "Couldn't create encoder for format video/x-h264" | 12:12 |
T42 | <edp_17> When I start camera in picture mode, I get this in journal: CameraBin error: "failed to negotiate caps" | 12:14 |
T42 | <edp_17> Full journal log: https://pastebin.ubuntu.com/p/DqCydRcHX9/ | 12:15 |
mal | @edp_17 no need to have gstdroidcamsrc-0.conf files | 12:37 |
mal | @edp_17 only the jolla-camera-hw.txt | 12:37 |
mal | which is created by droid-camres | 12:37 |
T42 | <edp_17> Okay, so the only thing I need to build is droid-camres, then generate that jolla-camera-hw.txt. Thanks. (Atm, this file doesn't exist on the device.) | 12:39 |
mal | yes, that is the important part | 12:40 |
mal | those other ones are obsolete files | 12:40 |
T42 | <edp_17> Thanks. I'll try now. | 12:40 |
mal | droid-camres is in common repo | 12:41 |
mal | so you should be able to just install it | 12:41 |
T42 | <edp_17> So, I don't need to build. Great! | 12:41 |
T42 | <edp_17> mal: Interestingly got this: https://paste.ubuntu.com/p/FbBQ49dbGZ/ | 12:42 |
mal | oops | 12:45 |
mal | you need to downgrade gst-droid | 12:45 |
mal | to tag 0.20201104.0 | 12:46 |
T42 | <edp_17> mal: thanks. | 12:46 |
mal | PSA: do not update gst-droid to latest version | 12:46 |
T42 | <edp_17> mal: do I need these in external/droidmedia/env.mk | 12:59 |
T42 | <edp_17> MINIMEDIA_AUDIOPOLICYSERVICE_ENABLE := 1 | 12:59 |
T42 | <edp_17> AUDIOPOLICYSERVICE_ENABLE := 1 | 12:59 |
T42 | <edp_17> plus, do I need audiosystem-passthrough-dummy-af in patterns? | 12:59 |
mal | depends on your device | 13:06 |
mal | logcat should tell what you need | 13:06 |
T42 | <edp_17> mal: I've managed to create the jolla-camera-hw.txt but it didn't make any difference. The camera app still works the same way (picture viewfinder is blank and only video viewfinder shows image). | 13:58 |
mal | logs | 14:00 |
mal | do the resolutions in the jolla-camera-hw.txt look ok? | 14:01 |
T42 | <edp_17> mal: https://paste.ubuntu.com/p/9VvVnM3mxY/ | 14:03 |
mal | you can see some issues there | 14:04 |
T42 | <edp_17> mal: What are they? Are these like @PRIIMAGE169RES@ ? | 14:05 |
mal | yes | 14:05 |
mal | try to check the output of this: GST_DEBUG=6 mk-cam-conf 0 /dev/null 2>&1 | grep params_parse | sed -e 's/.*param\s//' | sort -u | 14:06 |
mal | also same for camera 1 (the number after mk-cam-conf in that line) | 14:06 |
T42 | <edp_17> cam 0: https://paste.ubuntu.com/p/Vtw9Zsd67C/ | 14:07 |
piggz | mal: for gst-droid is it the tag before multi-camera that should be used? | 14:07 |
T42 | <edp_17> mal: cam 1: https://paste.ubuntu.com/p/ksGsBdYpGp/ | 14:07 |
mal | piggz: yes | 14:10 |
mal | @edp_17 interesting your secondary camera only support 4:3 aspect ratio, make sure you select that aspect ration from camera app settings | 14:12 |
T42 | <edp_17> mal: Done. And I am trying to modify the jolla-camera-hw.txt based on the output of those commands. | 14:13 |
swanux | So I rebuilt the rootfs (now proper 4.0.1.48), but I still can't get GUI (same segfault with lipstick on 16.0 base). Any news / ideas on this topic? | 14:16 |
swanux | (saw some display related discussion above, I'm not sure if it's applicable /relevant for other devices) | 14:17 |
mal | swanux: did older version work? | 14:20 |
T42 | <edp_17> mal: A little problem here. When I change the Photo resolution of the camera app in Settings/Apps, it doesn't save it. I set it to 4:3 but when I go out and come back, it is reverted to 16:9. | 14:21 |
swanux | mal: No, it was worse (complete freeze before telnet or any usb connection - the 15.1 lineage itself seemed to be quite buggy too) | 14:22 |
mal | swanux: you probably need to show logs | 14:23 |
mal | @edp_17 anything in logs when that happens | 14:23 |
mal | in journal | 14:23 |
swanux | Ok. | 14:23 |
T42 | <edp_17> mal: nothing in journal when I change those values | 14:24 |
T42 | <edp_17> mal: neither in logcat | 14:25 |
swanux | mal: lipstick (logcat - https://pastebin.ubuntu.com/p/4MCGftTfZh/, strace - https://pastebin.ubuntu.com/p/QcjPsyVPPh/), test_hwcomposer (logcat - https://pastebin.ubuntu.com/p/dRDfg5jvh4/ last part looping here, strace - https://pastebin.ubuntu.com/p/JmV8ZHKjW9/ here too) | 14:34 |
swanux | Hmm. May it be relevant? (https://wiki.merproject.org/wiki/Adaptations/libhybris/gpu) I mean the CONFIG_QCOM_BSP seems to work with more than one device. Or is this irrelevant? | 15:01 |
swanux | Also here's the logcat for test_edl (https://pastebin.ubuntu.com/p/53m52zwSV8/) which also segfaults | 15:05 |
swanux | test_glesv2 & 3 works | 15:07 |
swanux | Heck, even test_opencl & test_gps do work. | 15:17 |
mal | wait, only hwcomposer fails? | 15:19 |
T42 | <edp_17> mal: Thanks for your help! Camera for making pictures does work now. Only recording a video is the problem as the app hangs. | 15:21 |
mal | quite sure you will something being waited in logcat | 15:21 |
mal | *will see | 15:21 |
piggz | like audiopolicy service? | 15:22 |
mal | yes, or audioflinger | 15:24 |
piggz | mal: is there a reason not to enable fake audio policy for everyone?] | 15:24 |
T42 | <edp_17> mal: everytime the camera hangs, I need to rebbot the device because when I restart camera it only displays black screen. In the log it says: CameraService: CameraService::connect (PID -1) rejected (too many other clients connecting). | 15:28 |
T42 | <edp_17> CameraBase: An error occurred while connecting to camera 0: Service not available | 15:28 |
T42 | <edp_17> DroidMediaCamera: Failed to connect to camera service | 15:28 |
T42 | <edp_17> So, it looks like the app doesn't quit properly. | 15:29 |
T42 | <edp_17> mal: I rebooted to be able to replicate the issue and get the logcat: https://paste.ubuntu.com/p/QgRp5Kw4H8/ | 15:33 |
swanux | mal I put together a short summary (https://pastebin.ubuntu.com/p/ZbzppWmSJf/) I'm pretty sure there's the problem, I just lack the experience to see it. | 15:41 |
T42 | <edp_17> mal: Might I need this?: https://github.com/sailfishos/droidmedia/pull/11#issuecomment-546494263 | 15:53 |
mal | @edp_17 not sure, could you check what media_codecs* files you have in /system/etc and /vendor/etc | 15:57 |
T42 | <edp_17> mal: You mean this? https://paste.ubuntu.com/p/6dKp9tzyZf/ | 16:12 |
T42 | <edp_17> Mal: Sorry, I understand now. | 16:12 |
T42 | <edp_17> mal: I have these: https://paste.ubuntu.com/p/vj2ryQVCPh/ | 16:14 |
mal | @edp_17 please create a symlink /etc/media_codecs_google_video_le.xml which points to /system/etc/media_codecs_google_video_le.xml | 16:17 |
mal | also symlink the other similar files if some symlinks are missing | 16:19 |
T42 | <edp_17> mal: Only this was missing. | 16:20 |
mal | @edp_17 did that symlink help at all? | 17:35 |
T42 | <elros34> mal: do you have some ideas where to search that issue with recommends packages not being installed? I checked fresh sdk and it is same. BTW during search I figure out why adaptation0 doesn't work on fresh sdk. It requires changing domain from sales to sailfish: sudo ssu domain sailfish | 17:46 |
mal | hmm, interesting | 17:50 |
mal | @hacker12455 hi, are you around? | 17:55 |
T42 | <elros34> mal: I used wrong repo so maybe there is change after fresh sdk installation, need to test | 18:10 |
mal | what wrong repo? | 18:11 |
T42 | <elros34> I used obs instead local repository for testing | 18:11 |
T42 | <elros34> Is there a chance that obs is the culprit? There is Provides and Requires in patterns-sailfish-device-configuration-$DEVICE.rpm at details page of obs but ther eis Recommends | 18:28 |
T42 | <elros34> there is not* | 18:28 |
T42 | <hacker12455> mal: yeah, why? | 18:39 |
T42 | <elros34> https://gitlab.com/sailfishos-porters-ci/vince-ci seems to also missing Recommended csd package | 18:43 |
T42 | <elros34> lbt: any ideas about that Recommended packages are not pulled when using obs repository? | 18:47 |
lbt | Recommended are not pulled in as build time dependencies | 18:48 |
lbt | so if a package you BuildRequire has a Reccomends that you want then you must also BuildRequire that if you need it | 18:49 |
lbt | hth | 18:50 |
T42 | <elros34> I am not talking about build requirements. I meant that when I used obs repo when creating image via mic then Recommended packages are not pulled | 18:51 |
mal | @hacker12455 I can tell you the selinux changes needed if you have time | 19:15 |
T42 | <hacker12455> sure | 19:15 |
T42 | <hacker12455> even if I don | 19:15 |
T42 | <hacker12455> *don't test it today it will be useful for later | 19:16 |
mal | https://github.com/mlehtima/droid-config-fp3/tree/master/sparse/etc/selinux grab that folder but replace file minimum/policy/policy.30 with /vendor/etc/selinux/precompiled_sepolicy from your android repos (or similar location in /system if that doesn't exist) and also replace minimum/contexts/files/file_contexts with /vendor/etc/selinux/vendor_file_contexts from your device (same applies there, it | 19:18 |
mal | should be in /vendor but if not then find it in /system) | 19:18 |
mal | also make sure you don't disable selinux from kernel commandline (remove the selinux=0 from kernel commandline in case you added it there before), not sure if making selinux in android side permissive is needed but I have it, so add androidboot.selinux=permissive to kernel commandline | 19:20 |
mal | also make sure you have latest droid-configs-device submodule and add this line to your droid-config spec file https://github.com/mlehtima/droid-config-fp3/blob/master/rpm/droid-config-fp3.spec#L18 | 19:24 |
T42 | <hacker12455> anything else? | 19:36 |
mal | none that I can think of now | 19:38 |
T42 | <hacker12455> I assume I have to rebuild the rootfs? | 19:38 |
mal | well those could be done on device also (except for kernel commandline changes if needed) but maybe better build new image | 19:40 |
T42 | <hacker12455> do I rename the files from the device? | 19:56 |
T42 | <hacker12455> for example if I grabbed vendor_file_contexts do I rename it to file_contexts | 19:57 |
T42 | <hacker12455> goddamnit | 20:16 |
T42 | <hacker12455> Error <creator>[03/08 20:16:10] : Unable to find package: patterns-sailfish-device-configuration-cedric | 20:16 |
T42 | <hacker12455> ah right my adaptation-community repo was gone from the kickstart file again | 20:18 |
mal | yes, rename the file to what I mentioned | 20:19 |
mal | *files | 20:19 |
T42 | <hacker12455> for now I have to fix this | 20:21 |
T42 | <hacker12455> Error <creator>[03/08 20:20:00] : URLGrabber error: can't find file ///home/kacper/hadk/droid/droid-local-repo/cedric/repodata/repomd.xml | 20:21 |
mal | hmm, is the path correct, show the whole line | 20:22 |
T42 | <hacker12455> yea fixed that | 20:23 |
T42 | <hacker12455> had a droid folder in there accidentally | 20:23 |
rinigus | evening. back with arm32/aosp9/tama port update to 4.0.1. looking through kernel options, cgroup specifically, there are no diffs between ganges and tama. | 20:29 |
rinigus | CGROUPS and CGROUP_SCHED are not specified in tama configs, but they seem to be enabled by default (/proc/config.gz on device and .config in kernel obj) | 20:29 |
rinigus | I have not updated hybris patches in my hadk/android and I can see that /dev/cg2_bpf cgroup device was removed recently. but I am not sure it is relevant | 20:31 |
rinigus | seems to be mounted in my builds. | 20:32 |
rinigus | although, /sys/fs/bpf has some issues mounting it. which was fine in 3.4. | 20:37 |
rinigus | probably bpf has nothing to do with my cgroups trouble - it is still mounted. | 20:47 |
rinigus | actually, maybe I am wrong. should test with this applied: https://github.com/mer-hybris/hybris-patches/commit/54008fe9fc67c13eff6d3d48f78bb268af7883be | 21:05 |
mal | yeah, seems there was a reason doing that | 21:19 |
T42 | <elros34> I think issue is that obs repodata/*-primary.xml.gz is missing recommended packages. Maybe it's not using createrepo_c to generate repodata | 23:00 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!