Wednesday, 2022-06-29

T42<MCredbear> https://pastebin.com/7vEYujSR07:53
T42<MCredbear> so strange, I didn't any error when I was compiling Android using this source07:54
T42<edp_17> @elros34 : udevadm info -a /sys/class/timed_output/vibrator/ : https://paste.ubuntu.com/p/Sf43c8WYfR/08:09
T42<edp_17> I have these 99* rules in /lib/udev/rules.d but none of them is dealing with vibra : https://paste.ubuntu.com/p/PkTfH7tZnz/08:09
T42<edp_17> It seems only /init.rc is dealing with vibra : https://paste.ubuntu.com/p/BVCvTfQ9CP/08:14
T42<elros34> @MCredbear did you apply hybris-patches before first 'make'?08:16
T42<MCredbear> yes (re @elros34: @MCredbear did you a...)08:19
T42<elros34> so you had nothing in out/ before?08:20
T42<MCredbear> yes, I delete the whole directory and rechecked the repo08:20
T42<elros34> @edp_17 that is expected. So according to udevadm use following rule: KERNELS="vibrator", SUBSYSTEM=="timed_output", ACTION=="add",  RUN+="/bin/chown system:input /sys/class/timed_output/vibrator/enable". maybe same for chmod too08:24
T42<elros34> @MCredbear what do you meant by "compiling Android using this source"? Did you clone hybris-x repos or generic lineage/aosp sources?08:28
T42<MCredbear> I cloned Mokee's repo and built Mokee's ROM08:29
T42<elros34> not sure I get you right so did you follow hadk instruction and repo clone  github.com/mer-hybris/android?08:36
T42<edp_17> @elros34 : Thanks. I've added those two rules. What should I expect after reboot? (There is no vibra and ngfd still needs to be restarted manually)08:43
T42<MCredbear> yes....but another developer just told me to use lineage's source instade of Mokee's (re @elros34: not sure I get you r...)08:43
T42<MCredbear> maybe that's the problem08:43
T42<edp_17> @elros34 : What should be the permission of /sys/class/timed_output/vibrator/enable? system:input or system:system ?08:57
T42<Umeaman> Can some please tell me why the hybris-18.1-update branch was created instead of updating the main hybris-18.1 branch?13:03
T42<Umeaman> Changes of repos?13:03
T42<Umeaman> I'm definatelly no expert, but my vote is for system:input (re @edp_17: @elros34 : What shou...)13:04
malI probably just forgot to merge the update branch to the hybris-18.1 branch13:05
malthe update branch is not something that should be used13:06
deathmistmal: is 18.1 something in general that should be used still? https://github.com/mer-hybris/hybris-patches/tree/hybris-18.1 doesn't have new commits since last time I checked in December 2021, doubt it even build without some local hacks13:07
mal@edp_17 system:input you can see in system/core that we have patched that https://github.com/mer-hybris/android_system_core/commit/b186f78cf444011809df3bed7e95e3bdb3460bb813:07
maldeathmist: I haven't tried to build it for some time now, might need some fixes13:08
malI should update the update branch the make a PR13:08
deathmistoh yeah what happened with community OBS? I know the "one year commitment" ended a while back, but https://build.sailfishos.org/ is still up it seems; I still don't feel like putting new stuff there if it may just disappear all of the sudden13:12
malit won't suddenly disappear13:13
malthere was something in some community irc meeting a while back13:13
deathmisthm, I'll consider updating my port artifacts when I have time again then, got plenty of other stuff to do currently :)13:17
maldeathmist: I have had fun debugging a gpu hang on a mainline port13:18
deathmistmal: certainly sounds fun, meanwhile I found out a while back that export FD_MESA_DEBUG=nobin13:19
deathmistshould fix various glitches seen on a5xx GPUs13:19
maldeathmist: oh, you have similar hang? that fixes it for a3xx also13:19
deathmistbut it's not a true "fix" ofc, the drivers need some love13:19
malat least it fixes the hangs I see13:20
deathmistmal: well it wasn't a hang exactly but just various graphical artifacting, the hang I had required to lower clockspeed of the GPU due to a missing regulator driver as it simply wasn't getting enough power: https://gitlab.com/msm8998-mainline/linux/-/issues/913:21
maldeathmist: what kind of messages do you see in logs when those issues happen?13:21
malok13:21
malI get hangcheck messages in dmesg13:22
maldeathmist: I also probably should send initial patches for mainline kernel support I made on my own, it for an older samsung tablet13:25
deathmistneat, I've got a Galaxy Tab 2 (espressowifi) myself and it also boots mainline, just haven't yet figured out the touchscreen for example13:26
maldeathmist: mine is matissewifi i.e. tab 413:27
maldeathmist: which touchscreen driver does it use?13:27
malI had some trouble with touchscreen but figured it out13:28
deathmistmal: mine has some synaptics, perhaps even RMI4 compatible but I haven't looked at it too much yet due to all the other projects I work on13:28
malok, different driver then13:29
malusually synaptics should not be too difficult13:29
T42<edp_17> mal : Thanks for confirming. I have that patch in system/core. However, interestingly after each boot on device the permission is system:system.15:12
T42<edp_17> Even if I change it to system:input, next boot overrides that. If I restart ngfd, vibra works with system:system permission as well.15:13
malcheck the init.rc file15:17
T42<edp_17> mal : /init.rc is correct : https://paste.ubuntu.com/p/WYSMxxtpbD/15:18
T42<edp_17> There is no service/custom scripts setting it to system:system.15:20
T42<edp_17> I only have the two udev rules that elros recommended, but that also sets it to system:input : https://paste.ubuntu.com/p/h8WpqHBfQJ/15:21
malwhich android base?15:29
T42<edp_17> 14.115:32
T42<LindaWMayfield> Forwarded from Linda W. Mayfield: I stayed at home for several months after I lost my job, I felt really bad at first,but a friend of mine introduced me to this man I really counted on him because I needed to feed my kids,I just want to appreciate him for his integrity.16:02
T42<LindaWMayfield> 👇👇👇16:02
T42<LindaWMayfield> https://t.me/joinchat/EKnclYDeZbczMGZk16:02
T42<Haibierron> Forwarded from Successful Trader: When you invest with a great company all you are going to get is a positive result and a successful withdrawal. I'm so happy right now, I invested £1,000 and got £10,500 in return in just 24hours of trade.  If you are looking for a legit platform to invest your money or you want to be successful like me too, contact Mr @Pierre_Relekom to start https://t.me/pierreinvestmentplatform16:16
T42<elros34> @edp_17 there is typo in my command which you copy to udev rule: KERNELS==. Also put both RUN commands  to one file, see 999*.rules for example how to17:36
T42<Spidey24Z> Hello @elros3418:05
T42<Spidey24Z> is this service 'Exynos.HWCService' crashed because of selinux i found this in logcat https://pastebin.ubuntu.com/p/4KKySMpmHc/18:08
T42<elros34> hi, see "permissive=1" in your message means that it's jst useless spam18:12
T42<Spidey24Z> so could be something else18:14
T42<Spidey24Z> @elros34  i run minimer it segfault at QEglWindow https://pastebin.ubuntu.com/p/PCf9qcmHnZ/18:30
T42<Spidey24Z> and this log from logcat18:30
T42<Spidey24Z> https://pastebin.ubuntu.com/p/h5mdn3MJDb/18:31
T42<elros34> as root/user? How did you stop lipstick first? Have you tried mce fb control related patch mentioned here few times for exynos decon driver?18:36
T42<Spidey24Z> as root / i masked user@100000.service also i tried mce patch didn't fix this issue (re @elros34: as root/user? How di...)18:39
T42<Spidey24Z> tried minimer as user same as root18:42
T42<elros34> maybe try after freash boot first starting surfaceflinger/bootanim then minimer. I do not remember excatly but this fb blank error looks smilar to what mce patch fixes but you would have to find old logs to be sure18:47
T42<Spidey24Z> okay i'll try to run minimer18:53
T42<Spidey24Z> after starting surfaceflinger18:53
T42<Spidey24Z> @elros34 this one right19:34
T42<Spidey24Z> https://github.com/spiiroin/mce/commit/25c772f300387a9c0a426f87f03cbb63654194bb19:34
T42<elros34> yeah, there was one device witwh crashing kernel without this19:41
T42<Spidey24Z> can i build mce using sfos on the phone19:43
T42<nephros> Aaah when I get to it I shall try this for my stalled tuba port also!19:44
T42<elros34> @spi19:45
T42<Spidey24Z> also i masked mce and run minimer still same kernel crashes19:45
T42<elros34> @Spidey24Z probably, I used chroot to not mess up host system but  why would want to do this on device19:46
T42<elros34> surfaceflinger works?19:47
T42<Spidey24Z> don't know why lol i have chroot i'll build it (re @elros34: @Spidey24Z probably,...)19:47
T42<Spidey24Z> yes (re @elros34: surfaceflinger works...)19:47
T42<elros34> probably I suggested it to you but if not there is alternative qpa-suurfaceflinger plugin for hard to debug hwcomposer issues but it's little outdated so you would have to fix it19:48
T42<Spidey24Z> [1: surfaceflinger: 3546] decon: decon0 already enabled19:54
T42<Spidey24Z> this plugin can be installed using zypper ? (re @elros34: probably I suggested...)19:55
T42<elros34> that is the point, you need to build it like you build qpa-whcomposer-plugin but AFAIK it's not buildable since few releases19:59
T42<Spidey24Z> any ideas 🙃20:02
T42<Spidey24Z> or any debugging tools20:03
T42<elros34> my idea is to build qpa-surfacflinger-plugin, I guess it shouldnt be very hard to make it buildable again. For debugging tools: logs and  gdb but it's not that straightforward to use it with with android bits20:07
T42<edp_17> @elros34 : I've fixed the typo (tried KERNEL== and KERNELS==) but didn't help. I still have to manually restart ngfd to get vibra working.20:31
deathmist@edp_17 I used to need the override files I dropped in https://github.com/sailfishos-oneplus5/droid-config-cheeseburger/commit/70b4cab back on SFOS <420:35
T42<elros34> @edp_17  it must be KERNELS== not KERNEL==. But what was the result of rule? Permison/owner was set correctly to system:input?20:35
T42<nephros> I have built qpa-surfaceflinger-plugin after a couple of fixes some weeks ago see if https://github.com/nephros/qt5-qpa-surfaceflinger-plugin is of any use.21:59

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!