| *** n2klb_ is now known as n2klb | 02:04 | |
| sharks | Dang, is it the case that no audio during calls is not a trivial thing? I thought it was a relatively common issue but there doesn't seem to be a relatively common solution? | 03:54 |
|---|---|---|
| sharks | Also @mister_magister did you solve the not being able to reject a call issue? I have noticed it is happening to me too | 04:56 |
| sharks | From the logs on 2023-04-13 mal, k1gen and edp_17 were all having issues with audio in calls and they suspected because they all used hidl_compat. I am also using hidl-compat. Does anyone know if they ever got to the bottom of this problem? Does fp4 / motog7 / pixel4 still have no audio in calls? | 07:16 |
| sharks | On 2023-07-25 it was mentioned that you need dummy-af if you have vendor.qti.*.am@ in binder-list, but I have both. Do I need audioflinger or something? | 07:27 |
| sharks_ | Do I need the jb2q audio even though I have Android 15? | 09:53 |
| mal | no, you don't use jb2q, and you should have dummy-af | 11:51 |
| T42 | <Mister_Magister> yes i did solve it (re @SailfishFreenodeIRCBridgeBot: <sharks>Also @mister...) | 12:45 |
| T42 | <Mister_Magister> but unless you have motorola with similar vendor it mostlikely won't help you | 12:46 |
| mal | sharks: call audio is usually just about getting the hidl_compat module to function properly | 12:52 |
| rinigus | b100dian: I have added https://github.com/sailfishos-sony-nagara/main/blob/main/scripts/create-manifest-snapshot.py | 15:21 |
| rinigus | that will allow us to keep an eye on our local changes in HADK and LOS repos. bit easier to work with updates | 15:22 |
| T42 | <nightishaman> mal: Any guess why my problems from yesterday are still occuring? Do I need to set a version somewhere still? | 19:06 |
| mal | was the target update successful? | 19:08 |
| mal | try what you see with sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -m sdk-install zypper if pulseaudio | 19:08 |
| T42 | <nightishaman> https://pastebin.com/PATP0L17 | 19:10 |
| T42 | <nightishaman> 14.2 | 19:10 |
| T42 | <elros34> did you update also platform sdk? Where do you even have this issue? | 19:20 |
| mal | I suspect the target update was only partial | 19:21 |
| mal | what does this say: sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -m sdk-install zypper in --force pulseaudio | 19:21 |
| mal | but that says it's up to date | 19:22 |
| mal | are you really sure you updated the target? | 19:22 |
| mal | what does this say: sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -m sdk-install ssu re | 19:22 |
| T42 | <nightishaman> Device release is currently: 5.0.0.62 | 19:43 |
| mal | yesterday I said this: I suggest first running "sdk-foreach-su -ly 5.1.0.11" then "sdk-foreach-su -ly zypper ref" and finally "sdk-foreach-su -ly zypper dup" | 19:44 |
| mal | you didn't do that? | 19:44 |
| mal | oop | 19:45 |
| T42 | <elros34> missing ssu re? | 19:45 |
| mal | first one was supposed to be "sdk-foreach-su -ly ssu re 5.1.0.11" | 19:45 |
| mal | yes | 19:45 |
| mal | oops | 19:45 |
| mal | @nightishaman "sdk-foreach-su -ly ssu re 5.1.0.11" then "sdk-foreach-su -ly zypper ref" and finally "sdk-foreach-su -ly zypper dup" | 19:46 |
| T42 | <nightishaman> https://pastebin.com/kpnUytTa | 19:47 |
| T42 | <nightishaman> nvm | 19:48 |
| mal | on the other hand it might be easier to reinstall the target, I remember I had some issues updating targets | 19:52 |
| mal | but try and see if you have too many issues with dependencies | 19:53 |
| T42 | <nightishaman> well accidentally pressed ctrl c now im stuck in zypper is cleaning up | 19:53 |
| T42 | <nightishaman> how would i reinstall it properly? | 19:53 |
| mal | reinstalling would be just to remove the target using sdk-assistant and the installing clean target using the instructions | 19:54 |
| mal | you would only need to reinstall the target, tooling and platform sdk are easier to update | 19:55 |
| T42 | <elros34> btw "then" in command might not work | 20:01 |
| T42 | <nightishaman> https://pastebin.com/as1EBEMi this happened when installing aarch64 target, do i need to use i486 one? | 20:05 |
| T42 | <nightishaman> made a mistake | 20:07 |
| T42 | <elros34> update platform sdk first | 20:08 |
| mal | and tooling | 20:14 |
| T42 | <nightishaman> https://pastebin.com/QhApvagu | 20:29 |
| T42 | <nightishaman> platform sdk updated | 20:29 |
| T42 | <nightishaman> the rest reinstalled | 20:29 |
| sharks_ | Is there any documentation regarding what it entails to get hidl_compat "functioning properly"? AFAIK there's nothing in the logs about how fp4 or motog7 solved it. | 20:30 |
| mal | @nightishaman go to hybris/mw/pulseaudio-moduled-droid and run "git clean -x -f -d" | 20:31 |
| mal | and make sure the repo is in correct version, 14.2.106 | 20:31 |
| T42 | <nightishaman> mal: repo is on branch master | 20:35 |
| mal | that pulseaudio-moduled-droid should be at commit 65edd31f62f22e2eec1f765608ca9c6ae5c4af7b | 20:36 |
| T42 | <nightishaman> commit 72273cc48b288847c45e6753998fb42672a3aeb3 (*HEAD* -> *master*, *tag: 14.2.109*, *origin/master*, *origin/HEAD*) | 20:36 |
| T42 | <nightishaman> that also okay? | 20:38 |
| mal | no | 20:45 |
| mal | too new | 20:46 |
| mal | Mister_Magister: what issues did you have with 5.1 on older devices? | 20:46 |
| Mister_Magister | wifi not working, audio not working | 20:46 |
| T42 | <nightishaman> mal: It did work tho with git clean | 20:47 |
| mal | Mister_Magister: on fp2 wifi works fine, audio seems to have issues | 20:48 |
| T42 | <nightishaman> Should I downgrade to tag and redo —mw or continue | 20:48 |
| Mister_Magister | mal: well wifi had some massive issues but it was somewhat related to rfkill so maybe i'll try to enable that | 20:48 |
| mal | @nightishaman run in hybris/mw/pulseaudio-moduled-droid these commands "git clean -x -f -d" and then "git reset --hard 65edd31f62f22e2eec1f765608ca9c6ae5c4af7b" and the build it using "build_packages.sh -b hybris/mw/pulseaudio-moduled-droid" | 20:49 |
| mal | Mister_Magister: looks like audio issue is some version mismatch in pulseaudio droid module and pulseaudio | 20:49 |
| mal | Mister_Magister: "module.c: Module "module-droid-card" version (17.0.102) doesn't match the expected version (17.0)" | 20:50 |
| mal | checking what is wrong | 20:50 |
| Mister_Magister | hmmm okay | 20:50 |
| mal | Mister_Magister: pulseaudio-modules-droid-jb2q needs to be 14.2.103 to work with pulseaudio 17, testing once it builds on obs | 20:51 |
| Mister_Magister | okii thakns | 20:53 |
| mal | need to test which wpa versions work on fp2 | 20:53 |
| Mister_Magister | mal: so i still have device plugged in since that time i tried it | 20:54 |
| Mister_Magister | it got some dust but i can check stuff if you want me to | 20:54 |
| Mister_Magister | ye so this is in journal https://paste.opensuse.org/pastes/edea78d1f255 | 20:55 |
| Mister_Magister | and i noticed i have CONFIG_RFKILL not set | 20:56 |
| Mister_Magister | so maybe if i enable config_rfkill it will just work | 20:56 |
| Mister_Magister | but the TLS context is also scary | 20:56 |
| Mister_Magister | if you have any ideas i'm open | 20:56 |
| mal | yeah, I have rfkill enabled | 20:57 |
| mal | possible the tls issue is that something broke before it | 20:57 |
| mal | Mister_Magister: so enable rfkill and test again and if it still fails then we can look again, btw after updating pa droid module audio works | 20:58 |
| Mister_Magister | oki | 20:58 |
| Mister_Magister | mal: fp2 devel repo? | 20:58 |
| mal | Mister_Magister: remember to update droid-config submodule to correct version, 41cd1d9dbe6f644c98478705a4d96e9eb3fe0a90 | 20:58 |
| mal | yes, I tested with fp2 devel | 20:59 |
| mal | noticed some bugs in mer kernel checker, some missing version conditionals | 20:59 |
| Mister_Magister | I've already updated dcd to 41cd1d9dbe6f644c98478705a4d96e9eb3fe0a90 in the past, man i read your PSA :) | 21:00 |
| mal | ok | 21:00 |
| Mister_Magister | I just ctrl+f PSA in telegram channel xd | 21:00 |
| mal | I'll probably just push the fix for those directly without PR if the repo allows | 21:01 |
| T42 | <b100dian> rinigus: cool, so what is the plan, compare the snapshots? | 21:05 |
| Mister_Magister | I'm scared of rebuilding hal because i often have undocumented steps and it like never works when i rebuild it 5 years later | 21:07 |
| Mister_Magister | ok last rebuild was only 3 years ago | 21:07 |
| mal | I had to find what kernel version I had used, I had the kernel repo in some test branch which wasn't correct | 21:08 |
| T42 | <nightishaman> i just got display!! | 21:08 |
| T42 | <nightishaman> on setup | 21:08 |
| mal | nice | 21:08 |
| T42 | <nightishaman> it reboots | 21:08 |
| mal | Mister_Magister: I have text document for each device with all instructions for those | 21:09 |
| T42 | <nightishaman> 5.1.0.11 be hailed | 21:09 |
| Mister_Magister | mal: yeah that'd be smart wouldn't it xd | 21:09 |
| Mister_Magister | mal: "libhybris hwc2 compat module" how do i know if i'm using it and have to rebuild it? | 21:10 |
| mal | Mister_Magister: and for more recent devices I have made scripts so I can rebuild hybris-hal etc with one command and update obs with anohter | 21:10 |
| mal | Mister_Magister: hwc compat module is needed for android 8+ https://github.com/mer-hybris/hybris-boot/blob/master/Android.mk#L319 | 21:10 |
| T42 | <nightishaman> reboot takes long | 21:11 |
| Mister_Magister | so if i have 8+ android i 100% use it and have to rebuild hal | 21:11 |
| T42 | <nightishaman> ok it shutdown instead | 21:11 |
| mal | Mister_Magister: depends if you plan to update qt5 qpa hwcomposer plugin | 21:12 |
| Mister_Magister | ah | 21:12 |
| mal | Mister_Magister: note that there are some performance improvements when using hwc2 compat and latest qpa plugin | 21:12 |
| Mister_Magister | mal: hmm mer-kernel-check wants CONFIG_NF_LOG_IPV4 but my kernel doesn't have it | 21:13 |
| Mister_Magister | mal: nice! | 21:13 |
| mal | Mister_Magister: update to latest mer-kernel-check | 21:13 |
| Mister_Magister | I have lat… maybe not latest but i cloned it couple days ago | 21:13 |
| mal | I just pushed the fix 10 minutes ago :) | 21:14 |
| Mister_Magister | :) | 21:14 |
| T42 | <nightishaman> ok now im stuck at "User data could not be encrypted and then it goes black" | 21:14 |
| mal | always nice to push changes directly to master branch :) | 21:14 |
| T42 | <nightishaman> mal: git push —force | 21:15 |
| T42 | <nightishaman> ur colleagues will love that | 21:15 |
| mal | at least it wasn't a force push | 21:15 |
| Mister_Magister | mal: that's how I do it :) | 21:18 |
| T42 | <nightishaman> mal: telnet goes away as lipstick starts and encryption wont work so it shuts down | 21:19 |
| mal | @nightishaman did you enable encryption in patterns? | 21:19 |
| Mister_Magister | mal: I just built hybris-boot on android 12.1 and i can't believe how quick that was. hybris-hal rebuild on android 14 takes like 30 minutes | 21:20 |
| Mister_Magister | it was under 5 minutes | 21:20 |
| Mister_Magister | i'm astounded | 21:20 |
| Mister_Magister | why can't google just be like google in the past | 21:20 |
| T42 | <nightishaman> mal: i did | 21:20 |
| mal | @nightishaman you should not enable encryption unless you know what you are doing (it won't work in regular community style builds) | 21:20 |
| Mister_Magister | mal: mer-kernel-check still fails because I don't have CONFIG_L2TP_IP | 21:21 |
| T42 | <nightishaman> ah okay | 21:21 |
| T42 | <nightishaman> so i cant save my data? | 21:21 |
| mal | so comment the encryption package from patterns and then "build_packages.sh -c" and then build new image | 21:21 |
| T42 | <nightishaman> since i cant lock bootloader | 21:21 |
| mal | I can instruct how to build different type of image later but let's get more things working first and once most things work reliably then we can look at the image building | 21:22 |
| T42 | <b100dian> you can add encryption later, there's community encryption for that. Not sure what you mean by locking bootloader, sailfish apps don't look at that, android does | 21:23 |
| T42 | <nightishaman> I wanna make my device proof against thiefs | 21:23 |
| mal | @b100dian I use official encryption package on fairphones | 21:23 |
| T42 | <b100dian> I don't think any jolla official device has bootloader relock. | 21:23 |
| T42 | <elros34> it doesn't even boot. | 21:23 |
| T42 | <b100dian> :) | 21:24 |
| Mister_Magister | oh apparently I DO have CONFIG_L2TP_IP false alarm | 21:24 |
| T42 | <elros34> What is the point of encryption on device which barely works | 21:24 |
| T42 | <b100dian> mal: I know but you folks should change the "normal" porting way to instruct everybody to make system images ;) | 21:24 |
| T42 | <nightishaman> well, first get sfos working, then encryption, then waydroid | 21:24 |
| mal | @b100dian jolla phone has :) | 21:24 |
| T42 | <b100dian> got your priorities alright | 21:24 |
| T42 | <b100dian> mal: I have secretly hoped you would say that | 21:25 |
| T42 | <nightishaman> i would buy jolla phone if i had money | 21:25 |
| mal | @b100dian well early porting is easier without lvm based image | 21:26 |
| mal | @b100dian I always start official ports with community style builds and once I'm happy to the way those work I change those to lvm based builds and then build on OBS | 21:27 |
| T42 | <NotKit> the latter would definitely need custom builds if you have A16 vendor (re @nightishaman: well, first get sfos...) | 21:27 |
| T42 | <b100dian> makL I'm almost at my third (was started by rinigus) and still don't get it ;p | 21:27 |
| mal | @b100dian get what? | 21:28 |
| T42 | <b100dian> lvm images | 21:28 |
| T42 | <b100dian> but dont' worry now, I would only say that this needs more documentation | 21:28 |
| mal | making lvm based images is rather simple | 21:28 |
| T42 | <b100dian> @NotKit what's the latest waydroid base these days? | 21:28 |
| T42 | <NotKit> A13 officially, A16 from Waydroid-ATV | 21:29 |
| mal | yeah, documentation how to make those lvm based builds is almost non-existent | 21:29 |
| T42 | <b100dian> What about 14-15? | 21:29 |
| T42 | <b100dian> mal: yup | 21:29 |
| T42 | <NotKit> Waydroid-ATV may have them, but why at this point? easier to skip | 21:29 |
| mal | a14 based ports need something newer than a13 waydroid | 21:30 |
| Mister_Magister | mal: but that was released wasn't that? | 21:30 |
| T42 | <b100dian> @NotKit so just run A16 on A14 ports. Good deal. But that's for one to build themselves, it is not published as images already | 21:30 |
| mal | Mister_Magister: what was? | 21:30 |
| Mister_Magister | newer waydroid | 21:30 |
| Mister_Magister | that's what i heard | 21:30 |
| mal | afaik no images for newer waydroids | 21:31 |
| mal | I did full official way for fp4 and fp5, even packaged droid-system (includes the content of /system, /vendor etc) | 21:32 |
| Mister_Magister | I've rebuilt just hybris-boot, repackaged hal, updated -jb2q, and now i'm gonna build image | 21:35 |
| mal | did you check version of libhybris etc also | 21:35 |
| T42 | <nightishaman> the good thing is, the udevd bug is also gone | 21:35 |
| Mister_Magister | no, there wasn't PSA about that | 21:35 |
| mal | Mister_Magister: it's not requirement but always good to update | 21:36 |
| Mister_Magister | i mean i updated versions of other packages last time i was updating to 5.1 if that's what you're asking | 21:36 |
| mal | check the versions from fp2 devel | 21:36 |
| mal | ok | 21:36 |
| mal | there hasn't been any new libhybris version recently | 21:36 |
| mal | @nightishaman you mean the slow boot or what? | 21:40 |
| T42 | <nightishaman> mal: yes, but now its crashing on boot, nullptr in gpu driver | 21:41 |
| Mister_Magister | great jenkins decided to poop the bed | 21:42 |
| mal | @nightishaman at which point of boot? | 21:44 |
| T42 | <nightishaman> https://gist.github.com/maltesermailo/78736af93919d57162d218992a5c4d34 | 21:45 |
| T42 | <nightishaman> mal: 60s after boot, before ui | 21:45 |
| T42 | <nightishaman> ui did work before | 21:45 |
| T42 | <nightishaman> either there's a bug in the ui but there's definitely a NPR in the driver | 21:46 |
| mal | which libhybris version did you use? | 21:52 |
| mal | did you have some changes in the earlier image you built? | 21:52 |
| mal | I mean something you changed on device? | 21:53 |
| T42 | <nightishaman> i did the setup | 21:53 |
| T42 | <nightishaman> i pressed okay on eula | 21:53 |
| T42 | <nightishaman> and then it rebooted | 21:54 |
| T42 | <nightishaman> and then crash | 21:54 |
| mal | do you you master branch libhybris or the pr-testing branch? | 21:58 |
| mal | which device was that again? | 21:58 |
| T42 | <nightishaman> pixel 7 | 21:59 |
| mal | is it qcom? | 21:59 |
| T42 | <nightishaman> google tensor g2, mali gpu | 21:59 |
| mal | hmm, ok | 21:59 |
| mal | probably first device with such soc | 22:00 |
| T42 | <nightishaman> its pr-testing | 22:00 |
| mal | do you have the tls-padding library on device? | 22:00 |
| T42 | <nightishaman> yes | 22:00 |
| mal | and the needed /etc/ld.so.preload ? | 22:01 |
| T42 | <nightishaman> yes | 22:01 |
| mal | but the first startup wizard did show | 22:02 |
| T42 | <nightishaman> until eula yes | 22:02 |
| mal | I wonder if it would be worth it to try with master branch of libhybris and removing that /etc/ld.so.preload just to see how it behaves | 22:03 |
| T42 | <nightishaman> what first | 22:04 |
| mal | what dO you mean? | 22:04 |
| T42 | <elros34> didn't you recently enable booster media? Some booster-silica is in logs maybe media one | 22:04 |
| T42 | <nightishaman> what to try first | 22:04 |
| T42 | <nightishaman> @elros34 no i didnt | 22:05 |
| mal | what happens if you just remove that /etc/ld.so.preload | 22:06 |
| T42 | <nightishaman> then lipstick doesnt start again | 22:11 |
| mal | ok | 22:12 |
| mal | maybe try installing master branch libhybris and see how it works | 22:12 |
| mal | just trying to rule out issues | 22:12 |
| T42 | <nightishaman> any specialties or just git checkout | 22:16 |
| T42 | <nightishaman> mal: there is a subdirectory named libhybris with a detached head, probably submodule, what to do | 22:23 |
| T42 | <nightishaman> /hadk/hybris/mw/libhybris/libhybris/ | 22:23 |
| mal | go to mw/libhybris and run git reset --recurse --hard origin/master | 22:24 |
| mal | hopefully that will also reset the submodule | 22:24 |
| mal | check that before building | 22:24 |
| T42 | <nightishaman> it did | 22:26 |
| mal | then build_packages.sh - hybris/mw/libhybris | 22:26 |
| mal | sorry; build_packages.sh -b hybris/mw/libhybris | 22:26 |
| T42 | <nightishaman> mal: now it immediately crashes after udevd | 22:48 |
| T42 | <nightishaman> 30s in | 22:48 |
| mal | ok | 22:52 |
| T42 | <nightishaman> trusty crashed again | 22:53 |
| mal | maybe build the pr-testing branch again then, although it wouldn't affect trusty | 23:02 |
| mal | a bit difficult to say what causes what in your case, if the crashes are random for example | 23:06 |
| T42 | <nightishaman> the gpu crashes happen every time | 23:08 |
| T42 | <nightishaman> the trusty crashes make me wonder | 23:10 |
| T42 | <nightishaman> im gonna have to wait until my usb cereal arrives then to test | 23:12 |
| T42 | <nightishaman> to get proper kernel debug | 23:13 |
| T42 | <nightishaman> okay they postponed it till end of august | 23:21 |
| T42 | <nightishaman> shame | 23:21 |
| Sharks_ | Forgive me if I'm slack at replying, currently on morning tea break at work, but I can't see any apparent fault in `/system/bin/logcat -b all | grep -iE "voice|pcm|voip|incall|start_voice|s | 23:34 |
| Sharks_ | top_voice"` when making a call. Am I looking in the wrong spot? https://paste.opensuse.org/pastes/e9201fda5d52 | 23:34 |
| mal | Sharks_: you are using sailfish 5.1? | 23:36 |
| mal | which pulseaudio-modules-droid version do you have? and droid-config submodule revision? | 23:36 |
| Sharks_ | 5.1.0.10 at the minute, yes. I have 'pulseaudio-modules-droid-common-14.2.109-1.aarch64', 'pulseaudio-modules-droid-14.2.109-1.aarch64', 'pulseaudio-modules-droid-hidl-1.5.1-1.aarch64'. Droid-configs-device is @41cd1d9 | 23:40 |
| mal | too new pulseaudio-modules-droid, you should build 14.2.106 (commit 65edd31f62f22e2eec1f765608ca9c6ae5c4af7b) | 23:45 |
| mal | when building next image use 5.1.0.11, that is the latest 5.1 release | 23:46 |
| T42 | <nightishaman> mal: I can maybe fix the bug, it is here:https://github.com/maltesermailo/android_kernel_google_gs-6.1_google-modules/blob/1e54b63b9e871d876f6b98276ce0bf5c8f891cad/gpu/mali_kbase/platform/pixel/pixel_gpu_dvfs_metrics.c#L280 | 23:48 |
| T42 | <nightishaman> | 23:48 |
| T42 | <nightishaman> task is null | 23:48 |
| mal | hmm, I wonder what causes it to be null | 23:49 |
| T42 | <nightishaman> the process died that made the ioctll | 23:49 |
| Sharks_ | thankyou mal, when I get home from work I will try that. Really appreciate it, I was quite lost trying to work out where I had gone wrong. | 23:50 |
| mal | Sharks_: when building pulseaudio-modules-droid, either use "build_packages.sh -b hybris/mw/libhybris" or use build_packages -o --mw (that -o means offline mode i.e. it won't update to latest commit before building) | 23:51 |
| mal | Sharks_: yes, it's a bit problematic when latest package versions won't work with latest public sailfish release, it happens sometimes | 23:52 |
| Sharks_ | Understood, I'll delete the rpms in droid-local-repo, clone the correct version and build the offline mode. I was also planning on upgrading to 5.1.0.11 once I had the bugs ironed out | 23:53 |
| mal | I'll go offline now, it'a already 3 am here | 23:54 |
| Sharks_ | Goodness, I thought two nights ago it was bad that I was still debugging at 1:30AM | 23:55 |
| Sharks_ | Thanks again, I'll let you know how I get on this evening | 23:55 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!