Mister_Magister | Killing obs began | 00:46 |
---|---|---|
Mister_Magister | tho its dropped to only 3 instances :< | 00:46 |
Mister_Magister | end of killing obs | 01:25 |
Mister_Magister | updated 4 ports | 01:25 |
mighty17 | mal: `pkgconfig(libglibutil) >= 1.0.49 is needed by libgbinder-1.1.5-0.armv7hl` | 04:26 |
mighty17 | hey! if someone knows whats going wrong here https://pastebin.ubuntu.com/p/36cBs6hbxP/ i am building the packages using sfos 3.2.1.20 as i suppose its the only one that natively supports 3.0 kernel without patches | 05:47 |
mighty17 | nvm i wont get help with older sfos versions i will shift to 3.4 and use elros's patches | 06:26 |
T42 | <elros34> So pidof (psmisc) was replaced by busybox which behavies slightly different and cause /etc/profile.d/developer-profile.sh failure. Will there be a patch for a script or we should switch to non busybox version? | 08:47 |
mighty17 | @elros34 new sfos 3.4.0.24 with cm13 same issue as before https://pastebin.ubuntu.com/p/hqVCnqmRFY/ | 09:12 |
mighty17 | https://pastebin.ubuntu.com/p/m5dTKQyRRj/ <- dmesg | 09:13 |
T42 | <elros34> do you use now correct kernel? | 09:15 |
mighty17 | yup as stated in cm.dependencies :D | 09:15 |
mighty17 | plus there was no fstab error this time | 09:15 |
mighty17 | do i need to do everything again? (like disable ofno, hwcomposer? etc) | 09:16 |
T42 | <elros34> similar to previous base, check mount units, logcat, loaded kernel modules, then you can try test_hwcomposer | 09:19 |
mighty17 | check this journal -> https://pastebin.ubuntu.com/p/XmBVM56ymJ/ | 09:19 |
mighty17 | i have logcat working now | 09:21 |
mighty17 | but modules seems to be not working | 09:22 |
mighty17 | https://pastebin.ubuntu.com/p/PQp7WWn6B2/ @elros34 seems to be mount issue? | 09:22 |
mighty17 | lsmod is still empty :v | 09:24 |
T42 | <TemporaryName2> after installing platform sdk and running, cat /etc/os-release, it shows sfos 3.4, how can I upgrade to 4.x? | 09:25 |
T42 | <elros34> @might17 what makes you think that is mount issue? | 09:26 |
mighty17 | @elros34 `__bionic_open_tzdata_path: ANDROID_DATA not set!` but now that i read more it isnt a mount issue | 09:27 |
T42 | <elros34> I don't think that is important but for sure you need kernel module loaded to get gui | 09:28 |
mighty17 | oh so i need to add modules in /sparse/etc during build or do it on the device like u told yesterday | 09:29 |
mighty17 | but which modules? all of them? | 09:29 |
T42 | <elros34> all graphics related but I guess it's similar to previous version so there is only one | 09:32 |
mighty17 | this pvrsrvkm_sgx540_120? | 09:32 |
T42 | <elros34> yeah if that is the name of module | 09:33 |
* mighty17 sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/OKtzRNZvqJlbyXiVSNOnnLSe/message.txt > | 09:36 | |
mighty17 | there are so many modules xD | 09:36 |
mighty17 | sgx540 seems to be the graphics card | 09:37 |
mighty17 | bcmdhd is for wifi | 09:37 |
* mighty17 sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/siwskJoknTGUClplSXdcrzBd/message.txt > | 09:38 | |
mighty17 | @elros34 still no ui | 09:38 |
mighty17 | `unknown:0 - QPA-HWC: hwc_module->methods->open(hwc_module, HWC_HARDWARE_COMPOSER, &hwc_device) in create returned -14` is this the error? | 09:40 |
mighty17 | still same error failed to start lipstick ui anyone has any fixes??// | 09:48 |
T42 | <elros34> is that error both with fbdev and hwcomposer? | 09:48 |
mighty17 | yes | 09:48 |
T42 | <elros34> check logs for any obvious failures otherwise follow faq | 09:49 |
mighty17 | `[F] unknown:0 - QPA-HWC: hwc_module->methods->open(hwc_module, HWC_HARDWARE_COMPOSER, &hwc_device) in create returned -13` | 09:50 |
mighty17 | this seems to be issue in the journal | 09:50 |
T42 | <elros34> graphics will be in logcat | 09:52 |
mighty17 | oh oh @elros34 `Feb 06 11:45:25 GalaxyTab2 systemd[1052]: Failed to start Load initial part of start-up wizard before user session begins.` | 09:52 |
mighty17 | any fixes? | 09:57 |
T42 | <elros34> still same check logcat and follow faq instructions how to debug graphics issues | 09:58 |
mighty17 | https://pastebin.ubuntu.com/p/D3jqBrFMXK/ | 09:59 |
mighty17 | <T42 "<elros34> still same check logca"> i dont understand what to do for in device https://github.com/mer-hybris/hadk-faq#lipstick-segfaults-no-display | 10:00 |
mighty17 | <mighty17 "https://pastebin.ubuntu.com/p/D3"> nothing seems sus :/ | 10:11 |
T42 | <elros34> for example test_hwcomposer but before that you might need this: https://github.com/yacuken/droid-config-espresso3g/blob/master/sparse/lib/systemd/system/pvrsrvinit.service and symlink in basic.target.wants | 10:17 |
mighty17 | <T42 "<elros34> for example test_hwcom"> nothing like it is in the hadk manual :( can u explain what it is | 10:32 |
mighty17 | <T42 "<elros34> for example test_hwcom"> @elros34 can i just use this droid-config ie copy it to my build? | 10:41 |
T42 | <elros34> no, you can't copy whole droid-configs just create that one file and symlink on device | 11:09 |
mighty17 | Oh okay! | 11:12 |
mighty17 | <T42 "<elros34> no, you can't copy who"> Where is the location on device? | 11:13 |
mal | mighty17: about libgbinder, you should build the new libglibuti | 11:16 |
mighty17 | mal ??? New one do u mean in 4.0? | 11:16 |
mighty17 | Ps im on 3.0 Kernel | 11:17 |
mal | mighty17: you said you had the dependency issue which means you need to build the dependency | 11:17 |
mal | that has nothing to do with kernel version | 11:17 |
mighty17 | Yes I did but I needed to git checkout to 1.0.46 | 11:17 |
T42 | <elros34> mal: is libgbinder even used for enything on cm13 base? | 11:19 |
mal | not necessarily but it can be for certain things | 11:20 |
mal | looks like there might be a bug in build_packages.sh | 11:21 |
T42 | <elros34> ok, do you know whether busybox's psmisc should be installed on 4.0.1.45? I have issue with it in /etc/profile.d/developer-profile.sh | 11:22 |
mal | @elros34 where does the issue happen? and any more details? | 11:28 |
mal | the build_packages.sh fix https://github.com/mer-hybris/droid-hal-device/pull/293 | 11:28 |
mighty17 | <T42 "<elros34> no, you can't copy who"> ya i just copied the sparse folder to my build and im rebuilding | 11:30 |
mighty17 | coz of the dependencies i decided to buiild again | 11:30 |
T42 | <elros34> you were supposed to create one simple file on device... I bet you dont even have libgbinder installed | 11:31 |
* mighty17 uploaded an image: image.png (38KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/OkdcjNDuUhkHYZiCSawNIzEb/image.png > | 11:32 | |
T42 | <elros34> mal: on every login: ssh or fingerterm open. busybox's 'pidof systemd' returns sd-pam pid instead systemd --user. As a result usual env variables are not exported | 11:32 |
mighty17 | <T42 "<elros34> you were supposed to c"> i do have it plus where should i create the file on device?! | 11:32 |
mal | @elros34 hmm, I remember something about env vars, need to check a bit | 11:33 |
mal | @elros34 also about gbinder in older bases, it is needed if audioflingerglue is not wanted and audiosystem-passthrough is used instead | 11:35 |
T42 | <elros34> mal: ah ok sorry for confusion then. About pidof: fix could be simple like adding [ -r /proc/$PID/environ ] to loop which set SESSION_PID but I am not sure whether its needed as nobody report such a issue yet | 11:37 |
mal | @elros34 are all env vars not used or what? | 11:43 |
mighty17 | @elros34 I added the file to device still nothing | 11:45 |
T42 | <elros34> mal: here are the env https://pastebin.com/9Kph4Eci. 1528 is sd-pam with root:root /proc/pid/environ | 11:51 |
mal | ah, that error, I remember that one | 11:51 |
mighty17 | <mighty17 "@elros34 I added the file to dev"> This seems really broken pls help | 11:54 |
T42 | <elros34> did you added also mentioned simlink? Does service start? Any changes in logs if service works? | 11:55 |
mighty17 | Yes I made that file in /lib/system | 11:56 |
mighty17 | <T42 "<elros34> did you added also men"> Nope lipstick ui still fails | 11:57 |
mal | @elros34 does pidof systemd return wrong pid even when you run from terminal | 12:05 |
T42 | <elros34> yes, busybox's 'pidof systemd' returns 2 systemd pids and 2 sd-pam pids. Regular pidof returns only 2 systemd pids | 12:07 |
mal | hmm, interesting, on my devel device I get only 2 pids and those match to systemd and systemd --user | 12:09 |
T42 | <elros34> with busybox pidof? | 12:10 |
mal | @elros34 so the bug isn't much of problem then if it still sees to correct pid also? | 12:10 |
T42 | <elros34> it is a problem because in loop sd-pam pid is choosen instead systemd which has wrong and unreadable env variables | 12:11 |
mal | doesn't that mean CURRENT_UID is wrong then? | 12:12 |
T42 | Shou %lastname% was added by: Shou %lastname% | 12:12 |
T42 | <elros34> no, /proc/(sd-pam pid) directory is owned by 100000 so its that pis is used for SESSION_PID | 12:15 |
T42 | <elros34> pid* | 12:15 |
T42 | <elros34> mal: could you check whether you have busybox pid or regular on device you mention it works because maybe I shouldnt even have busybox-symlinks-psmisc installed? | 12:17 |
T42 | <elros34> sorry busybox pidof | 12:17 |
mal | busybox pidof --help -> BusyBox v1.31.0 and busybox pidof systemd -> 4237 1 | 12:20 |
mal | which version of busybox package does your device have? | 12:21 |
T42 | <elros34> mal: ok thanks, 1.31.0+git17. I guess this is somehow related to old kernel then. Any chance to include simple fix for it as this script is not in any public repo? | 12:26 |
mal | I will test on a device with 4.0.1 | 12:29 |
T42 | <elros34> ok | 12:29 |
mal | I can see that in 4.0.1 device | 12:30 |
mighty17 | @elros34 it loads modules now but still lipstick ui fails `Feb 06 14:17:09 localhost lipstick[2288]: [F] unknown:0 - QPA-HWC: hwc_module->methods->open(hwc_module, HWC_HARDWARE_COMPOSER, &hwc_device) in create returned -13` | 12:31 |
mighty17 | and this `GalaxyTab2 systemd[1052]: Failed to start Load initial part of start-up wizard before user session begins.` | 12:31 |
mighty17 | if anyone knows a solution | 12:31 |
T42 | <elros34> @mighty17: show: cat /usr/lib/systemd/system/pvrsrvinit.service; ls -al /usr/lib/systemd/system/basic.target.wants/ | 12:33 |
mal | @elros34 I need to figure out what fixed it after 4.0.1 | 12:33 |
mighty17 | ok | 12:33 |
mighty17 | https://pastebin.ubuntu.com/p/W8mCPMkkrh/ here it is @elros34 | 12:34 |
T42 | <elros34> so there is really no change in logcat or journal when that service starts? | 12:36 |
mighty17 | https://pastebin.ubuntu.com/p/NwQbgcJDFp/ line 136 there is something new | 12:37 |
mighty17 | * https://pastebin.ubuntu.com/p/NwQbgcJDFp/ line 136 there is something new @elros34 but its just warning | 12:41 |
T42 | <elros34> at least it try to load hwcomposer module now, what about /usr/libexec/droid-hybris/system/bin//logcat? Do you use EGL_PLATFORM=fbdev all the time? | 12:42 |
mighty17 | https://pastebin.ubuntu.com/p/pDWc6CY9fY/ @elros34 | 12:44 |
mighty17 | <T42 "<elros34> at least it try to loa"> and yes it is fbdev | 12:45 |
mighty17 | do i need to change to hwcomposter? | 12:50 |
T42 | <elros34> sure it will not harm to check, also according to hadk-faq check whether /system/bin/surfaceflinger works | 12:54 |
mighty17 | https://pastebin.ubuntu.com/p/qZkZ59XNx8/ @elros34 it only shows warnings so i suppose it works | 12:56 |
mighty17 | also how can i try with minimer on device? | 12:56 |
T42 | <elros34> surfacefling should shows something on display, press power button just to be sure display is not blanked | 12:57 |
T42 | <elros34> do you have readable /dev/dsscomp? | 13:00 |
mighty17 | lemme check | 13:01 |
mighty17 | <T42 "<elros34> do you have readable /"> @elros34 it says permission denied on telnet | 13:03 |
mighty17 | <T42 "<elros34> surfacefling should sh"> only backlight turns on | 13:03 |
mighty17 | ps - i changed to hwcomposer | 13:03 |
T42 | <elros34> I meant check what permissions /dev/dsscomp have | 13:03 |
mighty17 | <T42 "<elros34> I meant check what per"> crw-rw---- | 13:04 |
T42 | <elros34> not very useful without owner and group | 13:05 |
mighty17 | but i am root shouldnt i be able to change it | 13:06 |
T42 | <elros34> yeah change it to rw for all but in the mean time tell me the owner:group | 13:06 |
mighty17 | owner:group? | 13:08 |
T42 | <elros34> ls -al /dev/dsscomp; then chmod a+rw /dev/dsscomp and try surfaceflinger again | 13:09 |
mighty17 | ohk | 13:10 |
mighty17 | btw whats surfaceflinger? | 13:10 |
mighty17 | <T42 "<elros34> ls -al /dev/dsscomp; t"> it still says permission denied :v | 13:10 |
T42 | <elros34> strange, what about ls -al /dev? Did you change user by su or something? telnetis root by default | 13:12 |
mighty17 | na im still roo | 13:12 |
mighty17 | root* | 13:12 |
mighty17 | <T42 "<elros34> strange, what about ls"> it says dsscomp has `crw-rw-rw-` | 13:12 |
mighty17 | but if i run /dev/dsscomp it says permission denied | 13:13 |
mighty17 | `crw-rw-rw- 1 system system 10, 60 Feb 6 15:02 dsscomp` | 13:14 |
T42 | <elros34> obviously you can't run character device. does surfaceflinger works now? | 13:14 |
mighty17 | ohh | 13:15 |
mighty17 | i get cyanogenmod logo now | 13:15 |
mighty17 | yes it works :D | 13:15 |
mighty17 | <mighty17 "i get cyanogenmod logo now"> ie when i run surfaceflinger i get cm logo in the device | 13:16 |
T42 | <elros34> find that device in /lib/udev/udev.rules/999-android-system.rules and change group from system to graphics. In sdk change group in uevent*.rc in $ANDROID_ROOT/device/ then make-hybris-hal and make sure file is copied to out and rebuild droid-hal | 13:19 |
mighty17 | okay | 13:21 |
mighty17 | <T42 "<elros34> find that device in /l"> 999-android-system.rules is in /hadk/tmp/udev.rules is that correct? | 13:23 |
T42 | <elros34> on device and tmp directory is never correct | 13:24 |
mighty17 | ok on device there is no /udev.rules folder | 13:24 |
mighty17 | it has to be either `./data/.stowaways/sailfishos/lib/udev/rules.d/999-android-system.rules` or `./lib/udev/rules.d/999-android-system.rules` | 13:25 |
mighty17 | in /device folder (on sdk) `/dev/dsscomp 0660 system system` so it should be changed to `/dev/dsscomp 0660 media graphics` right? | 13:27 |
T42 | <elros34> those paths are same, you use .stowaways on twrp. owner should be irrelevant | 13:28 |
mighty17 | okay thanks! | 13:29 |
mighty17 | <T42 "<elros34> find that device in /l"> so after doing that i will reboot and things should work? or do i need to rebuild? | 13:32 |
mighty17 | ok @elros34 i changed in device and rebooted what now? | 13:37 |
mighty17 | should i try with minimer and rebuild? im confused | 13:42 |
T42 | <elros34> What do you think? check whether /dev/dsscomp have correct permissions now, check what changed in logs is not really hard | 13:44 |
mighty17 | <T42 "<elros34> What do you think? che"> Still can't open /dev/dsscomp tho | 13:47 |
mighty17 | And logs seem to be same | 13:47 |
mighty17 | But what's the issue exactly? | 13:57 |
mighty17 | @elros34 sfos with cm12.1 worked tho (someone else made it back then) | 13:58 |
T42 | <elros34> Current issue is that character device have wrong permission so it can't be opened thus hwcomposer fail. | 13:59 |
mighty17 | <T42 "<elros34> Current issue is that "> But as u said I set it to graphics and I still can't open it | 14:02 |
T42 | <elros34> C'mon do I really have to repeat everything twice. Have you confirmed it that is really set to graphics now after reboot? | 14:03 |
mighty17 | Yes I have confirmed that! | 14:09 |
mighty17 | Indeed it is in graphics but still it says permission denied | 14:10 |
T42 | <elros34> I told you can't execute character device so do not execute it or cat just check whether logcat still have dsscomp erro | 14:12 |
mighty17 | Okk sorry | 14:16 |
mighty17 | @elros34 logs seem to be the same.. lipstick ui still fails | 16:45 |
mighty17 | `crw-rw---- 1 system graphics 10, 60 Feb 6 18:39 /dev/dsscomp` | 16:46 |
mighty17 | should i change owner as well? | 16:46 |
T42 | <elros34> I don't think it should be needed. There must something different in logcat I don't believe you :) | 16:50 |
mighty17 | ok i will send it here :) | 16:50 |
mighty17 | https://paste.ubuntu.com/p/X45ghWvMmz/ | 16:51 |
T42 | <elros34> logcat looks much better now | 16:52 |
mighty17 | :)\ | 16:52 |
mighty17 | * :) | 16:52 |
T42 | <elros34> you started surfaceflinger manualy right? | 16:57 |
mighty17 | yup | 16:59 |
T42 | <elros34> just and idea: add QT_QPA_NO_FRAMEBUFFER_FIRST=1 to droid-hal-device.conf. Also just to be sure, are you testing both EGL_PLATFORM? | 17:01 |
mighty17 | no rn im on hwcomposer | 17:04 |
mighty17 | but same results with fbdev aswell | 17:04 |
T42 | <elros34> same error: Framebuffer HAL not opened before HWC? | 17:05 |
mighty17 | hmm | 17:06 |
mighty17 | let me tryy what u sai | 17:06 |
T42 | <elros34> that env is probably wrong so if it will not help then remove it | 17:07 |
mighty17 | https://paste.ubuntu.com/p/mf225RXkBz/ is this fine? | 17:08 |
T42 | <elros34> yes except you should really try with fbdev as first because that was used on cm12 | 17:09 |
mighty17 | oh okay!! | 17:09 |
mighty17 | @elros34 https://paste.ubuntu.com/p/TTq8Fyb2WB/ with hwcomposer | 17:15 |
T42 | <elros34> journal is not very useful now, Framebuffer HAL not opened before HWC error is in logcat | 17:17 |
mighty17 | oh okay lemme try with fbdev as u said | 17:18 |
mighty17 | @elros34 https://paste.ubuntu.com/p/79HYWprSS8/ (yes i manually did surfacefliger once) | 17:20 |
mighty17 | still we have `E ti_hwc : Framebuffer HAL not opened before HWC` any solutions? | 17:30 |
T42 | <elros34> remove that env variable, maybe chmod a+rw /dev/graphics/fb0 | 17:32 |
mighty17 | wait iirc @yacuken also had that issue is he/she still here? | 17:35 |
mighty17 | <T42 "<elros34> remove that env variab"> which one? | 17:35 |
T42 | <elros34> the one I told you to add for test | 17:36 |
mighty17 | ah okay | 17:37 |
mighty17 | `QT_QPA_NO_FRAMEBUFFER_FIRST=1` ? | 17:37 |
mighty17 | <T42 "<elros34> remove that env variab"> `lrwxrwxrwx 1 root root 6 Feb 6 19:17 /dev/graphics/fb0 -> ../fb0` | 17:38 |
T42 | <elros34> yeah that one but according to logs this was refered as solution but I dont get it. Without variable defined it should works | 17:39 |
T42 | <elros34> about fb0 that is symlink so chec /dev/fb0 | 17:40 |
mighty17 | <T42 "<elros34> yeah that one but acco"> well its weird :/ | 17:47 |
mighty17 | <T42 "<elros34> about fb0 that is syml"> Permission denied | 17:47 |
mighty17 | `crw-rw---- 1 root graphics 29, 0 Feb 6 19:17 /dev/fb0` | 17:47 |
Mister_Magister | mal: old friend, could you lend me a hand? | 17:47 |
mighty17 | <mighty17 "wait iirc @yacuken also had that"> well yacuken left :c | 17:53 |
mighty17 | does anyone a solution | 17:57 |
Mister_Magister | mighty17: what happens to be your issue? | 18:05 |
mighty17 | hello Mister_Magister my issue is that after booting into sfos i get no ui, when i tab screen/power button is pressed backlight turns on only | 18:06 |
mighty17 | heres the journal log https://paste.ubuntu.com/p/79HYWprSS8/ (yes i manually did surfacefliger once) | 18:07 |
Mister_Magister | that's one a classic xd | 18:07 |
Mister_Magister | which android base | 18:07 |
mighty17 | cm13 | 18:08 |
mighty17 | should i link my repos? | 18:08 |
Mister_Magister | no need | 18:10 |
mighty17 | okay well any ideas? | 18:10 |
Mister_Magister | why logcat | 18:10 |
Mister_Magister | link u gave is logcat not journal | 18:11 |
mighty17 | oh my bad | 18:11 |
mal | Mister_Magister: what is the problem? | 18:12 |
mighty17 | https://paste.ubuntu.com/p/Fg4C8ncQmb/ here u go | 18:12 |
Mister_Magister | mal: could you look at versions in my the testing repo? i'm trying to build 3.4 image because all my images are gone, and when i updated from 3.3 to 3.4 on 3.3 repos it was all fine but when i updated packages on obs i can't get ui, well everything is dying really, ril, ui, everything so i suspect something is wrong with versions of packages | 18:13 |
Mister_Magister | base was 12.1 of that device | 18:13 |
mal | Mister_Magister: which device repo? | 18:14 |
Mister_Magister | https://build.merproject.org/project/show/nemo:testing:hw:motorola:thea | 18:14 |
mal | Mister_Magister: any log from the device? | 18:14 |
mighty17 | <Mister_Magister "that's one a classic xd"> E ti_hwc : Framebuffer HAL not opened before HWC | 18:15 |
Mister_Magister | mal: https://paste.opensuse.org/fc9fc864 | 18:15 |
mal | Mister_Magister: you seem to have very old submodules | 18:15 |
Mister_Magister | i know | 18:16 |
mal | Mister_Magister: I suggest you update the config submodule at least, also droid-hal-version | 18:16 |
Mister_Magister | oki doki | 18:16 |
mal | and while you are at it migrate to meta-packages | 18:16 |
Mister_Magister | ehehe is there script for that? | 18:16 |
mal | https://github.com/mer-hybris/hadk-faq#migrate-patterns-to-meta-packages | 18:17 |
Mister_Magister | <3 | 18:18 |
mal | Mister_Magister: you also need to fix you droid-hcismd.sh script based on the logs | 18:18 |
Mister_Magister | i know i saw that | 18:18 |
Mister_Magister | thats no problem | 18:18 |
Mister_Magister | mighty17: why i can't see dhd | 18:19 |
mal | Mister_Magister: and migrate from /lib/systemd/system to /usr/lib/systemd/system | 18:19 |
mighty17 | ?? | 18:19 |
Mister_Magister | droid-hal seems to be missing from logs | 18:19 |
Mister_Magister | mal: standards! nice | 18:19 |
Mister_Magister | but how | 18:19 |
Mister_Magister | ah | 18:19 |
Mister_Magister | you mean sparse | 18:19 |
mighty17 | <Mister_Magister "droid-hal seems to be missing fr"> thats weird | 18:20 |
mal | Mister_Magister: yes, just update the submodule and move any custom stuff in sparse to the new location | 18:20 |
mighty17 | but how does it matter anyways | 18:20 |
Mister_Magister | yep, thanks! | 18:20 |
Mister_Magister | been out of the loop for awhile | 18:20 |
mighty17 | i did everything as per hadk manual :P (and added sparse from cm12 sfos2 build) | 18:21 |
mal | Mister_Magister: as an example what I did for fp2 https://github.com/mlehtima/droid-config-fp2-sibon/commit/a44a3193c550b4d6475df188b20c368ee11f670f | 18:21 |
mal | quite simple | 18:21 |
Mister_Magister | i swear to god i'm gonna get tshirt "keep calm and steal from fp2" | 18:21 |
T42 | <elros34> mighty17 you should already know that your device is strange and it has droid-hal-device logs in dmesg instead journal | 18:21 |
mighty17 | yes that was droid-inti right? | 18:21 |
mighty17 | init* | 18:21 |
Mister_Magister | droid-hal-init | 18:22 |
T42 | <elros34> sorry, right droid-hal-init | 18:22 |
mighty17 | https://paste.ubuntu.com/p/pMD7sFqgM9/ here u go | 18:22 |
mighty17 | ¯\_(ツ)_/¯ its samsung | 18:22 |
Mister_Magister | mal: how are you these days | 18:22 |
* Mister_Magister s/samsung/shitsang/ | 18:23 | |
mal | Mister_Magister: not very well really, way too little sleep | 18:23 |
Mister_Magister | thats bad! | 18:23 |
Mister_Magister | can't say i'm well myself | 18:23 |
mighty17 | > * <@freenode_Mister_Magister:matrix.org> s/samsung/shitsang/ | 18:23 |
mighty17 | lol but it has working (tm) cm12 sfos2 port | 18:23 |
mighty17 | wonder if its worth to update tht | 18:23 |
Mister_Magister | omap device heh | 18:24 |
mighty17 | indeed | 18:26 |
Mister_Magister | welp, no idea | 18:27 |
mighty17 | oof :( | 18:28 |
mighty17 | should i open an issue? | 18:28 |
mal | what do you mean? porting issues are fixed here | 18:29 |
Mister_Magister | his issue certainly isn't being fixed :D | 18:30 |
mighty17 | <mal "what do you mean? porting issues"> oh okay! but noone seems to have any solution i have been stuck since a week | 18:30 |
mighty17 | even tried diff bases | 18:30 |
T42 | <elros34> you don't stuck for week. You were changing bases/kernel/fstab. | 18:31 |
mighty17 | but the underlying issue was the same atleast after 1 day or so | 18:32 |
mighty17 | should i try with minimer as hadk-faq has? | 18:32 |
mal | mighty17: things are not always fixed in one day | 18:32 |
mighty17 | i dont expect them to be fixed in one day :) | 18:33 |
T42 | <elros34> what?no, you had many different issues | 18:33 |
mal | Mister_Magister: quite interesting message in your log "lipstick[2468]: [W] unknown:0 - failed to read screen size from hwc1.x backend" | 18:33 |
mighty17 | <T42 "<elros34> what?no, you had many "> yes but the main issue was screen with no ui | 18:34 |
mal | Mister_Magister: but let's see what you get once you update the repos first | 18:34 |
Mister_Magister | sure | 18:34 |
Mister_Magister | im eating borgar for now | 18:34 |
T42 | <elros34> mighty: ha that issue have porter in this channel | 18:34 |
T42 | <elros34> every porter* | 18:35 |
Mister_Magister | @elros34 i said its classic xd | 18:35 |
T42 | <elros34> indeed | 18:35 |
Mister_Magister | im havint it even now | 18:35 |
mighty17 | its a common issue i checked the logs and yacuken had the same issue (he/she ported sfos2 cm12) but i couldnt find a solution | 18:35 |
T42 | <elros34> mighty17: you could try one thing: systemctl mask user@100000.service, then reboot. After that when droid-hal-init is running, start surfaceflinger (it should show logo) and stop it then EGL_PLATFORM=fbdev test_hwcomposer or minimer accoring to hadk-faqif that not work | 18:36 |
mighty17 | woa woa this is confusing | 18:36 |
mighty17 | i dont think i will be able to do `when droid-hal-init is running, start surfaceflinger` as telnet takes some time to load | 18:37 |
T42 | <elros34> I meant wait before it starts | 18:37 |
mighty17 | `EGL_PLATFORM=fbdev test_hwcomposer` or `EGL_PLATFORM=fbdev` ? | 18:38 |
T42 | <elros34> 1th | 18:38 |
T42 | <elros34> it's one line | 18:39 |
mighty17 | it starts at 14th second after boot | 18:39 |
mighty17 | ya but i always did `EGL_PLATFORM=fbdev` as edp17 told | 18:39 |
T42 | <elros34> ok forget:) just wait 1minute and start surfaceflinger | 18:39 |
mighty17 | ok cool | 18:39 |
mighty17 | <T42 "<elros34> mighty17: you could tr"> yes after that reboot? | 18:43 |
T42 | <elros34> no, tell me what you see in screen and logs | 18:45 |
mighty17 | https://paste.ubuntu.com/p/Q2TFXv3PjY/ journal | 18:46 |
mighty17 | https://paste.ubuntu.com/p/Dp9MkMvKTb/ logcat | 18:46 |
mighty17 | https://paste.ubuntu.com/p/XdfMxGCC4z/ dmesg | 18:46 |
mighty17 | > <@freenode_T42:matrix.org> <elros34> mighty17: you could try one thing: systemctl mask user@100000.service, then reboot. After that when droid-hal-init is running, start surfaceflinger (it should show logo) and stop it then EGL_PLATFORM=fbdev test_hwcomposer or minimer accoring to hadk-faqif that not work | 18:46 |
mighty17 | * what | 18:46 |
mighty17 | * after it? @elros34 | 18:46 |
T42 | <elros34> obviously | 18:47 |
mighty17 | <T42 "<elros34> no, tell me what you s"> in screen i get cm logo and then nothing once i close surfaceflinger | 18:47 |
Mister_Magister | mal: everythin' checks out? https://github.com/VerdandiTeam/droid-config-thea/commit/20b0a9e8020222f9d9617022d224dfbf0148f1c8 | 18:48 |
T42 | <elros34> @mighty17 but what is resoult of running test_hwcomposer, that is whole point | 18:50 |
mighty17 | nothing | 18:50 |
Mister_Magister | i will assume yes! | 18:51 |
mal | seems reasonable | 18:53 |
Mister_Magister | :) | 18:54 |
T42 | <elros34> you are missing whole bunch of packages like busybox-static, zypper. Check patterns template | 18:56 |
Mister_Magister | hmm so updating submodules didn't fix it | 19:31 |
Mister_Magister | mal: new log https://paste.opensuse.org/fdd61ed4 didn't look at it yet | 19:35 |
Mister_Magister | hmmm | 19:37 |
Mister_Magister | looks cleaner, can't see rild failing | 19:38 |
Mister_Magister | looks like problem with udev rules to me | 19:43 |
Mister_Magister | /dev/fb0 is system:graphics not root:graphics | 19:43 |
Mister_Magister | when i change to root:graphics it can read resolution | 19:44 |
Mister_Magister | ye like unknown key 'DEVLINKS' in /lib/udev/rules.d/999-android-system.rules:637 | 19:52 |
Mister_Magister | but these shouldn't matter much | 19:53 |
Mister_Magister | dbus-daemon[959]: dbus[959]: Unknown username "nemo" in message bus configuration file huuh | 19:54 |
Mister_Magister | what happend when i was gone (i know its now defaultuser and i have it but…) | 19:55 |
Mister_Magister | maybe my old ks file is wrong | 19:58 |
Mister_Magister | mal: any idea? | 20:06 |
mal | yes, you should update .ks file | 20:07 |
Mister_Magister | i mean | 20:07 |
Mister_Magister | https://paste.opensuse.org/00eca40d it should be fine | 20:08 |
mal | did you regenerate it? | 20:08 |
Mister_Magister | no | 20:08 |
Mister_Magister | i don't even have sources anymore | 20:08 |
mal | hmm | 20:09 |
Mister_Magister | but looking at t5 .ks i updated it and seems to be fine to me | 20:10 |
mal | ok | 20:10 |
Mister_Magister | not sure why it segfaults | 20:11 |
Mister_Magister | not even surfaceflinger is working | 20:11 |
mal | do you have a log with the permission fix for fb0 | 20:11 |
Mister_Magister | one second | 20:13 |
Mister_Magister | https://paste.opensuse.org/a22d95ac journal https://paste.opensuse.org/22f8f5fc logcat | 20:14 |
Mister_Magister | wait logcat was cleaner | 20:14 |
mal | what still has the size error | 20:17 |
mal | *that | 20:17 |
Mister_Magister | i mean, its getting resolution now at least and there's no issue with 1.x backend | 20:18 |
Mister_Magister | oh wait | 20:18 |
Mister_Magister | no | 20:18 |
Mister_Magister | you are right | 20:18 |
Mister_Magister | but ye udev is spitting constantly | 20:19 |
mal | there is a fix for some of the debug issues in dhd submodule | 20:21 |
mal | *dbus issues | 20:21 |
mal | argh, I mean udev | 20:21 |
Mister_Magister | :D | 20:21 |
T42 | <elros34> so you have old dhd rpm without droid-hal-$DEVICE-users. Does group defaultuser l | 20:22 |
T42 | <elros34> groups defaultuser return something | 20:22 |
Mister_Magister | mal: well when i start it by hand https://paste.opensuse.org/52d71585 | 20:23 |
Mister_Magister | @elros34 yep defaultuser video audio users input sailfish-system ssu sailfish-alarms sailfish-datetime timed sailfish-phone sailfish-messages bluetooth | 20:23 |
Mister_Magister | mal: i can give you strace! :D | 20:24 |
T42 | <elros34> maybe you should be also in graphics group | 20:26 |
Mister_Magister | does it matter if startup wizard is running as root? | 20:26 |
Mister_Magister | but ye adding defaultuser to graphics group allowed me to start startupwizard as nemo | 20:29 |
Mister_Magister | ugh idk | 20:46 |
mal | Mister_Magister: https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L773 | 20:48 |
mal | by default graphics group is there, you just have so old submodule | 20:48 |
Mister_Magister | yee | 20:48 |
Mister_Magister | but do they matter tho, i don't think thats the reason for segfault | 20:50 |
T42 | LIMITLESS_IO was added by: LIMITLESS_IO | 20:53 |
Mister_Magister | mal: even if i add defaultuser to those groups result is same | 20:55 |
T42 | <elros34> I assume you don't forget about libhybris issue on < hybris12. IIRC wdehoog tried latest libhybris and got gui but reverted to old version because of some issues. | 20:57 |
Mister_Magister | @elros34 but if i don't update libhybris i don't have gles3 | 20:57 |
Mister_Magister | and if i don't have gles3 then other packages fail to build | 20:58 |
Mister_Magister | but that totally can be the case cause it was locked on one commit before | 20:58 |
Mister_Magister | thought "its been years they prably fixed it" | 20:58 |
T42 | <elros34> yeah it might be fixed but I didn't try. Here is old version with gles3 headers: https://build.merproject.org/package/view_file/nemo:testing:hw:motorola:moto_msm8960_jbbl/libhybris/_service?expand=1 | 20:59 |
mal | not sure if the bug is still there or not, I don't have any device which has the bug so difficult to check | 21:00 |
Mister_Magister | mal: i can help u out! :D | 21:00 |
Mister_Magister | @elros34 you literally sent link to master HEAD | 21:01 |
Mister_Magister | oh wait | 21:01 |
Mister_Magister | its not master | 21:01 |
mal | if that version helps then we can try to debug why master fails | 21:01 |
Mister_Magister | if you so desire i would be happy to help | 21:02 |
Mister_Magister | building zip with the different libhybris | 21:13 |
mal | Mister_Magister: btw, I hope you don't mind if take over your multi-camera support work, I made my own version based on those including support for getting information about camera position (front vs back) | 21:57 |
Mister_Magister | mal: in my merge request comment i literally said its initial work for someone better than me to pick up and finnish | 21:57 |
Mister_Magister | i'm glad someone will pick it up | 21:57 |
Mister_Magister | i'm so happy | 21:57 |
Mister_Magister | thanks! | 21:57 |
Mister_Magister | when i fix 5z i'll be able to test | 21:58 |
mal | I already tested my code to be working on one device | 22:00 |
Mister_Magister | nice | 22:00 |
mal | might still need some cleanup | 22:00 |
Mister_Magister | mal: with the elros libhybris and adding defaultuser to graphics group i was able to get ui | 22:00 |
Mister_Magister | so here's ur answer :P | 22:01 |
mal | hmm, ok | 22:01 |
Mister_Magister | last time issue was the same, libhybris | 22:01 |
mal | was that cm13 or cm12.1? | 22:02 |
Mister_Magister | 12 | 22:02 |
Mister_Magister | i have 2 devices (which are literally same) on 12.1 and one on 13 | 22:03 |
mal | @elros34 so you also have that libhybris bug on some device? | 22:06 |
T42 | <elros34> mal: yes on cm11 based. Even worse as my device immediately crash and reboot so I couldn't debug it properly. I have tested it long time ago so now it might be different. IIRC --enable-trace fix issue automagically | 22:10 |
mal | hmm, wondering why it happens on so many bases | 22:10 |
Mister_Magister | clarification, idk if it happens on 13 base | 22:11 |
mal | ok | 22:11 |
T42 | JeanMayy was added by: JeanMayy | 23:35 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!