T42 | <k1gen> mal: https://vomitb.in/raw/Ld5GBr6rTN | 06:09 |
---|---|---|
*** amccarthy is now known as Guest9574 | 07:48 | |
*** amccarthy_ is now known as amccarthy | 07:48 | |
voidanix[m] | is there anything required to make https://github.com/mer-hybris/droid-config-sony-seine/commit/9c57a3d1ee4f797b8eff66bde62cf4bcfae0784a work on 4.5.0? | 11:34 |
voidanix[m] | other than updating droid-configs-device, ofc | 11:34 |
voidanix[m] | device boots to a black screen otherwise | 11:35 |
voidanix[m] | nvm it's not on the upgrade-4.5.0 branch, guess it's for a later version... | 11:56 |
mal | it needs newer mce if you use latest master branch of the submodule | 13:22 |
mal | @k1gen ok, then no useful modules in there for audio | 13:24 |
mal | which just means all of those are builtin | 13:25 |
T42 | <k1gen> is it bad? | 13:25 |
mal | no, I just wanted to be sure there was nothing there | 13:27 |
T42 | <k1gen> alright | 13:28 |
T42 | <b100dian> I have trouble starting gui. I am masking user@10000 and test_hwcomposer crashes and qmlscene minimer does not (but it doesn't do anything either) | 15:45 |
T42 | <b100dian> I notice that one of the outputs of qmlscene is that libandroidicu is not found. Linking that from /odm/lib64 gives me the "is not accessible for the namespace "(default)" message | 15:46 |
T42 | <b100dian> and then grepping the logs I found that this might be /linkerconfig related. I do have a systemd service that mounts What=/linkerconfig/bootstrap Where=/linkerconfig | 15:47 |
T42 | <b100dian> Should I change that to default? | 15:48 |
T42 | <elros34> not sure if you can change that easily without breaking some boot services, IIRC switching from bootstrap to default is commented out by hybris patches. Does surfaceflinger work? | 16:20 |
T42 | <b100dian> I think I just broke it, but it used to vibrate but do nothing | 16:38 |
T42 | <b100dian> Ok, back to previous state - vibrates, but doesn't display anything | 16:42 |
T42 | <b100dian> (I broke it by reverting https://github.com/mer-hybris/droid-hal-configs/commit/336c1b14cc20187a7e9ba368f20161030e326ec9 "in spirit", adding `#ExecStartPre`, maybe that's incorrect) | 16:42 |
T42 | <b100dian> In theory those files are too new, I should have just deleted them | 16:43 |
T42 | <elros34> yeah to new submodule | 16:46 |
T42 | <elros34> @b100dian I think I used something like this for linkerconfig (and not relevant for you apexes) but I am not sure: https://paste.opensuse.org/pastes/17508d6b14e6 | 17:15 |
T42 | <elros34> and i think without commenting out "mount none /linkerconfig/bootstrap /linkerconfig bind rec" in init.rc | 17:21 |
T42 | <b100dian> The result seems to be that there is no /linkerconfig/default or bootstrap subfolder. I'm not sure how come this is not visible in the mount | grep linkerconfig but I assume it worked | 18:51 |
T42 | <b100dian> I don't see a difference in my error: library "libandroidicu.so" needed or dlopened by "/usr/libexec/droid-hybris/system/lib64/libmedia.so" is not accessible for the namespace "(default)" | 18:52 |
T42 | <b100dian> Maybe the ld.config.txt files need to be changed. I remember there was a such change before, was it in our etc? | 18:52 |
T42 | <k1gen> @b100dian I had that error before, search for libandroidicu.so | 18:53 |
T42 | <b100dian> Yeah. How did you solve it, by bind mount instead of linking? | 18:53 |
mal | @b100dian check strace to see if it really fails to open the lib, sometimes it falls back to some other path for loading but still logs an error | 18:56 |
mal | which android base is that? | 18:57 |
T42 | <b100dian> True that. It might be a red herring in the case of qmlscene/minimer. | 18:57 |
T42 | <b100dian> Lineage 18.1 | 18:57 |
mal | how does logcat ad journal look on your device, just wondering if some important services fail | 18:58 |
T42 | <elros34> @b100dian about patch: I assume you disabled systemd mount and enabled bootstrap mount in init.rc? | 18:59 |
mal | wasn't there that one patch for bootstrap stuff, I was supposed to push that to hybris-patches but probably forgot | 19:00 |
mal | for devices which don't have updatable apex | 19:00 |
mal | not sure which type that device is | 19:01 |
T42 | <b100dian> @elros34 no, I assumed they would be equivalent.. | 19:04 |
T42 | <b100dian> mal: probably the last patch Elros linked is the one | 19:04 |
T42 | <b100dian> @k1gen how did you get past that "default" namespace error then? | 19:04 |
mal | yes that one | 19:05 |
T42 | <elros34> not sure about init.rc anymore, it was quiet a time ago but I think systemd mount should be disabled | 19:05 |
T42 | <b100dian> Init has > # Removed during droid-hal-device build : mount none /linkerconfig/bootstrap /linkerconfig bind rec | 19:06 |
T42 | <k1gen> @b100dian sorry, fixed couple other things after that. check in chat history, I should've said how I fixed that (if I did) | 19:06 |
T42 | <b100dian> Systemd mount is [Mount] What=/linkerconfig/bootstrap \n Where=/linkerconfig \n Type=none \n Options=bind,rec | 19:06 |
T42 | <elros34> I doubt it, he probably still have it or talking about different error about missing file not namespace | 19:07 |
T42 | <b100dian> Yes, this was my impression too | 19:08 |
T42 | <b100dian> but as mal says, qmlscene is not blocked by this. It actually finds /apex/com.android.art/lib64/libandroidicu.so :) | 19:11 |
T42 | <b100dian> So I would like suggestions what to do about the no-GUI | 19:12 |
T42 | <elros34> so have you tried starting surfaceflinger? | 19:12 |
T42 | <b100dian> Yes, it doesn't crash but doesn't display anything | 19:12 |
T42 | <elros34> together with bootanim? | 19:13 |
T42 | <elros34> ation | 19:13 |
T42 | <b100dian> Interesting one. When I start surfaceflinger, bootanimation says "ANDROID_ROOT not set" | 19:14 |
T42 | <b100dian> and aborts | 19:14 |
T42 | <elros34> you need oto set that env: hadk-faq | 19:14 |
T42 | <elros34> or hot | 19:15 |
T42 | <b100dian> ANDROID_ROOT="/system" /system/bin/bootanimation yes, I found that in my reverse-serach | 19:16 |
T42 | <b100dian> "successfully turns off the screen" | 19:17 |
T42 | <b100dian> (I mean, ASUS logo is gone) | 19:17 |
mal | @b100dian how does lipstick fail? | 19:18 |
T42 | <elros34> no errors in dmesg/logcat? | 19:18 |
T42 | <b100dian> Logcat around that surfaceflinger start is https://vomitb.in/CHFUD2iiwO | 19:38 |
T42 | <b100dian> This is suspicious > HWComposer: isConnected failed for display 19261202339590786: Invalid display | 19:39 |
mal | you still haven't shown full logs, or I missed those | 19:42 |
T42 | <b100dian> And journalctl about the same time (should include dmesg) https://vomitb.in/LM4JXjxg7t | 19:44 |
T42 | <b100dian> mal: no, I haven't. So you want to unmask user@10000 and show boot -> lipstick? logcat and journal? | 19:45 |
mal | well you are only showing small parts of logs so something important could be hidden in the earlier part of the logs | 19:45 |
mal | at least show full journal | 19:46 |
mal | logcat is also helpful probably | 19:46 |
T42 | <elros34> disable that vendor.time_daemon , it only spam your logs | 19:54 |
T42 | <b100dian> journal https://pastebin.ubuntu.com/p/vyPNdwtM3c/ | 19:55 |
T42 | <b100dian> logcat https://pastebin.ubuntu.com/p/qpSprBn5XY/ | 19:55 |
T42 | <b100dian> Elros: I did try to _HYBRIS_DISABLE it before booting. I think it needs override & disable too | 19:56 |
T42 | <elros34> "dummy_compositor: unrecognized option '--hwc-restart", are you sure you use correct submodules? | 19:56 |
T42 | <b100dian> no, I am probably not. That's why I tried to revert https://github.com/mer-hybris/droid-hal-configs/commit/336c1b14cc20187a7e9ba368f20161030e326ec9 on device earlier. I should just rm the files | 19:58 |
mal | @b100dian have you checked if any mounts fail? | 19:59 |
mal | that dummy_compositor error means you have too new submodule | 20:00 |
T42 | <b100dian> Removed thos files, bootanim now works | 20:05 |
T42 | <b100dian> *those | 20:05 |
T42 | <b100dian> They submodule is reset locally to the corrrect commit, I just haven't correctly done the same changes on the device, nor reinstalled | 20:05 |
T42 | <elros34> so no longer isConnected failed error? | 20:06 |
T42 | <elros34> do you have /mnt/vendor/persist? 'findmnt' | 20:11 |
T42 | <b100dian> I still see that isConnected error from surfaceflinger | 20:12 |
T42 | <b100dian> Yes, I have /mnt/vendor/persist | 20:13 |
T42 | <b100dian> To mal's previous question: the only mounts I see failing are /vendor/asusfw and /vendor/vm-system which I checked that they don't have any corresponding img in the asus firmware folder and no contents (0) on the device, they were just listed in fstab.default for some reason I don't know | 20:16 |
T42 | <elros34> did you enable android.hardware.audio.service for some reason, I see it in log? | 20:17 |
T42 | <b100dian> no | 20:18 |
T42 | <b100dian> but my hunch is that some things are parsed in some other order | 20:18 |
T42 | <b100dian> and it also needs override + disabled | 20:18 |
T42 | <b100dian> I remember to have lost some time with this with the previous device. I think this exact service | 20:18 |
T42 | <b100dian> (altough that device rebooted if audio-hal was enabled and audioserver was not) | 20:20 |
T42 | <b100dian> Ok, disabled audio-hal + override. I notice lipstick crashes because of a library on startup but starts later | 20:51 |
T42 | <b100dian> Adreno : IsValidNativeBuffer: Buffer has a NULL handle | 20:51 |
T42 | <b100dian> Adreno : DequeueBuffer: Dequeued Buffer is not valid | 20:51 |
T42 | <b100dian> While /vendor/bin/hw/vendor.qti.hardware.display.composer-service says > DisplayBase::SetVSyncState: Can't enable vsync when display 54-0 is powered off or SecureDisplay/TUI in progress | 20:52 |
T42 | <b100dian> This is from https://github.com/LineageOS/android_hardware_qcom_display/blob/lineage-18.1-caf-sm8350/sdm/libs/core/display_base.cpp#L1599 | 20:59 |
T42 | <b100dian> fresh logcat with 5988 being composer service https://pastebin.ubuntu.com/p/yWvhc8b38J/ and starting qmlscene (11457): https://pastebin.ubuntu.com/p/xFHPmrQ6gp/ | 21:45 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!