*** ChanServ sets mode: +v T4 | 05:46 | |
b0n0 | when i was rebuilding sailfish i noticed this: https://paste.pound-python.org/show/WaLlIpYlqEZbhbAbq53V/ Is it safe to ignore? | 08:58 |
---|---|---|
r0kk3rz | process the patterns manually and make sure that works | 09:03 |
b0n0 | it's rpm/dhd/helpers/build_packages.sh command | 09:07 |
r0kk3rz | obviously | 09:08 |
b0n0 | basically it ends the command and skips building all the packages | 09:08 |
b0n0 | btw i removed the whole tmp directory before building, but i think thats not the cause of the error | 09:10 |
r0kk3rz | yeah theres a process_patterns.sh script under hybris/droid-config | 09:10 |
r0kk3rz | run that | 09:10 |
b0n0 | ok | 09:10 |
b0n0 | https://paste.pound-python.org/show/lpu8U3nqTjg9Dhncq28D/ | 09:11 |
b0n0 | maybe i broke the target again :/ | 09:12 |
r0kk3rz | thats not in the target | 09:12 |
b0n0 | aww | 09:12 |
r0kk3rz | you do still have the tmp folder right? | 09:13 |
b0n0 | yes i have tmp/patterns | 09:13 |
b0n0 | .xml | 09:13 |
b0n0 | ok i fixed it | 09:14 |
b0n0 | there was some garbage on process_patterns script :D | 09:15 |
r0kk3rz | some garbage? | 09:16 |
b0n0 | yeee | 09:16 |
r0kk3rz | for example? | 09:17 |
b0n0 | thiz: https://paste.pound-python.org/show/KwCMu7iryqI8ydb1244X/ | 09:18 |
b0n0 | didnt remove the || | 09:18 |
b0n0 | anyway i restored it since modifyrepo line gets ignored | 09:18 |
r0kk3rz | oh, this is you doing the wrong things | 09:18 |
r0kk3rz | surprise | 09:18 |
b0n0 | yeeee exactly | 09:18 |
r0kk3rz | just install the android-tools-hadk package already | 09:19 |
b0n0 | in the target? | 09:20 |
r0kk3rz | no, just in the sdk | 09:22 |
b0n0 | ok | 09:22 |
b0n0 | im at Build libhybris? [Y/n/all] line, do i have to restart the build? | 09:23 |
r0kk3rz | id undo whatever script changes you've done and rebuild everything :P | 09:25 |
b0n0 | ive undone them, but i installed that package during the build process | 09:26 |
b0n0 | so, do i have to rebuild just for that? | 09:26 |
r0kk3rz | i would | 09:28 |
b0n0 | aww | 09:30 |
NeKit | jusa, 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: https://bpaste.net/show/6d09d6891190 | 09:55 |
NeKit | Android 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 msecs | 09:56 |
NeKit | https://github.com/mer-hybris/pulseaudio-modules-droid/blob/master/src/droid/droid-sink.c#L392 - 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 msecs | 09:58 |
r0kk3rz | if the buffer is too early delay it? | 10:12 |
NeKit | hm, but it happens after the delay in write happened | 10:15 |
r0kk3rz | hmm i dont think thats a delay | 10:19 |
r0kk3rz | it setting some timer poll though | 10:19 |
r0kk3rz | oh ok, other way around, if buffer is late then delay the next poll | 10:20 |
NeKit | the thread sleeps after this by pa_rtpoll_run | 10:23 |
r0kk3rz | yeah makes sense | 10:28 |
r0kk3rz | imo delaying it by a whole buffer time seems a bit too much | 10:28 |
r0kk3rz | since the threshold is 5/6 buffer time | 10:29 |
b0n0 | ofono 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 one | 10:29 |
r0kk3rz | you probably need to downgrade ofono | 10:30 |
b0n0 | last commit is from 11 september and im pretty sure last time i built sailfishos ofono got build (because ril works) | 10:32 |
b0n0 | so, maybe its in my setup | 10:33 |
r0kk3rz | NeKit: maybe set sleept = write_time - threshold_time | 10:34 |
r0kk3rz | b0n0: you'll want to unwind until before this https://git.merproject.org/mer-core/ofono/commit/80921e8b7ec1b7f42871dd61d365a54aec39bdba | 10:41 |
elros1 | b0no: on 2.2.1.18 ofono is 1.21+git26 version | 10:41 |
b0n0 | to build with 1.0.29, but in the past i had 1.0.30 because ofono got built | 10:43 |
r0kk3rz | or ofono pulled in changes | 10:46 |
b0n0 | hmm | 10:47 |
b0n0 | cant i build an rpm of 1.0.30 and install it_ | 10:47 |
b0n0 | ? | 10:47 |
r0kk3rz | you can | 10:48 |
b0n0 | how? | 10:49 |
r0kk3rz | but you already have enough problems dont you? | 10:49 |
b0n0 | yes | 10:49 |
Mister_Magister | monich: 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 help | 11:15 |
mal | Mister_Magister: you probably should try to get logs from ofono logger | 11:19 |
Mister_Magister | sure i know that just saying maybe he will have some idea meanwhuke im waiting for that bug to reappear | 11:19 |
Mister_Magister | also mal that patch for oom seems to be fixing my random reboots. these two problems may connected or just be a correlation | 11:20 |
Mister_Magister | cause it didnt happen before i fixed random reboots with fixing oom | 11:21 |
mal | Mister_Magister: it's easy for oom to cause a reboot | 11:21 |
mal | if it happens to kill the wrong process | 11:21 |
Mister_Magister | yes thats what i thought too | 11:22 |
Mister_Magister | that it maybe was killing wrong process cause there was no console-ramoops | 11:22 |
Mister_Magister | on moto x play there is console-ramoops so thats another problem | 11:22 |
mal | did you verify it doesn't need the oom fix? | 11:23 |
Mister_Magister | yes | 11:23 |
Mister_Magister | minor detail that this patch you liked to had changes in 2 places and in x play kernel there is only one occurance | 11:23 |
Mister_Magister | on x play random reboot probaly comes from ofono but i need to see logs to say anything | 11:24 |
Mister_Magister | mal: remember GPS shims problem? | 12:20 |
mal | yes | 12:20 |
Mister_Magister | mal: gps is working | 12:21 |
Mister_Magister | but it doesnt show satelites | 12:21 |
Mister_Magister | i got gps icon aswell | 12:21 |
Mister_Magister | i realised when i wanted to connect this phone to charget | 12:21 |
mal | how did you fix it? | 12:22 |
Mister_Magister | mal: did nothing | 12:22 |
mal | have you tried to go outside to see if satellites will be shown | 12:22 |
Mister_Magister | mal: last time i installed hybris with shims and put shim variable in config | 12:22 |
Mister_Magister | and left it there cause i forgot about it | 12:22 |
Mister_Magister | mal: but it got signal and 0 satelites | 12:22 |
mal | ? | 12:23 |
mal | signal? | 12:23 |
Mister_Magister | i mean it shows position and gps icon is visible | 12:23 |
Mister_Magister | its not flashing | 12:23 |
mal | are you sure you don't have cell tower location enabled? | 12:23 |
Mister_Magister | i switched it to device only mode now | 12:24 |
Mister_Magister | ye thought about same | 12:24 |
Mister_Magister | aaaand it stopped working | 12:24 |
mal | it doesn't remove the old location if you do that | 12:24 |
Mister_Magister | it stoped updating location but gps icon is flashin | 12:25 |
mal | so maybe you only had the cell tower fix | 12:25 |
Mister_Magister | yes | 12:25 |
Mister_Magister | wait ill go for a walk cause gps icon is flashing so maybe it works | 12:25 |
b0n0 | i 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 |
mal | b0n0: so you used module or builtin? | 12:39 |
b0n0 | builtin. module doesnt get loaded | 12:40 |
mal | b0n0: but you said yesterday that module worked before | 12:40 |
b0n0 | before in 2.2.0 | 12:40 |
b0n0 | not in 2.2.18 | 12:40 |
mal | b0n0: I said many times, go back to module | 12:41 |
mal | 2.2.1 just cannot break the module loading, it's impossible, you just did something other bad things to break everything | 12:41 |
b0n0 | i tried with module in this build as well and the error was the same i got with yesterday build | 12:41 |
mal | b0n0: how did you try it? | 12:42 |
mal | b0n0: you rebuilt hybris-hal and packages droid-hal rpms and installed those? | 12:42 |
Mister_Magister | mal: no satelites on the horizont captain. it stopped searching when i restarted app and turned gps on and off | 12:42 |
mal | *packaged | 12:42 |
mal | Mister_Magister: so the android side is broken | 12:42 |
b0n0 | well, first build was with wifi module | 12:42 |
b0n0 | wifi builtin is a kernel apart | 12:42 |
Mister_Magister | mal: will test that theory in a second | 12:43 |
Mister_Magister | i disabled 3 services | 12:43 |
mal | b0n0: I don't understand anymore what you mean | 12:43 |
Mister_Magister | 1 was useless (time_daemon) but not sure about other two | 12:43 |
NeKit | lbt, please patternise nemo:devel:hw:xiaomi:hermes | 12:44 |
mal | b0n0: what do you mean first build? | 12:45 |
b0n0 | mal: 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 loaded | 12:45 |
mal | it rare that builtin driver works | 12:45 |
mal | b0n0: you just need to figure out why the module stopped working, it cannot be because of sailfish version | 12:46 |
b0n0 | mal: on dmesg it says 'wlan: driver load failure' however, fwpath contains 'sta'. anyway still no interfaces are up | 12:46 |
mal | b0n0: stop thinking about builtin driver | 12:46 |
b0n0 | ok... | 12:46 |
mal | you have never had it working | 12:46 |
mal | so why would try now | 12:46 |
r0kk3rz | its quite weird that modules would stop loading suddenly | 12:47 |
b0n0 | because fwpath contains sta | 12:47 |
b0n0 | as it should | 12:47 |
mal | b0n0: that tels nothing, you don't say anything about the whole path, or show any logs | 12:47 |
b0n0 | i will try to fix the module, then | 12:48 |
b0n0 | i can try 2.2.0 kernel | 12:48 |
b0n0 | and module | 12:48 |
mal | b0n0: what is the diffence in that kernel, did you change anything? | 12:49 |
b0n0 | not that i remember, but i can try the 2.2.0 one, so that if kernel is the problem i will get wifi | 12:49 |
mal | you really should know if you did some changes to kernel | 12:49 |
b0n0 | i didnt, but at this point i dont know what to think about | 12:50 |
r0kk3rz | i bet its that steeeve guy, he did some changes behind your back | 12:51 |
b0n0 | I AM STEEEVE | 12:51 |
r0kk3rz | i know :P | 12:51 |
b0n0 | xD | 12:51 |
b0n0 | i have the same error with old kernel | 12:58 |
b0n0 | thats weird :/ | 12:58 |
b0n0 | at this point kernel is not the problem | 12:59 |
mal | b0n0: why do you have so many different nicks or usernames? | 12:59 |
b0n0 | because steeeve was not registered, while b0n0 is | 13:00 |
Mister_Magister | b0n0: why didnt you register your previous nickname | 13:00 |
b0n0 | because b0n0 is better then steeeeeeeeeeeeeeeeeve | 13:01 |
r0kk3rz | b0n0: when you say old kernel, what do you mean? | 13:03 |
b0n0 | 2.2.0.29 | 13:03 |
Mister_Magister | b0n0: latest kernel im aware of is 4.16 | 13:03 |
Mister_Magister | you sure you have correct information? | 13:04 |
b0n0 | i meant the kernel i used in sailfish 2.2.0.29 | 13:04 |
b0n0 | which had wifi working | 13:04 |
b0n0 | are you sure that nothing about wifi got added? | 13:06 |
elros1 | this 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 |
r0kk3rz | b0n0: so you pulled your previous boot.img? | 13:07 |
b0n0 | yes old boot.img and wlan.ko | 13:07 |
Mister_Magister | mal: wooohoo! i fixed gps on android! | 13:11 |
Mister_Magister | there was same fix that is needed on moto g2 | 13:12 |
Mister_Magister | lets see if it works in sfos too | 13:12 |
mal | Mister_Magister: which fix? | 13:17 |
Mister_Magister | device specific but it doesnt seem to help | 13:18 |
Mister_Magister | not connected to sfos since you said android side is broken | 13:18 |
dr_gogeta86 | hi | 13:18 |
mal | well android side in sailfish | 13:18 |
Mister_Magister | dr_gogeta86: i still have no idea what you were talking about on twitter | 13:29 |
Mister_Magister | mal: ill check services that i disabled | 13:29 |
Mister_Magister | meanwhile im going to make some spaghetti | 13:30 |
mal | Mister_Magister: I thoughr it was clear that it couldn't load the lib | 13:30 |
Mister_Magister | mal: there is no loading lib error | 13:31 |
Mister_Magister | at least when using gui app | 13:31 |
mal | so what is logs then | 13:34 |
mal | there has to be some reason | 13:34 |
Mister_Magister | i showed you logs alread | 13:34 |
* Mister_Magister goes to make some spaghetti | 13:35 | |
mal | Mister_Magister: complete logs | 13:41 |
mal | Mister_Magister: you expect me to search the log for those | 13:41 |
Mister_Magister | mal: nah i dont | 13:42 |
b0n0 | i noticed that is dmesg there is a 'droid-hal-init: /init.qcom.rc: 778 invalid keyword '-iwlan0'' which comes from wpa_supplicant | 13:43 |
b0n0 | ...service | 13:44 |
mal | how would that affect module loading? | 13:44 |
b0n0 | i dont know | 13:45 |
b0n0 | but i cant exclude anything :D | 13:45 |
mal | come on, that is not kernel level stuff | 13:45 |
mal | you still haven't shown the complete dmesg from a boot with module loading | 13:46 |
b0n0 | right! ill post it | 13:47 |
b0n0 | https://paste.pound-python.org/raw/Tzh2noGGcOtCJzFTf2PR/ | 13:50 |
mal | you have other quite bad looking errors there, pulseaudio crashes and stuff | 13:58 |
b0n0 | theyre not a problem, audio works perfectly | 13:59 |
mal | I think you might have some timing issues | 13:59 |
b0n0 | nah | 14:00 |
mal | why do you say that? | 14:00 |
mal | pretty sure the reason you get the audio related errors is because it tries use the android side stuff before it's ready | 14:01 |
mal | b0n0: is there any difference if you start the wlan service only after boot is done, so mask the service and start after boot | 14:01 |
mal | b0n0: wouldn't be the first time when devices have timing issues | 14:02 |
b0n0 | i just tried that and it says could not insert wlan. operation not permitted | 14:02 |
r0kk3rz | poke around with modprobe and lsmod | 14:02 |
mal | b0n0: are you sure you disabled the service? | 14:03 |
b0n0 | yes | 14:03 |
b0n0 | i deleted it to be sure :P | 14:03 |
mal | as which user did you do that? | 14:06 |
mal | did you run both commands from the service? | 14:06 |
b0n0 | root | 14:06 |
b0n0 | yes, touch and modprobe | 14:06 |
b0n0 | if i use -f it says 'could not insert wlan. exec format error' | 14:07 |
mal | so your module is either wrong somehow or you have mismatch of kernel and module or you have the kernel with builtin driver in use | 14:09 |
r0kk3rz | clean and rebuild hal | 14:10 |
mal | and make sure it has the driver as module before doing that | 14:10 |
elros1 | did you copy module to /lib/modules/`uname -r` and run depmod -a as I said yesterday? | 14:10 |
b0n0 | i didnt run depmod -a, and the kernel is not a version that differs from the module one | 14:12 |
mal | what does that mean "the kernel is not a version that differs from the module one" ? | 14:12 |
b0n0 | that kernel and wlan.ko got built together | 14:13 |
b0n0 | so it cant be a version mismatch | 14:13 |
mal | anything in dmesg when you get that error? | 14:15 |
mal | you can't just copy a module without doing some other things also, just like elros1 said | 14:15 |
b0n0 | maybe i have to drop CONFIG_LOCALVERSION_ | 14:15 |
b0n0 | mal: driver load failure | 14:16 |
mal | how about you just do the rebuild of hybris-hal and then repackage droid-hal using build_packages.sh -d and then install the rpms on the device and make sure you also flash the kernel | 14:17 |
mal | not sure if you have configured your config repo to flash the kernel on droid-hal rpm reinstall | 14:18 |
b0n0 | i got that error even when i installed 2.2.18, so, it's not a module copy-paste problem | 14:18 |
mal | sorry but I don't trust that you are doing things correctly | 14:18 |
b0n0 | trust 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 them | 14:20 |
r0kk3rz | id still clean and rebuild hal, something is screwy | 14:21 |
b0n0 | i really think i should make builtin driver working before | 14:22 |
mal | you don't just get exec format error without some reason | 14:22 |
b0n0 | in halium it used to work. I know that exec format error happens even with version mismatches but its not my case | 14:23 |
b0n0 | and exec format error just happens when i use -f in modprobe | 14:23 |
mal | b0n0: 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 driver | 14:23 |
b0n0 | in halium i got only builtin driver to work | 14:23 |
b0n0 | and at least it loads :/ | 14:24 |
r0kk3rz | builtins can work, id still do a clean before you go rebuilding anything though | 14:25 |
mal | r0kk3rz: I think most qcom chips have had issues with builtin driver, at least used to have | 14:26 |
mal | b0n0: lineageos mounts filesystems in init | 14:27 |
mal | afaik | 14:27 |
mal | b0n0: where does halium mount filesystems? | 14:27 |
b0n0 | i think in systemd | 14:29 |
b0n0 | systemd services | 14:29 |
b0n0 | but i dont know what do you mean with where | 14:29 |
b0n0 | anyway 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 |
mal | no idea what that means | 14:30 |
b0n0 | '3.10.106-hybris SMP preempt mod_unload modeversions ARMv7' should be '3.10.106-hybris SMP preempt mod_unload ARMv7' i meant | 14:30 |
b0n0 | hmm | 14:30 |
mal | when do you get the mismatch? when doing what? | 14:31 |
b0n0 | ip link set wlan up | 14:31 |
b0n0 | but i think it happens everytime you manage to do something with wlan module | 14:31 |
mal | something is really wrong with your kernel build | 14:33 |
b0n0 | i can try to build halium kernel | 14:34 |
r0kk3rz | halium kernel? shouldnt they be the same | 14:34 |
b0n0 | yes, but i didnt update halium kernel for a while, so, it contains less changes | 14:35 |
b0n0 | or better, i will try to build the kernel inside their source and not with make hybris-hal | 14:35 |
r0kk3rz | or check the commit its at and rewind your sailfish build to that version | 14:37 |
b0n0 | the kernel is the same i used in 2.2 build | 14:38 |
r0kk3rz | you keep contradicting yourself | 14:40 |
b0n0 | yes, i know, but i have to try everything since this problem is weird af | 14:40 |
r0kk3rz | git status and git log will tell you whether they are the same or not | 14:41 |
b0n0 | yes they are the same | 14:41 |
r0kk3rz | 'try everything' doesnt mean throw logic out the window | 14:42 |
b0n0 | but maybe in lineage sources there's something that causes this problem, so, if i build kernel from sources i will exclude that | 14:42 |
*** ChanServ sets mode: +v T4 | 17:23 | |
piggz | evening porters ... its DW time | 18:35 |
r0kk3rz | but ermagerd DW is a wimminz! | 18:36 |
piggz | r0kk3rz: no spoilers, im 35 minutes behind! | 18:40 |
r0kk3rz | :) | 18:41 |
mal | ? | 18:43 |
Mister_Magister | what is DW | 18:44 |
* tbr won't rush into the latest Doctor Who, still has a few episodes of the now "old" doctor | 18:44 | |
mal | ah, I also have some unwatched episodes | 18:46 |
Mister_Magister | i never had chance to watch doctor who only seen some random episodes | 18:47 |
Mister_Magister | no time to watch all of them | 18:47 |
r0kk3rz | piggz: its ok, fairly on par with all the other recent ones really | 18:48 |
tbr | if 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_Magister | i wont remember that tho | 18:49 |
Mister_Magister | but thanks | 18:49 |
tbr | it will take me years to catch up on the decades of "old doctor who" | 18:49 |
tbr | I think I'm still stuck with Marco Polo (audio only, video was lost) | 18:49 |
mal | I haven't seen the old ones | 18:49 |
Mister_Magister | i have too many animu to watch to watch doctor who | 18:49 |
* Mister_Magister is also drunk after 1 beer | 18:50 | |
* Mister_Magister actually drinks beer way too fast | 18:50 | |
tbr | featherweight ;) | 18:50 |
r0kk3rz | theres not much of a long overarching story, so you can jump in basically whenever | 18:50 |
Mister_Magister | cause i dont drink alcohol often | 18:50 |
Mister_Magister | when 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 awesome | 18:51 |
tbr | r0kk3rz: well, river song and soufle-girl won't make much sense out of context, but those shouldn't occur now anymore | 18:51 |
Mister_Magister | r0kk3rz: i believe there are arcs | 18:51 |
r0kk3rz | Mister_Magister: really, you're going to tell me about a show you have just said you've never watched :P | 18:52 |
Mister_Magister | r0kk3rz: what do you mean | 18:52 |
r0kk3rz | i grew up with doctor who, ive watched all there is to watch :P | 18:53 |
Mister_Magister | heh but what do you mean | 18:53 |
Mister_Magister | i wasnt talking about doctor who | 18:53 |
r0kk3rz | then what were you talking about? | 18:53 |
Mister_Magister | when | 18:54 |
r0kk3rz | nevermind drunk-off-one-beer magister | 18:54 |
Mister_Magister | r0kk3rz: or where? | 18:54 |
Mister_Magister | you mean arcs? | 18:54 |
r0kk3rz | nvm | 18:54 |
Mister_Magister | i mean in every long series there are arcs so if i jumped in in the middle of an arc it would be weird | 18:55 |
Mister_Magister | my pc freezes when i try to start vm second time hmm | 18: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 |
piggz | r0kk3rz: daughter thinks the alien is a flying spagetti monster | 19:01 |
r0kk3rz | piggz: i thought the same | 19:02 |
Mister_Magister | o o o opensuse | 19:04 |
* Mister_Magister hughs his geeko plushie | 19:04 | |
Mister_Magister | piggz: lol | 19:04 |
T4 | <meierrom> Mal, r0kk3rz, piggz: os/distribution? | 19:08 |
r0kk3rz | temple os | 19:09 |
piggz | opensuse tumbleweed | 19:09 |
piggz | r0kk3rz: :D | 19:09 |
Mister_Magister | piggz: seriously? | 19:09 |
Mister_Magister | my boi | 19:09 |
Mister_Magister | r0kk3rz: OH SHITXD | 19:09 |
piggz | r0kk3rz: you know its out of support dont you?! | 19:09 |
r0kk3rz | yeah, whats his name died, real shame | 19:10 |
Mister_Magister | yee he was good boi | 19:10 |
piggz | yeah, he wasnt very well, shame | 19:10 |
Mister_Magister | SHAME SHAME | 19: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 want | 19:22 |
Mister_Magister | @meierrom opensuse is simple af too and better than debian | 19:23 |
mal | ubuntu | 19:25 |
b0n0 | gentoo is the best | 19:25 |
Mister_Magister | ye mal is on the wrong side of the force | 19:25 |
Mister_Magister | b0n0: install gentoo ofc | 19:25 |
Mister_Magister | and btw i use arch is missing | 19:25 |
mal | the host linux distro doesn't matter for development | 19:25 |
b0n0 | i have gentoo, thats why i say its the best xD | 19:25 |
T4 | <meierrom> Thanks guys! | 19:26 |
piggz | geez, we;re not getting into distro wars are we? | 19:29 |
Mister_Magister | piggz: nobody is fighting what you are talking about | 19:29 |
mal | piggz: distro is quite irrelevant in my opinion | 19:29 |
piggz | this is best , that is best... | 19:30 |
piggz | mal: agreed | 19:30 |
b0n0 | now 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 it | 19:30 |
mal | ubuntu is crap in certain ways but I'm too lazy to change, mostly the way the UI has changed is bad | 19:30 |
r0kk3rz | all distros are crap in certain ways :) | 19:31 |
mal | b0n0: so we were correct that you had a kernel mismatch | 19:31 |
Mister_Magister | mal: plasma for the win | 19:31 |
Mister_Magister | in ubuntu they changed gui to gnome | 19:31 |
mal | ubuntu got much worse in 18.04, mostly because of gnome | 19:32 |
Mister_Magister | mal: plasma ftw | 19:32 |
b0n0 | mal: 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 :D | 19:33 |
r0kk3rz | b0n0: good you solved it, because that was weird | 19:33 |
mal | if we knew you were using multirom we might have figured that out earlier | 19:33 |
b0n0 | yes, it's still weird since i dont know what was the cause | 19:34 |
b0n0 | mal: :P | 19:34 |
b0n0 | im not sure multirom was the cause, it's just something to try to explain what was the cause of that | 19:35 |
b0n0_ | mal: now, without gst-omx and i get color distortion and browser crashes what about that quirk? | 19:50 |
r0kk3rz | b0n0_: https://github.com/sailfishos/gst-droid/commit/5e2559342223b17498e461930425056dc314b737 | 19:57 |
r0kk3rz | b0n0_: https://github.com/piggz/droid-config-mido/commit/86cb6c56ae94e855de5dcda43eb6600a2bd677d4 | 19:59 |
b0n0_ | aww yeah, thats what i was lookin for, thanks :D | 20:00 |
*** Piece_Maker is now known as Acou_Bass | 20:01 | |
mal | b0n0_: depending on your device you might need also additional quirks but hopefully that is enough | 20:03 |
b0n0_ | we'll see | 20:09 |
* b0n0_ is rebooting | 20:09 | |
b0n0_ | that quirk worked, esketittt | 20:14 |
mal | now remember to add it to your config repo | 20:15 |
b0n0_ | sure | 20:17 |
r0kk3rz | and say thanks to piggz | 20:19 |
piggz | i accept red wine tokens | 20:19 |
piggz | was thinking, i never added a (c) line to gst-droid | 20:21 |
b0n0_ | thank you piggz | 20:21 |
b0n0_ | i love you | 20:21 |
mal | piggz: I have added that to very few places I have contributed | 20:22 |
piggz | mal: i definitiely want my name all over the fact peoples devices play video ;) | 20:24 |
mal | :) | 20:25 |
mal | piggz: for example I didn't seem to add (c) to droidmedia even though I have added support for android 6 and 8 bases | 20:28 |
piggz | mal: you should...we generally do that in Kexi | 20:28 |
piggz | it shows whos worked on the project | 20:29 |
mal | git log is for that :) | 20:29 |
b0n0_ | anyway why is gst omx deprecated? | 20:29 |
r0kk3rz | too hard to maintain i think | 20:30 |
ghosalmartin | shame only thing worked with bullhead | 20:31 |
b0n0_ | aww rip | 20:32 |
mal | ghosalmartin: are you sure the latest droidmedia doesn't work? | 20:33 |
ghosalmartin | and Mister_Magister gonna have to halt any owrk on huawei p9. lineageos isnt ready for it | 20:33 |
b0n0_ | but it gets updated, so, maintaining it shouldnt be a problrm | 20:34 |
ghosalmartin | mal: 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 videos | 20:34 |
mal | ghosalmartin: which quirks did you try? | 20:34 |
ghosalmartin | mal: quirks? didnt try any tbh. just compiled and deployed | 20:34 |
b0n0_ | so, that 2 lines quirk is better than gst omx package? | 20:35 |
r0kk3rz | b0n0_: we dont use it straight for source | 20:35 |
mal | ghosalmartin: ok, depends on what the problem is (I assume it failed on both browser and gallery) | 20:35 |
r0kk3rz | *from | 20:35 |
ghosalmartin | mal: most likely, i need to dig it up | 20:35 |
ghosalmartin | mal: if I wanted a disable fake sensors flag for droidmedia would I just add it as a quirk? | 20:38 |
mal | ghosalmartin: hmm, why do you need to disable it? | 20:38 |
ghosalmartin | mal: for bullhead its required. it was why the camera didnt work for the longest time | 20:39 |
ghosalmartin | and had to run sensorservice as well | 20:39 |
ghosalmartin | but after that it all just magically worked | 20:39 |
ghosalmartin | mal: 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 it | 20:47 |
mal | ghosalmartin: does your device have lineage-15.1? | 20:48 |
ghosalmartin | mal: yes bullhead does | 20:48 |
mal | ghosalmartin: we have an optional method in works for 15.1 | 20:48 |
mal | basically adding a process that communicates between bluez and android side | 20:49 |
ghosalmartin | using binder? | 20:49 |
mal | yes | 20:49 |
ghosalmartin | if you've seen rick and morty sailfishos now reminds me of this https://giphy.com/gifs/adultswim-rick-and-morty-cockroach-3o6vXTqCJWy7qmDqZG | 20:50 |
ghosalmartin | sailfishos is the pickle...android is the roach :P | 20:51 |
mal | heh | 20:52 |
ghosalmartin | mal: yeah video doesnt work in gallery or browser | 20:54 |
mal | piggz: was the color quirk only needed for browser? | 20:56 |
piggz | mal: yes | 20:57 |
mal | ghosalmartin: ok, so we still need to figure out why it fails only on that device | 20:57 |
ghosalmartin | mal: which bit, the video playing or the camera? | 20:57 |
mal | video playback | 20:58 |
mal | of course why camera needs the real sensor service is interesting | 20:58 |
ghosalmartin | i bet its to do with image stabilizatoin | 20:58 |
mal | could be | 21:01 |
ghosalmartin | btw QPA_HWC_BUFFER_COUNT=3 QPA_HWC_IDLE_TIME=5 worked very well for bullhead as well | 21:04 |
ghosalmartin | it always had some stuttering which seemed improved by those two flags | 21:04 |
mal | good | 21:08 |
ghosalmartin | but still not focus or flash ability in cam. ah wells | 21:08 |
mal | ghosalmartin: 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 |
ghosalmartin | mal, yeah just saw you deleted them in your config repo for fairphone | 21:10 |
ghosalmartin | and not sure atm | 21:10 |
mal | ghosalmartin: some devices have issues with camera hal3, many parameters are missing from GST_DEBUG parameter list | 21:12 |
mal | ghosalmartin: 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 -u | 21:13 |
mal | ghosalmartin: and then rebuild droidmedia with force hal 1 and check again, even without rebuild I can check the params to see if things are missing | 21:14 |
ghosalmartin | mal: my jolla-camera-hw was named jolla-camera *sigh* autofocus is now working. | 21:15 |
ghosalmartin | flash is the next step | 21:15 |
mal | ghosalmartin: the are both jolla-camera and jolla-camera-hw | 21:15 |
ghosalmartin | when I renamed the file to jolla-camera-hw it worked though? | 21:16 |
mal | ghosalmartin: https://pastebin.com/FH0pGcfH | 21:18 |
mal | ghosalmartin: just to be sure add that also | 21:18 |
ghosalmartin | mal: i think the two files are now identical | 21:19 |
mal | no | 21:19 |
mal | it shouldn't be like that | 21:19 |
ghosalmartin | that I have on device. yeah I think the -hw is wrong | 21:19 |
mal | ghosalmartin: install droid-camres and run it | 21:20 |
ghosalmartin | mal: lots of things outputed | 21:20 |
ghosalmartin | https://pastebin.com/PeLP8uZD | 21:21 |
mal | ghosalmartin: and with -w jolla-camera-hw.txt to get the conf | 21:21 |
mal | then move the file to correct place and run "touch /etc/dconf/db/vendor.d/" and dconf update | 21:21 |
ghosalmartin | mal: well flash entries show but dont work | 21:24 |
mal | ghosalmartin: could you pastebin the output of the command I gave earlier to get the camera params | 21:24 |
mal | the GST_DEBUG stuff | 21:24 |
mal | ghosalmartin: how new build is that? | 21:26 |
ghosalmartin | mal: few weeks? | 21:26 |
mal | ok | 21:26 |
ghosalmartin | https://pastebin.com/HVnKBLbp | 21:26 |
mal | ghosalmartin: ok, so you have the same issue that some other devices have, you'll have to force HAL1 for now | 21:27 |
mal | although it shouldn't affect flash | 21:27 |
mal | just iso values and stuff | 21:27 |
ghosalmartin | hmm iso values seems to work fine? | 21:29 |
ghosalmartin | i tell a lie thats the white balance | 21:29 |
mal | like I said the issue is no big until you update droidmedia and gst-droid, then it might be a problem | 21:31 |
ghosalmartin | okays ill do a fresh build and force HAL1 | 21:32 |
piggz | mal: initial work.. | 21:32 |
mal | piggz: ? | 21:32 |
piggz | mal: https://github.com/piggz/harbour-advanced-camera | 21:32 |
piggz | thats better! | 21:32 |
piggz | effect model works | 21:33 |
piggz | exposure doesnt, need to fix gst camerabin plugin | 21:33 |
ghosalmartin | ahh i just removed a 4 year old screen protector from this phone. it looks sooo much better | 21:34 |
piggz | and im away, get me at @adampigg! | 21:34 |
mal | piggz: ok, that requires the new stuff, need to test later | 21:35 |
mal | ghosalmartin: I have the screen protector on jolla c, it's so bad already that maybe I should remove it | 21:35 |
ghosalmartin | i 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 new | 21:36 |
ghosalmartin | mal: I wonder how hard it would be to migrate to Android 8 now. I already have the codebase cloned for 2 other devices | 21:37 |
mal | ghosalmartin: mostly not difficult I think | 21:39 |
ghosalmartin | has hwcomposer been fixed or still working off surfaceflinger? | 21:40 |
mal | surfaceflinger currently | 21:41 |
ghosalmartin | is there really any advantages for us to moving to hwcomposer if surfaceflinger provides our needs? aside from being tied closer to android | 21:41 |
mal | @adampigg exposure has some issues because you have incorrect code | 21:41 |
T4 | <adampigg> Mal, ah | 21:43 |
mal | @adampigg you have for example filters used in exposureName function | 21:44 |
ghosalmartin | mal: have you seen black bar where the camera button is after adding correct jolla-camera-hw.txt? | 21:45 |
mal | no | 21:45 |
T4 | <adampigg> Mal,.yeah,.i see that! | 21:45 |
T4 | <adampigg> Mal, tho,.i should still get a model full of Unknown | 21:46 |
mal | @adampigg I only get an empty exposure list, but effects work fine which is nice | 21:47 |
T4 | <adampigg> Mal,.yes same here | 21:48 |
mal | @adampigg maybe because I don't have the changes you did in use in qtmultimedia and gst-droid | 21:48 |
T4 | <adampigg> Also, i have some ui ideas | 21: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 ok | 21:50 |
T4 | <adampigg> Yes, ive found the faulty code already | 21:53 |
mal | nice start anyway, let's make that a usable app | 21:54 |
T4 | <adampigg> Yup, progress tomorrow | 21:57 |
ghosalmartin | mal: well latest gstreamer seem to of fixed camera flash and focus. thanks :) | 22:05 |
ghosalmartin | but still not video playback | 22:06 |
mal | ghosalmartin: ok, grab GST_DEBUG=droidvdec:6 jolla-gallery when you try to play a video | 22:19 |
ghosalmartin | hmm seem to of broken the autofocus agian. wonder what i did :P | 22:20 |
ghosalmartin | mal how is jolla-camera.txt generated? i need that for autofocus it seems | 22:21 |
ghosalmartin | also 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)progr | 22:21 |
ghosalmartin | essive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true'." | 22:21 |
ghosalmartin | am guessing I need to update the associations or update codecs? | 22:22 |
ghosalmartin | https://github.com/ghosalmartin/droid-config-bullhead/blob/master/sparse/etc/gst-droid/gstdroidcodec.conf ? | 22:22 |
mal | ghosalmartin: that file looks wrong for gst-droid usage | 22:24 |
mal | ghosalmartin: I think you disabled everything when you used gst-omx? | 22:24 |
ghosalmartin | mal: feels like it | 22:24 |
mal | ghosalmartin: so remove that file and try again | 22:25 |
ghosalmartin | no dice | 22:27 |
mal | still same message? | 22:27 |
mal | ghosalmartin: jolla-camera.txt comes from jolla-camera package I think, or somewhere from jolla packages anyway | 22:28 |
ghosalmartin | lemme try removing registry file | 22:28 |
ghosalmartin | mal: ahh fair enough so itll regenerate itself | 22:28 |
mal | ghosalmartin: not 100% sure but it's not in any adaptation repo | 22:28 |
ghosalmartin | mal: as always you are correct :) did a reinstall and it appeared | 22:29 |
mal | :) | 22:30 |
ghosalmartin | mal: also removing the registery file fixed the video playing | 22:31 |
mal | both in gallery and browser? | 22:32 |
ghosalmartin | yep :) | 22:32 |
mal | magic :) | 22:32 |
ghosalmartin | and that file disabling eveyrthing | 22:32 |
mal | good | 22:33 |
ghosalmartin | mal: 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 perfectly | 22:45 |
mal | can't remember hearing about that kind of issue | 22:45 |
ghosalmartin | oh btw the black bar thing earlier was because I set the camera to 12mp 4:3 | 22:47 |
mal | ghosalmartin: ah, of course 4:3 has black bars | 22:48 |
ghosalmartin | i take it i cant take 12megapixel 16:9 images | 22:48 |
ghosalmartin | or does the file need tweaking for that | 22:48 |
mal | ghosalmartin: the available resolutions are here https://github.com/ghosalmartin/droid-config-bullhead/commit/3c361decc98ff98c335e16e605cfcccd6e903cb9#diff-4047c9e096c41403b7906073051a39f9R10 | 22:49 |
ghosalmartin | ahh I see. time to hax around till i break it :P | 22:50 |
mal | ghosalmartin: those values come from droid-camres which reads the largest values available in android parameters | 22:50 |
mal | ghosalmartin: so you shouldn't change those | 22:51 |
ghosalmartin | mal: ahh fair enough then, if its all I can squeez out ill take it | 22:51 |
mal | ghosalmartin: are the resolutions correct for the device? | 22:52 |
ghosalmartin | mal: i honestly dont know. never spent much time in android | 22:53 |
mal | ghosalmartin: seems correct, according to specs it has 12 MPix camera, sometimes 16:9 is not using exactly all pixels | 22:53 |
mal | ghosalmartin: as you can see 16:9 has a bit smaller width but still quite reasonable value | 22:55 |
ghosalmartin | indeed, ive never been into photography much so all I know is bigger number == better which obviously is pretty flawed :P | 22:56 |
mal | heh | 22:56 |
mal | I also take pictures very rarely, I probably take many times more test pictures during porting than normal pictures | 22:57 |
ghosalmartin | thats pretty accurate for me. not too big on the selfies :P | 22:58 |
mal | I never take selfies | 22:59 |
ghosalmartin | too much hassle :P anyways on that note time for some sleep. thanks :) | 23:04 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!