Thursday, 2019-05-23

*** juiceme_ is now known as juice06:56
*** juice is now known as juiceme06:56
krnlyngpiggz, hybris based?07:07
T4<adampigg> krnlyng, nope :)07:08
T4<adampigg> arm with mali graphics, using stock kernel and lima driver + mesa (at least, that is the plan)07:09
riniguskimmoli: any progress with the testing? for me, all works well.07:10
T4<Harsh18262> mal:output from the above command
kimmolirinigus: charging...09:28
riniguskimmoli: ... charged?15:05
kimmolicharged and updated ota. not tested.15:24
piggzhi, could someone cast an eye of this lipstick crash....
piggzline 1515 is the only thing that gets printed out16:08
piggzmaybe fixed....16:10
piggzok, jolla-startup-wizard is running, but no display....16:17
piggzjust the kernel output is on the screeen16:17
malpiggz: check something about --device16:18
piggzmal: yes, i fixed the crash by using card1, not card016:19
piggzmal: any tips for running sailfish on a stock kernel?17:33
piggzmce is failing with noi aparent output17:33
piggzstrace shows17:33
piggzalso, what packages contain the test_egl etc?17:38
malpiggz: test_* come from libhybris17:42
piggzmal: libhybris is no good to me!17:43
piggz(and i thought that was the case)17:43
piggzmal: whats the other test for wayland?17:44
malpiggz: maybe try building this
malpiggz: is journal working, anything from mce?17:48
piggzmal: yes, journale is working...18:00
piggzMay 06 18:38:27 Sailfish mce[2888]: mce.c: main(): MCE 1.100.2 (release) starting up18:00
piggzMay 06 18:38:27 Sailfish mce[2888]: event-input.c: evin_iomon_init(): opendir() failed; No such file or directory18:00
piggzMay 06 18:38:27 Sailfish systemd[1]: mce.service: Main process exited, code=exited, status=1/FAILURE18:00
piggzMay 06 18:38:27 Sailfish systemd[1]: mce.service: Unit entered failed state.18:01
piggzmal: also of note is that lime is a 'render only' adapter, and uses sun4i to do the actual display ... im not sure how to configuer this18:13
T4<DSstill01> @piggz [mal: any tips for running sailfish on a stock …], Imposs18:32
piggzwhy imposs?18:33
piggzthats a rather defeatist view :D18:33
T4<DSstill01> You mean prebuilt or from sources?18:33
mal@DSstill01 I have sailfish partially running on mainline kernel on a qcom device18:34
T4<DSstill01> Me too18:35
T4<DSstill01> No18:35
T4<DSstill01> Lol18:35
T4<DSstill01> Old af18:35
malpiggz: so looks like mce doesn't like it there are no input devices18:35
T4<DSstill01> Im pretty sure that if i use mainline kernel ill have problems with blobs18:36
piggzsure u will, thats why im using an OS friendly dev board18:36
mal@DSstill01 I'm trying to avoid blobs and do a native port, so no android side at all running18:36
T4<DSstill01> Imposs18:37
malonly the driver firmwares would be used18:37
malno it's not, I have modem up also18:37
T4<DSstill01> Fp2?18:37
T4<DSstill01> Aww18:37
T4<DSstill01> What about camera?18:38
T4<DSstill01> Thats impossible18:38
piggz geez, nothing is impossible18:38
malI haven't done that yet, but the drivers are available for some of the modules and only needs adding support for the platform to camera controller18:39
T4<DSstill01> Proprietary cameras are impossible to fix without blobs18:39
malthere is some old patch for that already18:39
malon fp2 I have wlan, bt, vibrator, led, display panel+backlight, touchscreen, hw buttons, sd card etc working in mainline18:40
T4<DSstill01> How can they work without android stuff?18:40
malof course they can18:40
T4<DSstill01> How?18:40
malkernel drivers18:41
T4<adampigg> likely the same way android stuff works...with drivers talking to hw....18:41
T4<DSstill01> My device has kernel drivers ofc but wont work18:41
T4<adampigg> you just need different, open-source drivers18:41
malmodem needed some userspace daemon also but that was provided by sony18:41
T4<DSstill01> Hmm, i dont know, ofc they need userspace stuff but i didnt know it could be added in sailfish18:42
malit can18:43
T4<DSstill01> I mean, theyre different packages that replace libhybris18:43
T4<DSstill01> And all its system18:43
malhere is an example of nexus 5 running mainline
mal@DSstill01 for graphics we just would use mesa for example, like piggz did in latte18:44
malother stuff of course needs also some different middleware18:45
T4<DSstill01> Hmm, and this id the future of sailfish?18:45
malprobably not for a long time, just for some devices18:46
T4<DSstill01> I dont think this can be adopted for all devices, especially for the ones whose vendor is not dev friendly18:46
malit takes quite a while to get things running, at least on arm devices18:46
T4<DSstill01> Anyway gg if you get everything to work18:48
malsensors will be painful18:48
malneed to reverse engineer the protocol18:48
T4<DSstill01> Heh,nfc?18:48
malno nfc on fp218:49
T4<DSstill01> Ah, in case it had nfc i think that would be difficul to fix as well18:49
malthat depends on how nfc is added to the device18:50
T4<DSstill01> And fingerprint18:50
malif it's i2c then it's easier18:50
T4<DSstill01> @mal [that depends on how nfc is added to the device], Proprietary stuff18:50
maleven if something is proprietary in android doesn't mean the chip really is18:51
T4<DSstill01> If vendor makes it...18:51
T4<DSstill01> Probably it will be18:51
piggzmal: got mce to start by creating /dev/input for now....18:56
piggzuser dbus session doesnt exist now18:56
piggzthough, systemctl says it is...18:57
piggzand this is the status of user@100000
malpiggz: shouldn't XDG_RUNTIME_DIR be /run/user/10000019:11
malthat's what it is on my device19:11
piggzmal: yes, but that was only there when hacing earlier and changing it doesnt help19:12
malpiggz: what does that folder contain?19:14
piggz /dev/input? nothing ... but it allows mce to start19:15
malpiggz: /run/user/10000019:15
piggzoh...its empty19:15
piggzinfact, doesnt exist19:15
malhow is that possible if user@100000 is running19:15
piggzsorry, wrong dir....19:16
piggz[root@Sailfish ~]# ls -lh /run/user/100000/19:16
piggztotal 019:16
piggzdrwxr-xr-x 2 nemo nemo        60 May  6 20:28 dbus19:16
piggzdrwx------ 2 nemo privileged  60 May  6 20:29 dconf19:16
piggzdrwx------ 2 nemo privileged 100 May  6 20:28 mapplauncherd19:16
piggzdrwx------ 2 nemo nemo        80 May  6 20:28 pulse19:16
piggzdrwxrwxrwx 3 nemo privileged  60 May  6 20:28 single-instance-locks19:16
piggzdr-xr-xr-x 4 nemo nemo         0 May  6 20:28 state19:16
piggzdrwxr-xr-x 2 nemo nemo        80 May  6 20:28 systemd19:16
malso why doesn't lipstick find the dbus from that, are you sure XDG was correct in latest attempts19:17
piggzmal: maybe it was a red doenst log that message, but segfaults non the less19:23
malpiggz: show new log19:24
piggzim getting a difference between journal log and output when run manually....19:25
piggzi'll get both19:25
malpiggz: is the compositor config same in both cases?19:25
piggzmal: journal
malso dbus is not up, check the path manually?19:27
malcheck /run/user/100000/pulse/dbus-socket19:27
malalso please show more of the log, difficult so see if there are some other errors19:28
piggz[nemo@Sailfish ~]$ ls -lh /var/run/user/100000/dbus/user_bus_socket19:29
piggzsrw-rw-rw- 1 nemo nemo 0 May  6 20:28 /var/run/user/100000/dbus/user_bus_socket19:29
malhmm, why the different name19:30
malah, sorry, not a problem19:30
malmisread the path19:30
malpiggz: does gdb say anything?19:31
piggz(gdb) bt19:34
piggz#0  0xf6452a46 in ?? () from /lib/
piggz#1  0xf6463998 in raise () from /lib/
piggz#2  0xf6464fc0 in abort () from /lib/
piggz#3  0xf674cd4c in QMessageLogger::fatal(char const*, ...) const ()19:34
piggz   from /usr/lib/
piggz#4  0x00049fae in ?? ()19:34
piggz#5  0x00049fae in ?? ()19:34
piggzBacktrace stopped: previous frame identical to this frame (corrupt stack?)19:34
piggzmal: could EGL_PLATFORM be something else?19:37
mal"sun4i-drm display-engine: No panel or bridge found... RGB output disabled"19:37
piggzmal: i have a frambufer showing kernel output on the panel19:42
malpiggz: but that error is from drm19:42
malpiggz: so fb might be ok but drm is not properly configured maybe19:42
malor panel is misconfigured19:44
T4<adampigg> Mal19:56
T4<adampigg> (Photo, 1920x2560)
T4<adampigg> (Photo, 1920x2560)
piggzthis is kmscube test app ... lima devs say if this works, problem is in Qt19:58
piggzmal: except i need to debug lipstick !20:02
piggzthough, it means panel is working ok20:03
malso what is qt doing wrong, it would be nice if you install more debuginfo packages20:03
malcould be EGL env var issue20:03
malpiggz: is it eglfs_kms you want to use?20:04
piggzi _think_ so ???20:04
piggzthis is what kmscube does
malcan you try to enable QT_QPA_EGLFS_DEBUG env var and see if you get some debug20:06
malpiggz: pastebin that /etc/eglfs-config.json20:07
piggz[nemo@Sailfish ~]$ cat /etc/eglfs-config.json20:08
piggz        "device" : "/dev/dri/card1"20:08
malis that enough, no need to define output?20:08
mallike in the example here
piggzjust seen that...i wonder what name to use20:09
malpiggz: but latte didn't need that20:16
malpiggz: is the display size correct, although shouldn't matter much probably20:19
malpiggz: maybe try to give it also display resolution with QT_QPA_EGLFS_WIDTH and height20:22
piggzmal: this board does have a hdmi out also20:22
piggzmal: thoughts on all the dbus errors?20:31
malwhich ones?20:35
qiangong2When using, I'm getting this issue:
piggzthe ones during lipstick start20:37
qiangong2The only problem is, I've actually installed those packages already20:37
piggzmal: think i'll quit for the night ... if you have thoughts, @adampigg me!20:38
qiangong2Any ideas why that might be happening?20:38
qiangong2It's blocking me from building20:38
malqiangong2: installed how?20:39
qiangong2through zypper20:39
qiangong2in the platform sdk20:39
malyou do understand difference of sdk and sdk target?20:39
qiangong2Do I have to checkout it differently?20:40
qiangong2I've been following the hadk20:40
malwhat does this tell: sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -msdk-install zypper se qt5-qttools-kmap2qmap20:41
malsame for rsync as last parameter20:41
maldoes it find those packages20:42
qiangong2no matching items found for the qttools, but it does find sync20:42
malrun this and try the search command again sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -msdk-install zypper ref20:44
malthat package should be in jolla repo which should be seen in output of sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -msdk-install ssu lr20:45
qiangong2Can't find them at all it seems20:46
qiangong2same issue with adaptation0 too20:46
qiangong2invalid metadata20:46
malwhere does it get that adaptation020:47
malthat is not in target20:47
qiangong2when you run rpm/dhd/helpers/build_packages.sh20:47
maldid you update the target and sdk or are both recently installed20:47
qiangong2Fresh install20:48
maldoes it find any other qt packages, change the search command to search for qt5 for example20:48
qiangong2Yes, a whole lot of them20:49
qiangong2both packages and srcpackages20:49
malbut not the tools package20:55
malor anything similar20:55
qiangong2Not the kmap2qmap, but qt5-qttools is20:55
malhmm, how is that possible20:59
qiangong2[m]I don't know. It didn't happen when I was building
malI just did a fresh install of target and it had no issues finding that package21:01
malqiangong2[m]: maybe use sdk-assistant to remove the target and install again21:02
qiangong2[m]Hmm, I don't know then. This is the second time I've tried a fresh install. Even removing the lineage builds and starting completely from scratch21:02
qiangong2[m]Okay, I'll try again21:02
malandroid side build has nothing to do with this issue, do not remove those21:03
malqiangong2[m]: is the tooling installed correctly and correct version21:03
qiangong2[m]I believe so, like the hadk said, I changed the URL and the name from latest to
malvery odd issue then21:05
qiangong2[m]Here is the output from the target creation:
qiangong2[m]is the no-host-gcc an issue?21:06
qiangong2[m]same build dependency issue as before btw21:07
malsame output that I have21:11
malI assume it first refreshed the repos, I only did this sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -msdk-install zypper in qt5-qttools-kmap2qmap21:12
malto test it21:12
qiangong2[m]When I run that, I get valid metadata not found21:12
qiangong2[m]"Please check if the URIs defined for this repository are pointing to a valid repository."21:13
malwhere is that coming from, what is it trying to refresh21:15
malit makes no sense21:15
malwhich repo gives the error?21:15
qiangong2[m]All of them21:15
qiangong2[m]and yes, I am connected to the internet21:16
malshow output of sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -msdk-install ssu lr21:16
malI have same urls and no issues21:18
malare you sure your internet doesn't block something?21:18
qiangong2[m]Nothing is blocked on my end21:19
qiangong2[m]It worked fine four months ago when I last built21:19
malso this also gives those errors? sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -msdk-install zypper ref21:20
qiangong2[m]Yes, the same repo issue21:21
malthen there must be something wrong with network connection or somewhere between your computer and the server the data is lost21:23
qiangong2[m]well, now I get this when running
qiangong2[m]back to the issue with zypp-cache that I was having before21:29
malare write permission to /home ok?21:49
qiangong2[m]I can't edit /home/.zypp-cache without root22:01
malso sudo doesn't work inside sdk?22:05
malor actually is it doing it inside target22:06
malI just tried to run sudo mkdir /home/foo and that worked, it shows also in target22:06
malso not sure what is so different in your setup22:07
qiangong2[m]No, that works fine. I can't edit anything as a standard user in /home/.zypp-cache. using sudo works22:19
qiangong2[m]I'm on Ubuntu 16.04 if that makes any difference22:37
malI don't quite understand the issue23:02
qiangong2[m]It says error building the cache: can't create /home/.zypp-cache23:04
qiangong2[m]Is that a false positive?23:05
malit's probably some issue but no idea why it happens23:19
qiangong2[m]Either way, I still can't build23:22
malneed to investigate more some other time, it's already very late23:32
qiangong2[m]thanks for trying23:39

Generated by 2.17.1 by Marius Gedminas - find it at!