Friday, 2021-02-12

T42markvesime was added by: markvesime10:19
T42<markvesime> Hi, I have a slightly defective pinephone I'd like to give to someone who can help with the sfos port....adampigg mentioned mal in particular. Feel free to pm me for details10:21
piggzrinigus: youre a bit of an expert with the lvm recovery image ... once booted, is there anyway to continue normal boot from it?10:35
riniguspiggz: (brushing my new lvm expert sign) no idea, sorry. good question, would be great to know. so far I have not found any obvious way, but wasn't investigating it heavily. maybe some true expert can step in11:11
piggzmal: ^^ ?11:12
rinigusmighty17: in general, we have been advised against including anything extra to the builds. users can add openstore if needed.11:15
rinigusin the end, it is up to you and probably is fine.11:17
rinigusmighty17:  looks like wonderful platform then :)11:19
T42<meierrom> r0kk3rz: are you there?14:17
malMister_Magister: try new libhybris15:22
Mister_Magisterabout that, wanna ssh to phone:15:22
Mister_Magistermal: got bus error15:33
Mister_Magisterin the output15:34
malshow the error15:34
Mister_MagisterBus error15:35
Mister_Magisterliterally nothing else15:35
Mister_MagisterHYBRIS_TRACE=1 HYBRIS_TRACE_UNHOOKED=1 HYBRIS_TRACE_HOOKED=1 EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer test_hwcomposer15:35
Mister_MagisterBus error15:35
malkernling: ^15:36
kernlingMister_Magister, and strace ?15:38
Mister_Magisteron it15:39
Mister_Magistermal: kernling:
kernlingand gdb ?15:40
kernlingMister_Magister, any difference if you remove HYBRIS_TRACE_HOOKED=1 or HYBRIS_TRACE_UNHOOKED=1?15:42
kernlingi.e try with only one of them15:42
kernlingand then the other15:42
kernlingand both removed?15:46
Mister_Magisternow its standard segfault15:47
kernlingMister_Magister, and try with HYBRIS_TRACE=1 HYBRIS_TRACE_DYNHOOKED=1 EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer test_hwcomposer15:50
Mister_Magisterbus error15:50
kernlingi cannot find some logs anymore15:54
kernlingcould you paste the logs of this again?15:54
kernlingHYBRIS_TRACE=1 HYBRIS_LOGGING_LEVEL=debug EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer test_hwcomposer15:55
Mister_Magisterthis big big file?15:56
kernlingah right15:57
kernlingi still have it15:59
Mister_Magistermal: kernling: tough problem?16:30
kernlingMister_Magister, your device doesn't seem to like the wrappers16:42
kernlingit's working fine on mine16:42
kernlingso debugging is a bit stupider16:42
Mister_Magisterkernling: you are the only one working on this or are you collabing with mal?16:43
kernlingMister_Magister, can you run gdb on the sigbus and do layout asm and then print the registers?16:57
Mister_Magistereeeeeeee not sure how to do that16:57
kernlingMister_Magister, HYBRIS_TRACE=1 HYBRIS_TRACE_UNHOOKED=1 HYBRIS_TRACE_HOOKED=1 EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer gdb test_hwcomposer16:59
kernlingthen run16:59
kernlingthen layout asm16:59
kernlingthen print $016:59
kernlingthen print $116:59
kernlingalso paste the instruction it stopped at the the instructions after it17:00
Mister_Magisteri'm really confused17:01
kernlingah :(17:16
kernlingMister_Magister, and how about this17:20
kernlingMister_Magister, use the previous command with gdb17:20
kernlingMister_Magister, and then17:20
kernlingbreak trace_callback17:20
kernlingthen run it17:20
Mister_Magisteryou mean this command ? HYBRIS_TRACE=1 HYBRIS_LOGGING_LEVEL=debug EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer test_hwcomposer17:21
Mister_Magisterkernling: ^17:21
kernlingMister_Magister,  HYBRIS_TRACE=1 HYBRIS_TRACE_UNHOOKED=1 HYBRIS_TRACE_HOOKED=1 EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer gdb test_hwcomposer17:22
Mister_Magisterokay i'm at the breakpoint, what now17:22
kernlingMister_Magister, can you paste your screen contents?17:23
kernlingwhat happens if you type step17:24
kernlingcan you paste the screen contents again?17:25
kernlingMister_Magister, ok i will get mal to compile a new version17:27
Mister_Magisterso you make code and mal compiles it mhm mhm i see17:27
Mister_Magisteri mean, its my repo if you want simple build latest commit refresh i can do that17:28
kernlingMister_Magister, mal is comminting the changes17:29
malMister_Magister: test now17:41
kernlingMister_Magister,  HYBRIS_TRACE=1 HYBRIS_TRACE_UNHOOKED=1 HYBRIS_TRACE_HOOKED=1 EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer test_hwcomposer17:42
kernlingMister_Magister, use this command17:42
Mister_Magisteraaand bus error17:46
Mister_Magisterkernling: ^17:48
malMister_Magister: new libhybris available again20:04
Mister_Magisterkernling: what logs u need?20:07
kernlingMister_Magister, HYBRIS_TRACE_UNHOOKED=1 HYBRIS_TRACE_HOOKED=1 EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer test_hwcomposer20:08
Mister_Magisterbus error20:09
Mister_Magisteroh it gonna be big log20:11
Mister_Magistersdk version 18? u sure?20:11
kernlingshouldn't matter too much20:12
kernlingMister_Magister, you can also use this HYBRIS_LOGGING_LEVEL=debug HYBRIS_TRACE=1 HYBRIS_TRACE_HOOKED=1 HYBRIS_TRACE_UNHOOKED=1 HYBRIS_TRACE_DYNHOOKED=1 EGL_PLATFORM=hwcomposer test_hwcomposer20:12
kernlingMister_Magister, so lipstick isn't working? can you get me a strace from lipstick too?20:57
kernlingrun it as nemo20:57
kernlingMister_Magister, using usual options20:57
Mister_Magisternemo is no more man20:58
Mister_Magisteri know i'm just joking with you21:00
Mister_Magisterso serous21:00
Mister_Magisterno lipstick isn't working21:00
Mister_Magisteryou want like EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer strace -f lipstick?21:00
kernlingi guess so21:01
kernlingi usually run it with -platform hwcomposer at the end but not sure if that matters21:01
kernlingalso please use strace -f -s 102421:01
Mister_Magisterit segfaults anyway :D21:02
kernlinglet it segfault away21:03
kimmolisegway ?21:27
kernlingMister_Magister, i think it has built21:45
kernlingMister_Magister, new libhybris21:46
Mister_Magisterindeed it did21:46
Mister_Magisterohno it segfaults again21:48
kernlingcan you give me some straces?21:49
kernlingMister_Magister, mal hmm seems that didn't do what i wanted it to do21:55
Mister_Magisterisn't it like same with all the bugs21:55
T42Ljroc was added by: Ljroc21:59
T42<adampigg> @Ljroc [Ljroc was added by: adampigg], 👋22:01
T42<Ljroc> Hey piggz22:02
T42<adampigg> dropping by via telegram these days?22:04
T42<adampigg> 'tis the future ;)22:04
T42<Ljroc> Nokius said someone was chasing me22:09
malMister_Magister: new libhybris again22:41
Mister_Magisteraaaand segfault again22:43
malmore important is the gralloc printing it hopefully did22:51
malMister_Magister: did it print any messages about gralloc? something like "GRALLOC ALLOC->ALLOC"22:56
Mister_Magisterit did22:56
malshow those22:56
malkernling: ^23:04
Mister_Magisterif we manage to fix this it gonna be pic23:06
Mister_Magistercouldn't we liek go to old base and test commit by commit to see which commit breaks it?/23:06
kernlingi hope somebody already did that23:13

Generated by 2.17.1 by Marius Gedminas - find it at!