| T42 | <elros34> @the_hiktor not really, vendor it's not even mounted at this stage. Is it kernel issue? why you still have this Context unconfined_u:object_r:unlabeled_t:s0 is not valid If you remove file_context or policy socket error will gone and you have working journal? | 05:26 |
|---|---|---|
| T42 | <elros34> @nightishaman all relevant logs will be in journal or logcat | 05:29 |
| T42 | <elros34> @the_hiktor maybe you should enable more debug option in system:: LogLevel=debug and LogTarget=kmsg in /etc/systemd/system.conf | 06:10 |
| T42 | <the_hiktor> is there any point of swapping any blobs with different ones at all ? | 07:36 |
| T42 | <the_hiktor> or at least doing a new kernel mainly for sfos | 07:36 |
| T42 | <the_hiktor> ? | 07:36 |
| T42 | <the_hiktor> full dmesg with those debugging options enabled | 08:04 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/f18a55d34470 | 08:04 |
| T42 | <the_hiktor> i didn't remove files_contexts yet | 08:04 |
| T42 | <the_hiktor> and what's with that error "No such file or directory" | 08:09 |
| T42 | <the_hiktor> almost everything fails with that cause | 08:10 |
| T42 | <the_hiktor> i removed file_context but journal still dead | 09:08 |
| T42 | <the_hiktor> i'm starting to think there's something wrong in my setup 🥲 | 09:09 |
| T42 | <the_hiktor> well... fuck that selinux policy file | 09:40 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/338b1bd6e31c | 09:40 |
| T42 | <the_hiktor> full dmesg | 09:49 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/2c05a65a78e5 | 09:49 |
| T42 | <elros34> without selinux files you don't need these debug options, you "need" audit=0 and you should be able to use journalctl/logcat | 15:00 |
| T42 | <the_hiktor> Yeah I thought about enabling audit | 15:15 |
| T42 | <the_hiktor> But how things looking so far ? | 15:16 |
| T42 | <the_hiktor> Is it a progress 🫤 | 15:16 |
| T42 | <the_hiktor> Or nah | 15:16 |
| T42 | <the_hiktor> Tried journal it works fine | 15:17 |
| T42 | <the_hiktor> But waiting further instructions | 15:18 |
| T42 | <the_hiktor> Not sure logcat works fone | 15:18 |
| T42 | <the_hiktor> Fine | 15:18 |
| T42 | <the_hiktor> here's journal logs | 18:43 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/126334fef293 | 18:43 |
| T42 | <the_hiktor> any explanation why there's no ui yet 🥲 | 18:46 |
| T42 | <the_hiktor> what's droid-bootctl for ? | 18:48 |
| T42 | <the_hiktor> like what it does here | 18:48 |
| T42 | <Mister_Magister> so that you can mark boot as successful | 18:48 |
| T42 | <Mister_Magister> if you don't after 3 unsuccessful boots it will switch slot | 18:48 |
| T42 | <Mister_Magister> then if that other slot fails 3 times device will become softbricked | 18:48 |
| T42 | <Mister_Magister> it's mechanism designed to (un)brick your device | 18:48 |
| T42 | <the_hiktor> do i need it ?? | 18:49 |
| T42 | <the_hiktor> i have a only | 18:49 |
| T42 | <Mister_Magister> you probably do | 18:49 |
| T42 | <elros34> log is only partial but anway you need check logcat: jolla-startupwizard-pre-user-session[2268]: failed to get hwcomposer service | 18:51 |
| T42 | <the_hiktor> android.hardware.graphics.composer@2.4-service: failed to open hwcomposer device: Invalid argument | 19:18 |
| T42 | <Mister_Magister> that sounds like fun | 19:19 |
| T42 | <the_hiktor> how come🥲 | 19:19 |
| T42 | <Mister_Magister> last time @elros34 saw it, he mentioned linkerconfig :) | 19:19 |
| T42 | <Mister_Magister> and that's literally the only other mention of this error so you can feel ✨special✨ | 19:20 |
| T42 | <the_hiktor> be like him 😂 | 19:21 |
| T42 | <adampigg> mal: has android-headers been updated for 5.1? | 19:23 |
| T42 | <Mister_Magister> check logcat for example i guess | 19:24 |
| T42 | <the_hiktor> yeah what should linkerconfig look like in your opinion ?? | 19:30 |
| T42 | <the_hiktor> like empty or what | 19:30 |
| T42 | <elros34> is this really first and only error you got? One line errors without context are useless for debugging | 19:33 |
| T42 | <the_hiktor> i just used this /usr/libexec/droid-hybris/system/bin/logcat all | grep "hwcomposer" | 19:37 |
| T42 | <the_hiktor> and that's pretty much all i can see | 19:37 |
| T42 | <the_hiktor> just noob things 🙃 | 19:37 |
| T42 | <the_hiktor> oh wait | 19:42 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/2b11512ef7f3 | 19:42 |
| T42 | <the_hiktor> so @Mister_Magister could you please kindly tell me wth am i supposed to do with the linkerconfig thing you mentioned | 19:46 |
| T42 | <Mister_Magister> no clue | 19:46 |
| T42 | <the_hiktor> me too then 🙃 | 19:47 |
| nightishaman | mal: https://paste.ubuntu.com/p/RhJFP9pZWb/ | 20:19 |
| mal | nightishaman: is linker config ok in that test? | 20:26 |
| mal | @the_hiktor I suspect the hwcomposer error is because of selinux not being setup | 20:27 |
| T42 | <the_hiktor> does policies-setup have anything to do with what you mentioned ? | 20:33 |
| mal | probably not | 20:34 |
| mal | if I understood correctly that last test was without the selinux files in /etc/selinux | 20:34 |
| T42 | <the_hiktor> i only got rid of sepolicy.30 as of now | 20:35 |
| T42 | <the_hiktor> sry policy.30 | 20:36 |
| mal | still can't understand why selinux fails | 20:38 |
| nightishaman | mal: linkerconfig is fine | 20:48 |
| T42 | <the_hiktor> mal: got any suggestions ? | 20:58 |
| mal | nightishaman: why does it then fail to find mapper.pixel.so | 21:05 |
| nightishaman | mal: only the first two times, i guess thats because the second linkerconfig hasnt applied yet | 21:19 |
| Mister_Magister | mal: i did cursed thing and i'm sending request with ID from 1.3 interface while connected to 1.2 interface but what's better is that it completely fixed the issue xd | 21:21 |
| Mister_Magister | the 1.3 1.4 1.5 interfaces use different data in call state indication so i would have to first implement that before upping the version | 21:22 |
| mal | nightishaman: ok, it seems I didn't check log far enough, the threading issue is odd | 21:23 |
| nightishaman | mal: I would debug it but i guess lipstick isnt open source | 21:26 |
| Mister_Magister | hmm the 1.3 indication only seems to have additional bool and int32 so shouldn't be too hard | 21:27 |
| Mister_Magister | 1.5 has yet another additional field | 21:28 |
| mal | nightishaman: part of it is https://github.com/sailfishos/lipstick | 21:35 |
| mal | nightishaman: maybe try the simpler startup wizard, the pre user session one | 21:36 |
| Mister_Magister | lipstick itself is opensauce, just the closed source part of qt ui is not | 21:36 |
| nightishaman | mal: is there anyway we can access the reason it coredumped | 21:59 |
| nightishaman | starting the startup wizard starts lipstick and it gets the same errors | 22:03 |
| mal | nightishaman: which startup wizard did you try? | 22:07 |
| nightishaman | jolla-startupwizard-pre-user-session.service | 22:07 |
| nightishaman | i also cant run it manually in defaultuser context | 22:08 |
| mal | that fails also? | 22:08 |
| nightishaman | it will say Cant connect to display (Connection refused) | 22:08 |
| nightishaman | yes | 22:08 |
| mal | did you export needed variables as defaultuser? | 22:08 |
| nightishaman | maybe not | 22:09 |
| mal | the ones in /var/lib/environment/compositor/droid-hal-device.conf | 22:10 |
| mal | also you might want to test adding QT_QPA_FORCE_HWC2=1 to that file | 22:10 |
| mal | that is needed on some devices | 22:11 |
| nightishaman | https://paste.ubuntu.com/p/Qs4XfHQkRF/ | 22:11 |
| nightishaman | direct execution with all the exports set | 22:11 |
| nightishaman | including the one you just mentioned | 22:11 |
| mal | and same failure with the startup wizard? | 22:15 |
| mal | hmm, wait | 22:15 |
| mal | add a config similar to this but with the correct service names, the vendor.qti.hardware.display.composer in the example is the android service name in .rc file of compositor https://github.com/mer-hybris/droid-config-sony-zambezi/blob/master/sparse/etc/mce/60-compositor-murray.ini | 22:17 |
| nightishaman | mal: same error still | 22:34 |
| mal | which service name did you have? | 22:40 |
| mal | I assume you rebooted after adding the config file? | 22:40 |
| nightishaman | yes | 22:40 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!