Monday, 2018-11-19

rydaretom01:23
rydareoko01:23
rydarea01:23
rydarebest01:23
rydarewhere r u01:23
rydareooops sorry wrong channel01:24
*** ChanServ sets mode: +v T402:53
MeowDudeI forgot how to install packages straight to the target in the platform sdk. sb2 something -m I think. Checking faq now but if someone is online and happens to know, that'd be great!04:52
MeowDudeokay nevermind, found it surprisingly fast. for anyone looking through the logs: "sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -m sdk-install XXX"04:53
T4<samyy_010101 (MISSING @USERNAME! telegram.org/faq#usernames-and-t-me)> @Zosenko [Hi everybody, one question, which cloud for a …], nextcloud at your home..m06:29
MeowDudewell a 3.0 build has been made for hammerhead. If only my new Nexus 5 were in the mail I could personally test it.06:39
MeowDudemal: any news on that port for g4 play/harpia? A guy on xda pm'ed me interested in building it themselves and I said it was a private build by someone else (I briefly mentioned it). How bad were the camera issues?07:11
T4<adampigg> Maybe a Xiaomi mipad 2 cherrytrail could replace my tbj07:53
T4<eugenio_g7> I have one, haven't managed to get libhybris working yet08:00
T4<adampigg> Maybe not then!08:01
T4<eugenio_g7> Heh :D I guess the Mi Pad 4 would be perfect, pretty cheap and with a snapdragon. Too bad Xiaomi still hasn't released the kernel sources08:02
T4<adampigg> Maybe aigo08:41
T4<adampigg> Just a little pricey for older hardware08:41
T4<adampigg> But at least will be compatible08:42
*** ChanServ sets mode: +v T408:42
T4<eugenio_g7> Yes, tbj firmware should work fine on the aigo08:48
r0kk3rzgeez piggs, and you just spent all that effort on the tablet too09:02
r0kk3rzscorpion tablet is nice ;)09:03
T4<adampigg> R0kk3rz I know :( 😭09:14
*** ChanServ sets mode: +v T414:37
r0kk3rzhttps://git.merproject.org/mer-core/nfcd17:46
r0kk3rzi wonder if it uses kernel or libnfc17:49
riniguslooks like cpu sleep is significantly longer for 3.0.0.8 than it was before (https://gist.github.com/rinigus/15d5d8b23b8738f1d80a63f81a86f33e ). I suspect it may result a missing alarm clock (have to check). have seen that emails were not checked during a day, probably due to longer sleep than deltaT specified for emails (5 min in my case)18:01
rinigushas anyone observed something similar or is it limited to onyx?18:02
T4<Zosenko> Juste one thing, is it possible add a alien dalvik into one port of SFOS3?18:11
T4<benzandsBot> yes, but no :D18:15
T4<benzandsBot> you *might* be able to do that by using files from official jolla devices/ports, but it's not really legal18:15
T4<benzandsBot> instead we hope that Anbox will work properly on sfos18:16
T4<Donreddy> May u guys help me to get sfos in oneplus318:23
T4<Donreddy> Where to get this18:23
T4<benzandsBot> only if you already read HADK and followed all steps in it :)18:23
T4<Donreddy> Idk where it is.. Hadk ?18:24
T4<benzandsBot> @Donreddy [Idk where it is.. Hadk ?], https://sailfishos.org/wp-content/uploads/2018/08/SailfishOS-HardwareAdaptationDevelopmentKit-2.2.0.2.pdf18:24
T4<elros34> what? https://forum.xda-developers.com/oneplus-3t/development/sailfish-os-oneplus-3-3t-t372426418:24
T4<Donreddy> @benzandsBot [https://sailfishos.org/wp-content/uploads/2018 …], Thanks sir.18:25
T4<Donreddy> @elros34 [what? https://forum.xda-developers.com/oneplus …], Thanks but it is 2.* sfos is showing 3.0 in there site.18:25
T4<benzandsBot> @Donreddy [Thanks but it is 2.* sfos is showing 3.0 in th …], you can update to sfos 318:26
T4<benzandsBot> manually18:26
T4<Donreddy> Ok thanks for clarification.18:26
r0kk3rzrinigus: im sure my jc missed an alarm the other day18:29
rinigusr0kk3rz: I have seen missed alarms earlier on onyx as well, before 3.0.0.8. but these sleep times seem to be excessive, much longer than before.18:30
rinigus... so I wonder if something is wrong with the port or its common for sfos18:31
malrinigus: r0kk3rz I have seen random alarm issues on fp2 at least, maybe c also18:44
rinigusmal: did it increase with 3.x?18:46
malrinigus: I haven't used alarms on 3.0 fp218:48
T4<adampigg> Mal, tried new camera stuff? Abranson has had a go today20:02
mal@adampigg I tried those yesterday20:03
T4<adampigg> Good,.work ok? I dont think asd is working, havnt cheched why yet20:03
T4<adampigg> Also, in hal3, redeye IS a flash mode, so works for abranson20:04
abransonI think it might vary by device. I think on the Jolla1 it was too.20:35
malabranson: should we add some quirk for that20:39
*** ChanServ sets mode: +v T420:39
abransonmal: yeah. should use the existing hdr quirk too20:39
malabranson: do we need the hdr quirk, or does hdr scene mode set it automatically20:43
abransonmal: would have experiment20:44
abransonI noticed that some devices do asd with a 'scene-detect' param too20:45
abransonalso very interestingly, hdr scene mode is failing on the xa2 in hal3 mode, because there's a raw_image_notify callback coming through that droidmedia doesn't handle.20:54
piggzabranson: handle it then ;)20:55
piggzerror on this line https://git.merproject.org/mer-core/qtmultimedia/merge_requests/19/diffs#867d87c02b9fb577614781b0e2c319b268e31673_50_6920:55
abransonpiggz: easier said that done...20:55
malpiggz: is it ok that two values are mapped as auto?20:59
piggzmal: its an error, shoud be ASD20:59
abransoni'm a bit confused as to the differences between auto, manual and asd. seems like there should only be two of those.21:01
malabranson: I thought we checked earlier that auto is not auto21:03
abransonyeah last I gathered 'auto' should map to manual i.e. no scene mode, and 'asd' is the real auto21:04
abransonnot sure though21:04
abransonbut that would solve that problem21:04
malpiggz: https://github.com/LineageOS/android_hardware_qcom_camera/blob/cm-14.1/QCamera2/HAL/QCameraParameters.cpp#L68421:11
malpiggz: and https://github.com/LineageOS/android_hardware_qcom_camera/blob/cm-14.1/QCamera2/HAL/QCameraParameters.cpp#L66921:11
abransonmal: yeah that's pretty convincing21:13
malabranson: so now we have a useless enum value in gst-plugins-bad21:16
abransonmal: good job it's only just gone in :P21:17
malabranson: I should have checked that before it went in21:18
malabranson: but we did talk about earlier already21:18
malabranson: I just have been so tired that I didn't pay attention to the new code in those21:20
T4<akaWolf> We're all just a humans21:28
piggzabranson: mal: so, in that case, ExposureASD can be removed?21:35
malpiggz: in my opinion yes21:41
abransonYeah I don't think it's a big deal to remove it.21:44
abransonThese changes aren't straightforward. I probably shouldn't have merged it so quickly, but I thought it was a lot simpler than it turned out to be.21:45
piggzso, in gst-droid, map gst_manual to "auto" and gst_auto to "asd" .... and in qt, ExposureManual = gst_manual, and ExposureAuto to gst_auto21:46
malyes21:46
malno idea why no scene mode is named auto in android21:47
abransonSo the default setting should be manual then, because not all devices have the asd mode21:47
malabranson: don't we use auto now as default?21:48
abransonWe do21:48
malthen we need to change the default21:48
malif we remap those21:48
piggzdoes the current camera even use those modes?21:49
malpiggz: maybe directly?21:49
piggzwell, the mode would still be 'auto' in android land, but be called manual instad of Auto ... which is a current bug21:50
malpiggz: even reference says it mean off https://developer.android.com/reference/android/hardware/Camera.Parameters#SCENE_MODE_AUTO21:52
malpiggz: I think it's auto in the sense that paramaters are completely free to change21:52
malpiggz: whereas asd selects which scene mode to use automatically21:53
malpiggz: so is manual the correct name for that is a good question21:53
piggzwell.....21:54
piggzdecide befoew I change it agian!21:54
piggz:D21:54
malabranson: any comment?21:55
piggzmal: in the gui, ExposureManual string could be "Off"21:57
malpiggz: I think yes21:57
malpiggz: gst does say GST_PHOTOGRAPHY_SCENE_MODE_AUTO: Choose scene mode automatically22:00
malpiggz: so that matches asd22:01
malso GST_PHOTOGRAPHY_SCENE_MODE_MANUAL: Set individual options manually22:01
malmaybe that is logical then for android "auto" mode22:02
piggzyes22:03
piggzmal: see the specs of this ... any reason why libhybris shouldnt work? https://www.gsmarena.com/xiaomi_mi_pad_2-7770.php22:06
piggzintel aton + gfx22:07
malpiggz: does it have lineage? of course with atom you could do native graphics22:08
piggzmal: https://github.com/latte-dev22:10
piggzunofficial 13 https://forum.xda-developers.com/mi-pad/development/unofficial-lineageos-13-0-xiaomi-mi-pad-t356576022:10
piggzmal: how does native work?22:10
T4<eugenio_g7> there is CM12 and LOS13 for the mi pad 2, but they don't work fully22:10
T4<eugenio_g7> I haven't managed to get libhybris working yet on the mipad 2 (both on CM12 and LOS13), now trying the mesa route22:11
malpiggz: assuming the kernel has suitable drivers it could be possible22:11
piggzwell ... if native was possible, and the pad was cheap enough, may be worth a shot22:11
mal@eugenio_g7 how does libhybris fail?22:11
T4<eugenio_g7> segmentation fault when loading the hwcomposer plugin, but it's been a while :) I should give that a shot again (and perhaps ask for help here, since I mostly lurk)22:13
piggzwell, there is one on ebay atm22:13
T4<eugenio_g7> I guess TheKit was trying to make libhybris work on cherry trail tables, but not sure how far he has got22:14
T4<eugenio_g7> piggz: hardware wise is nice, perhaps a bit warm, but I guess that's the norm with atoms22:15
T4<eugenio_g7> screen is pretty good though22:15
piggz@eugenio_g7 it unlocks ok, bootloader etc?22:16
T4<eugenio_g7> yup, it always asks for confirmation (boot / go to fastboot)  when the bootloader is unlocked22:18
T4<eugenio_g7> but nevertheless it unlocks ok :D You don't even have to ask xiaomi for the unlock code like it happens for their other devices22:19
piggzmight give it a go22:19
TheKitpiggz, Intel gfx blobs have some unpleasant thing with inline TLS access code in them, but could be worked around in theory22:20
T4<eugenio_g7> piggz: I'd say that if you find one < 100€ it would be a good buy22:20
T4<eugenio_g7> otherwise I'd go for a Mi Pad 4, but only when (if?) xiaomi releases the kernel sources22:21
piggz@eugenio_g7 k....i wont be spending loads ... otherwise id get an aigo!22:22
T4<eugenio_g7> TheKit: have you got mesa working on cherry trail tablets?22:22
TheKityes, MESA is not an issue with them22:23
T4<eugenio_g7> do you remember which mesa version worked? 9.2.5 (the one in mer) doesn't support cherryview, I'm trying to upgrade it to 10.2.9 which should work in theory22:25
piggzmal: how does a native port work?22:26
piggzany guide?22:26
T4<eugenio_g7> piggz: the cheaper mi pad 4 is 153€ which I'd say it's a pretty good price22:28
piggzhmm, yes, only 134 on gearbest22:34
piggzbut no lineageos22:34
T4<eugenio_g7> no kernel sources yet :/22:35
malpiggz: ask locusf, I think he did something for raspberry pi22:35
piggzmal: abranson: qtmm pushed with ASD removed, and #if guards for new enums22:36
piggzmal: abranson: and gst-droid pushed22:45
piggzmal: and before moaning any firher about my code, just look at this...22:48
piggzhttps://git.merproject.org/mer-core/qtmultimedia/merge_requests/19/diffs#c0bce27e58e4d9b97ee5525edce2a5b059e26928_119_15022:48
piggzthat is, a switch, on a QFlag ... with cases being the QEnum the flag is based on...22:49
piggzi think its a typo in the api, and the enum should be passed into the function, not a flag of the possible enums22:49
piggz!!!22:49
merbotpiggz: Error: "!!" is not a valid command.22:49
piggzin anycase, you cant switch on a qflag ... it doenst make sense :D22:49
TheKit@eugenio_g7 mesa-12.0.122:52
TheKitI didn't try 10.2.922:52
T4<eugenio_g7> thanks!22:52
T4<eugenio_g7> do you have the spec at hand by any chance?22:52
piggzwell, if i pick up a tab for 50 quid, i'll chip in with the effort ;)22:53
mal@eugenio_g7 there is also the surfaceflinger plugin as an option to hwcomposer plugin22:53
mal@eugenio_g7 some devices have buggy hwcomposer and surfaceflinger method works better22:54
T4<eugenio_g7> yup, tried that too but no dice. Sorry for being vague but it was a while ago :) But I guess it's worth a try again22:54
malpiggz: how does that switch even work?23:14
malpiggz: maybe some suitable overloaded operators in QFlag23:17

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