Sunday, 2018-10-07

*** ChanServ sets mode: +v T405:46
b0n0when i was rebuilding sailfish i noticed this:  Is it safe to ignore?08:58
r0kk3rzprocess the patterns manually and make sure that works09:03
b0n0it's rpm/dhd/helpers/ command09:07
b0n0basically it ends the command and skips building all the packages09:08
b0n0btw i removed the whole tmp directory before building, but i think thats not the cause of the error09:10
r0kk3rzyeah theres a script under hybris/droid-config09:10
r0kk3rzrun that09:10
b0n0maybe i broke the target again :/09:12
r0kk3rzthats not in the target09:12
r0kk3rzyou do still have the tmp folder right?09:13
b0n0yes i have tmp/patterns09:13
b0n0ok i fixed it09:14
b0n0there was some garbage on process_patterns script :D09:15
r0kk3rzsome garbage?09:16
r0kk3rzfor example?09:17
b0n0didnt remove the ||09:18
b0n0anyway i restored it since modifyrepo line gets ignored09:18
r0kk3rzoh, this is you doing the wrong things09:18
b0n0yeeee exactly09:18
r0kk3rzjust install the android-tools-hadk package already09:19
b0n0in the target?09:20
r0kk3rzno, just in the sdk09:22
b0n0im at Build libhybris? [Y/n/all] line, do i have to restart the build?09:23
r0kk3rzid undo whatever script changes you've done and rebuild everything :P09:25
b0n0ive undone them, but i installed that package during the build process09:26
b0n0so, do i have to rebuild just for that?09:26
r0kk3rzi would09:28
NeKitjusa, do you sparsely remember audio distortion problem I had on MediaTek device? I managed to find source code for audio blob and added debug print to write function. It seems calls timings pattern is different between Android and PulseAudio:
NeKitAndroid posts one buffer, another in 22 msecs, then in 64 msecs and repeats, while PulseAudio did one, another in 3-4 msecs and third call was at least in 86 msecs09:56
NeKit - what is this condition for? If write took longer than threshold, sleep buffer_time? Commenting it out makes distortion disappear while delay between each call is about 40-46 msecs09:58
r0kk3rzif the buffer is too early delay it?10:12
NeKithm, but it happens after the delay in write happened10:15
r0kk3rzhmm i dont think thats a delay10:19
r0kk3rzit setting some timer poll though10:19
r0kk3rzoh ok, other way around, if buffer is late then delay the next poll10:20
NeKitthe thread sleeps after this by pa_rtpoll_run10:23
r0kk3rzyeah makes sense10:28
r0kk3rzimo delaying it by a whole buffer time seems a bit too much10:28
r0kk3rzsince the threshold is 5/6 buffer time10:29
b0n0ofono wants libglibutil >= 1.0.30 but zypper says the highest available is 1.0.29, so, how can i get the newest one? i tried zypper ref in sdk and target but it still says that 1.0.29 is the newest one10:29
r0kk3rzyou probably need to downgrade ofono10:30
b0n0last commit is from 11 september and im pretty sure last time i built sailfishos ofono got build (because ril works)10:32
b0n0so, maybe its in my setup10:33
r0kk3rzNeKit: maybe set sleept = write_time - threshold_time10:34
r0kk3rzb0n0: you'll want to unwind until before this
elros1b0no: on ofono is 1.21+git26 version10:41
b0n0to build with 1.0.29, but in the past i had 1.0.30 because ofono got built10:43
r0kk3rzor ofono pulled in changes10:46
b0n0cant i build an rpm of 1.0.30 and install it_10:47
r0kk3rzyou can10:48
r0kk3rzbut you already have enough problems dont you?10:49
Mister_Magistermonich: i have weird problem with ofono. at random moment my signal strength icon changes into flight mode icon. ofono/rild/sim are still working and i have signal cause i was able to send sms. restarting ofono or lipstick didnt help11:15
malMister_Magister: you probably should try to get logs from ofono logger11:19
Mister_Magistersure i know that just saying maybe he will have some idea meanwhuke im waiting for that bug to reappear11:19
Mister_Magisteralso mal that patch for oom seems to be fixing my random reboots. these two problems may connected or just be a correlation11:20
Mister_Magistercause it didnt happen before i fixed random reboots with fixing oom11:21
malMister_Magister: it's easy for oom to cause a reboot11:21
malif it happens to kill the wrong process11:21
Mister_Magisteryes thats what i thought too11:22
Mister_Magisterthat it maybe was killing wrong process cause there was no console-ramoops11:22
Mister_Magisteron moto x play there is console-ramoops so thats another problem11:22
maldid you verify it doesn't need the oom fix?11:23
Mister_Magisterminor detail that this patch you liked to had changes in 2 places and in x play kernel there is only one occurance11:23
Mister_Magisteron x play random reboot probaly comes from ofono but i need to see logs to say anything11:24
Mister_Magistermal: remember GPS shims problem?12:20
Mister_Magistermal: gps is working12:21
Mister_Magisterbut it doesnt show satelites12:21
Mister_Magisteri got gps icon aswell12:21
Mister_Magisteri  realised when i wanted to connect this phone to charget12:21
malhow did you fix it?12:22
Mister_Magistermal: did nothing12:22
malhave you tried to go outside to see if satellites will be shown12:22
Mister_Magistermal: last time i installed hybris with shims and put shim variable in config12:22
Mister_Magisterand left it there cause i forgot about it12:22
Mister_Magistermal: but it got signal and 0 satelites12:22
Mister_Magisteri mean it shows position and gps icon is visible12:23
Mister_Magisterits not flashing12:23
malare you sure you don't have cell tower location enabled?12:23
Mister_Magisteri switched it to device only mode now12:24
Mister_Magisterye thought about same12:24
Mister_Magisteraaaand it stopped working12:24
malit doesn't remove the old location if you do that12:24
Mister_Magisterit stoped updating location but gps icon is flashin12:25
malso maybe you only had the cell tower fix12:25
Mister_Magisterwait ill  go for a walk cause gps icon is flashing so maybe it works12:25
b0n0i installed new build. bluetooth and other things work but wifi not. fwpath contains 'sta'. if i run 'connmanctl enable wfi' i get 'Error wifi: Method "SetProperty" with signature "sv" on interface "net.connman.Technology" doesn't exist'12:39
malb0n0: so you used module or builtin?12:39
b0n0builtin. module doesnt get loaded12:40
malb0n0: but you said yesterday that module worked before12:40
b0n0before in 2.2.012:40
b0n0not in 2.2.1812:40
malb0n0: I said many times, go back to module12:41
mal2.2.1 just cannot break the module loading, it's impossible, you just did something other bad things to break everything12:41
b0n0i tried with module in this build as well and the error was the same i got with yesterday build12:41
malb0n0: how did you try it?12:42
malb0n0: you rebuilt hybris-hal and packages droid-hal rpms and installed those?12:42
Mister_Magistermal: no satelites on the horizont captain. it stopped searching when i restarted app and turned gps on and off12:42
malMister_Magister: so the android side is broken12:42
b0n0well, first build was with wifi module12:42
b0n0wifi builtin is a kernel apart12:42
Mister_Magistermal: will test that theory in a second12:43
Mister_Magisteri disabled 3 services12:43
malb0n0: I don't understand anymore what you mean12:43
Mister_Magister1 was useless (time_daemon) but not sure about other two12:43
NeKitlbt, please patternise nemo:devel:hw:xiaomi:hermes12:44
malb0n0: what do you mean first build?12:45
b0n0mal: today, when i built sailfish, i built wifi driver as module, and since it didnt get loaded, i rebuilt a hybris-boot with wlan driver as builtin. obviously i didnt delete systemd services or such, so, module was supposed to get loaded12:45
malit rare that builtin driver works12:45
malb0n0: you just need to figure out why the module stopped working, it cannot be because of sailfish version12:46
b0n0mal: on dmesg it says 'wlan: driver load failure' however, fwpath contains 'sta'. anyway still no interfaces are up12:46
malb0n0: stop thinking about builtin driver12:46
malyou have never had it working12:46
malso why would try now12:46
r0kk3rzits quite weird that modules would stop loading suddenly12:47
b0n0because fwpath contains sta12:47
b0n0as it should12:47
malb0n0: that tels nothing, you don't say anything about the whole path, or show any logs12:47
b0n0i will try to fix the module, then12:48
b0n0i can try 2.2.0 kernel12:48
b0n0and module12:48
malb0n0: what is the diffence in that kernel, did you change anything?12:49
b0n0not that i remember, but i can try the 2.2.0 one, so that if kernel is the problem i will get wifi12:49
malyou really should know if you did some changes to kernel12:49
b0n0i didnt, but at this point i dont know what to think about12:50
r0kk3rzi bet its that steeeve guy, he did some changes behind your back12:51
b0n0I AM STEEEVE12:51
r0kk3rzi know :P12:51
b0n0i have the same error with old kernel12:58
b0n0thats weird :/12:58
b0n0at this point kernel is not the problem12:59
malb0n0: why do you have so many different nicks or usernames?12:59
b0n0because steeeve was not registered, while b0n0 is13:00
Mister_Magisterb0n0: why didnt you register your previous nickname13:00
b0n0because b0n0 is better then steeeeeeeeeeeeeeeeeve13:01
r0kk3rzb0n0: when you say old kernel, what do you mean?13:03
Mister_Magisterb0n0: latest kernel im aware of is 4.1613:03
Mister_Magisteryou sure you have correct information?13:04
b0n0i meant the kernel i used in sailfish
b0n0which had wifi working13:04
b0n0are you sure that nothing about wifi got added?13:06
elros1this is funny, you talk about some error when loading kernel since yesterday. Increase log level, provide logs: dmesg, commands you use to load module (not systemd service)13:06
r0kk3rzb0n0: so you pulled your previous boot.img?13:07
b0n0yes old boot.img and wlan.ko13:07
Mister_Magistermal: wooohoo! i fixed gps on android!13:11
Mister_Magisterthere was same fix that is needed on moto g213:12
Mister_Magisterlets see if it works in sfos too13:12
malMister_Magister: which fix?13:17
Mister_Magisterdevice specific but it doesnt seem to help13:18
Mister_Magisternot connected to sfos since you said android side is broken13:18
malwell android side in sailfish13:18
Mister_Magisterdr_gogeta86: i still have no idea what you were talking about on twitter13:29
Mister_Magistermal: ill check services that i disabled13:29
Mister_Magistermeanwhile im going to make some spaghetti13:30
malMister_Magister: I thoughr it was clear that it couldn't load the lib13:30
Mister_Magistermal: there is no loading lib error13:31
Mister_Magisterat least when using gui app13:31
malso what is logs then13:34
malthere has to be some reason13:34
Mister_Magisteri showed you logs alread13:34
* Mister_Magister goes to make some spaghetti13:35
malMister_Magister: complete logs13:41
malMister_Magister: you expect me to search the log for those13:41
Mister_Magistermal: nah i dont13:42
b0n0i noticed that is dmesg there is a 'droid-hal-init: /init.qcom.rc: 778 invalid keyword '-iwlan0'' which comes from wpa_supplicant13:43
malhow would that affect module loading?13:44
b0n0i dont know13:45
b0n0but i cant exclude anything :D13:45
malcome on, that is not kernel level stuff13:45
malyou still haven't shown the complete dmesg from a boot with module loading13:46
b0n0right! ill post it13:47
malyou have other quite bad looking errors there, pulseaudio crashes and stuff13:58
b0n0theyre not a problem, audio works perfectly13:59
malI think you might have some timing issues13:59
malwhy do you say that?14:00
malpretty sure the reason you get the audio related errors is because it tries use the android side stuff before it's ready14:01
malb0n0: is there any difference if you start the wlan service only after boot is done, so mask the service and start after boot14:01
malb0n0: wouldn't be the first time when devices have timing issues14:02
b0n0i just tried that and it says could not insert wlan. operation not permitted14:02
r0kk3rzpoke around with modprobe and lsmod14:02
malb0n0: are you sure you disabled the service?14:03
b0n0i deleted it to be sure :P14:03
malas which user did you do that?14:06
maldid you run both commands from the service?14:06
b0n0yes, touch and modprobe14:06
b0n0if i use -f it says 'could not insert wlan. exec format error'14:07
malso your module is either wrong somehow or you have mismatch of kernel and module or you have the kernel with builtin driver in use14:09
r0kk3rzclean and rebuild hal14:10
maland make sure it has the driver as module before doing that14:10
elros1did you copy module to /lib/modules/`uname -r` and run depmod -a as I said yesterday?14:10
b0n0i didnt run depmod -a, and the kernel is not a version that differs from the module one14:12
malwhat does that mean "the kernel is not a version that differs from the module one" ?14:12
b0n0that kernel and wlan.ko got built together14:13
b0n0so it cant be a version mismatch14:13
malanything in dmesg when you get that error?14:15
malyou can't just copy a module without doing some other things also, just like elros1 said14:15
b0n0maybe i have to drop CONFIG_LOCALVERSION_14:15
b0n0mal: driver load failure14:16
malhow about you just do the rebuild of hybris-hal and then repackage droid-hal using -d and then install the rpms on the device and make sure you also flash the kernel14:17
malnot sure if you have configured your config repo to flash the kernel on droid-hal rpm reinstall14:18
b0n0i got that error even when i installed 2.2.18, so, it's not a module copy-paste problem14:18
malsorry but I don't trust that you are doing things correctly14:18
b0n0trust me, the zip contains kernel with module, so, if i get the same error there as well, the problem cant be the fact the i copy and paste wlan modules to test them14:20
r0kk3rzid still clean and rebuild hal, something is screwy14:21
b0n0i really think i should make builtin driver working before14:22
malyou don't just get exec format error without some reason14:22
b0n0in halium it used to work. I know that exec format error happens even  with version mismatches but its not my case14:23
b0n0and exec format error just happens when i use -f in modprobe14:23
malb0n0: just trust us, builtin driver is probably a lot more difficult than module, considering the firmware partitions are not available when kernel tries to load the builtin driver14:23
b0n0in halium i got only builtin driver to work14:23
b0n0and at least it loads :/14:24
r0kk3rzbuiltins can work, id still do a clean before you go rebuilding anything though14:25
malr0kk3rz: I think most qcom chips have had issues with builtin driver, at least used to have14:26
malb0n0: lineageos mounts filesystems in init14:27
malb0n0: where does halium mount filesystems?14:27
b0n0i think in systemd14:29
b0n0systemd services14:29
b0n0but i dont know what do you mean with where14:29
b0n0anyway with builtin i get magic version mismatch: '3.10.106-hybris should be SMP preempt mod_unload modeversions ARMv7' should be '3.10.106-hybris SMP preempt mod_unload ARMv7''14:29
malno idea what that means14:30
b0n0'3.10.106-hybris SMP preempt mod_unload modeversions ARMv7' should be '3.10.106-hybris SMP preempt mod_unload ARMv7' i meant14:30
malwhen do you get the mismatch? when doing what?14:31
b0n0ip link set wlan up14:31
b0n0but i think it happens everytime you manage to do something with wlan module14:31
malsomething is really wrong with your kernel build14:33
b0n0i can try to build halium kernel14:34
r0kk3rzhalium kernel? shouldnt they be the same14:34
b0n0yes, but i didnt update halium kernel for a while, so, it contains less changes14:35
b0n0or better, i will try to build the kernel inside their source and not with make hybris-hal14:35
r0kk3rzor check the commit its at and rewind your sailfish build to that version14:37
b0n0the kernel is the same i used in 2.2 build14:38
r0kk3rzyou keep contradicting yourself14:40
b0n0yes, i know, but i have to try everything since this problem is weird af14:40
r0kk3rzgit status and git log will tell you whether they are the same or not14:41
b0n0yes they are the same14:41
r0kk3rz'try everything' doesnt mean throw logic out the window14:42
b0n0but maybe in lineage sources there's something that causes this problem, so, if i build kernel from sources i will exclude that14:42
*** ChanServ sets mode: +v T417:23
piggzevening porters ... its DW time18:35
r0kk3rzbut ermagerd DW is a wimminz!18:36
piggzr0kk3rz: no spoilers, im 35 minutes behind!18:40
Mister_Magisterwhat is DW18:44
* tbr won't rush into the latest Doctor Who, still has a few episodes of the now "old" doctor18:44
malah, I also have some unwatched episodes18:46
Mister_Magisteri never had chance to watch doctor who only seen some random episodes18:47
Mister_Magisterno time to watch all of them18:47
r0kk3rzpiggz: its ok, fairly on par with all the other recent ones really18:48
tbrif you ever feel like jumping in, you can start with Chrisc Ecclestone. That's what's referred to as "new" doctor who.18:48
Mister_Magisteri wont remember that tho18:49
Mister_Magisterbut thanks18:49
tbrit will take me years to catch up on the decades of "old doctor who"18:49
tbrI think I'm still stuck with Marco Polo (audio only, video was lost)18:49
malI haven't seen the old ones18:49
Mister_Magisteri have too many animu to watch to watch doctor who18:49
* Mister_Magister is also drunk after 1 beer18:50
* Mister_Magister actually drinks beer way too fast18:50
tbrfeatherweight ;)18:50
r0kk3rztheres not much of a long overarching story, so you can jump in basically whenever18:50
Mister_Magistercause i dont drink alcohol often18:50
Mister_Magisterwhen i was at 18 birthday of my brother i drink 2 beers before drinknig tons of vodka with his friends that didnt drink anything up untill now boi it was awesome18:51
tbrr0kk3rz: well, river song and soufle-girl won't make much sense out of context, but those shouldn't occur now anymore18:51
Mister_Magisterr0kk3rz: i believe there are arcs18:51
r0kk3rzMister_Magister: really, you're going to tell me about a show you have just said you've never watched :P18:52
Mister_Magisterr0kk3rz: what do you mean18:52
r0kk3rzi grew up with doctor who, ive watched all there is to watch :P18:53
Mister_Magisterheh but what do you mean18:53
Mister_Magisteri wasnt talking about doctor who18:53
r0kk3rzthen what were you talking about?18:53
r0kk3rznevermind drunk-off-one-beer magister18:54
Mister_Magisterr0kk3rz: or where?18:54
Mister_Magisteryou mean arcs?18:54
Mister_Magisteri mean in every long series there are arcs so if i jumped in in the middle of an arc it would be weird18:55
Mister_Magistermy pc freezes when i try to start vm second time hmm18:56
T4<meierrom> Since all masters are around. I have the following question. What os/distribution are you using?19:01
tbr.oO(/nick Missy)19:01
piggzr0kk3rz: daughter thinks the alien is a flying spagetti monster19:01
r0kk3rzpiggz: i thought the same19:02
Mister_Magistero o o opensuse19:04
* Mister_Magister hughs his geeko plushie19:04
Mister_Magisterpiggz: lol19:04
T4<meierrom> Mal, r0kk3rz, piggz: os/distribution?19:08
r0kk3rztemple os19:09
piggzopensuse tumbleweed19:09
piggzr0kk3rz: :D19:09
Mister_Magisterpiggz: seriously?19:09
Mister_Magistermy boi19:09
Mister_Magisterr0kk3rz:  OH SHITXD19:09
piggzr0kk3rz: you know its out of support dont you?!19:09
r0kk3rzyeah, whats his name died, real shame19:10
Mister_Magisteryee he was good boi19:10
piggzyeah, he wasnt very well, shame19:10
Mister_MagisterSHAME SHAME19:10
T4<meierrom> Glad I asked. Would have gone for debian. I guess I go for opensuse then. Mal?19:22
r0kk3rz@meierrom use debian if you want19:22
Mister_Magister@meierrom opensuse is simple af too and better than debian19:23
b0n0gentoo is the best19:25
Mister_Magisterye mal is on the wrong side of the force19:25
Mister_Magisterb0n0: install gentoo ofc19:25
Mister_Magisterand btw i use arch is missing19:25
malthe host linux distro doesn't matter for development19:25
b0n0i have gentoo, thats why i say its the best xD19:25
T4<meierrom> Thanks guys!19:26
piggzgeez, we;re not getting into distro wars are we?19:29
Mister_Magisterpiggz: nobody is fighting what you are talking about19:29
malpiggz: distro is quite irrelevant in my opinion19:29
piggzthis is best , that is best...19:30
piggzmal: agreed19:30
b0n0now wlan works, it always worked, i dont know why it got broken, i just had to reflash hybris-boot  in the zip  after flashing sailfish zip, or maybe it was something else like lineage or multirom setup since now im not using it19:30
malubuntu is crap in certain ways but I'm too lazy to change, mostly the way the UI has changed is bad19:30
r0kk3rzall distros are crap in certain ways :)19:31
malb0n0: so we were correct that you had a kernel mismatch19:31
Mister_Magistermal: plasma for the win19:31
Mister_Magisterin ubuntu they changed gui to gnome19:31
malubuntu got much worse in 18.04, mostly because of gnome19:32
Mister_Magistermal: plasma ftw19:32
b0n0mal: honestly i dont know. i think the cause was multirom 'inject boot sector', since that caused 2.2.0 not to booting and i had to reflash his hybris-boot to make it boot. therefore i used the same approach with 2.2.1 and voila, got wifi :D19:33
r0kk3rzb0n0: good you solved it, because that was weird19:33
malif we knew you were using multirom we might have figured that out earlier19:33
b0n0yes, it's still weird since i dont know what was the cause19:34
b0n0mal: :P19:34
b0n0im not sure multirom was the cause, it's just something to try to explain what was the cause of that19:35
b0n0_mal: now, without gst-omx and i get color distortion and browser crashes what about that quirk?19:50
b0n0_aww yeah, thats what i was lookin for, thanks :D20:00
*** Piece_Maker is now known as Acou_Bass20:01
malb0n0_: depending on your device you might need also additional quirks but hopefully that is enough20:03
b0n0_we'll see20:09
* b0n0_ is rebooting20:09
b0n0_that quirk worked, esketittt20:14
malnow remember to add it to your config repo20:15
r0kk3rzand say thanks to piggz20:19
piggzi accept red wine tokens20:19
piggzwas thinking, i never added a (c) line to gst-droid20:21
b0n0_thank you piggz20:21
b0n0_i love you20:21
malpiggz: I have added that to very few places I have contributed20:22
piggzmal: i definitiely want my name all over the fact peoples devices play video ;)20:24
malpiggz: for example I didn't seem to add (c) to droidmedia even though I have added support for android 6 and 8 bases20:28
piggzmal: you should...we generally do that in Kexi20:28
piggzit shows whos worked on the project20:29
malgit log is for that :)20:29
b0n0_anyway why is gst omx deprecated?20:29
r0kk3rztoo hard to maintain i think20:30
ghosalmartinshame only thing worked with bullhead20:31
b0n0_aww rip20:32
malghosalmartin: are you sure the latest droidmedia doesn't work?20:33
ghosalmartinand Mister_Magister gonna have to halt any owrk on huawei p9. lineageos isnt ready for it20:33
b0n0_but it gets updated, so, maintaining it shouldnt be a problrm20:34
ghosalmartinmal: yeah i tried it when abranson said and thought it fixed it but i accidently sshed into my x not my bullhead to uninstall omx. when i removed omx it broke videos20:34
malghosalmartin: which quirks did you try?20:34
ghosalmartinmal: quirks? didnt try any tbh. just compiled and deployed20:34
b0n0_so, that 2 lines quirk is better than gst omx package?20:35
r0kk3rzb0n0_: we dont use it straight for source20:35
malghosalmartin: ok, depends on what the problem is (I assume it failed on both browser and gallery)20:35
ghosalmartinmal: most likely, i need to dig it up20:35
ghosalmartinmal: if I wanted a disable fake sensors flag for droidmedia would I just add it as a quirk?20:38
malghosalmartin: hmm, why do you need to disable it?20:38
ghosalmartinmal: for bullhead its required. it was why the camera didnt work for the longest time20:39
ghosalmartinand had to run sensorservice as well20:39
ghosalmartinbut after that it all just magically worked20:39
ghosalmartinmal: ohh btw for the ROME chipset drivers stuff, basically I'd need to backport a ton of changes from mainline on my kernel to make it work. halfway through some of it20:47
malghosalmartin: does your device have lineage-15.1?20:48
ghosalmartinmal: yes bullhead does20:48
malghosalmartin: we have an optional method in works for 15.120:48
malbasically adding a process that communicates between bluez and android side20:49
ghosalmartinusing binder?20:49
ghosalmartinif you've seen rick and morty sailfishos now reminds me of this
ghosalmartinsailfishos is the is the roach :P20:51
ghosalmartinmal: yeah video doesnt work in gallery or browser20:54
malpiggz: was the color quirk only needed for browser?20:56
piggzmal: yes20:57
malghosalmartin: ok, so we still need to figure out why it fails only on that device20:57
ghosalmartinmal: which bit, the video playing or the camera?20:57
malvideo playback20:58
malof course why camera needs the real sensor service is interesting20:58
ghosalmartini bet its to do with image stabilizatoin20:58
malcould be21:01
ghosalmartinbtw QPA_HWC_BUFFER_COUNT=3 QPA_HWC_IDLE_TIME=5 worked very well for bullhead as well21:04
ghosalmartinit always had some stuttering which seemed improved by those two flags21:04
ghosalmartinbut still not focus or flash ability in cam. ah wells21:08
malghosalmartin: hmm, you have the correct things on jolla-camera-hw.txt? and in gst conf files (not used anymore in latest gst-droid)21:10
ghosalmartinmal, yeah just saw you deleted them in your config repo for fairphone21:10
ghosalmartinand not sure atm21:10
malghosalmartin: some devices have issues with camera hal3, many parameters are missing from GST_DEBUG parameter list21:12
malghosalmartin: you could grab the parameters now using GST_DEBUG=6 mk-cam-conf 0 /dev/null 2>&1 | grep params_parse | sed -e 's/.*param\s//' | sort -u21:13
malghosalmartin: and then rebuild droidmedia with force hal 1 and check again, even without rebuild I can check the params to see if things are missing21:14
ghosalmartinmal: my jolla-camera-hw was named jolla-camera *sigh* autofocus is now working.21:15
ghosalmartinflash is the next step21:15
malghosalmartin: the are both jolla-camera and jolla-camera-hw21:15
ghosalmartinwhen I renamed the file to jolla-camera-hw it worked though?21:16
malghosalmartin: just to be sure add that also21:18
ghosalmartinmal: i think the two files are now identical21:19
malit shouldn't be like that21:19
ghosalmartinthat I have on device. yeah I think the -hw is wrong21:19
malghosalmartin: install droid-camres and run it21:20
ghosalmartinmal: lots of things outputed21:20
malghosalmartin: and with -w jolla-camera-hw.txt to get the conf21:21
malthen move the file to correct place and run "touch /etc/dconf/db/vendor.d/" and dconf update21:21
ghosalmartinmal: well flash entries show but dont work21:24
malghosalmartin: could you pastebin the output of the command I gave earlier to get the camera params21:24
malthe GST_DEBUG stuff21:24
malghosalmartin: how new build is that?21:26
ghosalmartinmal: few weeks?21:26
malghosalmartin: ok, so you have the same issue that some other devices have, you'll have to force HAL1 for now21:27
malalthough it shouldn't affect flash21:27
maljust iso values and stuff21:27
ghosalmartinhmm iso values seems to work fine?21:29
ghosalmartini tell a lie thats the white balance21:29
mallike I said the issue is no big until you update droidmedia and gst-droid, then it might be a problem21:31
ghosalmartinokays ill do a fresh build and force HAL121:32
piggzmal: initial work..21:32
malpiggz: ?21:32
piggzthats better!21:32
piggzeffect model works21:33
piggzexposure doesnt, need to fix gst camerabin plugin21:33
ghosalmartinahh i just removed a 4 year old screen protector from this phone. it looks sooo much better21:34
piggzand im away, get me at @adampigg!21:34
malpiggz: ok, that requires the new stuff, need to test later21:35
malghosalmartin: I have the screen protector on jolla c, it's so bad already that maybe I should remove it21:35
ghosalmartini put a fresh one on and the phone isntantly felt 100 times better. the protector was all rough and scratched, but it worked well the screen was still brand new21:36
ghosalmartinmal: I wonder how hard it would be to migrate to Android 8 now. I already have the codebase cloned for 2 other devices21:37
malghosalmartin: mostly not difficult I think21:39
ghosalmartinhas hwcomposer been fixed or still working off surfaceflinger?21:40
malsurfaceflinger currently21:41
ghosalmartinis there really any advantages for us to moving to hwcomposer if surfaceflinger provides our needs? aside from being tied closer to android21:41
mal@adampigg exposure has some issues because you have incorrect code21:41
T4<adampigg> Mal, ah21:43
mal@adampigg you have for example filters used in exposureName function21:44
ghosalmartinmal: have you seen black bar where the camera button is after adding correct jolla-camera-hw.txt?21:45
T4<adampigg> Mal,.yeah,.i see that!21:45
T4<adampigg> Mal, tho,.i should still get a model full of Unknown21:46
mal@adampigg I only get an empty exposure list, but effects work fine which is nice21:47
T4<adampigg> Mal,.yes same here21:48
mal@adampigg maybe because I don't have the changes you did in use in qtmultimedia and gst-droid21:48
T4<adampigg> Also, i have some ui ideas21:48
T4<adampigg> No, i dont think qt passes it that far down the stack (yet!)21:49
mal@adampigg, yep, after disabling the support check it seems ok21:50
T4<adampigg> Yes, ive found the faulty code already21:53
malnice start anyway, let's make that a usable app21:54
T4<adampigg> Yup, progress tomorrow21:57
ghosalmartinmal: well latest gstreamer seem to of fixed camera flash and focus. thanks :)22:05
ghosalmartinbut still not video playback22:06
malghosalmartin: ok, grab GST_DEBUG=droidvdec:6 jolla-gallery when you try to play a video22:19
ghosalmartinhmm seem to of broken the autofocus agian. wonder what i did :P22:20
ghosalmartinmal how is jolla-camera.txt generated? i need that for autofocus it seems22:21
ghosalmartinalso the video player issue [W] unknown:0 - Warning: "No decoder available for type 'video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3.1, profile=(string)baseline, codec_data=(buffer)0142801fffe100116742801fda014016e9b8283028368509a801000468ce06e2, width=(int)1280, height=(int)720, framerate=(fraction)30000/1001, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progr22:21
ghosalmartinessive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true'."22:21
ghosalmartinam guessing I need to update the associations or update codecs?22:22
ghosalmartin ?22:22
malghosalmartin: that file looks wrong for gst-droid usage22:24
malghosalmartin: I think you disabled everything when you used gst-omx?22:24
ghosalmartinmal: feels like it22:24
malghosalmartin: so remove that file and try again22:25
ghosalmartinno dice22:27
malstill same message?22:27
malghosalmartin: jolla-camera.txt comes from jolla-camera package I think, or somewhere from jolla packages anyway22:28
ghosalmartinlemme try removing registry file22:28
ghosalmartinmal: ahh fair enough so itll regenerate itself22:28
malghosalmartin: not 100% sure but it's not in any adaptation repo22:28
ghosalmartinmal: as always you are correct :) did a reinstall and it appeared22:29
ghosalmartinmal: also removing the registery file fixed the video playing22:31
malboth in gallery and browser?22:32
ghosalmartinyep :)22:32
malmagic :)22:32
ghosalmartinand that file disabling eveyrthing22:32
ghosalmartinmal: have you seen this behaviour with camera, if i open it it doesnt focus manually very well. but if i minimize it and come back it focuses perfectly22:45
malcan't remember hearing about that kind of issue22:45
ghosalmartinoh btw the black bar thing earlier was because I set the camera to 12mp 4:322:47
malghosalmartin: ah, of course 4:3 has black bars22:48
ghosalmartini take it i cant take 12megapixel 16:9 images22:48
ghosalmartinor does the file need tweaking for that22:48
malghosalmartin: the available resolutions are here
ghosalmartinahh I see. time to hax around till i break it :P22:50
malghosalmartin: those values come from droid-camres which reads the largest values available in android parameters22:50
malghosalmartin: so you shouldn't change those22:51
ghosalmartinmal: ahh fair enough then, if its all I can squeez out ill take it22:51
malghosalmartin: are the resolutions correct for the device?22:52
ghosalmartinmal: i honestly dont know. never spent much time in android22:53
malghosalmartin: seems correct, according to specs it has 12 MPix camera, sometimes 16:9 is not using exactly all pixels22:53
malghosalmartin: as you can see 16:9 has a bit smaller width but still quite reasonable value22:55
ghosalmartinindeed, ive never been into photography much so all I know is bigger number == better which obviously is pretty flawed :P22:56
malI also take pictures very rarely, I probably take many times more test pictures during porting than normal pictures22:57
ghosalmartinthats pretty accurate for me. not too big on the selfies :P22:58
malI never take selfies22:59
ghosalmartintoo much hassle :P anyways on that note time for some sleep. thanks :)23:04

Generated by 2.17.1 by Marius Gedminas - find it at!