Saturday, 2021-02-06

Mister_MagisterKilling obs began00:46
Mister_Magistertho its dropped to only 3 instances :<00:46
Mister_Magisterend of killing obs01:25
Mister_Magisterupdated 4 ports01:25
mighty17mal: `pkgconfig(libglibutil) >= 1.0.49 is needed by libgbinder-1.1.5-0.armv7hl`04:26
mighty17hey! 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 patches05:47
mighty17nvm i wont get help with older sfos versions i will shift to 3.4 and use elros's patches06: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
mighty17https://pastebin.ubuntu.com/p/m5dTKQyRRj/ <- dmesg09:13
T42<elros34> do you use now correct kernel?09:15
mighty17yup as stated in cm.dependencies :D09:15
mighty17 plus there was no fstab error this time09:15
mighty17do 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_hwcomposer09:19
mighty17check this journal -> https://pastebin.ubuntu.com/p/XmBVM56ymJ/09:19
mighty17i have logcat working now09:21
mighty17but modules seems to be not working09:22
mighty17https://pastebin.ubuntu.com/p/PQp7WWn6B2/ @elros34 seems to be mount issue?09:22
mighty17lsmod is still empty :v09: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 issue09:27
T42<elros34> I don't think that is important but for sure you need kernel module loaded to get gui09:28
mighty17oh so i need to add modules in /sparse/etc during build or do it on the device like u told yesterday09:29
mighty17but 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 one09:32
mighty17this pvrsrvkm_sgx540_120?09:32
T42<elros34> yeah if that is the name of module09:33
* mighty17 sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/OKtzRNZvqJlbyXiVSNOnnLSe/message.txt >09:36
mighty17there are so many modules xD09:36
mighty17sgx540 seems to be the graphics card09:37
mighty17bcmdhd is for wifi09:37
* mighty17 sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/siwskJoknTGUClplSXdcrzBd/message.txt >09:38
mighty17@elros34 still no ui09: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
mighty17still 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
mighty17yes09:48
T42<elros34> check logs for any obvious failures otherwise follow faq09:49
mighty17`[F] unknown:0 - QPA-HWC: hwc_module->methods->open(hwc_module, HWC_HARDWARE_COMPOSER, &hwc_device) in create returned -13`09:50
mighty17this seems to be issue in the journal09:50
T42<elros34> graphics will be in logcat09:52
mighty17oh 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
mighty17any fixes?09:57
T42<elros34> still same check logcat and follow faq instructions how to debug graphics issues09:58
mighty17https://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-display10: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.wants10:17
mighty17<T42 "<elros34> for example test_hwcom"> nothing like it is in the hadk manual :( can u explain what it is10: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 device11:09
mighty17Oh okay!11:12
mighty17<T42 "<elros34> no, you can't copy who"> Where is the location on device?11:13
malmighty17: about libgbinder, you should build the new libglibuti11:16
mighty17mal ??? New one do u mean in 4.0?11:16
mighty17Ps im on 3.0 Kernel11:17
malmighty17: you said you had the dependency issue which means you need to build the dependency11:17
malthat has nothing to do with kernel version11:17
mighty17Yes I did but I needed to git checkout to 1.0.4611:17
T42<elros34> mal: is libgbinder even used for enything on cm13 base?11:19
malnot necessarily but it can be for certain things11:20
mallooks like there might be a bug in build_packages.sh11: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.sh11:22
mal@elros34 where does the issue happen? and any more details?11:28
malthe build_packages.sh fix https://github.com/mer-hybris/droid-hal-device/pull/29311:28
mighty17<T42 "<elros34> no, you can't copy who"> ya i just copied the sparse folder to my build and im rebuilding11:30
mighty17coz of the dependencies i decided to buiild again11:30
T42<elros34> you were supposed to create one simple file on device... I bet you dont even have libgbinder installed11: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 exported11: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 bit11:33
mal@elros34 also about gbinder in older bases, it is needed if audioflingerglue is not wanted and audiosystem-passthrough is used instead11: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 yet11:37
mal@elros34 are all env vars not used or what?11:43
mighty17@elros34 I added the file to device still nothing11:45
T42<elros34> mal: here are the env https://pastebin.com/9Kph4Eci. 1528 is sd-pam with root:root /proc/pid/environ11:51
malah, that error, I remember that one11:51
mighty17<mighty17 "@elros34 I added the file to dev"> This seems really broken pls help11:54
T42<elros34> did you added also mentioned simlink? Does service start? Any changes in logs if service works?11:55
mighty17Yes I made that file in /lib/system11:56
mighty17<T42 "<elros34> did you added also men"> Nope lipstick ui still fails11:57
mal@elros34 does pidof systemd return wrong pid even when you run from terminal12:05
T42<elros34> yes, busybox's 'pidof systemd' returns 2 systemd pids and 2 sd-pam pids. Regular pidof returns only 2 systemd pids12:07
malhmm, interesting, on my devel device I get only 2 pids and those match to systemd and systemd --user12: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 variables12:11
maldoesn't that mean CURRENT_UID is wrong then?12:12
T42Shou %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_PID12: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 pidof12:17
malbusybox pidof --help -> BusyBox v1.31.0 and busybox pidof systemd -> 4237 112:20
malwhich 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
malI will test on a device with 4.0.112:29
T42<elros34> ok12:29
malI can see that in 4.0.1 device12: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
mighty17and this `GalaxyTab2 systemd[1052]: Failed to start Load initial part of start-up wizard before user session begins.`12:31
mighty17if anyone knows a solution12: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.112:33
mighty17ok12:33
mighty17https://pastebin.ubuntu.com/p/W8mCPMkkrh/ here it is @elros3412:34
T42<elros34> so there is really no change in logcat or journal when that service starts?12:36
mighty17https://pastebin.ubuntu.com/p/NwQbgcJDFp/ line 136 there is something new12:37
mighty17 * https://pastebin.ubuntu.com/p/NwQbgcJDFp/ line 136 there is something new @elros34 but its just warning12: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
mighty17https://pastebin.ubuntu.com/p/pDWc6CY9fY/ @elros3412:44
mighty17<T42 "<elros34> at least it try to loa"> and yes it is fbdev12:45
mighty17do 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 works12:54
mighty17https://pastebin.ubuntu.com/p/qZkZ59XNx8/ @elros34 it only shows warnings so i suppose it works12:56
mighty17also 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 blanked12:57
T42<elros34> do you have readable /dev/dsscomp?13:00
mighty17lemme check13:01
mighty17<T42 "<elros34> do you have readable /"> @elros34 it says permission denied on telnet13:03
mighty17<T42 "<elros34> surfacefling should sh"> only backlight turns on13:03
mighty17ps - i changed to hwcomposer13:03
T42<elros34> I meant check what permissions /dev/dsscomp have13:03
mighty17<T42 "<elros34> I meant check what per"> crw-rw----13:04
T42<elros34> not very useful without owner and group13:05
mighty17but i am root shouldnt i be able to change it13:06
T42<elros34> yeah change it to rw for all but in the mean time tell me the owner:group13:06
mighty17owner:group?13:08
T42<elros34> ls -al /dev/dsscomp; then chmod a+rw /dev/dsscomp and try surfaceflinger again13:09
mighty17ohk13:10
mighty17btw whats surfaceflinger?13:10
mighty17<T42 "<elros34> ls -al /dev/dsscomp; t"> it still says permission denied :v13:10
T42<elros34> strange, what about ls -al /dev? Did you change user by su or something? telnetis root by default13:12
mighty17na im still roo13:12
mighty17root*13:12
mighty17<T42 "<elros34> strange, what about ls"> it says dsscomp has `crw-rw-rw-`13:12
mighty17but if i run /dev/dsscomp it says permission denied13: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
mighty17ohh13:15
mighty17i get cyanogenmod logo now13:15
mighty17yes it works :D13:15
mighty17<mighty17 "i get cyanogenmod logo now"> ie when i run surfaceflinger i get cm logo in the device13: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-hal13:19
mighty17okay13: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 correct13:24
mighty17ok on device there is no /udev.rules folder13:24
mighty17it 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
mighty17in /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 irrelevant13:28
mighty17okay 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
mighty17ok @elros34 i changed in device and rebooted what now?13:37
mighty17should i try with minimer and rebuild? im confused13:42
T42<elros34> What do you think? check whether /dev/dsscomp have correct permissions now, check what changed in logs is not really hard13:44
mighty17<T42 "<elros34> What do you think? che"> Still can't open /dev/dsscomp tho13:47
mighty17And logs seem to be same13:47
mighty17But 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 it14: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
mighty17Yes I have confirmed that!14:09
mighty17Indeed it is in graphics but still it says permission denied14: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 erro14:12
mighty17Okk sorry14:16
mighty17@elros34 logs seem to be the same.. lipstick ui still fails16:45
mighty17`crw-rw----    1 system   graphics   10,  60 Feb  6 18:39 /dev/dsscomp`16:46
mighty17should 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
mighty17ok i will send it here :)16:50
mighty17https://paste.ubuntu.com/p/X45ghWvMmz/16:51
T42<elros34> logcat looks much better now16:52
mighty17:)\16:52
mighty17 * :)16:52
T42<elros34> you started surfaceflinger manualy right?16:57
mighty17yup16: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
mighty17no rn im on hwcomposer17:04
mighty17but same results with fbdev aswell17:04
T42<elros34> same error: Framebuffer HAL not opened before HWC?17:05
mighty17hmm17:06
mighty17let me tryy what u sai17:06
T42<elros34> that env is probably wrong so if it will not help then remove it17:07
mighty17https://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 cm1217:09
mighty17oh okay!!17:09
mighty17@elros34 https://paste.ubuntu.com/p/TTq8Fyb2WB/ with hwcomposer17:15
T42<elros34> journal is not very useful now, Framebuffer HAL not opened before HWC error is in logcat17:17
mighty17oh okay lemme try with fbdev as u said17:18
mighty17@elros34 https://paste.ubuntu.com/p/79HYWprSS8/ (yes i manually did surfacefliger once)17:20
mighty17still 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/fb017:32
mighty17wait 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 test17:36
mighty17ah okay17: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 works17:39
T42<elros34> about fb0 that is symlink so chec /dev/fb017:40
mighty17<T42 "<elros34> yeah that one but acco"> well its weird :/17:47
mighty17<T42 "<elros34> about fb0 that is syml"> Permission denied17:47
mighty17`crw-rw----    1 root     graphics   29,   0 Feb  6 19:17 /dev/fb0`17:47
Mister_Magistermal: old friend, could you lend me a hand?17:47
mighty17<mighty17 "wait iirc @yacuken also had that"> well yacuken left :c17:53
mighty17does anyone a solution17:57
Mister_Magistermighty17: what happens to be your issue?18:05
mighty17hello 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 only18:06
mighty17heres the journal log https://paste.ubuntu.com/p/79HYWprSS8/ (yes i manually did surfacefliger once)18:07
Mister_Magisterthat's one a classic xd18:07
Mister_Magisterwhich android base18:07
mighty17cm1318:08
mighty17should i link my repos?18:08
Mister_Magisterno need18:10
mighty17okay well any ideas?18:10
Mister_Magisterwhy logcat18:10
Mister_Magisterlink u gave is logcat not journal18:11
mighty17oh my bad18:11
malMister_Magister: what is the problem?18:12
mighty17https://paste.ubuntu.com/p/Fg4C8ncQmb/ here u go18:12
Mister_Magistermal: 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 packages18:13
Mister_Magisterbase was 12.1 of that device18:13
malMister_Magister: which device repo?18:14
Mister_Magisterhttps://build.merproject.org/project/show/nemo:testing:hw:motorola:thea18:14
malMister_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 HWC18:15
Mister_Magistermal: https://paste.opensuse.org/fc9fc86418:15
malMister_Magister: you seem to have very old submodules18:15
Mister_Magisteri know18:16
malMister_Magister: I suggest you update the config submodule at least, also droid-hal-version18:16
Mister_Magisteroki doki18:16
maland while you are at it migrate to meta-packages18:16
Mister_Magisterehehe is there script for that?18:16
malhttps://github.com/mer-hybris/hadk-faq#migrate-patterns-to-meta-packages18:17
Mister_Magister<318:18
malMister_Magister: you also need to fix you droid-hcismd.sh script based on the logs18:18
Mister_Magisteri know i saw that18:18
Mister_Magisterthats no problem18:18
Mister_Magistermighty17: why i can't see dhd18:19
malMister_Magister: and migrate from /lib/systemd/system to /usr/lib/systemd/system18:19
mighty17??18:19
Mister_Magisterdroid-hal seems to be missing from logs18:19
Mister_Magistermal: standards! nice18:19
Mister_Magisterbut how18:19
Mister_Magisterah18:19
Mister_Magisteryou mean sparse18:19
mighty17<Mister_Magister "droid-hal seems to be missing fr"> thats weird18:20
malMister_Magister: yes, just update the submodule and move any custom stuff in sparse to the new location18:20
mighty17but how does it matter anyways18:20
Mister_Magisteryep, thanks!18:20
Mister_Magisterbeen out of the loop for awhile18:20
mighty17i did everything as per hadk manual :P (and added sparse from cm12 sfos2 build)18:21
malMister_Magister: as an example what I did for fp2 https://github.com/mlehtima/droid-config-fp2-sibon/commit/a44a3193c550b4d6475df188b20c368ee11f670f18:21
malquite simple18:21
Mister_Magisteri 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 journal18:21
mighty17yes that was droid-inti right?18:21
mighty17init*18:21
Mister_Magisterdroid-hal-init18:22
T42<elros34> sorry, right droid-hal-init18:22
mighty17https://paste.ubuntu.com/p/pMD7sFqgM9/ here u go18:22
mighty17¯\_(ツ)_/¯ its samsung18:22
Mister_Magistermal: how are you these days18:22
* Mister_Magister s/samsung/shitsang/18:23
malMister_Magister: not very well really, way too little sleep18:23
Mister_Magisterthats bad!18:23
Mister_Magistercan't say i'm well myself18:23
mighty17> * <@freenode_Mister_Magister:matrix.org> s/samsung/shitsang/18:23
mighty17lol but it has working (tm) cm12 sfos2 port18:23
mighty17wonder if its worth to update tht18:23
Mister_Magisteromap device heh18:24
mighty17indeed18:26
Mister_Magisterwelp, no idea18:27
mighty17oof :(18:28
mighty17should i open an issue?18:28
malwhat do you mean? porting issues are fixed here18:29
Mister_Magisterhis issue certainly isn't being fixed :D18:30
mighty17<mal "what do you mean? porting issues"> oh okay! but noone seems to have any solution i have been stuck since a week18:30
mighty17even tried diff bases18:30
T42<elros34> you don't stuck for week. You were changing bases/kernel/fstab.18:31
mighty17but the underlying issue was the same atleast after 1 day or so18:32
mighty17should i try with minimer as hadk-faq has?18:32
malmighty17: things are not always fixed in one day18:32
mighty17i dont expect them to be fixed in one day :)18:33
T42<elros34> what?no, you had many different issues18:33
malMister_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 ui18:34
malMister_Magister: but let's see what you get once you update the repos first18:34
Mister_Magistersure18:34
Mister_Magisterim eating borgar for now18:34
T42<elros34> mighty: ha that issue have porter in this channel18:34
T42<elros34> every porter*18:35
Mister_Magister@elros34 i said its classic xd18:35
T42<elros34> indeed18:35
Mister_Magisterim havint it even now18:35
mighty17its a common issue i checked the logs and yacuken had the same issue (he/she ported sfos2 cm12) but i couldnt find a solution18: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 work18:36
mighty17woa woa this is confusing18:36
mighty17i dont think i will be able to do `when droid-hal-init is running, start surfaceflinger` as telnet takes some time to load18:37
T42<elros34> I meant wait before it starts18:37
mighty17`EGL_PLATFORM=fbdev test_hwcomposer` or `EGL_PLATFORM=fbdev` ?18:38
T42<elros34> 1th18:38
T42<elros34> it's one line18:39
mighty17it starts at 14th second after boot18:39
mighty17ya but i always did `EGL_PLATFORM=fbdev` as edp17 told18:39
T42<elros34> ok forget:) just wait 1minute and start surfaceflinger18:39
mighty17ok cool18: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 logs18:45
mighty17https://paste.ubuntu.com/p/Q2TFXv3PjY/ journal18:46
mighty17https://paste.ubuntu.com/p/Dp9MkMvKTb/ logcat18:46
mighty17https://paste.ubuntu.com/p/XdfMxGCC4z/ dmesg18: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 work18:46
mighty17 * what18:46
mighty17 * after it? @elros3418:46
T42<elros34> obviously18:47
mighty17<T42 "<elros34> no, tell me what you s"> in screen i get cm logo and then nothing once i close surfaceflinger18:47
Mister_Magistermal: everythin' checks out? https://github.com/VerdandiTeam/droid-config-thea/commit/20b0a9e8020222f9d9617022d224dfbf0148f1c818:48
T42<elros34> @mighty17 but what is resoult of running test_hwcomposer, that is whole point18:50
mighty17nothing18:50
Mister_Magisteri will assume yes!18:51
malseems reasonable18:53
Mister_Magister:)18:54
T42<elros34> you are missing whole bunch of packages like busybox-static, zypper. Check patterns template18:56
Mister_Magisterhmm so updating submodules didn't fix it19:31
Mister_Magistermal: new log https://paste.opensuse.org/fdd61ed4 didn't look at it yet19:35
Mister_Magisterhmmm19:37
Mister_Magisterlooks cleaner, can't see rild failing19:38
Mister_Magisterlooks like problem with udev rules to me19:43
Mister_Magister /dev/fb0 is system:graphics not root:graphics19:43
Mister_Magisterwhen i change to root:graphics it can read resolution19:44
Mister_Magisterye like unknown key 'DEVLINKS' in /lib/udev/rules.d/999-android-system.rules:63719:52
Mister_Magisterbut these shouldn't matter much19:53
Mister_Magisterdbus-daemon[959]: dbus[959]: Unknown username "nemo" in message bus configuration file huuh19:54
Mister_Magisterwhat happend when i was gone (i know its now defaultuser and i have it but…)19:55
Mister_Magistermaybe my old ks file is wrong19:58
Mister_Magistermal: any idea?20:06
malyes, you should update .ks file20:07
Mister_Magisteri mean20:07
Mister_Magisterhttps://paste.opensuse.org/00eca40d it should be fine20:08
maldid you regenerate it?20:08
Mister_Magisterno20:08
Mister_Magisteri don't even have sources anymore20:08
malhmm20:09
Mister_Magisterbut looking at t5 .ks i updated it and seems to be fine to me20:10
malok20:10
Mister_Magisternot sure why it segfaults20:11
Mister_Magisternot even surfaceflinger is working20:11
maldo you have a log with the permission fix for fb020:11
Mister_Magisterone second20:13
Mister_Magisterhttps://paste.opensuse.org/a22d95ac journal https://paste.opensuse.org/22f8f5fc logcat20:14
Mister_Magisterwait logcat was cleaner20:14
malwhat still has the size error20:17
mal*that20:17
Mister_Magisteri mean, its getting resolution now at least and there's no issue with 1.x backend20:18
Mister_Magisteroh wait20:18
Mister_Magisterno20:18
Mister_Magisteryou are right20:18
Mister_Magisterbut ye udev is spitting constantly20:19
malthere is a fix for some of the debug issues in dhd submodule20:21
mal*dbus issues20:21
malargh, I mean udev20:21
Mister_Magister:D20:21
T42<elros34> so you have old dhd rpm without droid-hal-$DEVICE-users. Does group defaultuser l20:22
T42<elros34> groups defaultuser return something20:22
Mister_Magistermal: well when i start it by hand https://paste.opensuse.org/52d7158520:23
Mister_Magister@elros34 yep defaultuser video audio users input sailfish-system ssu sailfish-alarms sailfish-datetime timed sailfish-phone sailfish-messages bluetooth20:23
Mister_Magistermal: i can give you strace! :D20:24
T42<elros34> maybe you should be also in graphics group20:26
Mister_Magisterdoes it matter if startup wizard is running as root?20:26
Mister_Magisterbut ye adding defaultuser to graphics group allowed me to start startupwizard as nemo20:29
Mister_Magisterugh idk20:46
malMister_Magister: https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L77320:48
malby default graphics group is there, you just have so old submodule20:48
Mister_Magisteryee20:48
Mister_Magisterbut do they matter tho, i don't think thats the reason for segfault20:50
T42LIMITLESS_IO was added by: LIMITLESS_IO20:53
Mister_Magistermal: even if i add defaultuser to those groups result is same20: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 gles320:57
Mister_Magisterand if i don't have gles3 then other packages fail to build20:58
Mister_Magisterbut that totally can be the case cause it was locked on one commit before20:58
Mister_Magisterthought "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=120:59
malnot sure if the bug is still there or not, I don't have any device which has the bug so difficult to check21:00
Mister_Magistermal: i can help u out! :D21:00
Mister_Magister@elros34 you literally sent link to master HEAD21:01
Mister_Magisteroh wait21:01
Mister_Magisterits not master21:01
malif that version helps then we can try to debug why master fails21:01
Mister_Magisterif you so desire i would be happy to help21:02
Mister_Magisterbuilding zip with the different libhybris21:13
malMister_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_Magistermal: in my merge request comment i literally said its initial work  for someone better than me to pick up and finnish21:57
Mister_Magisteri'm glad someone will pick it up21:57
Mister_Magisteri'm so happy21:57
Mister_Magisterthanks!21:57
Mister_Magisterwhen  i fix 5z i'll be able to test21:58
malI already tested my code to be working on one device22:00
Mister_Magisternice22:00
malmight still need some cleanup22:00
Mister_Magistermal: with the elros libhybris and adding defaultuser to graphics group i was able to get ui22:00
Mister_Magisterso here's ur answer :P22:01
malhmm, ok22:01
Mister_Magisterlast time issue was the same, libhybris22:01
malwas that cm13 or cm12.1?22:02
Mister_Magister1222:02
Mister_Magisteri have 2 devices (which are literally same) on 12.1 and one on 1322: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 automagically22:10
malhmm, wondering why it happens on so many bases22:10
Mister_Magisterclarification, idk if it happens on 13 base22:11
malok22:11
T42JeanMayy was added by: JeanMayy23:35

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