**** BEGIN LOGGING AT Tue Nov 30 02:59:57 2021 Nov 30 08:32:43 Morning Nov 30 08:32:56 Tofe: Got home late yesterday, so didn't get to test it yet. Let me try that now Nov 30 08:34:20 Herrie: well there's no rush anyway :) Nov 30 08:38:40 Tofe: well seems to work Nov 30 08:38:43 I'll close my PR then Nov 30 08:38:52 Your solution is more generic anyway Nov 30 08:40:02 It's more that I doubt they'll accept the py_vmdetect dependency Nov 30 08:41:30 Yeah also and it seems faulty Nov 30 08:41:45 Seems our VBox doesn't do HW acceleration and that's why we need it in the first place Nov 30 08:42:21 I pinged Erfan Abdi on Telegram for the PR's. There are 2 other ones that don't hurt to be merged Nov 30 08:44:18 Tofe: I've been toying in getting a Halium 11 build for Mido (Camera was broken anyway and I thought it might be a good thing to try something, build seems easy enough anyway...) Now working on testing it in an actual image. Nov 30 08:44:37 Just wondering which version of the Android 11 headers we should use: https://github.com/Halium/android-headers/compare/halium-11.0...halium-11.0-patched?expand=1 Nov 30 08:44:59 There seems to be a patched and unpatched one with "FP_ATTRIB" as only change, thought you might have some ideas Nov 30 08:45:10 The patched one is after the hybris-patches Nov 30 09:08:29 Herrie: I'd say it's related to the floating point convention somehow Nov 30 09:09:37 yes, it's the good old softfp vs hardfp Nov 30 09:10:00 some vendors have been naughty, and didn't use the same convention as everyone else... Nov 30 09:13:46 Seeing we use them inside a patched Halium build, I guess the patched version makes sense? Nov 30 09:55:18 Herrie: it probably depends on the vendor, I guess Nov 30 09:56:22 Tofe: Well it seems to get patched for all targets, so I guess it's safe to use the patched version Nov 30 09:57:58 ah, ok, well then yes Nov 30 11:29:34 Tofe: Got my new daily phone in the mail today (Titan Pocket), so can also use my regular Titan as a toy device at some point :) Nov 30 11:30:17 Seems they got UBPorts running on it, so should be fairly easy to get LuneOS running on it as well Nov 30 11:33:15 Isn't the titan a little powerful beast? Nov 30 11:35:38 Well the regular one is big, Think BlackBerry Passport and very heavy and bulky Nov 30 11:35:53 morning Nov 30 11:35:54 But has a HW keyboard, The Pocket is a bit thicker, but a lot smaller in terms of size Nov 30 11:36:07 FYI https://www.webosose.org/blog/2021/11/30/webos-ose-2-14-0-release/ nothing too exciting Nov 30 11:38:13 JaMa: Yeah I saw that Nov 30 11:38:32 JaMa: Am I correct to say that we don't have HW acceleration in our VBOX images? Nov 30 11:39:05 Tofe: https://content.hwigroup.net/images/editorial/1200/098173_thm-titans.jpg Nov 30 11:40:00 49 from 85 commits since v2.13.2 are mine and I'm not even supposed to work on OSE :) Nov 30 11:40:17 JaMa: LOL isn't it always like that? Nov 30 11:40:29 But I guess some are generic and not OSE specific? Nov 30 11:42:41 usually fixes for build failures I've come across while building meta-ros with OSE (or adaptations to be compatible with newest Yocto where possible) Nov 30 11:43:03 yes, I think we don't have HW accel in vbox Nov 30 11:44:59 JaMa: Any thoughts on how to enable that? With Waydroid using SW renderer it's not great really Nov 30 11:45:06 I guess we need VBoxVideo for that somehow? Nov 30 11:47:51 Or maybe we use qemu ? what was our status regarding this alternative ? Nov 30 11:48:08 I still have a start-qemu.sh in a folder at home :) Nov 30 11:48:20 but it requires a ext4 image+kernel image Nov 30 11:49:33 Don't we build qemu and wrap it in a VBox image somehow? Nov 30 11:52:53 not sure how the vbox image is built precisely Nov 30 12:00:46 we build with regular qemux86(-64) machine and just package it for VBox as image format Nov 30 12:02:29 for qemu OSE was experimenting with qemu itself built with virglrenderer for accelerated graphics, but back then most distributions didn't have virglrenderer support enabled in qemu builds, so users had to build own qemu (there is a post on OSE forums from me describing how to rebuild ubuntu package with this - instead of installing it outside package manager) Nov 30 12:03:33 and since then OSE switched back to VBox again Nov 30 12:06:51 https://archlinux.org/packages/extra/x86_64/virglrenderer/ well, it's active in archlinux at least :) Nov 30 12:10:59 yes, nowadays many distributions even enable it in distro qemu Nov 30 12:11:44 but then it still makes the emulator unusable on windows/mac where VBox image should work just fine Nov 30 12:12:07 Well there's Qemu for Windows as well it seems, but VBox is more user friendly Nov 30 12:12:12 ah yes, almost forgot windows... Nov 30 12:12:54 I don't think there was Qemu for windows _with virglrenderer_ support, but maybe that changed as well, it's couple years since I've checked Nov 30 12:35:58 Well seems there's a way somehow: https://github.com/matthias-prangl/qemu-virgl-winhost Nov 30 16:48:32 JaMa: I'm trying to build a new kernel for Mido based on Halium 11, getting a bit weird error message in hardknott build. Any thoughts? https://paste.ofcode.org/mHWGaW9cWbEsvL2kstDjxD Nov 30 16:49:02 I tried to grep for zlos in the kernel source, but no matches there Nov 30 16:54:14 it's from the '~' right? isn't it defined in the LOCAL_VERSION variable? Nov 30 16:54:43 show the kernel sources Nov 30 17:14:41 JaMa: https://github.com/Herrie82/android_kernel_xiaomi_mido-1 Nov 30 17:15:35 I think there's no LOCAL_VERSION defined there Nov 30 17:16:47 Ah wait there is... Nov 30 17:17:01 https://github.com/Herrie82/android_kernel_xiaomi_mido-1/blob/halium-11.0/localversion Nov 30 17:17:10 It used to be in the defconfig, now in a file it seems Nov 30 17:22:17 Tofe: You remember where we stored the LXC container config somewhere? Nov 30 17:22:33 Ah found it just now: https://github.com/shr-distribution/meta-smartphone/blob/master/meta-android/recipes-core/android-system/android-system/lxc-config Nov 30 17:23:30 Herrie: maybe you should just replace ~ with - instead of dropping it completely (or drop whole file as zLOS probably isn't very relevant for our builds anyway) Nov 30 17:25:10 defconfig is just one possible source for local version, scripts/setlocalversion does a lot more and looks like they also modified this script a bit Nov 30 17:25:23 https://github.com/Herrie82/android_kernel_xiaomi_mido-1/commit/be1194a8b5d91df3394146a3f52e45966b8a6f7d#diff-ab9778e8da48f16e48b6d4dfaa6f808cd1e89187e53499b568afed3c923156ee Nov 30 17:27:22 https://git.openembedded.org/openembedded-core/commit/?id=56fe5300ab5ab072c20acd03d7fc26e9cae4e652 Nov 30 17:41:41 JaMa: OK thnx for the pointers Nov 30 17:42:14 I now get a bunch of other issues but that's probably because I need to bump libhybris in my build **** ENDING LOGGING AT Wed Dec 01 02:59:56 2021