Friday, 2023-08-04

T42<A_T_R> i have set ```03:37
T42<A_T_R> export RELEASE="4.5.0.21"```03:37
T42<A_T_R>  in .hadk.env but it still showing 4.5.0.16 .03:37
T42<A_T_R> i have set03:38
T42<A_T_R> ```03:38
T42<A_T_R> export RELEASE="4.5.0.21"03:38
T42<A_T_R> ```03:38
T42<A_T_R>  in .hadk.env ,but it still showing 4.5.0.16 . (edited)03:38
T42<A_T_R> Env setup for x00td03:38
T42<A_T_R> ,---03:38
T42<A_T_R> | Sailfish OS 4.5.0.16 (Struven ketju)03:38
T42<A_T_R> or this fine showing both version03:43
T42<A_T_R> `[08/04 03:43:09] : mic 1.0.13 (Sailfish OS 4.5.0.16 (Struven ketju))03:43
T42<A_T_R> Info[08/04 03:43:09] : Substitute macro variable @ARCH@ with aarch6403:43
T42<A_T_R> Info[08/04 03:43:09] : Substitute macro variable @RELEASE@ with 4.5.0.21`03:44
T42<A_T_R> you got solution already for this? (re @neochapay: * Building rpm/droid...)03:49
T42<A_T_R> cp: cannot stat './out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/bionic/libdl_android.so': No such file or directory03:53
T42<A_T_R> droid-hal failed log https://pastebin.ubuntu.com/p/TWd8CghK2Z/03:53
T42<A_T_R> How to solve this (re @A_T_R: cp: cannot stat './o...)05:43
T42<A_T_R> solved above error compiled droid-hal package06:01
T42<A_T_R> everytime i build new image with —mic with new version set in .hadk.env ,it is downloading most  of the prebuilt packages that already downloaded/used for previous versions ,is that normal?09:55
T42<elros34> are you sure that your new .hadk.env is loaded?10:18
*** amccarthy is now known as Guest787110:28
*** amccarthy_ is now known as amccarthy10:28
T42<A_T_R> Yes10:31
T42<A_T_R> I did `source .hadk.env`10:32
T42<A_T_R> Flashed latest image 4.5.0.21 but failed to boot :(10:33
T42<elros34> wait but if you use build_packages.sh --mic then you build image from local repo instead obs10:43
T42<A_T_R> build_pacakges.sh --mic then installed that image only10:48
T42<elros34> then you are not really using obs, see hadk-hot obs section how to build image using obs repository10:50
T42<A_T_R> but it should boot even it used local repo10:51
T42<elros34> yes that is another store which shouldn't be hard to debug10:52
T42<A_T_R> Dmesg https://pastebin.ubuntu.com/p/cBwCW46xFW/10:59
T42<elros34> what journal/logcat shows?11:20
T42<A_T_R> https://pastebin.ubuntu.com/p/jkCDYCNcwv/11:27
T42<elros34> that is not how you generate useful logs, read hadk-hot generating logs section to be sure that you include early boot messages in logs11:28
T42<elros34> if you run logcat 10 minutes after boot then for sure there will be nothing useful in it11:29
T42<A_T_R> logcat https://pastebin.ubuntu.com/p/qqpDG8RGBX/12:13
T42<A_T_R> [defaultuser@MAXPROM1 ~]$ journalctl12:14
T42<A_T_R> Hint: You are currently not seeing messages from other users and the system.12:14
T42<A_T_R>       Users in the 'systemd-journal' group can see all messages. Pass -q to12:14
T42<A_T_R>       turn off this notice.12:14
T42<A_T_R> No journal files were opened due to insufficient permissions.12:14
malif you use ssh then you need to use devel-su when getting journal log12:14
T42<elros34> use root for journal and logcat12:14
T42<A_T_R> ok i will try that then12:15
T42<elros34> mal: btw this libdl_android.so change in droid-hal-device.inc seems to affect @A_T_R also12:16
*** amccarthy is now known as Guest788812:23
*** amccarthy_ is now known as amccarthy12:23
T42<A_T_R> joutnal -b —no-pager https://pastebin.ubuntu.com/p/7nRPZVMGFK/12:26
T42<A_T_R> logcat https://pastebin.ubuntu.com/p/YtWX7V4475/12:26
T42<elros34> dummy_compositor: unrecognized option '--hwc-restart'12:27
malso you have too new droid-config submodule12:30
T42<Herrie1982> Anyone here who's familiar with sensorfw and debugging it?12:30
mal@Herrie1982 what is the problem?12:30
T42<Herrie1982> Having some funny behavior on the PineTab212:30
T42<A_T_R> uppdated droid-config too (re @SailfishFreenodeIRCBridgeBot: <mal>so you have too...)12:30
mal@A_T_R check the recommended submodule revision from hadk-hot12:31
mal@Herrie1982 does it use native sensors or via android side?12:31
T42<Herrie1982> native IIO ones (re @SailfishFreenodeIRCBridgeBot: <mal>@Herrie1982 doe...)12:32
T42<Herrie1982> it could be something on my LuneOS side too but I suspect the accelerometer setup is not correct in sensorfw12:32
malok, so how does it behave, I have some wip fixes to iio I planning on pushing at some point12:32
T42<Herrie1982> Just there is little documentation I could find on what to put there12:32
malis the orientation wrong or some other issue?12:33
T42<Herrie1982> Orientation and when I change the compositor size it doesn't fix the issue12:33
T42<Herrie1982> Just not really sure how/what to debug12:34
maldo you need some matrix for the sensor if the kernel is not correctly reporting the axes12:34
T42<elros34> I remember scale was wrong in at least 2 mainline drivers long time ago so worth to check12:37
T42<Herrie1982> https://github.com/megous/linux/blob/pt2-6.5/arch/arm64/boot/dts/rockchip/rk3566-pinetab2.dtsi#l67812:38
T42<Herrie1982> Just wondering what I should put in the config for sensorfw for name? sc7a20 and for matrix these values from devicetree or the inverted ones?12:39
T42<A_T_R> i am trying my obs repo now  commands from https://etherpad.wikimedia.org/p/hadk-hot#L27712:41
mal@Herrie1982 hmm, so dts has mount matrix12:42
malneed to check if the code can read that12:43
mal@Herrie1982 you probably can see which name it uses from debug output or directly from sysfs from some path12:44
T42<elros34> name should be "sysfs name" property12:44
T42<elros34> so probably /sys/bus/iio/devices/iio:deviceX/name12:45
T42<elros34> that is the input_match inside [accelerometer] section12:47
T42<elros34> @A_T_R did you downgrade droid-config submodule?12:51
T42<A_T_R> yes12:52
T42<elros34> I do not see it in obs12:52
T42<A_T_R> git checkout <recommended-revision-from-hadk-hot>12:52
T42<A_T_R> where? (re @elros34: I do not see it in o...)12:52
T42<elros34> in droid-config repo: https://build.sailfishos.org/package/show/nemo:devel:hw:asus:x00td/droid-config-x00td12:53
T42<A_T_R> sad i didn't push changes12:53
T42<A_T_R> ok i will push changes of droid-configs but about droid-hal repo i did downgrade revision too12:55
T42<elros34> not sure which revision you should use for droid-hal but maybe somebody who build latest release know12:56
T42<A_T_R> i have used this revision and compiled -d https://etherpad.wikimedia.org/p/hadk-hot#L6212:57
mal@elros34 droid-hal is usually not that critical12:58
T42<A_T_R> https://github.com/SailfishOS-sdm660/droid-config-X00TD/commit/11a1f08f9022224d988c513d08e06ccd4fbe568613:01
T42<A_T_R> i have pushed to github so it will build droid-config in obs ?13:02
T42<A_T_R> https://build.sailfishos.org/package/show/nemo:devel:hw:asus:x00td/droid-config-x00td13:02
T42<elros34> no, you must trigger rebuild manually unless you use webhooks13:16
malI triggered it for you13:17
T42<A_T_R> booted sfos-4.5.0.2113:19
T42<Herrie1982> ah great thanks for pointers (re @elros34: that is the input_ma...)13:19
T42<Herrie1982> Will play around a bit13:19
malI'll have a look at some point into adding automatic reading of that matrix from sysfs, I think it's not currently supported in sensorfw13:20
*** amccarthy is now known as Guest789313:21
*** amccarthy_ is now known as amccarthy13:21
T42<elros34> be aware iioadaptor needs some refactoring for example you set matrix in [accelerometer] section but scale in [<device sysfs name>] section unless something changed13:22
malyeah, it's a bit of hack currently13:25
malalso magnetometer iio support is broken13:25
malI have mostly fixed it in my branch but not yet completely13:26
T42<A_T_R> since i build image with latest packages and on my device does not show any OTA FOR 4.5.0.21 ?13:27
T42<elros34> what do you mean by not show? There is no gui OTA support on ports, you must use commandline13:28
T42<A_T_R> yeah ,i used commanline13:28
T42<A_T_R> since already all device related packages installed locally on pc13:29
T42<elros34> obviously if flashed correct 4.5.0.21 then there will be no updates13:29
T42<A_T_R> yes installed 4.5.0.2113:30
T42<A_T_R> but it downloaded 11 packages and installed13:31
T42<elros34> probably because mal trigger droid-config for you13:31
T42<A_T_R> but it will be same as that i built on my pc locally?13:32
T42<elros34> If I understand you right then yes. But you should not worry about local rpm packages at all if you want OTA,13:33
T42<A_T_R> ok13:33
T42<elros34> OTA means you have everything on OBS and create image/install/update packeges from there not from local repository13:34
T42<Herrie1982> There is a Qt6 PR as well, working fine at LuneOS end now with latest commit jmlich. If it doesn't break Qt5 at your end would be nice if it could be reviewed and merged (re @SailfishFreenodeIRCBridgeBot: <mal>I have mostly f...)14:12
T42<Herrie1982> Should work on both Qt5 and Qt6 now but needs testing14:13
T42<A_T_R> Months ago tried to fix video recording but failed attempt ,still i have the issue with video recording how to solve it now14:42
mal@Herrie1982 yeah, I haven't built it yet on our build system so need to do that at some point14:55
T42<Herrie1982> Would be nice :) Any Qt6 update in the pipeline for SFOS? (re @SailfishFreenodeIRCBridgeBot: <mal>@Herrie1982 yea...)15:39
malnot that I know of16:06
malbut it's nice that the build fixes are coming from community to various packages16:07
mal@Herrie1982 at least both sensorfw and binder plugin built without issues from that qt6 branch16:22
malargh, I hate it when people don't keep tags up to date in their forks, that fork is missing some tags and dependency detection fails, need to fork it16:24
T42<adampigg> We could ship it in /opt like 5.15 ;) (re @Herrie1982: Would be nice :) Any...)17:03
mal@adampigg interesting that qt-5.15 build in chum took about 24 hours :)17:09
*** amccarthy is now known as Guest791818:10
*** amccarthy_ is now known as amccarthy18:10
T42<adampigg> Mal: supply some more/faster build nodes :)18:26
T42<TheVancedGamer> nah, jolla's gonna run out of money xD18:26
*** amccarthy is now known as Guest792018:49
*** amccarthy_ is now known as amccarthy18:49
*** amccarthy is now known as Guest792218:55
*** amccarthy_ is now known as amccarthy18:55

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!