| Mister_Magister | mal: as for DNS issue x2 had CONFIG_ANDROID_PARANOID_NETWORK=y which g2 nor fp2 had lol, weird mer kernel check didn't catch that one. I love it just two oneliners | 00:14 |
|---|---|---|
| Mister_Magister | just two one line fixes, that shows how close i was | 00:14 |
| Mister_Magister | I was comparing the defconfigs so many times… | 00:19 |
| Mister_Magister | ssh issue and the fix is another one liner… | 00:43 |
| Mister_Magister | mal: on g2 after fresh install the DPI inside sfos browser for some reason is -1 which breaks everything, ever heard similar issue? how does it get generated? | 00:48 |
| mal | you could try if it happens again | 01:10 |
| mal | https://github.com/sailfishos/docs.sailfishos.org/blob/master/Support/Help_Articles/Web_Browser/README.md?plain=1#L509 | 01:10 |
| mal | after removing that file | 01:10 |
| Mister_Magister | it happens on every clean install | 01:11 |
| Mister_Magister | but i'll experiment later sure | 01:12 |
| mal | ithttps://github.com/sailfishos/sailfish-components-webview/blob/master/lib/webenginesettings.cpp#L160 | 01:12 |
| mal | oops | 01:12 |
| mal | https://github.com/sailfishos/sailfish-components-webview/blob/master/lib/webenginesettings.cpp#L160 | 01:12 |
| mal | I wonder if display size gets detected incorrectly or something | 01:12 |
| mal | you could try forcing the panel dimension in compositor configs | 01:13 |
| Mister_Magister | oki doki i'll bother you about it more when i get to it, workaround is quite simple so its low priority xd | 01:13 |
| Mister_Magister | g2 is fully fixed now, x2 i'm trying to fix ssh with claude | 01:14 |
| Mister_Magister | finally i'm excited for 5.1 | 01:14 |
| mal | https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/sparse/var/lib/environment/compositor/droid-hal-device.conf | 01:14 |
| Mister_Magister | also mal both me (on x2) and user of my port (g2) noticed phones being noticably smoother on 5.1 | 01:14 |
| mal | fp2 has hardcoded physical size | 01:14 |
| Mister_Magister | so while i talk a lot of poop about jolla, gotta give credit where credit is due :) | 01:14 |
| Mister_Magister | congratulations | 01:14 |
| mal | maybe the libhybris changes and possibly some other changes helped | 01:15 |
| Mister_Magister | maybe matching the refresh rate dunno | 01:16 |
| Mister_Magister | maybe i'll bother claude to also fix the droidmedia/gstdroid issue, did you have time to look into it? | 01:16 |
| mal | not yet | 01:17 |
| Mister_Magister | oki | 01:17 |
| *** n2klb_ is now known as n2klb | 01:43 | |
| T42 | <adampigg> Used to happen on pinetab iirc (re @SailfishFreenodeIRCBridgeBot: <Mister_Magister>mal...) | 11:25 |
| sharks_ | Hey all - I'm trying to look into sleep on WiFi now, see dmesg output --> https://paste.opensuse.org/pastes/640c54ccbeb8, it appears like the device is getting a ton of wake-on-wlan events which is really wrecking sleep. With WiFi off I get ~80%+ CPU sleep but with WiFi on I'm seeing 0%. Idle battery drain is <0.6%/hr without WiFi or >3.5%/hr with it. Any ideas where to look to chase this one down? | 12:13 |
| sharks_ | After having run `iw phy phy0 wowlan disable`, I have dropped wifi idle usage to <2%/hr, which makes me think that's certainly part of the issue. What would cause these wake on wlan requests? I don't have any open SSH connections or anything. What's the phone trying to do in the background? Who's trying to talk to it while it's sleeping? | 12:59 |
| mal | sharks_: do you have https://github.com/mlehtima/droid-config-fp5/blob/master/patterns/patterns-sailfish-device-adaptation-fp5.inc#L95 | 13:10 |
| sharks_ | @mal, yes I do. | 13:11 |
| sharks_ | https://github.com/sharks-dev/droid-config-pdx225/blob/818cce2d54c7e5768086c9c2761c01d30791e891/patterns/patterns-sailfish-device-adaptation-xqcc72.inc#L22 | 13:11 |
| *** sskras is now known as [|| | 16:14 | |
| *** [|| is now known as sskras | 16:32 | |
| Mister_Magister | mal: so apparently sshd not working on x2 is issue with openssh not with my kernel because there's literally no difference between g2, x2, fp2 kernels in that area lol | 16:56 |
| Mister_Magister | mal: https://github.com/sailfishos/openssh/pull/13 | 17:05 |
| mal | but why is that not a problem on other old devices? | 17:08 |
| Mister_Magister | LLM said race condition and better answer is your guess is as good as mine | 17:10 |
| Mister_Magister | the getrandom stuff is fine, seccomp stuff is fine, everything's fine | 17:10 |
| Mister_Magister | let me just confirm that the fix actually works (yes sorry i forgot to do that) | 17:11 |
| Mister_Magister | yeap fix works | 17:13 |
| Mister_Magister | okay with that i think all 3.4 devices are fixed now and i can move onto rest of my devices | 17:50 |
| Mister_Magister | mal: is it expected for pa-modules-droid to fail to build? | 18:24 |
| Mister_Magister | i literally grabbed _service from fp4 and it fails xd | 18:24 |
| Mister_Magister | mal: i updated my oneplus6 and now lipstick is segfaulting, got any tips for me? | 19:00 |
| mal | jb2q version? | 19:01 |
| Mister_Magister | same as g2 https://build.sailfishos.org/package/show/nemo:testing:hw:oneplus:enchilada/pulseaudio-modules-droid-jb2q | 19:02 |
| mal | Mister_Magister: did you update libhybris hwc compat module? | 19:02 |
| Mister_Magister | no | 19:02 |
| mal | for the lipstick issue | 19:02 |
| Mister_Magister | you said if i use older pa-modules-droid (which doesn't build) i don't have to | 19:03 |
| mal | either use older hwc qpa plugin or update and rebuild the android side hwc compat module | 19:03 |
| Mister_Magister | oh | 19:03 |
| mal | Mister_Magister: what? | 19:03 |
| Mister_Magister | wait i got confused | 19:03 |
| Mister_Magister | so "PSA: it's recommended to use pulseaudio-modules-droid version 14.2.106" | 19:03 |
| Mister_Magister | this one does not build | 19:03 |
| Mister_Magister | https://build.sailfishos.org/package/show/nemo:testing:hw:oneplus:enchilada/pulseaudio-modules-droid | 19:03 |
| mal | that for new devices | 19:03 |
| Mister_Magister | how much newer? | 19:04 |
| Mister_Magister | "if it doesn't build it's not new enough" got it | 19:04 |
| Mister_Magister | found the other PSA, fixing | 19:04 |
| mal | jb2q as is android jb to q i.e. 4-10 | 19:04 |
| Mister_Magister | g2 has 5.6.2.27 and it works on it so got confused | 19:05 |
| Mister_Magister | its so old it doesn't matter | 19:05 |
| mal | let's not confuse two topics, pulseaudio and hwc | 19:05 |
| Mister_Magister | yeah sorry sorry | 19:06 |
| mal | Mister_Magister: android 8 and newer (if I remember correctly) is where the hwc plugin version matters | 19:06 |
| Mister_Magister | i've dropped qpa from .27 to .26 | 19:06 |
| mal | just mentioning that there might some performance improvement in newer devices with new hwc plugin | 19:07 |
| mal | it add some caching changes | 19:07 |
| Mister_Magister | you reaaaaaaaly want me to update it? xd ok what do i rebuild? | 19:07 |
| mal | libhwc2_compat_layer in android side after updating the libhybris sources you use in android side build | 19:09 |
| Mister_Magister | gotcha | 19:09 |
| Mister_Magister | mal: oh no… op6 has broken dns resolving :( I guess its kernel is not new enough (4.9) | 19:12 |
| Mister_Magister | gotta do more backporting! | 19:12 |
| Mister_Magister | mal: guy in my chat asked if we're buddies | 19:19 |
| Mister_Magister | ok qpa fixed it | 19:23 |
| Mister_Magister | now i still need to fix the dns and since that requires kernel rebiuld i'll update compat too | 19:24 |
| mal | quite odd why 4.9 would need backporting for dns | 19:24 |
| mal | from which kernel is the backport? | 19:24 |
| Mister_Magister | well i was fixing it in 3.4 so far | 19:25 |
| Mister_Magister | the issue is socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = -1 EACCES (Permission denied) | 19:25 |
| Mister_Magister | https://github.com/VerdandiTeam/android_kernel_motorola_msm8974/commit/f72e2d04f7a70d53029eec5de5f5f5f58e21a7b2 i think it was this one? | 19:25 |
| Mister_Magister | hmm nope | 19:27 |
| Mister_Magister | Then I do wonder | 19:27 |
| Mister_Magister | time to run claude on op6 kernel! | 19:30 |
| Mister_Magister | wait | 19:39 |
| Mister_Magister | wait wait wait | 19:39 |
| Mister_Magister | I think it was Paranoid android issue | 19:40 |
| Mister_Magister | CONFIG_ANDROID_PARANOID_NETWORK=y YEAP | 19:40 |
| mal | heh, same again | 19:45 |
| Mister_Magister | yeap! | 19:46 |
| Mister_Magister | weird it wasn't issue on <5.1 | 19:46 |
| Mister_Magister | mal: should i check out libhybris to master or some specific tag? | 19:47 |
| mal | master is fine | 19:48 |
| mal | it's used on official devices, remember to make sure you get submodule updated | 19:48 |
| Mister_Magister | sure thing boss | 19:49 |
| Mister_Magister | mal: until the ssh fix lands in sfos i'll keep using fork but i hope it lands | 19:54 |
| mal | need to do some testing, I have kernel header update waiting also | 19:57 |
| mal | to 5.10 | 19:58 |
| Mister_Magister | I'm gonna keep poking you about the gst-droid fix because it's incredibly important | 19:58 |
| Mister_Magister | more than you realise maybe :P | 19:59 |
| Mister_Magister | dns fixed and now on new compat | 19:59 |
| Mister_Magister | mal: hmm i think it's smoother, i'm back on the .57 | 20:17 |
| Mister_Magister | but 3.4 devices were also smoother | 20:18 |
| mal | yeah there are several changes | 20:24 |
| Mister_Magister | i'm finally excited for 5.1 and not cursing it for ruining everything, God bless people for creating LLMs | 20:25 |
| Mister_Magister | two devices to go | 21:20 |
| Mister_Magister | mal: so there was issue with long shutdown on op6, one part was chre process but it was useless to me on sfos so i just disable it, another was pm-service was not being killed properly, and you won't guess the claude fixed it in dhi with, yes, another one line fix | 23:23 |
| Mister_Magister | wait no, i misread | 23:26 |
| mal | what does that process do? | 23:42 |
| Mister_Magister | there's like sensors co-processor that doesn't wake up the cpu and handles like lift to wake and stuff from what i gathered | 23:43 |
| Mister_Magister | I don't use those gestures | 23:43 |
| Mister_Magister | and screen gestures still work | 23:45 |
| mal | did you update droid-config submodule? | 23:45 |
| mal | actually it seems you can't get one fix yet | 23:46 |
| mal | https://github.com/mer-hybris/droid-hal-configs/commit/fe99b05a85e7f001f79d1be7f030e61a2f879db1 that one, there a changes before that which won't work in 5.1 yet | 23:47 |
| mal | *there are | 23:47 |
| Mister_Magister | I did update dcd, the shutdown issue is not 5.1 related it has been present since always and i didn't know how to debug it so now i thought what if i give claude root and let it wild run what's the worst that could happen | 23:48 |
| mal | yeah, that fix is for an issue that has existed always | 23:49 |
| mal | only some devices suffer from processes that fail to stop properly | 23:49 |
| Mister_Magister | oh, so maybe with my disabling of chre it will be fine | 23:50 |
| Mister_Magister | yeah that sounds like my issue alright | 23:50 |
| mal | so if the process fails to stop the second attempt just make it timeout twice | 23:50 |
| Mister_Magister | so i'll just implement the disabling of chre and wait for your mentioned fix | 23:50 |
| Mister_Magister | yeah here it just times out like 4 times or so | 23:51 |
| mal | like jolla phone had one process that caused shutdown from actdead mode be very slow until I disabled it from there | 23:51 |
| Mister_Magister | that sounds promising mal, so when that fix will be available? | 23:52 |
| mal | I mean that in your case that commit I linked only helps with slow shutdown to some extent but it might still be a bit slower that usual | 23:53 |
| Mister_Magister | disabling chre already cut it down in half, if it helps by like 10 seconds it will be good enough | 23:54 |
| Mister_Magister | for the record currently shutdown was taking like 70s | 23:54 |
| mal | how fast is boot on your devices? | 23:54 |
| Mister_Magister | you just asked about 7 devices i would have to go and test each of them man | 23:55 |
| mal | I mean a rough guess | 23:55 |
| mal | does it seem slow or reasonable | 23:55 |
| Mister_Magister | even ignoring duplicates its like 5 xd umm its fine, some are faster than others, let me time 3 of them i have on hand | 23:56 |
| mal | btw, check in journal if you see bluebinder failing once at boot on the newer ones which use it | 23:56 |
| mal | that droid-hal-config commit I linked will be usable in sailfish 5.2 once that is released | 23:57 |
| Mister_Magister | ~50s on g2, but it's the 2014 oldest supported device so give ol' grandpa some slack | 23:58 |
| mal | yeah | 23:58 |
| mal | not too bad | 23:58 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!