Saturday, 2023-07-08

T42<smatkovi> okay i executed the patch without —mb00:01
T42<smatkovi> don't know what that does00:02
T42<elros34> it simply apply few patch files, so check manually whether they are applied especially in system/core00:03
T42<smatkovi> but the kernel takes longer to compile, so i think that were the patches00:04
T42<smatkovi> thanks and thanks for all of your patience00:05
Mister_Magisteri'm gonna commit seppuku on qtdemux00:07
T42<smatkovi> noo, no seppuku00:07
Mister_Magisteri'm gonna kill it00:08
Mister_Magisteror fix it00:08
T42<elros34> @smatkovi btw how did you kill that charging driver spam?00:11
T42<smatkovi> i didn't kill it00:11
T42<smatkovi> i redirected output to a .txt00:12
T42<elros34> ah :)00:12
T42<smatkovi> and then in vim did :g/0xd :g/bat/d and :g/sm5/d00:12
T42<elros34> grep -v <>00:12
T42<smatkovi> oh no i cannot build the packages anymore :/00:14
T42<smatkovi> cp: cannot stat './out/target/product/j5xnlte/system/apex/com.android.runtime.release/lib/bionic/libdl_android.so': No such file or directory00:14
T42<smatkovi> we had that already00:16
T42<smatkovi> you wrote this remove "dl_android" from here: https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L658-66000:17
T42<smatkovi> unfortunately now it says this when i want to build the packages: cp: cannot stat './out/target/product/j5xnlte/system/apex/com.android.runtime.release/lib/bionic/libgc.so': No such file or directory00:24
Mister_Magisteryo stupid question but which hwc version are we using00:25
Mister_Magister@elros34 you know i bet00:26
T42<elros34> I think v200:26
Mister_Magisterhmmm00:28
Mister_Magisteryup would seem so00:29
mal@smatkovi you need to check where the libdl_android.so for example is in out/00:45
malif none of the paths tested in that script work then you need to add a new check for your path00:46
malI instructed how to do that for one device in the last week or so, you can find that in the channel logs00:47
T42<smatkovi> i don't understand that, it worked before and now i have a completely different problem00:49
malare you sure you hadn't patched dhd submodule earlier?00:49
malyou said you cloned it again00:49
T42<smatkovi> yes i did that00:49
T42<smatkovi> i cloned it00:49
T42<smatkovi> i think i didn't have it patched00:51
T42<smatkovi> elros said i should remove the reference to dl_android in one .inc00:52
malso find where those files are in your out00:52
T42<smatkovi> i did that again now and now it complains about missing libgc.so00:52
malyou mean libc.so00:53
T42<smatkovi> here for example: /home/sebastian/hadk/out/soong/.intermediates/bionic/libdl/libdl_android/android_arm_armv8-a_core_shared/libdl_android.so00:53
T42<Mister_Magister> man i got so many questions nobody has answers for xd like is suspend in sfos phone normally S0 or S1?00:53
mal@smatkovi that is not the path we are looking for00:54
T42<smatkovi> i don't know why i cannot even build the kernel anymore00:54
malhow does it fail then?00:55
T42<smatkovi> i'm stupid00:55
T42<smatkovi> it's still compiling00:55
T42<smatkovi> but in another terminal00:55
malheh00:55
malI need to get some sleep now00:56
T42<smatkovi> it seems me too00:56
T42<smatkovi> sleep tight00:58
Mister_Magisterif yall want something to laugh at, i booted up my 5z to compare sleep to 8 and… it doesn't sleep until you launch camera01:10
T42<smatkovi> that doesn't make any sense^^01:11
Mister_MagisterI KNOW RIGHT XD01:11
Mister_MagisterSENSOR-ATD read_sensor_temperature_sony(): camera id 0 not power up! this blocks the sleep01:11
Mister_Magisterokay thats cleared, phone does'nt support S2 only S1 and S301:16
Mister_Magistercorrect that, doesn't support S1, only S0 and S301:17
Mister_Magisterwhat if i switch to S3 xd01:20
Mister_Magisterholy shit it did it01:21
Mister_Magisteryo, i noticed that in my other phones, with older kernels where i can't switch the suspend type, i was getting in dmesg "Disabling non-boot CPUs", but on this one i did not UNTIL i switched to S301:25
Mister_Magisteris it possible that older kernels suspend to S3 by default and this one doesn't thats why suspend performace is worse?01:26
Mister_Magisterwhat in the everlivinghell is QSystrace02:08
T42<Mister_Magister> so hwc reports refresh rate of 6002:26
Mister_Magisternow i made g2 suspend to be 83%, even tho it was always 99%04:14
Mister_Magisternothing makes sense anymore04:14
Mister_Magisteri think i know the culprit but lemme test more04:19
Mister_Magisteryall will laugh if its true04:19
*** Danct12 is now known as Guest533004:32
Mister_Magisteryep, all the reason why i was getting 83% of suspend and not 99% is… drumroll please… because i set system monitor to update every 30s04:35
Mister_Magister83% of time that update landed on awake time04:35
Mister_Magisterbut the S3 was the real deal i think04:39
Mister_Magistersince i read a ton about autosuspend… can anyone tell me what's preventing mce from putting device to S3 when screen is off?04:39
Mister_Magisterno need for autosuspend04:40
Mister_Magisterwhere's spiiroin when you need them04:40
Mister_Magisterwhaddya know in s3 instead of 1.2%/h i haven't lost single percent past 2h05:31
T42<parmjotsinghrobot> Does some sort of s2idle implementation exist in sfos?07:05
T42<parmjotsinghrobot> I've messed around with that a bunch on desktop07:05
T42<smatkovi> do i need to do that, although i use hybris-17.1 and this is for hybris-16? Copy files from https://github.com/sailfishos-oneplus5/droid-config-cheeseburger/tree/hybris-16.0/sparse/usr/libexec/droid-hybris/system/etc/init to your config repo (to hybris/droid-configs/sparse/usr/libexec/droid-hybris/system/etc/init) and rebuild config packages using rpm/dhd/helpers/build_packages.sh -c09:43
*** ced117_ is now known as ced11710:02
T42<elros34> no10:44
T42<TheVancedGamer> mal: hey, back with some more issues :P14:07
T42<TheVancedGamer> this time I figured out the vulkan stuff, and got all libraries and test stuff installed, but when invoking `test_vulkan` I get hit with a segfault, with no ideas from strace14:07
T42<smatkovi> if i get no telnet the kernel is wrongly compiled right? which would be strange because earlier with the same options it at least booted to have telnet14:21
T42<elros34> depends on what do you mean: no telnet. No any sign of telnet in host dmesg even after stopping boot in init-script or something else14:28
Mister_Magisterlol first phone when alarm poweron works14:32
Mister_Magisteraint nobody cares about this wiki https://wiki.merproject.org/wiki/Adaptations/libhybris14:33
T42<smatkovi> i used to check that regularly, but haven't made a port yet^^14:35
T42<smatkovi> dmesg host says this: [    1.154341] wmi_bus wmi_bus-PNP0C14:03: WQBC data block query control method14:41
T42<smatkovi> not found14:41
T42<smatkovi> and earlier it says about running init14:43
T42<smatkovi> in the morning i started from scratch with cloning the repos, maybe i made an error on the way14:51
T42<smatkovi> now i know i should've just deleted the git rebase file and apply the patches14:53
T42<elros34> why do you keep cleaning/starting from scratch, this is wast of time. stop booting in init script via init_enter_debug2  and see if you have telnet back15:14
T42<smatkovi> so i just do touch init_enter_debug2, right? i had no other idea how i could apply the patch again15:20
T42<elros34> just touch-> create that file via recovery in sfos rootfs15:57

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