*** ChanServ sets mode: +v T4 | 05:02 | |
spiiroin | Thaodan: 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 ui | 05:28 |
---|---|---|
Thaodan | spiiroin: a thats why there a camera module there | 07:49 |
spiiroin | Thaodan: 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 active | 08:19 |
Thaodan | ah nice to hear some indes. Sometimes things don't make sense unless you here to the reason why | 08:20 |
Thaodan | *insides | 08:25 |
elros1 | how to use this load-sym-files in gdb? /proc/pid/maps shows lipstick crash at /usr/libexec/droid-hybris/system/lib/hw/hwcomposer.msm8960.so | 11:06 |
mal | elros1: when does it crash? which device? | 11:07 |
elros1 | it's photon q(cm11), it crash when I plug in hdmi. I have notice that it start in 2.0.2.48, in 2.0.1.11 it was ok | 11:08 |
Mister_Magister | mal: that about hybris-16 | 11:09 |
mal | is 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 devices | 11:13 |
T4 | <NotKit> (about shims) | 11:13 |
T4 | <NotKit> MediaTek devices with LineageOS | 11:13 |
Mister_Magister | mal: me | 11:15 |
krnlyng | T4<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 | probably | 11:15 |
Mister_Magister | @NotKit i agree | 11:15 |
Mister_Magister | krnlyng: you have nothing to hardcore | 11:16 |
Mister_Magister | hardcode * | 11:16 |
Mister_Magister | this variable is strictly device depend you cant make default for all devices | 11:16 |
krnlyng | Mister_Magister, that is the opposite of what i am suggesting | 11:16 |
Mister_Magister | hmmm? | 11:16 |
krnlyng | i 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 variable | 11:17 |
Mister_Magister | mal: 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 backwards | 11:17 |
Mister_Magister | krnlyng: so it would have to be read at build | 11:18 |
Mister_Magister | can you run sed to get variable? hmm | 11:18 |
elros1 | krnlyng: do you have any idea https://pastebin.com/GMn4Q5S8 ? This happens when I plugin hdmi | 12:01 |
mal | elros1: doesn't that tell the line which causes the crash? hardware/qcom/display-caf/libhwcomposer/hwc_copybit.cpp:193 | 12:04 |
elros1 | mal: not sure: https://github.com/mer-hybris/android_hardware_qcom_display-caf/blob/hybris-11.0-44S/libhwcomposer/hwc_copybit.cpp#L193 | 12:07 |
mal | elros1: wouldn't that mean "hnd" is a null pointer? or maybe layerProp[i] | 12:08 |
mal | elros1: add some debug printing | 12:09 |
elros1 | mal: great, I will | 12:09 |
NeKit | elros1, do you try to render on multiple screens? | 12:11 |
elros1 | NeKit: yes, hdmi works quite good for my tablet and now I want to try it on photon q | 12:11 |
NeKit | with normal lipstick? does it get mirrored? | 12:12 |
elros1 | yes, simple mirror | 12:13 |
elros1 | NeKit: https://github.com/elros34/qt5-qpa-hwcomposer-plugin/tree/external_display | 12:14 |
NeKit | for Gemini I had to modify test_hwcomposer.cpp a lot: https://bpaste.net/show/eae6655741c6 https://bpaste.net/show/71a1b02692ce | 12:14 |
NeKit | would be interesting to get that running on it | 12:15 |
elros1 | be aware that it works good for my tablet but slow down whole ui in photon | 12:15 |
Mister_Magister | guess james is also on vacation? | 12:16 |
*** DrGibby| is now known as Guest72400 | 13:07 | |
elros1 | hmm, so hnd (list->hwLayers[0].handle) is always null after connecting hdmi | 13:23 |
mal | check the qt5-qpa-hwcomposer-plugin code how that is handled | 13:27 |
*** ChanServ sets mode: +v T4 | 14:23 | |
*** gallon is now known as Guest69453 | 15:04 | |
T4 | <adampigg> sledges: you liked my hdr experimet | 16:26 |
T4 | <adampigg> nt | 16:26 |
T4 | <adampigg> :) | 16:26 |
mal | @adampigg I'll have to test that | 16: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 bug | 16:33 |
piggz | mal: 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 directory | 17:13 |
piggz | clearly, sfos only has GLESv2 | 17:13 |
mal | piggz: where are you building it? | 17:16 |
piggz | mal: my local target | 17:17 |
piggz | havnt tried obs | 17:17 |
piggz | im not missing anything int he .spec | 17:17 |
mal | piggz: note that local builds don't handle the patches correctly i.e. those are not applied | 17:21 |
piggz | ah | 17:21 |
piggz | i'll just do it on obs then | 17:22 |
piggz | was thinking i was saving time! | 17:22 |
piggz | mal: whatcha know, it builds on obs | 17:27 |
piggz | :/ | 17:27 |
piggz | only a little time wasted there! | 17:27 |
piggz | mal: there are actually 4 scene modes to add, not just hdr | 17:33 |
piggz | sorry, 5! | 17:33 |
piggz | asd,backlight,flowers,AR,hdr | 17:33 |
*** ChanServ sets mode: +v T4 | 17:42 | |
mal | piggz: 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 |
mal | *had | 17:53 |
kimmoli | 120 scene modes? | 17:55 |
mal | :D | 17:55 |
piggz | mal: no ... im convinced my local branch is fine ... its the same branch I pushed to get built on OBS | 18:47 |
mal | piggz: ok, odd | 18:53 |
piggz | abranson: you any idea why gst-plugins-bad fails to build locally, but works on obs? | 19:33 |
piggz | all my build-requires are installed, but it fails looking for glesv3 header, which doesnt exists afaict | 19:34 |
r0kk3rz | the autoconf does a lot of globbing | 19:35 |
r0kk3rz | it must be finding something that triggers it | 19:35 |
piggz | mal: r0kk3rz: when I copied the package to my device devel repo, it fails to build again! https://build.merproject.org/package/live_build_log/nemo:devel:hw:xiaomi:mido/gstreamer1.0-plugins-bad/sailfish_latest_armv7hl/armv8el | 21:24 |
r0kk3rz | piggz: when i built it i had to deliberately enable glesv3 | 21:31 |
piggz | r0kk3rz: was that for sailfish? | 21:32 |
r0kk3rz | indeed | 21:35 |
piggz | r0kk3rz: there is no glesv3 in sfos i thought.... | 21:36 |
r0kk3rz | no there isnt | 21:37 |
r0kk3rz | that sentence was misleading, i tried to enable it | 21:37 |
mal | piggz: I think I know why | 21:37 |
piggz | im thinking hybris/mesa includes? | 21:38 |
mal | piggz: it tries to install some gles devel package and in local build and adaptation OBS project it installs the libhybris one instead | 21:38 |
piggz | yes, that where i was getting to | 21:39 |
piggz | you can do some magic on obs to prefer one package over another cant you? | 21:39 |
mal | piggz: https://build.merproject.org/project/prjconf/nemo:devel:hw:xiaomi:mido | 21:39 |
piggz | that is | 21:40 |
piggz | so .... i cant really build on device repo then? | 21:40 |
mal | seems like it | 21:40 |
r0kk3rz | yeah mal is right, wurks fur me - https://build.merproject.org/package/show/home:r0kk3rz:branches:mer-core:devel/gst-plugins-base | 21:40 |
mal | piggz: were you already trying to add those to your release? | 21:41 |
piggz | mal: no, i was just sticking it there so I could add the devel fiels locally without adding another repo....just being lazy | 21:41 |
r0kk3rz | scene mode flowers? | 21:43 |
r0kk3rz | really? | 21:43 |
piggz | r0kk3rz: yep, its in there! | 21:44 |
mal | piggz: should we rename you camera app something like advanced-camera or something and make it a proper app | 21:44 |
r0kk3rz | super duper piggz-o-vision | 21:45 |
piggz | hmmm, maybe | 21:45 |
piggz | but, that will mean i have to make it look nice .. and not just dock windows with a list model in them! | 21:47 |
r0kk3rz | the armv7 one has built if you want to use that | 21:48 |
mal | piggz: true | 21:48 |
piggz | r0kk3rz: my new one is building... | 21:48 |
mal | piggz: I can make a UI if you don't want to | 21:48 |
piggz | mal: let me get the qtmultimedia patches done, then i'll think about the app | 21:49 |
mal | piggz: sure, it was just an idea while we wait if/when jolla-camera will get new features | 21:50 |
piggz | mal: how far do you thing we should go.? | 21:50 |
mal | piggz: what do you mean? | 21:50 |
piggz | i half want to have full manual contols too | 21:50 |
mal | yep, we can think what other features we could have | 21:51 |
piggz | i took another hdr picture tonight, and it really does look better than the standard app | 21:51 |
r0kk3rz | thats the point of hdr isnt it? | 21:52 |
piggz | and, i want to see the neon/sketh wotk | 21:52 |
piggz | r0kk3rz: well, yes... i meant it prooves it work | 21:52 |
mal | piggz: 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 lit | 21:53 |
piggz | mal: there is also the new ASD mode to try out | 21:54 |
piggz | shoud be better than Auto | 21:54 |
r0kk3rz | automatic super dingus? | 21:54 |
mal | piggz: wondering if fp2 uses some advanced things in auto mode | 21:54 |
piggz | if you like, or scene detection | 21:54 |
r0kk3rz | ah automatic scene detection, yes that makes more sense | 21:56 |
mal | piggz: wondering if it's easy to find which settings were used when android took the picture | 21:58 |
r0kk3rz | exif data? | 21:59 |
mal | piggz: r0kk3rz heh, in automatic iso mode it used iso value of 10899 if the exif data is correct | 22:01 |
mal | so no wonder iso 400 looks dark | 22:01 |
r0kk3rz | thats a lot of isos | 22:03 |
mal | indeed | 22:03 |
rydare | ma i swear i've just been downloading linux isos! | 22:06 |
rydare | sorry | 22:06 |
rydare | this channel is for porting right? not for Sailfish X and official stuff | 22:06 |
mal | depends on the issue | 22:06 |
piggz | og, qtmultimedia build successul now | 22:07 |
rydare | I'm just wondering if there's any benefit to updating Android on my Xperia X past the minimum | 22:07 |
mal | is it really such a big issue to update it? | 22:08 |
mal | not sure if there is any benefit, wondering how the firmware partitions and such are updated | 22:09 |
r0kk3rz | some people have been mentioning modem issues | 22:13 |
r0kk3rz | so you might as well | 22:13 |
mal | yep | 22:14 |
mal | piggz: r0kk3rz I was also wondering if I should do some fixing of droid-camres now that gst-droid can read available stuff directly | 22:14 |
piggz | r0kk3rz: remove unnescessary stuff? | 22:15 |
piggz | s/mal | 22:15 |
mal | piggz: yes, and add new features, there was a wip iso value branch by abranson but that was never merged and that won't work anymore | 22:16 |
piggz | pgz-super-advanced-camere will have resultion and jpeg/raw selction :D | 22:17 |
mal | piggz: I have always found it odd to have nick or name in app name :P | 22:18 |
piggz | grouping/searching ;) | 22:19 |
mal | r0kk3rz: piggz hmm, the iso value in automatic mode is odd, GST_DEBUG lists manual values only up to 3200 | 22:20 |
mal | piggz: related to raw, fp2 lists picture-format-values = jpeg,bayer-mipi-10bggr,bayer-ideal-qcom-10bggr,bayer-qcom-10bggr,yuv422sp | 22:23 |
piggz | mal: more than mido ... i onle have 1 raw mode | 22:23 |
mal | this is the new fp2 camera | 22:23 |
mal | need to check the old one | 22:23 |
piggz | mal: thoughts about querying gst-droid for supported modes? probaby a good idea, not sure hoe much infrastructure is needed to do that yet though | 22:33 |
piggz | mal: also, its a shame in qml, that listelement values cant contain 'code' becuase, enum values are interpreted as code | 22:41 |
mal | piggz: hmm, pretty sure there is a better way to do that, like using repeater with a suitable model | 22:47 |
piggz | mal: ideally, generate at runtime by querying capabilities | 22:47 |
mal | piggz: sure but the qml doesn't support queries of those yet in 5.6, maybe a c++ model could help? | 22:48 |
piggz | mal, r0kk3rz, repos are up with 1)gst changes, 2)qtmultimedia changes 2)qt-camerabin changes and 4)gst-droid changes | 22:58 |
piggz | damn multi-layer stacks | 22:58 |
piggz | could have done it allwith a dbus interface direct to gst-droid ;) | 22:59 |
mal | :P | 23:00 |
T4 | <adampigg> (Photo, 1280x720) http://149.202.119.142:9090/310vyDEC1T.png | 23:20 |
piggz | mal: ^^ skecth and neon mode | 23:21 |
T4 | <adampigg> (Photo, 1280x720) http://149.202.119.142:9090/7kXtxFi8gV.png | 23:21 |
mal | nice | 23:23 |
piggz | mal: so, afaict, that is all using non-hacky methods | 23:24 |
mal | yes, looked reasonable, some small style issues but otherwise ok | 23:24 |
piggz | mal: all on either gitlib or github | 23:25 |
mal | yes, found those | 23:25 |
piggz | gr8 | 23:25 |
piggz | im off to sleep now | 23:25 |
mal | gn | 23:25 |
piggz | and will thing about more camera features | 23:25 |
piggz | white balance is needed | 23:25 |
piggz | and manual exposure | 23:25 |
mal | let's discuss tomorrow | 23:25 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!