Wednesday, 2018-10-03

T4technologiclee was added by: technologiclee01:06
*** ChanServ sets mode: +v T405:52
T4<adampigg> gm06:11
Mister_Magister@adampigg o/06:27
Mister_Magisterquestion: how do i fix GPS? When i enable it and launch some app that uses gps there is no gps searching icon and no satelites (guess dmesg or journal?)06:28
T4<adampigg> i had a similar iussue and had to go into settings and change/save/change/save to get it working06:29
Mister_Magister@adampigg im wondering if this isnt the problem
Mister_Magister@adampigg changing settings doesnt change anything06:39
T4<adampigg> yeah, looks different to my problem, looks like a missing lib/symbol06:40
Mister_Magisterye im wondering if that error06:40
abransonadampigg: that's the stuff06:53
T4<adampigg> abranson,mal, mer obs for gst-plugins-bad carries an extra patch than the version on gitlab, the jifmux one.  which is correct?06:54
Mister_Magisterabranson: hi could you explain me the libzypp stuff?06:55
T4<adampigg> abranson, its a pain doing it as patches with rpmbuild rather than just commiting!06:55
T4<adampigg> also, i left gst-plugins-bad bulding, dont know if it finished....but i guess it fails as it needs GLES3/gl3.h which i havnt found yet..need to check how obs builds it07:01
abransonadampigg: not sure about the jifmux patch. i think there was talk about whether that was still needed. does the newest version have it?07:06
abransonMister_Magister: sounds like libzypp isn't updated yet in 2.2.1. you'll have to wait for the next release.07:06
Mister_Magisterabranson: kay thats all i wanted to know07:08
Mister_Magisteri just heard it will be this update07:08
abransonrpm was updated first, with all the rest following after07:09
Mister_Magisterabranson: i want to finally install this (its compiled but not installable)07:17
*** hexc0de_ is now known as hexc0de08:48
mal@adampigg we currently have the patch in gst-plugins-bad but need to investigate if that is still required, previously at least onyx and fp2 needed it08:58
Mister_Magistermal: hi gotta second? GPS is not working and i need a hint09:00
Mister_Magisterhere is some log
r0kk3rzso it crashes then?09:01
Mister_Magisterapp doesnt crash09:01
r0kk3rzso what do you mean by 'not working'09:02
malhow does logcat look like?09:02
Mister_Magisterim waiting for mal to reply to copypaste more detailed description09:02
Mister_Magisterlogcat gotcha09:02
r0kk3rzwhy withold detailed information?09:03
locusfsomehow I know who this is even without unignoring09:13
Mister_Magistermal: ping me if you get some hint09:27
Mister_Magisterthanks in advance09:27
malit says quite clearly that it cannot find or load the qcom gps implementation09:35
Mister_Magistermal: sure but that doesnt tell me much :/ maybe because it cant load that lib when he iinitalises it so it failes to load qcom gps implementation?09:36
mallook for on the device and if that is found then the second error is more relevant and which seems to tell there is some API mismatch09:36
T4<adampigg> mister_magister, did you even google for the/missing library?09:37
Mister_Magister@adampigg not really whats a point in that09:37
mallooks like device codenamed vince need to add that lib manually09:37
malso you need to see if the file is on 64-bit on your device09:38
Mister_Magisteroh this device is ghost and its 32bit09:38
malwhich have been quite obvious09:38
T4<adampigg> exactly, sailfish on vince project had the same issue, 3rd result/in google!09:38
malyou still haven't told if the file exists or not09:39
Mister_Magistermal: im at work so i may be slow to response09:41
T4<adampigg> *head in hands* :D09:41
* Mister_Magister sighs09:41
Mister_Magister@adampigg what did i do wrong this time09:42
malMister_Magister: maybe you should ask for help when you have more time09:44
Mister_Magisterwhy do i feel like being attacked :(09:48
Mister_Magistermal: file doesnt exist in vendor or system09:50
T4<adampigg> mister_magister, not attacking, but log says file doesnt exist, why would you then not google the file? ;)09:55
locusfits always easiest being the victim09:59
Mister_Magisterlocusf: its always easiest being the attacker10:00
Mister_Magister@adampigg sure sry10:00
Mister_Magistermal: where else should i search for it10:12
malfind / -name some_file10:27
Mister_Magisteri know how to search for fileā€¦10:30
Mister_Magisteri just said it doesnt exist in system and vendor so where should i search for it10:30
malso it's nowhere on the device?10:32
malthe question which of the errors is the critical one, the not found library or the API mismatch10:32
Mister_Magisterthats what im asking i was not sure if missing library is the problem10:33
malit might not be10:33
malthe mismatch looks worse10:33
malcheck the sources for that function10:33
Mister_Magistermal: it looks like it should be in system core from what i can google10:36
malwhich android base are you using?10:37
malso compare hybris-13.0 and cm-13.0 to see if we are missing something10:39
Mister_Magisternope we don't10:39
Mister_Magisterill grep later at home10:41
T4<chronosmsx> Can be enough to use laptop to build sailfish os?13:13
r0kk3rzi use mine, its not anything particularly special13:16
Mister_Magistertheoretically you can build sfos on jolla tablet13:17
Mister_Magistermal: now i know why it isnt anywhere15:39
Mister_Magisterits shim! ./device/motorola/msm8960dt-common/libshims/moto_log.c:int __android_log_loggable(int prio, const char *tag)15:39
T4<adampigg> sounds similar to the htc loggin functions i had to patch hybris for15:46
Mister_Magisteri had tons of shims on huawei maybe they are same15:47
Mister_Magisterye its same and my fix for loading shims is already in hybris so i justy need to use it15:49
* Mister_Magister actually forgot how to use it15:49
Mister_Magisteroh it didnt get pulled16:06
Mister_Magisterkrnlyng: this pull request is kinda dead can i get some feedback on it?
T4<abhishek_0> PR got merged into geoclue-providers-hybris , still cant build it16:42
*** ChanServ sets mode: +v T417:52
Mister_Magistermal: ping im wondering how can i add HYBRIS_LD_SHIM_LIBS to geoclue18:48
malgood question18:51
* Mister_Magister finally posted good question18:52
Mister_Magistermal: got it18:54
Mister_Magistermal: it should look like this right?
Mister_Magisteri added it to droid-hal-device.conf18:56
Mister_Magistermal: but gps stil doesnt seem to work there is no gps icon18:57
Mister_Magisterno there is nothing in logcat18:58
malI assume you enabled gps in setting, just making sure18:58
maldid you get the previous errors anymore?18:59
malMister_Magister: not related to this "mapplauncherd[10942]: Couldn't open '/proc/self/oom_score_adj' for writing" check faq for OOM18:59
Mister_Magistermal: no i cant see them in journal anymore18:59
Mister_Magistermal: ok thanks18:59
Mister_Magistermal: and yes its enabled with high precision19:00
malbetter check your other devices for that oom error also19:00
Mister_Magistermal: what does this oom error do19:00
malit can cause for example failure of startup wizard or basically any app that system decides uses too much memory because of wrong oom settings19:01
Mister_Magistermal: well on this device broken things are: camera recording, gps, both mics, bt (hcismd is enabled but no hcismd path on device)19:03
Mister_Magisterfor mics i need jusa video i will debug myself19:04
Mister_Magisterso i have 2 problems i can ask you :)19:04
Mister_Magisteroh maybe test_gps will say something19:05
malwhich bt chip does it have?19:05
Mister_Magistermal: oh in test_gps previous errors are back :/19:06
Mister_Magistermal: im not sure but its 2013 device so no roma for sure19:06
maldid test_gps use the preload?19:06
malof shim19:06
Mister_Magisteri run it with HYBRIS_LD_SHIM_LIBS="/system/vendor/lib/||||||" test_gps19:07
Mister_Magisterand it didnt seem to use shim19:07
Mister_Magisteri have libhybris with shim patch19:07
T4Mister1Magister was added by: samzn19:07
T4Mister1Magister was removed by: Mister1Magister19:08
Mister_Magistermal: so the answer is no19:09
Mister_Magistermal: do  you remember that env variable that was used for debugging hybris ld preload?19:12
Mister_Magistermal: its not even searching for that shim19:25
Mister_Magisterand for that symbol19:25
malsome HYBRIS_DEBUG or something, those should be easy to find from libhybris sources19:26
Mister_Magisteri found it in logs already19:27
Mister_Magisterand even added /system/vendor/lib/|libshim_log.so19:28
Mister_Magisterand its not searching for that symbol at all19:28
Mister_Magistermaybe im setting this shims on wrong thing19:29
Mister_Magisteri dont know how this geoclue thingy is running19:29
Mister_Magistermal: so test_gps is throwing that error but running gps info app does not show any error anymore in journal but gps is not working in both cases19:32
mallogcat should show something related to loc19:33
malis that from using test_gps or the app19:37
Mister_Magistermal: app19:44
piggzmal: is the version of gst-plugins-bad that is shipped, the one from nemo:testing:hw:devel (or similar to it) ?20:54
piggzthe mer-core ones seem old20:54
r0kk3rzshould be new20:58
piggzr0kk3rz: this one looks like it
piggznot this
piggzwhich is 0.1021:04
piggzthe only oddity is that the one that seems right, is from mal's github
r0kk3rzyeah it is21:05
r0kk3rzbecause theres some patch that hasnt been merged21:05
malpiggz: wrong mer core
malpiggz: also mer:core is not directly used as sailfish base21:06
piggzmal: so, is the one you linked the correct one?21:07
Mister_Magistermal: oh i have noticed this oom problem on x force maybe thats why its ooming all the time with 3GB ram21:07
malpiggz: depends on what you mean by correct21:08
malMister_Magister: probably yes21:09
piggzmal: one closest to sfos version, that will build and is a good base to work from21:09
malMister_Magister: again a reminder to check faq in case of issues21:09
Mister_Magistermal: i didnt consider that as issue21:09
malpiggz: you can see the official version by running "pkcon search name bad" it will list the available version21:10
malMister_Magister: interesting view on what is a problem, usually unexpected oom should be a problem21:10
Mister_Magisterzypper se -s also shows version21:11
malpiggz: anyway I keep that patched version updated againsta current release always21:12
Mister_MagisterGood night to you both21:12

Generated by 2.17.1 by Marius Gedminas - find it at!