*** amccarthy is now known as Guest11551 | 11:04 | |
*** amccarthy_ is now known as amccarthy | 11:04 | |
T42 | <TheVancedGamer> @elros34: pid of what? test_vulkan? (just FYI, this isn't sfos) | 11:26 |
---|---|---|
T42 | <elros34> whatever program you are debugging with gdb and you get some vague hex address crash | 11:29 |
T42 | <TheVancedGamer> test_vulkan | 11:30 |
T42 | <k1gen> mal: can you check camera logcat for me? | 11:57 |
T42 | <k1gen> while logcat is running, I open camera app, successfully take a picture, then swipe to check photo I just took, app freezes on last swipe animation frame, sailfsish suggests to close the app, I close it and stop logcat over ssh: https://0x0.st/H8Yu.txt | 11:59 |
T42 | <k1gen> here's logcat when I open camera app and try to interact with it, after first crash, but before reboot: https://0x0.st/H8Yj.txt | 12:04 |
T42 | <k1gen> there's black screen where image preview should be, but sometimes some animations work | 12:04 |
T42 | <k1gen> @TheVancedGamer by the way, test_vulkan works just fine for me, test_egl doesn't though | 12:12 |
T42 | <TheVancedGamer> again, not sfos, but ubuntu touch | 12:12 |
T42 | <TheVancedGamer> i'm trying to make vulkan work on UT | 12:12 |
T42 | <k1gen> then why are you asking here? :P | 12:13 |
T42 | <TheVancedGamer> because mal | 12:13 |
T42 | <k1gen> yeah, got it | 12:14 |
T42 | <TheVancedGamer> and libhybris is also maintained by mal | 12:14 |
T42 | <k1gen> mal: any thoughts on camera logcat? | 16:37 |
T42 | <Mister_Magister> where logcat (re @k1gen: mal: any thoughts on...) | 16:56 |
T42 | <k1gen> higher here | 16:56 |
T42 | <Mister_Magister> what phone is that so i can avoid | 16:57 |
T42 | <TheVancedGamer> come on @Mister_Magister you know better | 16:57 |
T42 | <TheVancedGamer> don't reply to tg | 16:58 |
T42 | <Mister_Magister> thats tru | 16:58 |
Mister_Magister | tho it doesn't look that bad tbh | 16:58 |
T42 | <k1gen> @Mister_Magister google pixel 4 | 16:58 |
T42 | <Mister_Magister> ok gotta avoid pixels | 16:59 |
T42 | <k1gen> :| | 16:59 |
T42 | <Mister_Magister> wlp good luck. the Permission failure: android.permission.SYSTEM_CAMERA from is weird imo but i aint no expert | 17:01 |
T42 | <Mister_Magister> maybe fix the airbrush stuff to clear the log out? | 17:03 |
T42 | <k1gen> I tried to fix it some time ago with elros, check chat history | 17:03 |
T42 | <Mister_Magister> airbrush and SecCam seem to be failing constantly | 17:04 |
T42 | <k1gen> chmod 777 /dev/ab_sm fixed airbrush iirc | 17:04 |
T42 | <Mister_Magister> then you need to fix permission owner/group mostlkilely (re @k1gen: chmod 777 /dev/ab_sm...) | 17:04 |
T42 | <Mister_Magister> some udev rules | 17:04 |
T42 | <elros34> it its really the case then why it crashing and flood logs | 17:04 |
T42 | <Mister_Magister> ^exactly | 17:05 |
T42 | <elros34> From what I remember it doesnt fix | 17:05 |
T42 | <elros34> it | 17:05 |
T42 | <elros34> it requires particular group and complain about it in logs | 17:05 |
T42 | <Mister_Magister> fixing airbrush/seccam might just help with camera | 17:05 |
T42 | <Mister_Magister> then just udev rule and voila (re @elros34: it requires particul...) | 17:05 |
T42 | <k1gen> never heard about seccam before | 17:05 |
T42 | <k1gen> no mention of it in this chat either | 17:06 |
T42 | <Mister_Magister> well it's crashing a lot | 17:06 |
T42 | <k1gen> # grep ab_sm /lib/udev/rules.d/99?-* | 17:12 |
T42 | <k1gen> /lib/udev/rules.d/999-android-system.rules:#:/dev/ab_sm 0600 vendor_airbrush vendor_airbrush | 17:12 |
T42 | <k1gen> /lib/udev/rules.d/999-android-system.rules:KERNEL=="ab_sm", MODE="0600", GROUP="vendor_airbrush", OWNER="vendor_airbrush" | 17:12 |
T42 | <k1gen> but # chown vendor_airbrush:vendor_airbrush /dev/ab_sm | 17:12 |
T42 | <k1gen> chown: unknown user/group vendor_airbrush:vendor_airbrush | 17:12 |
T42 | <elros34> that is the point you need to create that group somehow with correct id. Id you will find in device repository | 17:14 |
T42 | <k1gen> out/target/product/flame/obj/ETC/passwd_vendor_intermediates/passwd_vendor | 17:16 |
T42 | <k1gen> 6:vendor_airbrush::2907:2907::/:/bin/sh | 17:16 |
T42 | <k1gen> 2907 is the id? | 17:16 |
T42 | <elros34> or in out but yes probably | 17:17 |
T42 | <k1gen> @elros34 https://paste.opensuse.org/pastes/7d64d05a65cc | 17:18 |
T42 | <k1gen> groupadd -g 2907 vendor_airbrush? | 17:20 |
T42 | <k1gen> needed group, user and permissions are set, and airbrush is still crashing | 17:26 |
T42 | <k1gen> https://paste.opensuse.org/pastes/d8450d0d0f28 | 17:26 |
T42 | <elros34> so usual drill: reboot, check all logs not just journal, still nothing then strace | 17:30 |
T42 | <k1gen> these logs are after rebooting after creating group and user. which logs should I check besides journal, and what to strace? | 17:31 |
T42 | <elros34> there is really only dmesg/journal/logcat to check. About stracing then failing binary | 17:32 |
T42 | <elros34> you see its parsing /vendor/etc/init/vendor.google.airbrush@1.0-service.rc so you should find binary it starts | 17:34 |
T42 | <k1gen> yeah, /vendor/bin/hw/vendor.google.airbrush@1.0-service. it doesn't segfault for over a minute though | 17:35 |
T42 | <k1gen> I mean it's running for a long time now without crashes | 17:35 |
T42 | <elros34> how about checking logcat when it crash? | 17:36 |
T42 | <k1gen> sure, logcat is running. binary doesn't crash though | 17:37 |
T42 | <elros34> I mean just basic debugging: airbrush fails with code 1 in journal, no idea why so you check logcat right? Does it prints anything more useful? | 17:38 |
T42 | <k1gen> no, no output and doesn't crash | 17:38 |
T42 | <k1gen> ab_manager: open /dev/ab_sm failed: Permission denied in logcat | 17:41 |
T42 | <k1gen> even if I launch /vendor/bin/hw/vendor.google.airbrush@1.0-service as vendor_airbrush | 17:43 |
T42 | <TheVancedGamer> remember, vendor_airbrush isn't a user/group in sfos | 17:43 |
T42 | <k1gen> well, I created user and group both named vendor_airbrush with gid 2907 | 17:44 |
T42 | <k1gen> here's logcat with 777 permissions on /dev/ab_sm: https://0x0.st/H8Eg.txt | 17:50 |
T42 | <elros34> most important it starts itself or you start it somehow? | 17:54 |
T42 | <k1gen> I run /vendor/bin/hw/vendor.google.airbrush@1.0-service manually as root | 17:55 |
T42 | <TheVancedGamer> isn't airbrush for that gesture thingy where you move your head and the phone responds to that? | 17:55 |
T42 | <elros34> how do you know it can be run as root, reboot and let it start correctly itself then check logs | 17:57 |
T42 | <k1gen> journal after reboot: https://paste.opensuse.org/pastes/17ce5a3573c4; logcat with camera actions: https://0x0.st/H8ED.txt | 18:04 |
T42 | <k1gen> forgot about dmesg: https://0x0.st/H8E7.txt | 18:24 |
T42 | <k1gen> any ideas? | 18:43 |
T42 | <b100dian> I saw some libui vs gralloc hybris references on sailfishos IRC recently - can you mal or piggz shed some resources about what does that mean? | 21:54 |
T42 | <b100dian> *shed some light on resources | 21:56 |
T42 | <b100dian> I found https://github.com/libhybris/libhybris/pull/509/files, looking | 22:00 |
T42 | <b100dian> Guys! : https://irc.thaodan.de/.imgstore/62d4855e/file_4900.jpg | 22:44 |
T42 | <b100dian> Guys!! : https://irc.thaodan.de/.imgstore/62d4855e/file_4900.jpg | 22:45 |
T42 | <b100dian> https://irc.thaodan.de/.imgstore/62d4855e/file_4900.jpg | 22:45 |
T42 | <b100dian> https://irc.thaodan.de/.imgstore/ae0b0246/file_4901.jpg | 22:48 |
T42 | <b100dian> guys | 22:49 |
T42 | <b100dian> got GUI | 22:49 |
T42 | <b100dian> this device has webgl aquarium at 60 fps almost all the time. My Mi Note 10 is struggling between 35-50 | 23:33 |
T42 | <parmjotsinghrobot> Nice (re @b100dian: got GUI) | 23:37 |
T42 | <b100dian> it was NotKit's above PR probably ;) | 23:39 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!