Friday, 2018-10-05

*** ChanServ sets mode: +v T405:02
spiiroinThaodan: in olden times (meego, maemo) mce did handle parts of camera button. remnants of that logic are still in mce code base, but in sfos camera button is all in ui05:28
Thaodanspiiroin: a thats why there a camera module there07:49
spiiroinThaodan: yeah, there were (n900?) gov requirements (japan?) that video recording needs to be indicated or stte anyway -> mce has some code for triggering led whenever kernel says video recorder is active08:19
Thaodanah nice to hear some indes. Sometimes things don't make sense unless you here to the reason why08:20
elros1how to use this load-sym-files  in gdb? /proc/pid/maps shows lipstick crash at /usr/libexec/droid-hybris/system/lib/hw/hwcomposer.msm8960.so11:06
malelros1: when does it crash? which device?11:07
elros1it's photon q(cm11), it crash when I plug in hdmi. I have notice that it start in, in it was ok11:08
Mister_Magistermal: that about hybris-1611:09
malis there a device that would need it?11:12
T4<NotKit> krnlyng, it's better to make this read from somewhere at runtime, as Ubuntu uses single hybris build for many devices11:13
T4<NotKit> (about shims)11:13
T4<NotKit> MediaTek devices with LineageOS11:13
Mister_Magistermal: me11:15
krnlyngT4<NotKit>: i would do it hardcoded if the variable value is hardcoded and fallback to the env if it is not hardcoded.11:15
Mister_Magister@NotKit i agree11:15
Mister_Magisterkrnlyng: you have nothing to hardcore11:16
Mister_Magisterhardcode *11:16
Mister_Magisterthis variable is strictly device depend you cant make default for all devices11:16
krnlyngMister_Magister, that is the opposite of what i am suggesting11:16
krnlyngi am suggesting that there should be a way to hardcode it to a value determined by the build system (device specific) and if that fails it should allow the env variable11:17
Mister_Magistermal: devs for my device decided that as pie will come soon they will work on pie lineage so i would need hybris-16 but ill try with guys to port 15 it shouldnt be too hard to go backwards11:17
Mister_Magisterkrnlyng: so it would have to be read at build11:18
Mister_Magistercan you run sed to get variable? hmm11:18
elros1krnlyng: do you have any idea ? This happens when I plugin hdmi12:01
malelros1: doesn't that tell the line which causes the crash? hardware/qcom/display-caf/libhwcomposer/hwc_copybit.cpp:19312:04
elros1mal: not sure:
malelros1: wouldn't that mean "hnd" is a null pointer? or maybe layerProp[i]12:08
malelros1: add some debug printing12:09
elros1mal: great, I will12:09
NeKitelros1, do you try to render on multiple screens?12:11
elros1NeKit: yes, hdmi works quite good for my tablet and now I want to try it on photon q12:11
NeKitwith normal lipstick? does it get mirrored?12:12
elros1yes, simple mirror12:13
NeKitfor Gemini I had to modify test_hwcomposer.cpp a lot:
NeKitwould be interesting to get that running on it12:15
elros1be aware that it works good for my tablet but slow down whole ui in photon12:15
Mister_Magisterguess james is also on vacation?12:16
*** DrGibby| is now known as Guest7240013:07
elros1hmm, so hnd (list->hwLayers[0].handle) is always null after connecting hdmi13:23
malcheck the qt5-qpa-hwcomposer-plugin code how that is handled13:27
*** ChanServ sets mode: +v T414:23
*** gallon is now known as Guest6945315:04
T4<adampigg> sledges: you liked my hdr experimet16:26
T4<adampigg> nt16:26
T4<adampigg> :)16:26
mal@adampigg I'll have to test that16:32
mal@adampigg about the usage of HAL1 for camera on mido, it might cause an issue but which is fixed for community devices in gst-plugins-bad, the image rotation bug16:33
piggzmal: im strugging with building gst-plugins-bad atm.....17:13
piggz /usr/include/gstreamer-1.0/gst/gl/gstglfuncs.h:40:26: fatal error: GLES3/gl3.h: No such file or directory17:13
piggzclearly, sfos only has GLESv217:13
malpiggz: where are you building it?17:16
piggzmal: my local target17:17
piggzhavnt tried obs17:17
piggzim not missing anything int he .spec17:17
malpiggz: note that local builds don't handle the patches correctly i.e. those are not applied17:21
piggzi'll just do it on obs then17:22
piggzwas thinking i was saving time!17:22
piggzmal: whatcha know, it builds on obs17:27
piggzonly a little time wasted there!17:27
piggzmal: there are actually 4 scene modes to add, not just hdr17:33
piggzsorry, 5!17:33
*** ChanServ sets mode: +v T417:42
malpiggz: the error you was not very logical for local build, the patches didn't seem to touch includes, maybe you had wrong branch?17:52
kimmoli120 scene modes?17:55
piggzmal: no ... im convinced my local branch is fine ... its the same branch I pushed to get built on OBS18:47
malpiggz: ok, odd18:53
piggzabranson: you any idea why gst-plugins-bad fails to build locally, but works on obs?19:33
piggzall my build-requires are installed, but it fails looking for glesv3 header, which doesnt exists afaict19:34
r0kk3rzthe autoconf does a lot of globbing19:35
r0kk3rzit must be finding something that triggers it19:35
piggzmal: r0kk3rz: when I copied the package to my device devel repo, it fails to build again!
r0kk3rzpiggz: when i built it i had to deliberately enable glesv321:31
piggzr0kk3rz: was that for sailfish?21:32
piggzr0kk3rz: there is no glesv3 in sfos i thought....21:36
r0kk3rzno there isnt21:37
r0kk3rzthat sentence was misleading, i tried to enable it21:37
malpiggz: I think I know why21:37
piggzim thinking hybris/mesa includes?21:38
malpiggz: it tries to install some gles devel package and in local build and adaptation OBS project it installs the libhybris one instead21:38
piggzyes, that where i was getting to21:39
piggzyou can do some magic on obs to prefer one package over another cant you?21:39
piggzthat is21:40
piggzso .... i cant really build on device repo then?21:40
malseems like it21:40
r0kk3rzyeah mal is right, wurks fur me -
malpiggz: were you already trying to add those to your release?21:41
piggzmal: no, i was just sticking it there so I could add the devel fiels locally without adding another repo....just being lazy21:41
r0kk3rzscene mode flowers?21:43
piggzr0kk3rz: yep, its in there!21:44
malpiggz: should we rename you camera app something like advanced-camera or something and make it a proper app21:44
r0kk3rzsuper duper piggz-o-vision21:45
piggzhmmm, maybe21:45
piggzbut, that will mean i have to make it look nice .. and not just dock windows with a list model in them!21:47
r0kk3rzthe armv7 one has built if you want to use that21:48
malpiggz: true21:48
piggzr0kk3rz: my new one is building...21:48
malpiggz: I can make a UI if you don't want to21:48
piggzmal: let me get the qtmultimedia patches done, then i'll think about the app21:49
malpiggz: sure, it was just an idea while we wait if/when jolla-camera will get new features21:50
piggzmal: how far do you thing we should go.?21:50
malpiggz: what do you mean?21:50
piggzi half want to have full manual contols too21:50
malyep, we can think what other features we could have21:51
piggzi took another hdr picture tonight, and it really does look better than the standard app21:51
r0kk3rzthats the point of hdr isnt it?21:52
piggzand, i want to see the neon/sketh wotk21:52
piggzr0kk3rz: well, yes... i meant  it prooves it work21:52
malpiggz: I have an annoying issue on fp2, the manual iso values are very dark (but there is a difference between those) whereas the automatic mode is well lit21:53
piggzmal: there is also the new ASD mode to try out21:54
piggzshoud be better than Auto21:54
r0kk3rzautomatic super dingus?21:54
malpiggz: wondering if fp2 uses some advanced things in auto mode21:54
piggzif you like, or scene detection21:54
r0kk3rzah automatic scene detection, yes that makes more sense21:56
malpiggz: wondering if it's easy to find which settings were used when android took the picture21:58
r0kk3rzexif data?21:59
malpiggz: r0kk3rz heh, in automatic iso mode it used iso value of 10899 if the exif data is correct22:01
malso no wonder iso 400 looks dark22:01
r0kk3rzthats a lot of isos22:03
rydarema i swear i've just been downloading linux isos!22:06
rydarethis channel is for porting right? not for Sailfish X and official stuff22:06
maldepends on the issue22:06
piggzog, qtmultimedia build successul now22:07
rydareI'm just wondering if there's any benefit to updating Android on my Xperia X past the minimum22:07
malis it really such a big issue to update it?22:08
malnot sure if there is any benefit, wondering how the firmware partitions and such are updated22:09
r0kk3rzsome people have been mentioning modem issues22:13
r0kk3rzso you might as well22:13
malpiggz: r0kk3rz I was also wondering if I should do some fixing of droid-camres now that gst-droid can read available stuff directly22:14
piggzr0kk3rz: remove unnescessary stuff?22:15
malpiggz: yes, and add new features, there was a wip iso value branch by abranson but that was never merged and that won't work anymore22:16
piggzpgz-super-advanced-camere will have resultion and jpeg/raw selction :D22:17
malpiggz: I have always found it odd to have nick or name in app name :P22:18
piggzgrouping/searching ;)22:19
malr0kk3rz: piggz hmm, the iso value in automatic mode is odd, GST_DEBUG lists manual values only up to 320022:20
malpiggz: related to raw, fp2 lists picture-format-values = jpeg,bayer-mipi-10bggr,bayer-ideal-qcom-10bggr,bayer-qcom-10bggr,yuv422sp22:23
piggzmal: more than mido ... i onle have 1 raw mode22:23
malthis is the new fp2 camera22:23
malneed to check the old one22:23
piggzmal: thoughts about querying gst-droid for supported modes? probaby a good idea, not sure hoe much infrastructure is needed to do that yet though22:33
piggzmal: also, its a shame in qml, that listelement values cant contain 'code' becuase, enum values are interpreted as code22:41
malpiggz: hmm, pretty sure there is a better way to do that, like using repeater with a suitable model22:47
piggzmal: ideally, generate at runtime by querying capabilities22:47
malpiggz: sure but the qml doesn't support queries of those yet in 5.6, maybe a c++ model could help?22:48
piggzmal, r0kk3rz, repos are up with 1)gst changes, 2)qtmultimedia changes 2)qt-camerabin changes and 4)gst-droid changes22:58
piggzdamn multi-layer stacks22:58
piggzcould have done it allwith a dbus interface direct to gst-droid ;)22:59
T4<adampigg> (Photo, 1280x720)
piggzmal: ^^ skecth and neon mode23:21
T4<adampigg> (Photo, 1280x720)
piggzmal: so, afaict, that is all using non-hacky methods23:24
malyes, looked reasonable, some small style issues but otherwise ok23:24
piggzmal: all on either gitlib or github23:25
malyes, found those23:25
piggzim off to sleep now23:25
piggzand will thing about more camera features23:25
piggzwhite  balance is needed23:25
piggzand manual exposure23:25
mallet's discuss tomorrow23:25

Generated by 2.17.1 by Marius Gedminas - find it at!