Saturday, 2018-09-15

T4<abhishek_0> gst-droid fails https://build.merproject.org/package/live_build_log/nemo:testing:hw:wingtech:wt88047/gst-droid/sailfishos_2.2.1.18/armv8el05:33
*** ChanServ sets mode: +v T405:45
entilheya!06:18
entilI think my fp2 broke down again, and I might as well email support, but I'm sure someone here knows if there's another way of debugging the sim modems than csd?06:19
entilthe phone rebooted itself and didn't as for a pin code, and there's nothing related to mobile connectivity anywhere, and csd says 0 modems found06:19
T4<abhishek_0> any idea about this anyone ? https://build.merproject.org/package/live_build_log/nemo:testing:hw:wingtech:wt88047/gst-droid/sailfishos_2.2.1.18/armv8el10:17
mal@abhishek_0 https://build.merproject.org/project/meta/nemo:testing:hw:wingtech:wt88047 you have incorrect version of common repo as dependency10:18
malin the 2.2.1.18 target10:19
T4<abhishek_0> ah! thanks10:20
T4<abhishek_0> fixed10:20
mal@abhishek_0 also you should usually disable build of the old release targets so those are not broken by updated packages10:22
T4<abhishek_0> okay, doing it10:22
malI always disable old target after I have released the version to public, see here https://build.merproject.org/project/show/nemo:testing:hw:fairphone:fp2-sibon10:23
T4<abhishek_0> done10:24
T4<abhishek_0> just pushed a new tag gitllab ci10:34
malI just updated my fp2 to 2.2.1.18 and seems to work fine10:36
wolfquinhello10:46
T4<abhishek_0> r0kk3rz ping , you need to check the ci script10:50
r0kk3rzdo i?10:53
r0kk3rzi expect its just the docker image being out of date10:53
T4<abhishek_0> yeah .. that, i was wondering if you have the dockerfile somewhere posted10:54
r0kk3rznever had a dockerfile10:55
T4<abhishek_0> so you built the image yourself ?10:56
r0kk3rzyeah all i did was tell docker to unpack the sdk tarball into a container10:59
T4<abhishek_0> i think it would be better to release docker images with release numbers11:04
r0kk3rzsince i did that theres a couple of people trying to package the sdk properly, so we should use those11:07
r0kk3rzhttps://github.com/SfietKonstantin/docker-sailfishos-sdk11:07
T4<OhYash> is hybris-16.0 here yet?11:41
T4<Ken_Ookami_Horo> πŸ€”11:42
r0kk3rznope11:43
mal@OhYash no, not sure which device would have enough support so we could do the porting11:43
T4<Ken_Ookami_Horo> At first is there any hybris 15.1 build ? πŸ˜‚11:43
r0kk3rzthats been around for a while now11:44
T4<Ken_Ookami_Horo> πŸ€”11:44
malwhich reminds me that rebasing should be done for 15.111:44
ohyashr0kk3rz: ok.11:44
ohyashmal: Yeah that too. And most Pie devices have a notch11:45
malwhat the hell is a notch, I have no idea what it is what it should do?11:45
T4<Ken_Ookami_Horo> And new Pie device may has worse restriction boot πŸ™ƒ11:46
ohyashmal: That shit earpiece, camera are on the top mid of screen which iPhone X made famous.11:46
r0kk3rzits a bit chunk out of the top of screen11:46
r0kk3rz*big11:46
malso how does that affect usage?11:47
T4<Ken_Ookami_Horo> πŸ€”11:47
ohyashBTW, can android's project treble help non andorid OSes in anyway?11:47
r0kk3rzit'll block the status bar11:47
r0kk3rzbecause it still treats that area as actual screen11:47
malwell that's a stupid idea11:48
ohyashIts typicall useless. But gives more screen area to show off.11:48
r0kk3rzit is a stupid idea11:48
r0kk3rzbut it seems stupid is trendy in the mobile world these days11:48
ohyashOn a side note, I'd love to see sailfish on some full-screen device like Vivo NEX11:48
T4<Ken_Ookami_Horo> So is there some device ported Sailfish OS successfully which has a notch ?11:48
T4<Ken_Ookami_Horo> πŸ˜‚11:49
malhow does android handle that, I thought android also has the top status bar and pull down menu11:49
r0kk3rzi think Mister_Magister was working on a notched device11:49
r0kk3rzmal: it reduces the status bar area to either side of the notch11:49
ohyashmal: some workaround code that pushes stuff to the top edges11:49
malthe first time I heard of a notch is after there were compains that the new iphone didn't have it or something, I didn't follow that much11:49
T4<Ken_Ookami_Horo> πŸ™‚11:50
r0kk3rzbut in general sfos will want lipstick patching11:50
r0kk3rzand maybe not fullscreening apps11:50
ohyashmal: the new iPhone had it. Now the yesterday's iPhone releases all the models have it.11:50
ohyashyeah, SFOS has fullscreen devices11:50
ohyashapps*11:50
ohyashxD11:50
malok, then it was some other device that didn't have it, but I wasn't interested enough to check what it actually is11:51
T4<samzn> Shouldn't be difficult11:51
malr0kk3rz: so in android app are no longer completely fullscreen if the device has a notch11:51
T4<samzn> Silica just has to implement header and footer11:51
malor was it so that top status bar is always visible on android11:52
kimmolijust move the x0 to arbitrary value of notch depth11:52
malI don't remember how android looks like11:52
ohyashtop status bar is always visible on Android11:52
ohyashand wow11:52
malkimmoli: yep, so basically just don't use x pixels from the top at all11:53
ohyashexcept when you play games/videos. The notched status bar area is then blacked out11:53
r0kk3rzmal: mal to illustrate - https://www.extremetech.com/wp-content/uploads/2018/03/zf5.jpg11:53
T4<Ken_Ookami_Horo> Emmmm11:53
r0kk3rzthe black area at the top of the screen is 'the notch'11:53
malr0kk3rz: so just as stupid as I thought11:54
r0kk3rzindeed11:54
ohyashI find Honor H8X Max's notch to be acceptable. This  : https://cdn2.gsmarena.com/vv/pics/huawei/huawei-honor-8x-max-2.jpg11:54
kimmolithat example has also fillet at corners11:54
malr0kk3rz: easiest way is to just limit the used display area in sailfish, that way we don't have to modify the status bar or anything like that11:54
malfor some reason people have started to think that non-square display is a good idea11:55
mal*non-rectangle11:55
kimmolihttps://image.shutterstock.com/image-photo/classic-vintage-retro-style-old-260nw-614643728.jpg11:55
T4<Ken_Ookami_Horo> Because App$e make it ?πŸ™ƒ11:55
malkimmoli: yep11:55
kimmoliohyash: with that small notch, pulldown menu says "Ab_ut"11:56
maland clock is not visible11:56
malor only partially visible11:56
ohyashkimmoli: haha xD11:56
ohyashand clock could have workaround of Hours and minutes on each side of notch. Notches themselves are workarounds11:57
malso when watching videos on such device the video is either cut from corners or only uses part of the display area11:58
ohyashAn official SFOS device with screen like this would be Puffect! : https://cdn2.gsmarena.com/vv/pics/vivo/vivo-nex-s2.jpg11:58
T4<Ken_Ookami_Horo> vivo .......11:59
malI still find rounded corners of display area a bad idea11:59
ohyash@Ken_Ookami_Horo, yes, can complain about that.11:59
T4<Ken_Ookami_Horo> 🌚 At first is it unlockable?12:00
ohyashxD They boast about their in-screen fingerprint sensor for that12:00
malis it just me but I don't consider fingerprint a password, I think it's just a user id?12:02
T4<Ken_Ookami_Horo> It most probably proprietary……12:02
r0kk3rzin-screen sounds like a really bad idea12:03
ohyashDoubleTap FTW still12:04
ohyashscrew FP, and password even :D12:04
T4<Ken_Ookami_Horo> 😌12:04
malI don't use any password on my devices, well except sim pin code12:05
T4<meierrom> @Ken_Ookami_Horo [So is there some device ported Sailfish OS suc …], They are currently working on zenfone 5z, which comes with the notch.12:11
ohyashsim pin code, woah12:11
T4<Ken_Ookami_Horo> πŸ€”12:11
T4<meierrom> @mal [what the hell is a notch, I have no idea what …], There was a discussion on this just recently in the international sfos group.12:13
kimmolismells like telegram group...12:14
T4<Ken_Ookami_Horo> emmm12:14
T4<meierrom> @mal [so how does that affect usage?], The notch hides eg the date or shows it just partially.12:15
T4<meierrom> @mal [how does android handle that, I thought androi …], There is an additional setting in Android which adds a black bar at the top. The status bar then appears just below the notch in full.12:20
malso the easiest way in sailfish would be to also add such black bar at the top12:24
T4deathslayer123 was added by: deathslayer12312:26
T4<meierrom> @kimmoli [smells like telegram group...], Yes, it is.12:29
T4<meierrom> @r0kk3rz [in-screen sounds like a really bad idea], Fp is even history in latest iPhones. They go face recognition and code as backup.12:31
r0kk3rzgah telegram12:53
T4<abhishek_0> mal is there any way to debug gpu issues , performance is ery bad , i just played 1080p recorded video, it played at around 9 or 10 fps13:09
r0kk3rzcheck aida6413:12
maland check cpu usage in such case, and check that all media symlinks are present and so on13:18
wolfquinhello13:38
T4<OhYash> @abhishek_0 [mal is there any way to debug gpu issues , per …], Ditto. YU Yureka in my case.13:38
wolfquini have an issue, is there a new command to enter chroot of ubuntu? i tried ubu-chroot but it says command not found, have i done a mistake?13:39
T4<abhishek_0> here is the logcat while playing the video https://paste.ubuntu.com/p/db2tVPn9kn/13:41
T4<abhishek_0> cpu usage stays at 20%-30% while screen on13:42
elros1wolfquin: do you have android-tools-hadk installed as mentioned in hadk?13:43
wolfquinOH! of course, i made a new void installation yesterday and forgot to install the tools, thought i had.13:43
wolfquinthanks for pointing that out13:44
T4<abhishek_0> lipstick, sensorwrd, kworker processes take most cpu13:45
r0kk3rz@abhishek_0: you're using gst-omx arent you?13:45
T4<abhishek_0> yeah13:45
r0kk3rzthen you probably want to look through the GST_DEBUG output13:47
T4<abhishek_0> gst-omx fixed camera for me , and few colors issue , due to broken gst-droid,  idk what happened since then,13:47
T4<abhishek_0> give me sec13:47
r0kk3rzwhich is weird, because the recording is done with droidmedia13:49
r0kk3rzso if recording works...13:49
malstill waitig information about the media symlinks13:52
T4<abhishek_0> r0kk3rz https://paste.ubuntu.com/p/B3Z5tCTdT6/ here is the gst-debug13:58
T4<abhishek_0> mal , media symlinks are fixed  give me a sec13:58
T4<abhishek_0> here  is the system/etc and /etc https://paste.ubuntu.com/p/xPqQH2PqXG/14:00
maland the links are verified to be correct?14:06
T4<abhishek_0> yes14:12
T4<abhishek_0> here is my gst-omx.conf https://github.com/sailfishos-wt88047/droid-config-wt88047/blob/ebb983fe2844af33bf016ba8087f2d952c7a6603/sparse/etc/xdg/gstomx.conf14:12
r0kk3rzwhy are you running that as root?14:34
T4<abhishek_0> r0kk3rz because root is the king :P ,, here https://paste.ubuntu.com/p/KXmfRyFrdt/14:39
r0kk3rzit seems to be dropping a lot of frames14:52
T4<abhishek_0> Exactly14:53
mal@abhishek_0 that last logs looks bad, you have something really wrong if you get those permission denied messages15:13
T4<abhishek_0> mal afaik nothing at all, here are the device sources https://github.com/sailfishos-wt88047/15:14
T4<abhishek_0> with all the commits15:15
malyou have both gst-omx and gst-droid?15:16
T4<abhishek_0> yeah15:16
malhmm, or were both needed for gst-omx?15:16
T4<abhishek_0> you suggested to keep both15:16
malreally? I have no memory of that15:18
T4<abhishek_0> you told me to keep gst-omx as long as it keeps my camera working15:20
malso is video performance a different if you use omx or gst-droid?15:22
mal*any15:23
T4<abhishek_0> mal havent tried that , since gst-droid was broken 3 months ago when i was last active,,  i should try it15:24
elros1hmm I guees it's not normal that I have flood of: UDEV  [1720.555392] change   /devices/platform/disp (platform)15:34
elros1when anything on screen change. I think I read about something similar but can't remember15:34
elros1looks like maguro had the same issue15:51
T4<adampigg> when anyone has upgraded to 2.2.1.18 using zypper ... were there more packages to downgrade than upgrade??17:11
T4<adampigg> 387 up, 467 down here!17:11
mal@adampigg I didn't notice anything like that, although I used version --dup17:13
r0kk3rzdowngrade?17:13
mal@adampigg sometimes you can see downgrades because the version stayed the same but build number is smaller on the new release17:14
malbuild number always starts from 1 in new release target17:14
T4<adampigg> mal; that makes sense17:23
T4<adampigg> mal: i usually use zypper to know whats going on17:24
T4<adampigg> theyre functionally the same anyway arnt they?17:24
malquite the same I think17:24
T4<adampigg> balls, i need to free some space....17:26
T4<abhishek_0> mofo OMX ... just removed that everything now just works fine17:31
malheh17:32
malso video playback is ok and so is camera?17:33
T4<abhishek_0> wait wait, just checked youtube , still have colour issues17:34
T4<abhishek_0> my phone has just gotten smoother, i dont want to go back to omx sighs17:36
elros1try to remove libI420colorconvert.so so gst-droid will use it's own implementation17:38
T4<adampigg> oh, thats something i can try too17:43
T4<adampigg> i guess you have the color problems in browser, but lls is ok? @abhishek_017:44
T4<abhishek_0> elros1 i dont have that lib under system/lib17:45
T4<abhishek_0> @adampigg [i guess you have the color problems in browser …], let me check this17:45
elros1so search it under vendor17:45
T4<abhishek_0> found it https://github.com/sailfishos-wt88047/proprietary_vendor_wingtech/blob/hybris-14.1/wt88047/proprietary/vendor/lib/libI420colorconvert.so17:50
*** ChanServ sets mode: +v T418:00
T4<abhishek_0> @adampigg [i guess you have the color problems in browser …], just checked webcat works just fine, can you check the solution which elros provided ? since i am not in the position of setup-ing the build environment rn18:01
T4<adampigg> you dont need a build environment, just rename the file on the device ... i will when i have finished the update18:02
mal@abhishek_0 remount vendor partition as readwrite and rename the file and remount again as readonly18:02
mal@adampigg wondering if there would be some way to create a dummy lib which would cause the fallback to gst-droid method18:04
T4<abhishek_0> @adampigg [you dont need a build environment, just rename …], dude /vendor is a read only file system18:04
mal@abhishek_0 mount -o remount,rw /vendor18:04
maloops18:04
malI think that should work18:05
T4<abhishek_0> no, i think since all the system files go into a system.img which gets mounted on the boot18:06
malyou are mixing things18:07
malyou rename the file whereever it happens to be18:07
elros1system is regular partition, just remount it with rw option18:08
T4<abhishek_0> are you guys sure https://paste.ubuntu.com/p/RMrNJhVK7c/ ? :P18:12
elros1yes, I am sure: df /vendor18:13
T4<abhishek_0> elros1 [root@Sailfish nemo]# df /vendor/ … Filesystem           1K-blocks      Used Available Use% Mounted on … /dev/mmcblk0p23        1015704    584732    414588  59% /system18:14
elros1so if you didn't guess yet: mount -o remount,rw /system18:15
T4<abhishek_0> already did18:15
kimmolimount -o remount,rw /system18:15
T4<abhishek_0> lol18:15
malyep, vendor seems to be a symlink or something18:18
T4<adampigg> erm, where have all my android apps gone?!18:18
T4<abhishek_0> elros1 just mv that lib , now i have a black screen in while playing video in jolla browser18:19
elros1that is a progress :)18:20
T4<abhishek_0> whats the next step ?18:21
T4<abhishek_0> i should also add this to had-faq , if it is already not there18:21
T4<adampigg> surely jolla didnt ad something to lipstick to prevent ports using alien?18:23
T4<abhishek_0> wait what! you were using aliendalvik ?18:24
elros1next step is to figure out why gstdroidvdec fail18:24
T4<abhishek_0> elros1 , logcat ? gst_debug or anything else18:25
elros1probably gst debug: https://github.com/sailfishos/gst-droid/blob/8e19ceea625e0841e6db9e56f7dfe3d8f25936f0/gst/droidcodec/gstdroidvdec.c#L33618:27
T4<abhishek_0> meanwhile i grabbed logcat https://paste.ubuntu.com/p/QFhjBGnMNW/ ,, let me get debug info on browser18:30
T4<adampigg> ok, drama over ... it just seems like all my apps were removed, and will need to reinstall :/18:31
T4<abhishek_0> @adampigg [ok, drama over ... it just seems like all my a …], hey i might ping you ;)18:32
T4<adampigg> @abhishek_0 [hey i might ping you ;)], remember, alien is like fight club18:33
T4<abhishek_0> i know the first rule, i am a member18:33
T4<adampigg> I confirm the same problem with libI420colorconvert.so18:35
T4<adampigg> with the file there, there are color issues, and browser crashes a lot18:35
T4<adampigg> without it, browser doesnt crash, there is audio, but no video18:35
T4<abhishek_0> exactly18:36
T4<abhishek_0> here is the gst-debug of sailfish-browser https://paste.ubuntu.com/p/shkKQv7Gsh/18:42
malit should be GST_DEBUG=droid*:518:42
T4<adampigg> maybe get a log with the library also18:44
T4<abhishek_0> here https://paste.ubuntu.com/p/4bw2hFZ5mS/18:46
T4<abhishek_0> without library18:46
T4<adampigg> mal, still no compass joy18:46
mal@adampigg wondering why only your device has issue18:48
T4<abhishek_0> compass is fine18:48
T4<abhishek_0> with library here https://paste.ubuntu.com/p/Zpr7tq76wV/18:51
T4<abhishek_0> it segfaults18:51
malwithout the lib decoding seems to work but not sure why nothing is shown on display18:58
T4<abhishek_0> "error: Unknown codec colour format: 21"18:59
T4<abhishek_0> maybe18:59
elros1looks like it's OMX_COLOR_FormatYUV420SemiPlanar19:05
piggzmal: where would compass debugging start? logcat? test_sensors?20:24
piggzi guess:20:25
piggz09-15 20:25:13.212  2817  2817 E libsensor1: client_get_conn: qmi_client_get_service_list error -220:25
piggz09-15 20:25:13.212  2817  2817 E libsensor1: sensor1_write: Unable to create client connection20:25
piggz09-15 20:25:13.212  2817  2817 E qti_sensors_hal: AkmAlgo,enable: sensor1_write() error: 1220:25
piggz09-15 20:25:13.212  2817  2817 E qti_sensors_hal: enable:akm_service->enable error:520:25
piggz09-15 20:25:13.212  2817  2817 E qti_sensors_hal: Activate the handle 54 is not successful20:25
T4deathslayer123 was removed by: deathslayer12320:40
malpiggz: not sure if that is bad20:41
piggzmal: its the only thing that appeears in logcat when opening the compass app ....20:43
piggzmal: does the compass sensor rely on any android services?20:45
malI think only the vendor sensor blobs should be enough20:47
malpiggz: just to be sure, you haven't enabled the serviceservice manually?20:47
piggzmal: ?20:48
malpiggz: what sensor related processes do you have running20:49
piggzmal: https://bpaste.net/show/c8d811b868f620:50

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