*** ubuntu is now known as Guest3208 | 01:56 | |
*** ChanServ sets mode: +v T4 | 05:09 | |
masya_ | Я здесь: Молодогвардійськ, Украина | 11:46 |
---|---|---|
masya_ | Hi. Is there any methods to port SFOS for Treble? | 11:48 |
mal | some parts of android 8 based ports use treble/hidl, not sure what exactly is the difference in those anyway | 11:49 |
r0kk3rz | at current, you cant really 'port sfos to treble' | 12:06 |
r0kk3rz | not without putting in binder interfaces into everything we use natively | 12:06 |
T4 | <adampigg> mal is tackling that though! | 13:00 |
r0kk3rz | imo its kinda going backwards though | 13:01 |
mal | why? | 13:01 |
r0kk3rz | less away from linux and more towards android | 13:02 |
mal | not many options through | 13:02 |
T4 | <ghosalmartin> If android keep their apis stable thanks to treble, it would make our lives much easier. Guess get an android 8 port fully workibg and see how much trouble it is to move to android 9 | 13:22 |
mal | the APIs are now versioned so those should be stable | 13:23 |
T4 | <ghosalmartin> Tempted to nab the mi mox 3 and attempt it, but i guess i need to make the mi mix 2 work first :p | 13:24 |
Mister_Magister | @ghosalmartin at this rate google will drop android | 13:24 |
T4 | <ghosalmartin> For what :p sfos? | 13:25 |
Mister_Magister | no | 13:25 |
Mister_Magister | fucshia or how was it called | 13:25 |
*** kimmoli is now known as Guest5395 | 13:25 | |
*** kimmoli_ is now known as kimmoli | 13:25 | |
T4 | <ghosalmartin> I wonder if they would, would manufactures follow? I know the allure of the play store is strong, but many might see it as an excuse to go there own way with there own fork of android or maybe even tizen :p | 13:26 |
r0kk3rz | knowing goog they'll changes their minds before really switching to fuchia | 13:28 |
Mister_Magister | @ghosalmartin android 9 seems to be last android there is no mentions of next android | 13:28 |
T4 | <ghosalmartin> If google wants to shoot itself in the foot more power to it | 13:30 |
T4 | <ghosalmartin> I mean android does need a rewrite, but they seem to of invested so much ibto treble i cant see them abandoning it after just 2 iterations | 13:30 |
Mister_Magister | rolling release? xD | 13:31 |
r0kk3rz | only goog would think they could ask all their vendors to retool on fuchia... | 13:33 |
r0kk3rz | they'd sooner fork android | 13:33 |
T4 | <ghosalmartin> Dunno about that apple do a our way or the highway oretty well | 13:36 |
r0kk3rz | well apple doesnt have vendors | 13:37 |
T4 | <ghosalmartin> It has customers that it shows the middle finger to on a frequent basis and they love it | 13:41 |
T4 | <ghosalmartin> Gotta get that dongle :p gotta catch em all | 13:42 |
T4 | Odisseo was added by: Odisseo | 13:48 |
taixzo | mal: any update on matissewifi? | 13:56 |
mal | taixzo: no | 14:15 |
T4 | <adampigg> woop, some PRs merged | 14:57 |
mal | @adampigg just in wrong order | 14:57 |
mal | @adampigg gst-droid master is now broken | 14:58 |
r0kk3rz | blame abranson | 14:58 |
T4 | <adampigg> yeah, i worried about that when i saw it...blame abranson | 14:59 |
T4 | <adampigg> i will do new pr for plugsin later | 14:59 |
T4 | <adampigg> or, abranson can fix the whitespce only changes? | 15:00 |
T4 | <adampigg> it will be 7pm ish bst before i look | 15:00 |
abranson | ok, fixing now | 15:26 |
T4 | <adampigg> So, that leaves the qtmm changes | 15:27 |
T4 | <adampigg> And then onto extra features | 15:28 |
T4 | <adampigg> hmmm, my electric supplier just went out of business | 15:44 |
T4 | <adampigg> if i go offline, you know why! | 15:45 |
T4 | <adampigg> :D | 15:45 |
r0kk3rz | @adampigg: which one? | 16:00 |
T4 | <adampigg> usio energy | 16:00 |
r0kk3rz | better switch quickly then | 16:01 |
T4 | <adampigg> website says not to | 16:01 |
T4 | <adampigg> r0kk3rz, seems there is a load of brexit talk today (apols for political subject change!) | 16:10 |
mal | @adampigg abranson r0kk3rz I trigger update of gst-plugins-bad in devel common because gst-droid was otherwise broken | 16:18 |
abranson | didn't mer-boss do it? | 16:18 |
T4 | <adampigg> ah, great .... i dont think other changes to plugins will be needed to get more properties into qt | 16:19 |
mal | abranson: no because I still had the custom version from my repo there (the jifmux fix which was merged to master already but forgot to update that), also no webhook | 16:19 |
T4 | <adampigg> abranson...obv im working on qt 5.6 ... will you look to merge into 5.9 as i guess that will be the next version to get these features | 16:20 |
abranson | adampigg: yeah stick on 5.6 for now | 16:21 |
T4 | <adampigg> mal, r0kk3rz, fancy trying out my qtmm branches with your camera? | 16:31 |
T4 | <adampigg> now that the other repos are done, it shoul | 16:31 |
T4 | <adampigg> d be easier | 16:32 |
mal | yes, I was just about to test, first I'll make sure the changes work without that (i.e. that it didn't anything existing) | 16:32 |
T4 | <adampigg> great, you to can begin hacking on advaned-camera | 16:34 |
T4 | <adampigg> kimmoli, i will accept name suggetions ;) | 16:34 |
r0kk3rz | @adampigg: stand by for brexageddon | 16:38 |
T4 | <adampigg> Its all a crock of <poo emoji> | 16:39 |
T4 | <adampigg> mal, resolution and focus modes still need implementd | 16:40 |
r0kk3rz | yeah its time to eject | 16:40 |
*** ChanServ sets mode: +v T4 | 17:06 | |
mal | @adampigg I have issues building advanced camera on OBS | 17:08 |
T4 | <adampigg> Go on | 17:08 |
mal | @adampigg Project ERROR: Unknown module(s) in QT: multimedia | 17:09 |
mal | maybe some dependency is missing from spec, I'll check | 17:09 |
T4 | <adampigg> Sounds like it | 17:10 |
r0kk3rz | pkgconfig(QtMultimedia) is missing | 17:10 |
mal | testing build now and if it works I'll make a PR | 17:15 |
mal | @adampigg https://github.com/piggz/harbour-advanced-camera/pull/1 | 17:17 |
r0kk3rz | so that needs patched qtmultimedia, gst-droid, droidmedia? | 17:20 |
mal | @adampigg what am I missing, with new QtMultimedia camera fails completely | 17:22 |
T4 | <adampigg> You have new plugins and gst-drood? | 17:23 |
mal | yes | 17:23 |
mal | Oct 15 20:21:29 Sailfish amera[13207]: [W] unknown:0 - CameraBin error: "Could not initialize supporting library." | 17:24 |
mal | Oct 15 20:21:29 Sailfish amera[13207]: [W] unknown:0 - CameraBin error: "Could not open file \"cap_%d\" for writing." | 17:24 |
T4 | <adampigg> What do you get? | 17:24 |
mal | that error | 17:24 |
T4 | <adampigg> Oh | 17:24 |
T4 | <adampigg> The patches arnt that fundamental! | 17:25 |
T4 | <adampigg> What about hal1 droidmedia? | 17:26 |
mal | this is fp2, it uses hal1 anyway | 17:26 |
mal | piggz: which branch should I use mer-5.6-gst-properties or mer-5.6-android-modes? | 17:27 |
T4 | <adampigg> Second, but make sure it has first changes too | 17:28 |
mal | actually first one seems newer | 17:28 |
piggz | sorry, yes | 17:29 |
mal | piggz: but even jolla-camera failed to work so something is really wrong, need to debug more after rebuilding that with correct branch | 17:29 |
piggz | i too broke jolla camera, but that was with a broken gst-droid which got blacklisted | 17:30 |
mal | hmm | 17:30 |
piggz | do gst-instpect to make sure | 17:30 |
mal | piggz: at least gst-inspect-1.0 droidcamsrc worked fine, not sure what I should be looking for | 17:32 |
piggz | no, that sounds fine | 17:33 |
mal | need to test with GST_DEBUG | 17:34 |
piggz | well, have fun ... im taking my lad to football! | 17:35 |
mal | piggz: mer-5.6-gst-properties fails to build also | 17:35 |
mal | CameraBinExposure::supportedParameterRange(QCameraExposureControl::ExposureParameter, bool*) const': | 17:36 |
mal | [ 295s] camerabinexposure.cpp:104:56: error: 'str_value' was not declared in this scope | 17:36 |
mal | [ 295s] supportedExposures = QString::fromUtf8(str_value); | 17:36 |
piggz | oh heck, sorry, | 17:36 |
piggz | have i not pushedd that | 17:36 |
* piggz checks | 17:36 | |
mal | also some nice typo in that latest commit "exposure_modes_sring" | 17:38 |
piggz | 1 minute | 17:38 |
piggz | at least i didnt PR this yet :D | 17:40 |
piggz | just checking builds..... | 17:40 |
piggz | mal, push --force, it was like the error never existed! | 17:43 |
piggz | away now | 17:43 |
mal | piggz: thanks, building now | 17:52 |
T4 | <adampigg> Fingers crossed, tho not sure why it would break camera with the old qtmm | 18:02 |
mal | @adampigg camera works again | 18:04 |
mal | @adampigg but no HDR in advanced camera settings | 18:05 |
T4 | <adampigg> Mal, do you have any exposure modes? | 18:11 |
mal | no, which one should have those | 18:14 |
abranson | Would love to stop that from creating cap_%d in nemo home | 18:14 |
mal | @adampigg it seems it doesn't see the exposure modes | 18:19 |
T4 | <adampigg> Pr's welcomed | 18:20 |
kimmoli | hmhm | 18:29 |
kimmoli | without any modifications, should i see something with gst-inspect? | 18:29 |
kimmoli | i can see exposure modes auto and normal, but under GstDroidCamSrcImageMode i see Normal, ZSL and HDR | 18:30 |
mal | kimmoli: gst-inspect doesn't list things properly I think | 18:30 |
mal | kimmoli: if you want to test new qtmultimedia and advanced camera I have prebuilt here http://repo.merproject.org/obs/home:/mal:/testing/sailfishos_latest_armv7hl/ | 18:36 |
T4 | <adampigg> Mal, add debugging to camerbin qtmm to see if properties are rerurned | 18:39 |
kimmoli | hac segfaults | 18:47 |
mal | kimmoli: hmm | 18:48 |
kimmoli | Just pasted a lot, see here https://pastebin.com/1hrtwGqZ | 18:48 |
kimmoli | https://github.com/piggz/harbour-advanced-camera/blob/master/src/exposuremodel.cpp#L58 | 18:57 |
kimmoli | should there be different names than in https://github.com/piggz/harbour-advanced-camera/blob/master/src/effectsmodel.cpp#L58 | 18:58 |
mal | kimmoli: ok, so piggz forgot to fix that | 18:58 |
kimmoli | http://doc.qt.io/qt-5/qcameraexposure.html#ExposureMode-enum | 18:59 |
mal | kimmoli: did you remember to update other packages also, meaning gst-droid and gst-plugins-bad? | 18:59 |
kimmoli | these goes there? | 18:59 |
kimmoli | mal: where those are built? | 18:59 |
kimmoli | no, as i jumped in on a moving train :) | 19:00 |
mal | kimmoli: latter in devel common, gst-droid in your OBS obviously | 19:00 |
mal | kimmoli: I'll fix the names | 19:01 |
T4 | <adampigg> Mal, i fixed that yesterday, just not pushed | 19:04 |
T4 | <adampigg> Gimme 15 mins to get home! | 19:05 |
r0kk3rz | its not fixed until its pushed :P | 19:09 |
kimmoli | you can do it while driving. dont. | 19:12 |
mal | @adampigg ok, I already fixed it locally | 19:12 |
kimmoli | äh, forgot to push tags... | 19:18 |
piggz | mal: kimmoli: r0kk3rz: home and pushed | 19:19 |
piggz | mal: forgot, u need the timing hack | 19:20 |
piggz | its pushed also | 19:20 |
piggz | mal: that probably fixes it for you | 19:25 |
kimmoli | should it say QCameraImageCapture error: "Camera not ready" | 19:28 |
mal | piggz: now it works | 19:28 |
piggz | woop | 19:30 |
mal | piggz: many things to improve, like showing which mode is currently used | 19:31 |
piggz | discussed the timing issue with abranson yesterday on telegram, and he definitely said the best fix was to just slap a timer in the app ;) | 19:32 |
piggz | mal: its not even 0.1 yest! | 19:32 |
piggz | but yes, i did thing about using the icons for indication | 19:33 |
kimmoli | what is the icon with rubiks cube? | 19:34 |
mal | kimmoli: resolution | 19:35 |
mal | kimmoli: it was from official icons | 19:35 |
kimmoli | ok, that does nothing | 19:35 |
mal | yes, many things missing | 19:35 |
kimmoli | also taking a photo? | 19:36 |
piggz | no, i made that icon | 19:36 |
piggz | missing is resolution and focus so far | 19:37 |
piggz | but, atleast we can now work on it together | 19:37 |
r0kk3rz | rubiks cube :D | 19:37 |
piggz | mal: so, taken an hdr? | 19:51 |
piggz | i was thinking | 19:51 |
piggz | some stuff in the camera api does not really map into Qt | 19:51 |
mal | piggz: yes, tested HDR but cannot be sure if it worked, I took the picture indoors | 19:52 |
piggz | so, maybe we could keep the quirks, and, for example, when setting exposure mode to hdr, also set the hdr quirk | 19:52 |
mal | maybe | 19:52 |
piggz | mal: you can kinda tell, it takes a little longer to take the image | 19:52 |
piggz | so that would be a good indication | 19:52 |
mal | yes, it was slower | 19:52 |
piggz | mal: what effects do you have? neon/emboss like me? | 19:54 |
kimmoli | onyx got "None, Grayscale, Negative, Solarize, Sepia, Posterize, Whiteboard, Blackboard, Aqua, Emboss, Sketch, Neon" | 20:09 |
kimmoli | and "Auto, Portrait, Night, Backlight, Sports, Snow, Beach, Action, Landscape, Night Portrait, Theatre, Sunset, Steady Photo, Fireworks, Party, Candlelight, Automatic Scene Detection, Flowers, Augmented Reality, HDR" | 20:10 |
*** b0n0_ is now known as b0n0 | 20:14 | |
mal | @adampigg yes, pretty much all there is | 20:16 |
mal | kimmoli: seems the same that I have | 20:19 |
kimmoli | large and small apertures missing | 20:19 |
abranson | piggz: timing issue? Don't remember that... | 20:22 |
piggz | abranson: i was being funny.... | 20:25 |
piggz | it was about the fact the property isnt available until after the camera is ready ... my _temporary_ fix is a Timer{} in the app ;) | 20:26 |
mal | kimmoli: same here | 20:26 |
piggz | i didnt yet implement retreiving the color modes from android, as it seems so far our devices implement them all | 20:27 |
piggz | need a todo list ... i will update the etherpad i started for this | 20:27 |
mal | piggz: I can write one for app | 20:30 |
mal | I mean a todo list | 20:30 |
piggz | mal: on https://etherpad.net/p/jolla-camera ? | 20:31 |
mal | yes | 20:31 |
mal | piggz: I'll wait until you have done your current edits | 20:31 |
b0n0 | Fresh with the cash | 20:36 |
b0n0 | Oops, wrong chan :P | 20:36 |
mal | oops | 20:37 |
piggz | mal: feel free to continue todo list | 20:37 |
piggz | and any other thoughts | 20:37 |
b0n0 | Yeah, oops isnt even enough to describe the way im feelong right now :/ | 20:37 |
mal | at least that wasn't anything bad | 20:39 |
b0n0 | Yeah, just a professional rhyme | 20:39 |
mal | piggz: added couple of items to todo list | 20:42 |
piggz | mal: what do you mean 'main app icon' !!!!! | 20:42 |
piggz | that took me 10 mnutes in inkscape! | 20:42 |
mal | piggz: hmm, I don't have any app icon | 20:43 |
mal | piggz: wondering why the app icon is not shown on my device | 20:44 |
piggz | mal: restart lipstick as you maybe didnt have an icon on the first versin you built | 20:44 |
mal | piggz: reinstall helped | 20:45 |
abranson | piggz: I remember that! But I'm sure there's a better way | 21:24 |
piggz_ | abranson: yes you said to register for property changes | 21:31 |
abranson | Or camera2 I think doesn't need to start the camera to get the static props | 21:34 |
piggz_ | mal: part 1 of focus modes pushed, | 21:56 |
piggz_ | laterz | 21:56 |
ghosalmartin | anyone know who the hell implements "__system_property_area_init"? | 21:57 |
ghosalmartin | ah ./libc/bionic/system_properties.cpp:int | 21:57 |
ghosalmartin | mal: have you had any issues initing the property area at all? | 22:03 |
mal | ghosalmartin: many times, often it's either some issue with selinux, one example is missing property contexts or related things | 22:09 |
mal | ghosalmartin: just to be sure you haven't accidentially disabled audit or selinux from kernel completely? only the selinux bootparam should be used and audit enabled | 22:10 |
ghosalmartin | mal:... so audit=0 is bad? : | 22:11 |
ghosalmartin | :P | 22:11 |
mal | could be, you added that to kernel commandline yourself? | 22:11 |
ghosalmartin | yeah, we used it for chiron | 22:12 |
mal | ghosalmartin: only thing you should add to kernel commandline is selinux=0 | 22:12 |
mal | ghosalmartin: also make sure you don't disable audit in defconfig, some people accidentially disable it because they don't read the description in kernel checker | 22:14 |
ghosalmartin | yeah didnt disable it there jic | 22:15 |
mal | ghosalmartin: on 14.1 missing detritus easily caused property area failure because it contained property contexts | 22:16 |
ghosalmartin | hmm if I remove audit=0 then no more telnet access | 22:17 |
mal | do you see anything in host dmesg? | 22:18 |
ghosalmartin | attempts to register itself as a standard android device | 22:18 |
ghosalmartin | https://pastebin.com/ibLad0zr | 22:18 |
ghosalmartin | ah so mer is coming first, then other stuff | 22:19 |
ghosalmartin | so maybe its trying to load some init.usb.r | 22:19 |
mal | https://github.com/mer-hybris/android_system_core/blob/hybris-15.1/rootdir/init.rc#L17 | 22:20 |
mal | I missed that from core | 22:20 |
ghosalmartin | ill nuke it | 22:20 |
ghosalmartin | have you guys figured out a way to roll hybris-boot and android recovery? | 22:20 |
mal | compare to https://github.com/mer-hybris/android_system_core/commit/f8e77635ba41862f8bfd3a0a2164bbf1c7893832 | 22:21 |
mal | ghosalmartin: what do you mean, like built in recovery in kernel? | 22:21 |
ghosalmartin | mal: yeahh | 22:22 |
ghosalmartin | since this dev rolls both together | 22:22 |
mal | I used that kind of thing on xperia pro and other 2011 xperias | 22:22 |
ghosalmartin | hmm that didnt work, perhaps something inside init.marlin.rc | 22:24 |
mal | maybe you should mask droid-hal-init and start it manually to debug it more easily | 22:29 |
T4 | <ghosalmartin> Yeah some success with that, tbf the entire rootfs is a mess now, so might build a new zip that more uo to date with bootctl and surfaceflinger targets | 23:07 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!