budrz | doing a Google Pixel 3a XL build and got stuck (again) in section 7.2.1 | 13:17 |
---|---|---|
budrz | output of rpm/dhd/helpers/build_packages.sh --droid-hal : https://gitlab.com/budrzproj/sailfish-log-files/-/blob/main/rpm-dhd-helpers-build-packages.log | 13:18 |
budrz | kernel build log: https://gitlab.com/budrzproj/sailfish-log-files/-/blob/main/make-bonito-2022-10-02-1221.log | 13:19 |
budrz | some of my other files and patches: https://gitlab.com/budrzproj/sailfish-other-files | 13:20 |
mal | budrz: you need to apply this patch in rpm/dhd folder https://pastebin.com/7cfi7caP | 13:21 |
mal | then try build_packages.sh again | 13:21 |
budrz | mal: that worked but I got some errors related to 7.2.2 on "Installed (but unpackaged) file(s) found" but I'll try and fix it | 13:31 |
budrz | thanks for the patch | 13:31 |
mal | read the straggler_files part of hadk pdf | 13:33 |
budrz | I will | 13:36 |
budrz | I have a ".inc" file instead of ".yaml" | 13:50 |
budrz | would I just add "Requires: droid-hal-bonito-detritus" | 13:50 |
budrz | mal: trying to follow 7.2.2, I made these changes: https://gitlab.com/budrzproj/sailfish-other-files/-/blob/main/patterns-sailfish-device-adaptation-bonito-inc.patch | 16:41 |
budrz | and https://gitlab.com/budrzproj/sailfish-other-files/-/blob/main/rpm-droid-hal-bonito-spec.patch | 16:42 |
budrz | but it ended with this error: https://gitlab.com/budrzproj/sailfish-log-files/-/blob/main/rpm-dhd-helpers-build-packages-3.log | 16:45 |
budrz | Here is the full log file: https://gitlab.com/budrzproj/sailfish-log-files/-/blob/main/droid-hal-bonito-1.log | 16:48 |
budrz | perhaps has something to do with test suites that need to run but can't? | 16:50 |
voidanix[m] | @budrz check hadk-hot, it has this specifically: https://etherpad.wikimedia.org/p/hadk-hot | 16:57 |
budrz | @voidanix[m], I'll check it out | 17:16 |
poetaster | piggz, damn those stop releases! | 17:41 |
piggz | poetaster: what other devices were you referring to which had video issues? | 17:42 |
poetaster | I think both the 10ii and the 10iii. sec, I'll check. | 17:42 |
poetaster | https://forum.sailfishos.org/t/4-4-0-64-xperia-10-iii-camera-app-crashes-when-trying-to-record-a-video/12118 | 17:43 |
T42 | <elros34> is 4.4.0.x -> 4.4.0.72 upgrade really needed before upgrading to 4.5.0 in future or it' is not necessary? | 17:45 |
mal | probably any 4.4.0.x is ok | 17:46 |
budrz | @voidanix[m] that worked. thanks! | 17:46 |
mal | poetaster: does x10 II also have camera issues? | 17:46 |
T42 | <elros34> ok that sounds reasonable | 17:46 |
poetaster | mal, searching. I thought so, but .... | 17:47 |
mal | afaik x10 III has some known issues but x10 II should work | 17:47 |
poetaster | I've only seen the error on the Volla/GS290 and the 10ii has no issues with the camera (other than being crappy for sony standards). | 17:48 |
mal | not sure if x10 III and volla issues are related or not | 17:48 |
mal | which kernel does that gs290 have? | 17:49 |
poetaster | Linux VollaPhone 4.9.248+ #37 SMP PREEMPT | 17:49 |
mal | ok, different kernel version so it's not that | 17:50 |
mal | I was just thinking if it could be some kernel issue | 17:51 |
poetaster | for sony, 10iii, someone mentioned: https://github.com/sonyxperiadev/bug_tracker/issues/761 | 17:52 |
T42 | <elros34> @voidanix[m] did you figure out your image building issue? | 17:54 |
poetaster | the volla and sony have this in common: Unable to generate thumbnail image from: /home/defaultuser/Videos/Camera/20221002_195402.mp4[W] unknown:0 - QImage::scaled: Image is a null image | 17:58 |
poetaster | Jun 28 09:44:21 Xperia10III [9359]: [W] unknown:0 - QImage::scaled: Image is a null image | 17:58 |
mal | is that for video that was recorded on the device? is the video playing? | 17:59 |
poetaster | that video never completes recording on the volla. sounds same vrom the 10iii. They wrote: | 17:59 |
poetaster | "When I try to record a video with the native camera app, the frame freezes and the app crashes. I can open the app again, but the image stays black as if no camera were detected." | 17:59 |
T42 | <elros34> I wouldn't worry about that QImage::scaled too much, I saw something similar on totally different device/port | 18:01 |
T42 | <elros34> I can be error from thumbnail/gallery | 18:01 |
poetaster | yeah, I don't think it's material either. The forum link above, he has: CameraBin error: “Could not initialize supporting library.” | 18:02 |
T42 | <Verevka86> + Xiaomi mi6 (hybris17.1) and Poco X3 Pro (hybris18.1.) | 18:04 |
T42 | <Verevka86> while camera recording works in 32 bit version on xiaomi mi6 | 18:04 |
mal | @Verevka86 does video recording fail on those? | 18:04 |
T42 | <Verevka86> Yes (re @SailfishFreenodeIRCBridgeBot: <mal>@Verevka86 does...) | 18:05 |
mal | hybris-18.1 is missing the 32-bit codec fixes, I will push those | 18:05 |
mal | not sure why 17.1 would fail though | 18:05 |
poetaster | piggz, vollas on 17 or? | 18:07 |
piggz | poetaster: yeah | 18:08 |
mal | hmm, why would that fail | 18:08 |
piggz | we've been through this before ..... one moment | 18:08 |
piggz | i think my debugging found it stuck here https://github.com/sailfishos/gst-droid/blob/master/gst/droidcamsrc/gstdroidcamsrcdev.c#L998 | 18:09 |
piggz | it was nt getting any frames | 18:09 |
T42 | <Verevka86> It seems to me that the problem is not in the version, but in bitness (re @SailfishFreenodeIRCBridgeBot: <mal>not sure why 17...) | 18:09 |
mal | but 17.1 has a fix for bitness compatibility, unless those libs are not loaded? | 18:10 |
mal | someone needs to strace | 18:11 |
mal | probably jolla-camera for example | 18:11 |
mal | and check from where stagefright libs are loaded | 18:12 |
poetaster | this is fun. | 18:16 |
poetaster | it's not the kind of m movie I had in mind (hee, hee) | 18:17 |
mal | ? | 18:20 |
mal | https://github.com/mer-hybris/hybris-patches/pull/26 | 18:22 |
poetaster | mal, where would you like that strace. | 18:23 |
poetaster | mal, and what bits | 18:23 |
poetaster | mal, library loads stagefright there are four from :/usr/libexec/droid-hybris/system/lib64/ | 18:25 |
poetaster | libstagefright.so", O_RDONLY|O_ | 18:25 |
poetaster | libstagefright_foundation.so", | 18:25 |
poetaster | libstagefright_codecbase.so", O | 18:25 |
poetaster | libstagefright_omx_utils.so", O | 18:25 |
poetaster | piggz, a lot of: recvmsg(3, {msg_namelen=0}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable) | 18:26 |
poetaster | piggz, not from strace but beyond strace -o .... moov atom not found? | 18:30 |
budrz | Now on section 8.4 but there seems to be file conflicts even though I made the following changes: https://gitlab.com/budrzproj/sailfish-other-files/-/blob/main/droid-config-bonito-spec-2.patch | 18:57 |
budrz | and ran sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper --plus-repo $ANDROID_ROOT/droid-local-repo/$DEVICE in droid-config-$DEVICE' | 18:57 |
budrz | here is the log file: https://gitlab.com/budrzproj/sailfish-log-files/-/blob/main/rpm-dhd-helpers-build_packages-mic-1.log | 18:57 |
T42 | <elros34> did you build package after making changes to it? | 18:59 |
mal | budrz: why do you use patches for those droid* repos? | 19:00 |
budrz | mal: just in case I make a mistake I can just apply the patch when I start over | 19:01 |
budrz | plus to see the differences | 19:02 |
mal | ok | 19:02 |
budrz | T42: after I ran sb2 ... command I ran build_packages.sh --mic | 19:04 |
T42 | <elros34> but you made changes to droid-config, did you build droid-config rpm after? | 19:05 |
budrz | no I didn't | 19:05 |
T42 | <elros34> everything is packaged and installed during mic image creation. If you change something then you must build related package | 19:06 |
T42 | <Verevka86> Its work perfect 👍 (re @SailfishFreenodeIRCBridgeBot: <mal>https://github....) | 19:13 |
budrz | T42: I re-ran rpm/dhd/helpers/build_packages.sh --configs but ended up with: https://gitlab.com/budrzproj/sailfish-log-files/-/blob/main/droid-configs.log | 19:18 |
budrz | I am trying to follow: https://etherpad.wikimedia.org/p/hadk-hot#L131-L132 | 19:19 |
T42 | <elros34> add these before '%include droid-configs-device/droid-configs.inc' | 19:22 |
budrz | ok | 19:22 |
mal | @Verevka86 so 17.1 still has issues though? | 19:28 |
voidanix[m] | @elros34 didn't fix yesterday's issue but will try again tomorrow on another host distro | 19:29 |
T42 | <Verevka86> can't check now (re @SailfishFreenodeIRCBridgeBot: <mal>@Verevka86 so 1...) | 19:29 |
mal | ok | 19:32 |
mal | but good that 18.1 now works | 19:32 |
T42 | <elros34> @voidanix[m] I have read changelog and I think this can be related to 4.4.0.72 changes in mic | 19:32 |
budrz | T42: placing it before and re-running build_packages.sh --configs worked. thanks! | 19:34 |
mal | budrz: btw, don't highlight T42, use the nick after that, for example @elros34 | 19:36 |
T42 | <elros34> @voidanix[m] one change is that --verbose added to mic should print what you would expect from set -x but erroronfail handling could can cause your issue now | 19:36 |
budrz | mal: ok, I didn't know | 19:37 |
mal | yeah, that telegram tunnel bot is a bit unusual | 19:38 |
budrz | it is | 19:40 |
budrz | also, I will clean up and remove any unneccesary "patch" files that I have when all is seid and done... I know it's kind of odd but it just helps me remember what I did | 19:40 |
budrz | *said | 19:41 |
mal | budrz: just using normal git commits might be easier | 19:41 |
mal | and pushing the repo to github or gitlab | 19:41 |
budrz | ok, I will try that | 19:42 |
budrz | I kind of new to all of this, as you can tell | 19:46 |
voidanix[m] | @elros34 afaiu if `--erroronfail` is not specified then it should not error out like that | 19:58 |
voidanix[m] | idk python but there is a bit of a sussy line in that commit | 19:59 |
T42 | <elros34> but it is so it fails as expected, add --verbose to mic then you will now why or || true to some commands in this script | 20:00 |
voidanix[m] | will do tomorrow, thanks for looking into this :) | 20:01 |
T42 | <elros34> @NotKit thanks to your hidl_compat audio works on samsung zerofltexx | 20:05 |
mal | what hidl_compat? | 20:43 |
T42 | <elros34> this one: https://github.com/Halium/android_vendor_halium_hardware/tree/halium-10.0 for devices without 64bit audio lib | 20:44 |
mal | ok | 20:44 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!