*** redj_ is now known as redj | 02:53 | |
*** zama_ is now known as zama | 05:20 | |
*** ubuntu is now known as Guest46383 | 06:51 | |
*** NeoChapay_ is now known as NeoChapay | 08:44 | |
NeKit | sledges, could you please create xiaomi-hermes target on OBS? (Xiaomi Redmi Note 2) | 09:13 |
---|---|---|
ohyash | in the sb2 installation it shows links for SDK_tooling, SDK_target{armv7hl,i486} but I have set my PORT_ARCH="arm64-v8a" | 12:47 |
ohyash | does that mean I should've stayed with armv7hl in the beginning with PORT_ARCH in ~/.hadk.env? | 12:47 |
r0kk3rz | port arch should be armv7hl | 12:49 |
ohyash | damn. Gonna have to restart from the beginning | 13:02 |
r0kk3rz | i dont think anything pays attention to it before the sb2 stuff | 13:04 |
r0kk3rz | so just redo from sb2 target creation | 13:05 |
ohyash | r0kk3rz, so you mean I dont have to "make" it all again? | 13:27 |
r0kk3rz | you shouldnt do | 13:27 |
r0kk3rz | that will be built in the proper arch anyway | 13:27 |
ohyash | cool. Because I hadn't started yet with sb2 target creation. | 13:29 |
demonaxsh | I also have problems with gui - black screen, despite #define MALI_QUIRKS 1. Before, I did not notice it, but now screen for a fraction of a second shows start window (what with the choice of language), after which screen turns black. While I do not know how to fix this, but in the config I found: | 15:19 |
demonaxsh | MTK_GPU_SUPPORT = yes | 15:19 |
demonaxsh | If I turn off GPU, will QPA have problems? Perhaps software drawing will be very slow, but I can temporarily bypass this problem. | 15:19 |
mal | demonaxsh: what do you see in logs? | 15:20 |
mal | dmesg and logcat | 15:21 |
mal | probably also journalctl | 15:21 |
demonaxsh | for example | 15:23 |
demonaxsh | https://pastebin.com/6YhsTDfu | 15:23 |
demonaxsh | interesting from logcat | 15:25 |
demonaxsh | https://pastebin.com/XkLf2jTC | 15:25 |
mal | so was there a reason why you don't build libminisf? | 15:28 |
demonaxsh | minimer and test_hwcomposer, nothing draws on screen, but there are not segmentation errors | 15:28 |
demonaxsh | but there are no segmentation errors | 15:28 |
demonaxsh | no, I built, it just did not help | 15:28 |
mal | well there is no reason to not have it (it will be there later anyway) | 15:29 |
demonaxsh | I built droidmedia on a clean tree, or do I need to build tree with patches? | 15:30 |
demonaxsh | besides, I thought that droidmedia is necessary for camera, audio, etc | 15:31 |
demonaxsh | from interesting | 15:33 |
demonaxsh | ifneq ($(FPGA_EARLY_PORTING), yes) | 15:33 |
demonaxsh | MTK_HWC_SUPPORT := yes | 15:33 |
demonaxsh | else | 15:33 |
demonaxsh | MTK_HWC_SUPPORT := no | 15:33 |
demonaxsh | endif | 15:33 |
demonaxsh | but in ProjectConfig.mk | 15:33 |
demonaxsh | FPGA_EARLY_PORTING = no | 15:33 |
mal | you seem to have a bad habit of randomly picking parts of logs and not showing everything, the real error might be already a lot before the obvious error | 15:34 |
demonaxsh | well, now I will show the whole log | 15:35 |
demonaxsh | journalctl --no-pager | 15:35 |
mal | and when getting logs it's good to get them quite soon after reboot to be sure that even early logs are still available | 15:35 |
mal | for example logcat can lose the early messages if it's flooded with errors | 15:36 |
demonaxsh | in journald.conf | 15:37 |
demonaxsh | Storage=automatic | 15:37 |
mal | that's how it should be | 15:37 |
demonaxsh | how can I make logcat not lose message? to set size of the ring buffer? | 15:39 |
mal | just get the logs early enough | 15:41 |
demonaxsh | https://drive.google.com/open?id=1o1iSo-5fR2fVWv5W31RHWeBFkXkvwWg- | 15:41 |
demonaxsh | https://pastebin.com/4xvDjM7M | 15:47 |
mal | demonaxsh: you claim that is all of logcat? where are the message you gave the last time? | 15:54 |
demonaxsh | i specifically rebooted device. and immediately after gaining access to ssh did /usr/libexec/droid-hybris/system/bin/logcat > /home/nemo/logcat.log | 15:56 |
mal | try replacing > with &> | 15:57 |
demonaxsh | https://pastebin.com/0VPDH8Ar | 16:04 |
Zucca | Can I do an OTA update straight from 1.1.6.27 to 2.0.0.10 or do I need to first update to 1.1.9.28 and then to 2.0.0.10? My device is LG hammerhead. | 16:05 |
mal | should be ok to update directly | 16:06 |
Zucca | Thanks. | 16:06 |
demonaxsh | https://pastebin.com/tNcwGCww | 16:06 |
demonaxsh | /usr/libexec/droid-hybris/system/bin/logcat > /home/nemo/logcat2.log 2>&1 | 16:06 |
mal | why did you do that in so complicated way? | 16:07 |
mal | I still find it odd why the logcat has so few messages but maybe it really does | 16:08 |
demonaxsh | but there is a journalctl, it's same basic logging for systems on systemd, | 16:10 |
mal | those log different things | 16:10 |
NeKit | demonaxsh, which is yours mtk deice? | 16:11 |
demonaxsh | processor mt6735 | 16:11 |
demonaxsh | MTK_GPU_VERSION := mali midgard r7p0 | 16:11 |
NeKit | is Android 32-bit? | 16:11 |
demonaxsh | no, it's aarch64 | 16:11 |
NeKit | hm, do you see any ioctl error in dmesg? | 16:12 |
demonaxsh | always thought that dmesg output somehow coincides with journalctl | 16:13 |
mal | NeKit: he has these | 16:13 |
mal | May 29 15:10:08 Sailfish kernel: (0)[3353:QSGRenderThread][name:ion&][ION]__ion_alloc buffer is error 0xfffffffffffffff4. | 16:13 |
mal | May 29 15:10:08 Sailfish kernel: (0)[3353:QSGRenderThread][name:ion&][ION]ION_IOC_ALLOC handle is invalid. ret = -12. | 16:13 |
mal | May 29 15:10:08 Sailfish kernel: (0)[3353:QSGRenderThread][name:compat_ion&][ION]COMPAT_ION_IOC_ALLOC unlocked_ioctl fail! ret = -12. | 16:13 |
mal | so maybe the 32-bit hwcomposer is again broken | 16:13 |
NeKit | on MTKs it's generally broken on all 64-bit devices | 16:14 |
NeKit | demonaxsh, can you try with surfaceflinger plugin? | 16:14 |
mal | that is probably the easier way to fix that | 16:14 |
NeKit | but the errors you mentioned likely come from gralloc, that's weird | 16:14 |
NeKit | demonaxsh, also, what happens with test_hwcomposer? | 16:15 |
demonaxsh | I have to built it, from git.merprohect? | 16:16 |
demonaxsh | nothing, just black screen, not crashing - nothing, in minimer it's same | 16:16 |
demonaxsh | not errors, not sigfaults | 16:17 |
NeKit | EGL_PLATFORM=hwcomposer test_hwcomposer, right? | 16:17 |
demonaxsh | yes | 16:17 |
mal | demonaxsh: if you have new enough rpm/dhd submodule then build_packages.sh builds also qt5-qpa-surfaceflinger-plugin | 16:17 |
mal | NeKit: the log has also some other errors, check the google drive link he gave earlier | 16:21 |
demonaxsh | from 2.1.3.14 version, but i built for 2.2.0.29 | 16:21 |
demonaxsh | no qt5-qpa-surfaceflinger-plugin not contain in my build_packages.sh, ok I will add, or take a new build_packages.sh | 16:21 |
mal | demonaxsh: update submodules as described in faq linked in channel topic | 16:23 |
demonaxsh | ok, i'll try | 16:23 |
Zucca | This should disable all openrepos? ssu lr | awk '/openrepos/ {print $2}' | xargs -n 1 ssu dr | 16:27 |
NeKit | mal, 05-29 13:18:14.093 1403 1475 E hwcomposer: ! (0xbf8f8) [COMP] (0) fence 41 didn't signal in 1000 ms | 16:27 |
Zucca | I assume dr means "disable repo". | 16:27 |
NeKit | that's something I've seen on Gemini, but it was way more flooded with errors | 16:27 |
NeKit | I don't see ioctl errors in journalctl/dmesg though | 16:28 |
mal | NeKit: the one I gave is there | 16:35 |
Zucca | Dang. | 17:03 |
Zucca | version --dup fails. :( | 17:03 |
Zucca | http://dpaste.com/115QKXP | 17:03 |
Zucca | I fail at ssu-fu. So here's all the enabled repos: http://dpaste.com/0497G1A | 17:30 |
mal | Zucca: you are missing all device repos | 17:40 |
mal | Zucca: ah, the second one looks better | 17:40 |
mal | Zucca: it's possible OTA updates are broken for that | 17:41 |
mal | Zucca: looks like nobody has updated it https://build.merproject.org/project/show/nemo:testing:hw:lge:hammerhead | 17:42 |
Zucca | Let's see... | 17:42 |
mal | Zucca: the latest target is too new for it to work | 17:43 |
Zucca | mal: Too new for hammerhead? | 17:44 |
mal | Zucca: too new for the configurations used in those hammerhead repos | 17:48 |
Zucca | Uh oh. | 17:48 |
mal | wondering why nobody kept maintaining that device | 17:49 |
mal | afaik it was quite popular | 17:49 |
Zucca | I only followed this https://wiki.merproject.org/wiki/Adaptations/libhybris/Install_SailfishOS_for_hammerhead#WIP_Over-the-Air_updates_.28OTA.29 | 17:50 |
mal | the problem is that it was using the latest target and not the versioned target | 17:52 |
Zucca | I see the part "common/sailfish_latest_armv7hl"... This is the problem? | 17:54 |
mal | this is the problem http://repo.merproject.org/obs/nemo:/testing:/hw:/lge:/hammerhead/sailfish_latest_armv7hl/ | 17:54 |
mal | it's using latest which is always the latest sailfish release, but your device configs haven't been updated to match the new needs to it's broken | 17:55 |
Zucca | Ok. Dang. dhd repo. | 17:56 |
wiktorek140_ | mal: can u look at this? https://pastebin.com/6ivAdmJ0 | 17:57 |
mal | if I had that device I probably would be able to update it very quickly, and if I had access to the repos | 17:57 |
wiktorek140_ | updated repo, hybris-12.1, device surnia | 17:58 |
Zucca | Basically I'd need a snapshot of that repo from the time when that part of the wiki was updated. | 17:59 |
mal | Zucca: that would be trivial if I had permissions to the OBS project | 17:59 |
mal | sledges: ping | 17:59 |
Zucca | mal: A read-only branch at one point of time, then I could run the updates? | 18:05 |
mal | Zucca: not like that, just adding a proper versioned target there | 18:07 |
ohyash | $COMPOSITOR_CFGS, how do I know which one of the event# is for touchscreen? | 18:07 |
mal | you need to check on device | 18:09 |
ohyash | there are 8 /dev/input/event# | 18:10 |
ohyash | 0 to 7 | 18:10 |
mal | so either use evdev_trace from mcetools package or use cat | 18:10 |
ohyash | the one that gives continuous weird output in cat is touchscreen? | 18:12 |
mal | the one that shows something when you touch the screen | 18:12 |
mal | there might be some sensor device that gives output all the time | 18:13 |
mal | so just find the one that responds the touching the screen | 18:13 |
ohyash_ | this is weird, event0 continuously gives output irrespective of me touching the screen. other event# are pure blank | 18:19 |
ohyash_ | nvm, its event 3 | 18:20 |
Zucca | mal: Thanks for your efforts so far! If updating is someday possible can you update the wiki page? | 18:35 |
mal | probably | 18:36 |
mal | Zucca: but if you want to keep using the device why not continue the port and make it possible to use the latest sailfish in it? | 18:36 |
Zucca | I don't think my skills are that high. :) | 18:39 |
wiktorek140 | Zucca: u can always try ;) it cost you only time, what u will learn it will be your ^-^ | 18:51 |
ohyash_ | error during build_packages.sh. PB : https://pastebin.com/4SiCkJkr | 18:52 |
r0kk3rz | Zucca: it should be fairly straight forward | 18:53 |
ohyash_ | I figured the log file would be required. Here, PB : https://pastebin.com/vk91UAbA | 18:54 |
wiktorek140 | ohyash_: use this https://github.com/mer-hybris/droid-hal-device/pull/187 | 18:58 |
ohyash_ | done, works, thanks | 19:07 |
*** Nokius_ is now known as Nokius | 20:26 | |
steeeve | Are there any advantages in building 15.1 over 14.1? | 21:00 |
mal | currently only disadvantages | 21:06 |
mal | at the moment 15.1 should be used only if there is nothing else available | 21:07 |
steeeve | Oh yeah i though it, too many changes from 7 to 8 | 21:16 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!