ghosalmartin | krnlyng, have you seen any isses with lipstick memory corruption during certain actions like closing apps? | 09:07 |
---|---|---|
krnlyng | ghosalmartin, yeah i have seen it | 09:14 |
krnlyng | ghosalmartin, usually it was due to gralloc bugs | 09:14 |
ghosalmartin | krnlyng, :O any idea how to fix? :P | 09:17 |
krnlyng | ghosalmartin, this fixed it in my case: https://github.com/libhybris/libhybris/blob/master/hybris/gralloc/gralloc.c#L171 | 09:53 |
krnlyng | ghosalmartin, can you paste some logs? | 09:53 |
ghosalmartin | sure | 09:56 |
ghosalmartin | lots of this in dmesg https://pastebin.com/1Bh4xaXd | 09:56 |
ghosalmartin | dmesg of crash https://pastebin.com/veiQtmpN | 09:57 |
ghosalmartin | krnlyng, can this bug occur when using surfaceflinger to drive teh UI? | 09:59 |
krnlyng | ghosalmartin, hm that looks a bit bad, what android version etc.? | 10:07 |
ghosalmartin | krnlyng, hybris-15.1 | 10:19 |
ghosalmartin | hwc2 | 10:19 |
ghosalmartin | nexus 5x | 10:19 |
ghosalmartin | happens for ngfd as well :( | 10:20 |
T42 | <birdzhang> i have a similar log https://pastebin.com/udLTUVyj | 10:24 |
T42 | <birdzhang> UI crashes randomly, hybris 15.1, hwc2, vince | 10:25 |
ghosalmartin | birdzhang, wow not just me then | 10:25 |
Mister_Magister | ghosalmartin: well there was one problem with huawei p8lite… quite similar but different | 10:26 |
ghosalmartin | Mister_Magister, was there a fix in the end/ | 10:29 |
ghosalmartin | it feels like a issue with permissions | 10:29 |
Mister_Magister | ghosalmartin: kindof but i never made it | 10:31 |
Mister_Magister | i have different issue from you but just only similar | 10:32 |
ghosalmartin | Mister_Magister, whats your iss | 10:33 |
Mister_Magister | ghosalmartin: in huawei after reentering running app it would crash because stupid huawei devs didn't implement 32bit functions in gpu driver in kernel | 10:34 |
Mister_Magister | krnlyng: told me to do it myself but i'm too stupid for that | 10:34 |
ghosalmartin | its not always ngfd or maliit-server, sometimes qmllthread | 10:34 |
Mister_Magister | in my case it was comming form kernel | 10:34 |
ghosalmartin | Mister_Magister, i remember you told me how to debug those statements | 10:34 |
Mister_Magister | heh | 10:35 |
ghosalmartin | Mister_Magister, wanna tell me again :P | 10:35 |
Mister_Magister | tell what | 10:35 |
Mister_Magister | btw i don't think anybody would be interested in running sfos on p8lite anymore | 10:35 |
ghosalmartin | how to debug those statements | 10:36 |
Mister_Magister | what statements | 10:36 |
ghosalmartin | https://pastebin.com/veiQtmpN | 10:37 |
Mister_Magister | ah | 10:37 |
Mister_Magister | those | 10:37 |
Mister_Magister | addr2line | 10:37 |
Mister_Magister | not sure if its kernel or ngfd binary tho | 10:38 |
ghosalmartin | hmmm okay | 10:40 |
krnlyng | ghosalmartin, it might be like Mister_Magister said, broken COMPAT layer for framebuffer in kernel | 10:41 |
Mister_Magister | winkwink | 10:41 |
Mister_Magister | ghosalmartin: gib kernal sauces | 10:41 |
mal | @adampigg one less custom package for your native port https://git.merproject.org/mer-core/sensorfw/merge_requests/39 | 10:41 |
Mister_Magister | rudi36: o7 | 10:43 |
ghosalmartin | krnlyng, would that lie in the drivers/video/msm part of the kernel? | 10:44 |
Mister_Magister | ghosalmartin: gib kernal sauce but yes probably | 10:44 |
ghosalmartin | plus if it was why would ngfd break | 10:44 |
Mister_Magister | ghosalmartin: can you give the source? | 10:45 |
ghosalmartin | https://github.com/ghosalmartin/android_kernel_lge_bullhead | 10:46 |
ghosalmartin | hybris-15.1 branch | 10:46 |
krnlyng | ghosalmartin, but actually if you're using hwc2 then it shouldn't matter | 10:49 |
Mister_Magister | ghosalmartin: iirc this w as the line in my source fb_ioctl = hi3620fb_ioctl; fb_compat_ioctl = hi3620fb_ioctl | 10:50 |
Mister_Magister | same function | 10:50 |
Mister_Magister | retards | 10:50 |
ghosalmartin | krnlyng, probably not no, pulseaudio also fails in a similar manor | 10:51 |
Mister_Magister | wait no | 10:51 |
Mister_Magister | https://github.com/DarkJoker360/android_kernel_huawei_alice/blob/lineage-15.1/drivers/video/hisi/hi6220/balong_compose.c#L758 | 10:52 |
Mister_Magister | this | 10:52 |
Mister_Magister | let's call 64bit function in compat function this totally gonna work | 10:52 |
mal | ghosalmartin: how new config repo you have, just thinking if all firmware for the additional things is found | 10:53 |
Mister_Magister | mal: you broke my gui ;-; | 10:54 |
ghosalmartin | mal: pretty new? lemme check | 10:55 |
ghosalmartin | well that might be a lie its 4 months out of date :P | 10:55 |
Mister_Magister | ghosalmartin: mal breaks guis ;-; | 10:57 |
mal | Mister_Magister: well what do logs say | 11:01 |
Mister_Magister | posted them yesterday | 11:04 |
mal | not all | 11:05 |
mal | the logs looked quite bad with so many failing android side services | 11:06 |
Mister_Magister | sure when i get home will post everythin | 11:06 |
Mister_Magister | mal: only one more failing service | 11:06 |
Mister_Magister | but servicemanger is waiting for it so i think it's the reason | 11:06 |
mal | Mister_Magister: at least two are failing, loc_launcher and vendor.dataqti and a lot of qti errors which are never a good thing | 11:09 |
Mister_Magister | yeah but gui was up with them failing | 11:09 |
mal | also qmi errors | 11:10 |
mal | Mister_Magister: all could be related | 11:10 |
Mister_Magister | sure | 11:10 |
Mister_Magister | need to debug that somehow but it's super hard to debug blobs | 11:10 |
mal | is some very important android side service is failing then nothing will work | 11:10 |
mal | *if | 11:10 |
Mister_Magister | mhm | 11:10 |
ghosalmartin | wonder if this is related | 11:12 |
ghosalmartin | shared memfd open() failed: Function not implemented | 11:12 |
Mister_Magister | iirc nope | 11:13 |
ghosalmartin | no luck with dcd update either | 11:18 |
ghosalmartin | all crashing when attempting to use syscall 385 | 11:18 |
mal | ghosalmartin: that is not a problem | 11:21 |
ghosalmartin | well outside of that i have nothing | 11:21 |
ghosalmartin | maybe some weird selinux issue? | 11:22 |
ghosalmartin | well minimer runs like a champ | 11:27 |
Mister_Magister | ghosalmartin: addr2line | 11:39 |
ghosalmartin | Mister_Magister, do I just run on the vmlinuz? | 11:43 |
Mister_Magister | ye | 11:47 |
ghosalmartin | I assume ?? | 11:49 |
ghosalmartin | ??:0 means its not in the kenrel? | 11:49 |
Mister_Magister | prably not | 11:49 |
Mister_Magister | if its same kernel you are running then it's not correct place | 11:50 |
Mister_Magister | then its ngfd or smth | 11:50 |
ghosalmartin | okays ta | 11:50 |
ghosalmartin | fml | 11:51 |
Mister_Magister | mine too | 11:52 |
jusa | ghosalmartin: memfd from pulseaudio is not related, it's just too verbose log, you can get rid of that by disabling memfd in pulseaudio config | 12:58 |
Mister_Magister | mal: logs https://gist.github.com/Michal-Szczepaniak/f1f6e614cf09dbf2708189de0ebf7064 | 14:56 |
* Mister_Magister is reading them himself now | 14:56 | |
Mister_Magister | .topic | 15:04 |
Mister_Magister | mal: keystore was disabled in 15.1 | 15:05 |
Mister_Magister | wait it's keymaster | 15:10 |
Mister_Magister | keymaster was disabled aswell | 15:11 |
T42 | <elros34> about keystore: I posted it yesterday, shouldn't it have _HYBRIS_DISABLED added to binary not to argument: https://github.com/mer-hybris/droid-config-sony-nile/blob/master/sparse/usr/libexec/droid-hybris/system/etc/init/keystore.rc | 15:11 |
Mister_Magister | no no | 15:11 |
Mister_Magister | i'm talking about hybris16 | 15:11 |
Mister_Magister | https://github.com/mer-hybris/droid-config-sony-ganges-pie/tree/master/sparse/usr/libexec/droid-hybris/system/etc/init it doesn't disable keymaster | 15:12 |
Mister_Magister | and i'm having issues with it | 15:13 |
mal | Mister_Magister: maybe build a new image using latest sfos? | 15:14 |
Mister_Magister | i could try but is it going to fix android services? | 15:14 |
mal | well you said those worked before doing the changes I suggested | 15:15 |
mal | did you do anything else than change .rc files? | 15:15 |
mal | and updating config repo? | 15:15 |
Mister_Magister | nope | 15:15 |
Mister_Magister | mal: yep it worked before changing .rc files | 15:16 |
mal | so does it work if you put the old versions back? | 15:16 |
Mister_Magister | i removed old ones | 15:16 |
mal | you should have local copies? | 15:16 |
Mister_Magister | nope | 15:16 |
mal | in your droid-configs repo | 15:16 |
mal | so you didn't add those there | 15:16 |
Mister_Magister | yep | 15:16 |
mal | why not | 15:17 |
Mister_Magister | there was no point | 15:17 |
mal | well you should know where you got the previous ones? | 15:17 |
Mister_Magister | surely form 15.1 xperia port | 15:17 |
Mister_Magister | mentioned in faq | 15:17 |
Mister_Magister | https://github.com/mer-hybris/droid-config-sony-nile/tree/91c15efb576c29a9d41cc4cd1d40c62ddcce9824/sparse/usr/libexec/droid-hybris/system/etc/init | 15:18 |
Mister_Magister | 16 is not even disabling surfaceflinger | 15:18 |
Mister_Magister | wait it is | 15:19 |
Mister_Magister | i think i did something more to the .rc files because after adding them bacc gui isn't getting up | 15:21 |
mal | Mister_Magister: it's not https://github.com/mer-hybris/droid-config-sony-ganges-pie/blob/master/sparse/usr/libexec/droid-hybris/system/etc/init/surfaceflinger.rc ? | 15:22 |
Mister_Magister | [17:19] <Mister_Magister> wait it is | 15:23 |
Mister_Magister | mal: getting this spam from hwc https://paste.opensuse.org/7718079 | 15:23 |
mal | Mister_Magister: strange that your logs have very few messages from droid-hal-init | 15:23 |
Mister_Magister | yeah i'm wondering about that too | 15:23 |
Mister_Magister | mal: https://paste.opensuse.org/64930649 | 15:30 |
Mister_Magister | great back to debugging hwcomposer when it was working | 15:31 |
Mister_Magister | fml | 15:31 |
Mister_Magister | mal: i'm getting cannot remove mesa to get libhybris | 16:38 |
mal | so manually install libhybris | 16:38 |
Mister_Magister | m'kay i just read that in logs | 16:39 |
T42 | <adampigg> (Photo, 2560x1440) https://irc.thaodan.de/.imgstore/mpUaJoBzrJ.png | 17:29 |
T42 | <adampigg> Oh dear, what have i done | 17:29 |
T42 | <adampigg> Kimmoli^^ :D | 17:30 |
*** Konsieur is now known as kabouik | 17:30 | |
r0kk3rz | indeed, what have you done? | 17:40 |
kimmoli | doghouse? soapbox? | 17:45 |
kimmoli | ah, rellu | 17:45 |
T42 | <adampigg> r0zz3rz: cool eh! | 17:57 |
T42 | <adampigg> my first 'classic car' | 17:58 |
mal | @adampigg are the latter configs ok for new sensorfw? the iio scaling | 18:03 |
mal | *latte | 18:03 |
T42 | <adampigg> mal: not testted.....what should i be looking for? | 18:04 |
T42 | <adampigg> <goes get tablet> | 18:04 |
T42 | <eugenio_g7> They aren't yet, I need to adjust the configs first! | 18:06 |
mal | @adampigg the removal of multiplying by 1000 was not there anymore, so sensorfw alwats multiplies the values by 1000 first, so you need to make sure the custom scaling factors for latte are correct | 18:06 |
T42 | <adampigg> @eugenio_g7 ^^ | 18:07 |
T42 | <eugenio_g7> Will do that tonight :) | 18:07 |
mal | @eugenio_g7 ok, I just happened to see that OBS project was using the custom sensorfw and thought that maybe ti could be changed to upstream | 18:07 |
mal | so we'll wait for the config changes first | 18:08 |
T42 | <adampigg> hmm, my latte is flashing blue led and not doing much else ... wht is a blue flash? | 18:08 |
T42 | <adampigg> turned white now | 18:08 |
T42 | <adampigg> oh, it came to life | 18:08 |
kimmoli | @adampigg, how much if i can ask? they sell those (late 80s) for 2 to 6ke here | 18:14 |
r0kk3rz | prolly £500 | 18:23 |
T42 | <adampigg> r0kk3rz, kimmoli, 1k gbp | 18:30 |
T42 | <adampigg> so, approx the same euro | 18:30 |
T42 | Thelkishere was added by: Thelkishere | 18:38 |
T42 | <adampigg> (Photo, 1536x2048) https://irc.thaodan.de/.imgstore/KWdWz1wOC0.png | 18:46 |
T42 | <adampigg> mal ^^ those value are probably a little large | 18:47 |
T42 | <adampigg> :D | 18:47 |
Mister_Magister | @adampigg not if you are playing star wars xd | 18:49 |
T42 | <adampigg> mal: all our scale values are 0.0001 .... what should they be? | 18:51 |
T42 | <adampigg> 0.0000001 ?? | 18:52 |
T42 | <adampigg> thats a v small number | 18:52 |
T42 | <adampigg> @eugenio_g7 ^^ ? | 18:52 |
T42 | <adampigg> maybe we need a few more zeros ... those will still be large numbers | 18:55 |
T42 | <adampigg> i never really paid attendtion before | 18:55 |
mal | @adampigg just wondering why you didn't fix the kernel driver to provide correct scale? | 19:03 |
T42 | <adampigg> mal: iirc, @eugenio_g7 did the kernel changes for iio :D | 19:03 |
mal | @adampigg kernel documentation says "Units after application of scale and offset are m/s^2." | 19:04 |
mal | @adampigg heh, the README.md of that iioadaptor in sensorfw has "data is wrong" | 19:08 |
T42 | <adampigg> mal: we also need iio for pinephone, so nned to understand all this | 19:09 |
T42 | <adampigg> @DylanVanAssche ^^ | 19:09 |
mal | @adampigg for reference https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-iio | 19:11 |
mal | @adampigg also check that sensorfw should send out milli-G values so the * 1000 is needed because of that | 19:14 |
T42 | <adampigg> mal: @eugenio_g7 oh, we were using a custom sensorfw-qt5, with patched scaling .... its not being installed now to being out of date, need to review the situation https://build.merproject.org/package/show/nemo:devel:hw:xiaomi:latte/sensorfw-qt5 | 20:36 |
eugenio | @adampigg, my fault... forgot to push the new tags on my own copy of the sensorfw repository | 20:38 |
eugenio | which is now pointless as it got merged (and also version bumped), thanks spiiroin! | 20:38 |
T42 | <adampigg> so, its in 3.1 and we can drop the package? | 20:38 |
eugenio | no, not yet, got merged this morning :D | 20:39 |
T42 | <adampigg> ah, ok, push the tag and ill rebuild on devel: | 20:39 |
eugenio | I guess I'll simply switch repositories as it's now on mer-core/sensorfw | 20:40 |
mal | yes, no need for custom branch | 20:43 |
eugenio | ...aaaaand it's building! :) | 20:43 |
T42 | <adampigg> fab | 20:44 |
T42 | <adampigg> explains why my scaling wasnt working | 20:48 |
mal | hopefully it works now | 20:52 |
eugenio | @adampigg, merging this: https://github.com/sailfish-on-latte/droid-config-latte/pull/22 as it's already on obs anyways :P | 20:55 |
T42 | <adampigg> eugenio: good ... i was wondering where the maxpath changes had gone about 2 hours ago! | 20:56 |
T42 | <adampigg> wondered if id ever comitted it! | 20:56 |
eugenio | heh :D | 20:57 |
eugenio | also we should modify that, it should be -maxpath 2 | 20:57 |
T42 | <adampigg> yes, thats what im using atm | 20:57 |
T42 | <adampigg> ill let you sort it as youre on the ball atm | 20:57 |
eugenio | :) | 20:57 |
T42 | <adampigg> is dvd updated to master? | 20:57 |
T42 | <adampigg> dcd | 20:57 |
eugenio | the upstream submodule? | 20:58 |
eugenio | yup, seems so | 20:58 |
T42 | <adampigg> good, i think we can update it now 3.1 is out | 21:02 |
eugenio | @adampigg, https://github.com/sailfish-on-latte/droid-config-latte/pull/23 | 21:11 |
T42 | <adampigg> eugenio: u tested those scale changes? | 21:12 |
eugenio | doing that in a few seconds | 21:13 |
T42 | <adampigg> eugenio: any thoughts on the system not going to sleep/screen off after inactivity? | 21:17 |
eugenio | @adampigg, it does here... are you sure mce is working correctly? Or perhaps you have some misbehaving app using keepalive? | 21:23 |
T42 | <adampigg> hmmm, i have all apps closed. time set to 15 sec, and it doesnt dim | 21:28 |
T42 | <adampigg> egenio: can you post output of mcetool ? | 21:31 |
T42 | <adampigg> hmmm, it just dimmed and slept! | 21:31 |
eugenio | :D | 21:31 |
eugenio | mcetool output: https://pastebin.com/B46cRfZL | 21:32 |
T42 | <adampigg> i wonder if task switcher could be keeping it awake | 21:34 |
T42 | <adampigg> probably a likely candidate | 21:34 |
T42 | <adampigg> nope,.... | 21:37 |
T42 | <adampigg> that will ahve to wait for another time, gnight | 21:37 |
eugenio | good night | 21:37 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!