*** Zuccace <Zuccace!~zucca@85-76-22-60-nat.elisa-mobile.fi> has quit IRC (Quit: WeeChat 1.9.1) | 00:09 | |
*** Zucca <Zucca!~zucca@85-76-22-60-nat.elisa-mobile.fi> has joined #sailfishos-porters | 00:11 | |
*** zhxt <zhxt!~zhxt@223.72.88.82> has joined #sailfishos-porters | 00:22 | |
*** BastelAndi <BastelAndi!Elite21398@gateway/shell/elitebnc/x-osfjgkgxjswuorkz> has joined #sailfishos-porters | 00:31 | |
*** elros <elros!~elros@2a02:a315:e040:3a00:9175:c3f5:48dd:bacc> has quit IRC (Quit: Communi 3.5.0 - http://communi.github.com) | 00:51 | |
*** gmoro <gmoro!~gmoro@31.169.96.62> has quit IRC (Remote host closed the connection) | 01:57 | |
*** gmoro <gmoro!~gmoro@31.169.96.62> has joined #sailfishos-porters | 01:58 | |
*** filip <filip!~filip@193-138-49-239.dynamic.t-2.net> has quit IRC (Ping timeout: 248 seconds) | 02:14 | |
*** zhxt <zhxt!~zhxt@223.72.88.82> has quit IRC (Quit: Konversation terminated!) | 02:37 | |
*** zhxt <zhxt!~zhxt@223.72.88.82> has joined #sailfishos-porters | 02:43 | |
*** zhxt <zhxt!~zhxt@223.72.88.82> has quit IRC (Ping timeout: 260 seconds) | 03:08 | |
*** zhxt <zhxt!~zhxt@223.72.88.82> has joined #sailfishos-porters | 03:16 | |
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@210.76.215.145> has quit IRC (Ping timeout: 252 seconds) | 03:31 | |
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@61.148.243.146> has joined #sailfishos-porters | 03:31 | |
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@61.148.243.146> has quit IRC (Read error: Connection reset by peer) | 03:50 | |
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@210.76.215.145> has joined #sailfishos-porters | 03:53 | |
*** speedracer08861 <speedracer08861!80c72d51@gateway/web/freenode/ip.128.199.45.81> has joined #sailfishos-porters | 04:06 | |
speedracer08861 | can i run sailfish on a xa2 4213 | 04:06 |
---|---|---|
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 04:39 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 04:42 | |
*** deusum <deusum!~deusum@2601:282:300:9066:f127:ba62:3386:4abb> has joined #sailfishos-porters | 04:52 | |
*** lpotter <lpotter!~quassel@124.183.248.253> has quit IRC (Ping timeout: 268 seconds) | 05:24 | |
*** zhxt <zhxt!~zhxt@223.72.88.82> has quit IRC (Remote host closed the connection) | 05:25 | |
*** zhxt <zhxt!~zhxt@223.72.88.82> has joined #sailfishos-porters | 05:25 | |
*** speedracer08861 <speedracer08861!80c72d51@gateway/web/freenode/ip.128.199.45.81> has quit IRC (Quit: Page closed) | 05:29 | |
*** deusum <deusum!~deusum@2601:282:300:9066:f127:ba62:3386:4abb> has quit IRC (Ping timeout: 245 seconds) | 05:48 | |
*** T4 <T4!~T4@unaffiliated/mikaela/bot/euforia> has quit IRC (Remote host closed the connection) | 06:07 | |
*** T4 <T4!~T4@unaffiliated/mikaela/bot/euforia> has joined #sailfishos-porters | 06:07 | |
*** psachin <psachin!~psachin@103.51.232.131> has joined #sailfishos-porters | 06:30 | |
*** gexc_ <gexc_!~gexc@172-4-29-163.lightspeed.rcsntx.sbcglobal.net> has quit IRC (Ping timeout: 240 seconds) | 07:04 | |
vakkov_ | mal: this opencv on the OBS... it is because we are using python2 on the OBS... the local builds on our PCs (or at least in my case) use python3 | 07:36 |
*** MeowDude <MeowDude!7b649d3f@gateway/web/freenode/ip.123.100.157.63> has joined #sailfishos-porters | 07:37 | |
MeowDude | Oh yeah I bought a Droid 4 | 07:38 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 07:38 | |
MeowDude | If its as legendary as people say it'll be replacing my One Plus One for sure | 07:38 |
MeowDude | has carepack or TheKit touched the Droid 4 port yet? | 07:41 |
MeowDude | I didn't see any sources on the maemo talk forum, I'm sure it'd be easy to updat | 07:42 |
MeowDude | e | 07:42 |
*** lpotter <lpotter!~quassel@124.183.248.253> has joined #sailfishos-porters | 07:44 | |
vakkov_ | mal: my bad, we need #include <opencv2/core/ocl.hpp> | 07:47 |
MeowDude | vakkov_: Any good ideas on how to fix audio and video on manta>? | 07:50 |
MeowDude | I build gstreamer and gst-droid and it did make a slight difference. I went from zero audio, zero sound, no mp3s or mp4s would play, to all of those things accept now mp3 files play (with no sound) | 07:51 |
MeowDude | also I can't at all raise media volume | 07:51 |
MeowDude | and gestures are off by 90 degrees but that is a later issue | 07:51 |
*** ranter- <ranter-!~ranter@176-93-131-215.bb.dnainternet.fi> has joined #sailfishos-porters | 07:52 | |
MeowDude | I tried building gst-omx but it failed due to missing dependencies (which I will look into once I get access to my build machine in ~8 hours) | 07:52 |
*** ranter <ranter!~ranter@176-93-107-22.bb.dnainternet.fi> has quit IRC (Ping timeout: 240 seconds) | 07:54 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 08:00 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 08:03 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 08:05 | |
*** MeowDude <MeowDude!7b649d3f@gateway/web/freenode/ip.123.100.157.63> has quit IRC (Ping timeout: 260 seconds) | 08:06 | |
*** shark1 <shark1!7aa65eae@gateway/web/freenode/ip.122.166.94.174> has joined #sailfishos-porters | 08:24 | |
shark1 | some help, please, how can I compile droid-media from other branch? Like clone it into "hybris/mw" and run it as usual in hadk 13.2? | 08:25 |
shark1 | I want to compile the new SDSVideofix branch | 08:27 |
shark1 | oH WAIT i GOT IT. | 08:29 |
shark1 | clone it into external/droid media and compile :p | 08:29 |
vakkov_ | python-numpy-1.9.1-10.42.3.jolla .... some hidden jolla repos, huh? where is that package located | 08:30 |
*** nthn <nthn!~nthn_@2a02:a03f:5e16:1700:94dc:8eab:b87a:5305> has joined #sailfishos-porters | 08:30 | |
*** murray <murray!~murray@dyndsl-092-252-127-030.ewe-ip-backbone.de> has joined #sailfishos-porters | 08:35 | |
*** psachin <psachin!~psachin@103.51.232.131> has quit IRC (Remote host closed the connection) | 08:36 | |
*** Ingvix <Ingvix!~Ingvix@84-253-221-32.bb.dnainternet.fi> has joined #sailfishos-porters | 08:38 | |
Ingvix | Hello | 08:39 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 08:39 | |
Ingvix | I'm suppose to determine which node is my touchscreen from /dev/input/event* but how do I actually do the determining? | 08:42 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 08:44 | |
*** PeperJohnny <PeperJohnny!~johnny@dyndsl-031-150-217-082.ewe-ip-backbone.de> has joined #sailfishos-porters | 08:44 | |
*** deusum <deusum!~deusum@2601:282:300:9066:f127:ba62:3386:4abb> has joined #sailfishos-porters | 08:44 | |
shark1 | Ingvix : hello | 08:46 |
shark1 | you can determine by doing getevent | 08:46 |
Ingvix | I'm not sure how to do that. I'm not even sure where is this /dev/input/event*. I'm currently on adb shell with my device and it's in there but there's no getevent command here | 08:49 |
shark1 | Ingvix there is getevent command -_- | 08:50 |
*** deusum <deusum!~deusum@2601:282:300:9066:f127:ba62:3386:4abb> has quit IRC (Ping timeout: 255 seconds) | 08:50 | |
shark1 | you need to be su | 08:50 |
*** psachin <psachin!~psachin@103.51.232.131> has joined #sailfishos-porters | 08:51 | |
Ingvix | whops, I am root, actually. I just used the command in wrong terminal... | 08:51 |
shark1 | just do a get event. The event which spams most on touching the screen is the touch event | 08:51 |
Ingvix | yes, it is a 0 then | 08:52 |
*** psachin <psachin!~psachin@103.51.232.131> has quit IRC (Remote host closed the connection) | 08:55 | |
shark1 | yes | 08:55 |
dr_gogeta86 | good moring all | 09:10 |
dr_gogeta86 | Mister_Magister: hi | 09:10 |
Ingvix | should I set have_vibrator_native and have_led to 0 in droid-hal-version-mydevice? | 09:12 |
Ingvix | if my device got none | 09:12 |
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@210.76.215.145> has quit IRC (Ping timeout: 240 seconds) | 09:12 | |
*** NotKit <NotKit!~nekit@85-95-188-235.saransk.ru> has joined #sailfishos-porters | 09:14 | |
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@61.148.243.12> has joined #sailfishos-porters | 09:14 | |
*** TheKit <TheKit!~nekit@178-45-15-199.saransk.ru> has quit IRC (Ping timeout: 268 seconds) | 09:17 | |
Ingvix | so my insticts tell me but I like to make sure | 09:19 |
Ingvix | shark1, a quick confirmation to this? | 09:24 |
shark1 | what? | 09:24 |
Ingvix | couple lines up | 09:25 |
shark1 | let me see | 09:25 |
Ingvix | I guess it just removes some build requirements | 09:26 |
Ingvix | some haptics and mce-plugin | 09:27 |
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@61.148.243.12> has quit IRC (Ping timeout: 260 seconds) | 09:29 | |
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@210.76.215.145> has joined #sailfishos-porters | 09:29 | |
*** shark1 <shark1!7aa65eae@gateway/web/freenode/ip.122.166.94.174> has quit IRC (Ping timeout: 260 seconds) | 09:30 | |
*** piggz <piggz!~piggz@95.150.63.214> has joined #sailfishos-porters | 09:31 | |
mal | vakkov_: wondering why it it built fine locally using mb2 | 09:39 |
*** piggz <piggz!~piggz@95.150.63.214> has quit IRC (Ping timeout: 240 seconds) | 09:39 | |
mal | vakkov_: numpy is from one of my own repos | 09:43 |
*** PeperJohnny <PeperJohnny!~johnny@dyndsl-031-150-217-082.ewe-ip-backbone.de> has quit IRC (Quit: Konversation terminated!) | 09:45 | |
*** MeowDude <MeowDude!31fff8ba@gateway/web/freenode/ip.49.255.248.186> has joined #sailfishos-porters | 09:48 | |
MeowDude | I am getting "ubu-chroot command not found" error in Platform SDK | 09:48 |
MeowDude | I have the entire SDK including Ubuntu installed onto my SD card | 09:48 |
MeowDude | permissions are correct | 09:48 |
MeowDude | what file do I need to fix to make this frankenstein build environment WORK | 09:49 |
MeowDude | Ingvix: on grouper it should be event0, if not just run (in adb shell) "cat /dev/event0" and start swiping around you finger on the display then event1, and so on and so on until you get a crazy terminal filling spasm that will most likely frighten you. | 09:50 |
Ingvix | you're a bit late | 09:51 |
MeowDude | Lets focus on getting that terrible device to boot first, an incorrect touchscreen node value won't keep it from booting, you just won't have working touch on first boot | 09:51 |
MeowDude | Yes I was peeping the logs and was too lazy to scroll down | 09:51 |
MeowDude | what is the current status? | 09:51 |
Ingvix | I build droid-hal-grouper succesfully | 09:51 |
MeowDude | oh yeah | 09:51 |
MeowDude | this is exciting | 09:51 |
MeowDude | maybe you will get it to work on the first try and I was (am) just retarded | 09:52 |
MeowDude | best of luck | 09:52 |
Ingvix | do you know if I need some additional middleware as the next section states? | 09:52 |
Ingvix | thanks | 09:52 |
MeowDude | you will most likely need to manually build gstreamer and droid media for audio, video, and camera | 09:52 |
MeowDude | if it gives you an error when building ngfd droid vibrator tell me | 09:53 |
*** shark1 <shark1!7aa65eae@gateway/web/freenode/ip.122.166.94.174> has joined #sailfishos-porters | 09:53 | |
MeowDude | shark1 has returned, and can possible give me help | 09:53 |
Ingvix | vibrator? nexus 7 has not vibrator | 09:53 |
MeowDude | did you have errors when building gst-omx? | 09:53 |
shark1 | ye | 09:53 |
MeowDude | also Ingvix, it doesn't matter, the garbage script will try and build it anyway | 09:54 |
shark1 | why are you building omx? | 09:54 |
MeowDude | and if you just skip it, other shit will fail | 09:54 |
Ingvix | Okay then | 09:54 |
MeowDude | shark1: I am desperate and want working audio and video on manta | 09:54 |
MeowDude | I am just looking into random patches | 09:54 |
Ingvix | <Ingvix> should I set have_vibrator_native and have_led to 0 in droid-hal-version-mydevice? | 09:55 |
Ingvix | should I have not done this? | 09:55 |
r0kk3rz | Ingvix: no thats fine | 09:55 |
shark1 | Ingvix : are you sure there is no vibrator? | 09:55 |
MeowDude | you can tell how much I DONT want to mess with logs, so boring. I think I will need to trace gstreamer and droid media when running audio files in Media Player | 09:55 |
Ingvix | okay | 09:55 |
Ingvix | shark1, I am | 09:55 |
Ingvix | nothing vibrates on that device | 09:55 |
MeowDude | yeah set them to 0 | 09:55 |
MeowDude | it has neither a vibrator or a notification LED | 09:55 |
shark1 | MeowDude : try SDSVideo branch on droidmedia | 09:55 |
MeowDude | do build MCE though, you can enable double tap to wake. Oh yeah r0kk3rz, is double tap to wake on by default? | 09:55 |
shark1 | is your port based on 14.1? | 09:56 |
MeowDude | shark1: I will try what you did earlier tonight. | 09:56 |
MeowDude | yes it is | 09:56 |
MeowDude | sadly | 09:56 |
shark1 | MeowDude : What did I do? | 09:56 |
Ingvix | mce-plugin would be a build requirement if have_led is 1 | 09:56 |
r0kk3rz | MeowDude: lol, you *need* mce, its kinda important | 09:56 |
MeowDude | You spoke of it in the logs | 09:56 |
MeowDude | I thought MCE only did the Notification LED and off screen gestures? | 09:57 |
r0kk3rz | as per usual, no | 09:57 |
MeowDude | at least I am learning | 09:57 |
r0kk3rz | mce does lots of things | 09:57 |
MeowDude | manta had double tap to wake enabled by default, super cool. | 09:57 |
MeowDude | inb4 mce mounts all partitions | 09:57 |
MeowDude | wouldn't that be funny | 09:57 |
r0kk3rz | yeah no, thats systemd | 09:58 |
MeowDude | interesting | 09:58 |
MeowDude | so what does it do | 09:58 |
MeowDude | besides making the Notification LED light up and drain my battery with Double tap? | 09:58 |
Ingvix | in droid_hal_version_device mce-plugin-libhydris is only required if have_led is 1. Should I set it to 1 even though no led? | 09:59 |
MeowDude | NO | 09:59 |
MeowDude | set to 0 | 09:59 |
MeowDude | build it still | 09:59 |
Ingvix | ok then | 09:59 |
MeowDude | but don't set false values, it forces you to do extra work | 09:59 |
MeowDude | and this entire process is annoying enough | 09:59 |
r0kk3rz | christ you whinge a lot :P | 09:59 |
shark1 | MeowDude : please dont say things to first time porters! They will throw their pc and run away later :p | 10:00 |
MeowDude | Why? I wish someone told me all these things | 10:01 |
r0kk3rz | it is a bit blind leading the blind tbh | 10:01 |
MeowDude | also yes I do r0kk3rz, I am a lazy person. and it is not blind leading the blind, I have successfully made a port that boots into the GUI | 10:01 |
MeowDude | and attempted porting to 2 other devices | 10:01 |
MeowDude | One day we will have Sailfish OS on the Kindle Fire HD 7... one day..... | 10:02 |
Ingvix | Should I not worry about the middleware at this point or do something about it already? | 10:02 |
MeowDude | just build it dumby | 10:03 |
r0kk3rz | Ingvix: where are you at? | 10:03 |
MeowDude | did you run build_packages.sh? | 10:03 |
Ingvix | yes | 10:03 |
Ingvix | that's the last thing I did succesfully | 10:03 |
shark1 | MeowDude : well tell only if you are 100 % sure. At least to first time porters! | 10:03 |
MeowDude | and it said "DONE! proceed to creating rootfs!" at the bottom | 10:03 |
r0kk3rz | shark1: nah man he knows everything because he did a thing once | 10:03 |
MeowDude | I am 100% of everything I say, I am just not always correct | 10:04 |
Ingvix | no, it didn't | 10:04 |
Ingvix | only * Building of droid-hal-grouper finished successfully | 10:04 |
r0kk3rz | Ingvix: which stage of the hadk did you get to | 10:04 |
MeowDude | r0kk3rz: the point is, I know *enough* to offer certain dummy help | 10:04 |
MeowDude | so you built droid hal but not any of the middle ware? what is this sorcery, did you edit the script or are we on seperate levels here? | 10:05 |
Ingvix | r0kk3rz, I'm at the start of 8.1 | 10:05 |
Ingvix | Additional Packages for Hardware Adaptation | 10:05 |
r0kk3rz | Ingvix: yeah you dont need to worry about that right now, do the kickstart and run mic | 10:06 |
MeowDude | how do I edit the faq? I have important knowledge to share | 10:06 |
MeowDude | r0kk3rz: wait | 10:06 |
shark1 | MeowDude : please, you are confusing him more. You can help me if you like xD | 10:06 |
r0kk3rz | MeowDude: please dont | 10:06 |
MeowDude | but he said it didn't tell him *DONE* | 10:06 |
r0kk3rz | MeowDude: shut up please | 10:06 |
MeowDude | I am so confused right now | 10:06 |
r0kk3rz | correct | 10:07 |
Ingvix | this is funny | 10:07 |
r0kk3rz | if anything is missing, mic will complain | 10:07 |
r0kk3rz | and then we can figure out what | 10:07 |
Ingvix | okay | 10:07 |
MeowDude | yay this is exciting | 10:08 |
MeowDude | I wish my grouper wasn't utterly destroyed | 10:08 |
MeowDude | then we could both enjoy this moment | 10:08 |
MeowDude | I can't believe 2.1.4.13 is released now. When is the Droid 4 port being updated???? | 10:09 |
*** zhxt <zhxt!~zhxt@223.72.88.82> has quit IRC (Ping timeout: 268 seconds) | 10:10 | |
shark1 | *2.1.4.14 | 10:10 |
MeowDude | oh yes I forgot. I love the new swipe away notification feature, it is god tier and I am surprised it took them this long to implement | 10:10 |
Ingvix | So I'm not allowed to add those non-free stuff to my image but can I basicly get the jolla-xt9 and ME-support packages from my official sfos device and install to the ported succesfully? | 10:10 |
Ingvix | if I get this ported | 10:11 |
r0kk3rz | Ingvix: if you want | 10:11 |
Ingvix | I see | 10:11 |
mal | vakkov_: I think the problem is that in local build pyopencv_generated_include.h contains the needed headers but not on OBS build | 10:12 |
Ingvix | but aliendalvik needs some device specific configuration so that can't be installed, right? | 10:12 |
shark1 | As per my knowledge, alien uses the underlying android stack and hence it gives near native android apps support. But since you are using different base, I doubt it would work | 10:14 |
shark1 | though it has worked in few devices. | 10:14 |
*** MeowDude <MeowDude!31fff8ba@gateway/web/freenode/ip.49.255.248.186> has quit IRC (Ping timeout: 260 seconds) | 10:14 | |
Ingvix | ah, so it's worth a try then | 10:15 |
shark1 | which base? 12.1? | 10:15 |
Ingvix | yes | 10:15 |
shark1 | and alien which base? I mean which android level? | 10:15 |
r0kk3rz | get it built and working first | 10:16 |
shark1 | :p | 10:17 |
Ingvix | uh, you mean like jolla had 4.1 or what ever and tablet 4.4 if I recall correctly? | 10:17 |
Ingvix | jolla1, I mean | 10:18 |
shark1 | Ingvix : yes | 10:19 |
Ingvix | I'm not sure. I have jolla1, JollaC'fied aquafish and xperia | 10:19 |
Ingvix | xperia probably having the latest version...? | 10:20 |
Ingvix | but I don't know which one | 10:20 |
shark1 | I always wonder why was honor view 10 not given to any one from porters here(in developers giveaway). :p such a wonderful os and honor dont want. Maybe also because hybris-15 was not ready. | 10:21 |
shark1 | Ingvix : umm, I have no idea or maybe it isnt like that. coz xperia has latest android. | 10:22 |
*** spiiroin <spiiroin!~spiiroin@213-216-253-55.bb.dnainternet.fi> has quit IRC (Remote host closed the connection) | 10:22 | |
shark1 | Actually alien has been working on one more unofficial device there was some link on the internet | 10:22 |
r0kk3rz | i do wonder if we will ever see much of huaweis own os | 10:22 |
*** spiiroin <spiiroin!~spiiroin@213-216-253-55.bb.dnainternet.fi> has joined #sailfishos-porters | 10:24 | |
shark1 | r0kk3rz : they make it in give aways I guess.. They got many of the custom roms of android by give away and thus attracting users. | 10:24 |
Ingvix | what android version the sfx's aliendalvik corresponds to? | 10:24 |
*** louisdk <louisdk!~louisdk@5.103.138.205> has joined #sailfishos-porters | 10:25 | |
r0kk3rz | shark1: im talking about something they do in house. they forked mer and hired a bunch of ex-jolla people | 10:25 |
Ingvix | well I guess I get to the kickstart stuff now | 10:25 |
shark1 | r0kk3rz : Oh, ok.. maybe that is the reason they didnt give away any to porters. | 10:27 |
*** zhxt <zhxt!~zhxt@223.72.88.82> has joined #sailfishos-porters | 10:27 | |
r0kk3rz | well sailfish is of minor concern | 10:29 |
*** Sigyn <Sigyn!sigyn@freenode/utility-bot/sigyn> has left #sailfishos-porters ("Leaving the channel (no spam or action taken for 30 days.) /invite Sigyn #sailfishos-porters again if needed") | 10:30 | |
*** louisdk <louisdk!~louisdk@5.103.138.205> has quit IRC (Ping timeout: 240 seconds) | 10:33 | |
Ingvix | I now ran rpm/dhd/helpers/build_packages.sh as I used --droid-hal before on the rerun after errors so other stuff than the hal wasn't build I guess. Now it's asking me if I want to build libhybris. Do I want to do it at this point? | 10:36 |
r0kk3rz | yes | 10:36 |
*** zhxt <zhxt!~zhxt@223.72.88.82> has quit IRC (Ping timeout: 252 seconds) | 10:37 | |
*** spiiroin <spiiroin!~spiiroin@213-216-253-55.bb.dnainternet.fi> has quit IRC (Ping timeout: 264 seconds) | 10:39 | |
*** spiiroin <spiiroin!~spiiroin@213-216-253-55.bb.dnainternet.fi> has joined #sailfishos-porters | 10:41 | |
*** zhxt <zhxt!~zhxt@223.72.88.82> has joined #sailfishos-porters | 10:42 | |
*** louisdk <louisdk!~louisdk@5.103.138.205> has joined #sailfishos-porters | 10:45 | |
Ingvix | do I want to build everything is suggests? | 10:47 |
Ingvix | pulseaudio is next | 10:48 |
r0kk3rz | yeah you need them | 10:48 |
r0kk3rz | you can probably get away without the vibration stuff though | 10:48 |
Ingvix | alrighty | 10:48 |
Ingvix | oh, I already typed all | 10:48 |
*** zhxt <zhxt!~zhxt@223.72.88.82> has quit IRC (Ping timeout: 260 seconds) | 10:48 | |
*** spiiroin <spiiroin!~spiiroin@213-216-253-55.bb.dnainternet.fi> has quit IRC (Ping timeout: 260 seconds) | 10:50 | |
*** spiiroin <spiiroin!~spiiroin@213-216-253-55.bb.dnainternet.fi> has joined #sailfishos-porters | 10:53 | |
r0kk3rz | its no harm to build stuff you dont need | 10:53 |
r0kk3rz | all this stage does is build things and stash them in your local repo | 10:54 |
Ingvix | I see | 10:54 |
Ingvix | So ngfd requires some reruns | 10:54 |
*** tuuletin <tuuletin!~tuuletin@87-92-202-55.bb.dnainternet.fi> has joined #sailfishos-porters | 10:55 | |
*** spiiroin <spiiroin!~spiiroin@213-216-253-55.bb.dnainternet.fi> has quit IRC (Ping timeout: 268 seconds) | 10:58 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 11:00 | |
*** spiiroin <spiiroin!~spiiroin@213-216-253-55.bb.dnainternet.fi> has joined #sailfishos-porters | 11:00 | |
*** doniks <doniks!~doniks@2001:980:8522:1:3160:f351:bbe8:3d41> has joined #sailfishos-porters | 11:04 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 11:04 | |
*** louisdk <louisdk!~louisdk@5.103.138.205> has quit IRC (Ping timeout: 240 seconds) | 11:04 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 11:05 | |
Ingvix | it needs cmake. How do I get that? pkcon seems to require some authentication | 11:07 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 11:10 | |
shark1 | Ok, in sdsvideo branch video playback is fine :) | 11:11 |
shark1 | but still photos are not displayed | 11:11 |
shark1 | in gallery | 11:11 |
vakkov_ | mal: what provides python-numpy-1.9.1-10.42.3.jolla for you? | 11:12 |
r0kk3rz | Ingvix: you need to install that in the target, not the platform sdk | 11:12 |
vakkov_ | mal: can't find the repo... it's some jolla dark magic ;d | 11:13 |
Ingvix | r0kk3rz, how do I do that? | 11:13 |
r0kk3rz | sb2 -t [your target name here, just tab complete it] -R zypper in whatever | 11:14 |
Ingvix | thanks | 11:16 |
mal | vakkov_: it's my repo home:mal:sdr | 11:17 |
Ingvix | I also need pkgconfig(ngf-plugn) >= 1.0 but theres not update candidate for pkgconfig-0.27.1 | 11:19 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 11:20 | |
vakkov_ | mal: gonna steal it :D gotta go now; oh, btw - is your fp2 upgraded with the new camera modules? | 11:20 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 11:21 | |
shark1 | r0kk3rz : yesterday you were telling to check lib dependencies using "lsof" but how to do that? | 11:21 |
shark1 | lsof jolla-camera? | 11:21 |
mal | vakkov_: I have only old modules | 11:22 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 11:22 | |
*** ghosalmartin <ghosalmartin!~mgrover@host-89-243-72-240.as13285.net> has joined #sailfishos-porters | 11:23 | |
mal | Ingvix: follow instructions in faq (near the end) how to downgrade needed submodule | 11:23 |
r0kk3rz | shark1: lsof will print every open file, so you need to grep the output | 11:23 |
Ingvix | I see, thanks | 11:23 |
*** XenoPL <XenoPL!~Xeno@5.174.45.16> has joined #sailfishos-porters | 11:23 | |
r0kk3rz | or tbh you can probably skip it since that device doesnt do vibra | 11:23 |
shark1 | ok | 11:24 |
r0kk3rz | but thats not a path well travelled, so who knows if those flags still work :) | 11:24 |
vakkov_ | mal: yep, me as well... i was wondering if i can disassemble the module, trace the lines and upgrade (i'll design and manufacture a pcb if needed to the Sony imx260 that is used in s7 and pixel (it seems) the pixel 2) - this sensor is awesome - has dual pixels | 11:25 |
shark1 | r0kk3rz : libstagefright is running. So that is not causing the symbol error | 11:25 |
vakkov_ | mal: are the sources of the camera hal and libraries available | 11:25 |
vakkov_ | the hal probably is open but the libs not :D there was a qualcomm leak several years ago, gotta find it :D | 11:26 |
mal | vakkov_: not afaik | 11:26 |
shark1 | anyway to determine what is calling the lib which is causing the symbol error? Or like what libs are being called? | 11:26 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 11:26 | |
mal | vakkov_: yep, I have a copy of that also | 11:26 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 11:26 | |
shark1 | one thing is In lsof I can see only 64 bit libcamservices open. Is this any worry? | 11:27 |
mal | vakkov_: I'll try to fix the OBS build, for some reason the generated header is missing includes | 11:28 |
vakkov_ | mal: checkout if it is because of the python version; what version do you use when you are building on your PC | 11:29 |
mal | vakkov_: everything is the same | 11:29 |
mal | vakkov_: I compared the confugure output and same versions are used | 11:29 |
shark1 | mal : any way to check what libs are being called upon by a lib? | 11:30 |
mal | shark1: what do you mean? | 11:31 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 11:31 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 11:33 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 11:37 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 11:37 | |
vakkov_ | mal: does the fp2 support HFR | 11:39 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 11:41 | |
mal | vakkov_: yes, I have been thinking of testing that | 11:42 |
shark1 | mal : mean, Iam getting this error "symbol" referenced by libavenhancements.so not found during mk-cam-conf. I wanted to see if I can find out what is calling the libavenhancements.so | 11:42 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 11:43 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 11:45 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 11:48 | |
*** ghosalmartin <ghosalmartin!~mgrover@host-89-243-72-240.as13285.net> has quit IRC (Remote host closed the connection) | 11:50 | |
*** PeperJohnny <PeperJohnny!~johnny@dyndsl-031-150-217-082.ewe-ip-backbone.de> has joined #sailfishos-porters | 11:50 | |
*** ghosalmartin <ghosalmartin!~mgrover@host-89-243-72-240.as13285.net> has joined #sailfishos-porters | 11:51 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 11:54 | |
*** nthn_ <nthn_!~nthn_@2a02:a03f:5ebc:7300:57fb:675f:e5e6:12a3> has joined #sailfishos-porters | 12:06 | |
*** nthn <nthn!~nthn_@2a02:a03f:5e16:1700:94dc:8eab:b87a:5305> has quit IRC (Ping timeout: 256 seconds) | 12:07 | |
*** nthn_ is now known as nthn | 12:07 | |
*** M4rtinK <M4rtinK!~M4rtinK@77.48.149.46> has joined #sailfishos-porters | 12:10 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 12:13 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 12:14 | |
*** paju <paju!~paju@dsl-hkibng42-5673d4-126.dhcp.inet.fi> has quit IRC (Ping timeout: 240 seconds) | 12:16 | |
*** paju <paju!~paju@dsl-hkibng42-5673d4-126.dhcp.inet.fi> has joined #sailfishos-porters | 12:18 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 12:19 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 12:22 | |
*** XenoPL <XenoPL!~Xeno@5.174.45.16> has quit IRC (Ping timeout: 256 seconds) | 12:25 | |
*** zhxt <zhxt!~zhxt@223.72.88.82> has joined #sailfishos-porters | 12:25 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 12:26 | |
*** elros <elros!~elros@2a02:a315:e040:3a00:1eb:161c:7b35:a8d7> has joined #sailfishos-porters | 12:26 | |
Ingvix | I couldn't find the answer how to downgrade ndfd vibrator | 12:27 |
Ingvix | *ngfd | 12:28 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 12:29 | |
shark1 | Ingvix : check faq hadk, its there in last section. | 12:29 |
Ingvix | where is this faq? | 12:30 |
Ingvix | can't find it in the pdf | 12:30 |
shark1 | can you see a PSA in this page? | 12:30 |
mal | Ingvix: channel topic | 12:30 |
mal | Ingvix: http://bit.ly/faq-hadk | 12:30 |
Ingvix | oh... | 12:30 |
*** zhxt <zhxt!~zhxt@223.72.88.82> has quit IRC (Ping timeout: 268 seconds) | 12:31 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 12:31 | |
shark1 | hmm, so this is the strace of my mm-qcam-daemon https://hastebin.com/eyixedusen.erl and I see that lib here also libavenhancements.so | 12:33 |
shark1 | error: XDG_RUNTIME_DIR not set in the environment" and Iam getting this error when I do GST_DEBUG=2 jolladcamera | 12:37 |
elros | never run gui programs as a root | 12:38 |
shark1 | ok | 12:40 |
shark1 | elros : btw like you suggested yesterday about droid media, I tried sdsvideo branch and now video playback works | 12:41 |
shark1 | but photos are still not displayed in gallery | 12:42 |
elros | probably you need QT_OPENGL_NO_BGRA=1 in var/lib/environment/nemo/99-qtscenegraph.conf | 12:42 |
shark1 | ok | 12:43 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 12:43 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 12:46 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 12:47 | |
shark1 | elros : actually there is no 99-qtscenegraph.conf | 12:48 |
shark1 | should I add it? | 12:48 |
elros | yes | 12:48 |
shark1 | ok | 12:48 |
*** zhxt <zhxt!~zhxt@223.72.88.82> has joined #sailfishos-porters | 12:49 | |
mal | vakkov_: I hacked around the OBS build issue | 12:50 |
*** ghosalmartin <ghosalmartin!~mgrover@host-89-243-72-240.as13285.net> has quit IRC (Remote host closed the connection) | 12:50 | |
shark1 | elros : thank you, you were right. | 12:51 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 12:52 | |
*** ghosalmartin <ghosalmartin!~mgrover@host-89-243-72-240.as13285.net> has joined #sailfishos-porters | 12:52 | |
*** spiiroin <spiiroin!~spiiroin@213-216-253-55.bb.dnainternet.fi> has quit IRC (Ping timeout: 256 seconds) | 12:55 | |
*** spiiroin <spiiroin!~spiiroin@213-216-253-55.bb.dnainternet.fi> has joined #sailfishos-porters | 12:56 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 13:00 | |
*** spiiroin <spiiroin!~spiiroin@213-216-253-55.bb.dnainternet.fi> has quit IRC (Ping timeout: 256 seconds) | 13:00 | |
*** spiiroin <spiiroin!~spiiroin@213-216-253-55.bb.dnainternet.fi> has joined #sailfishos-porters | 13:01 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 13:02 | |
shark1 | r0kk3rz : I did a GST_Debug of jolla camera https://hastebin.com/mepijiyere.swift even that just shows that the symbol is missing required by libavenhancements.so. | 13:03 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 13:03 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 13:07 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 13:12 | |
r0kk3rz | shark1: print out this RTLD_NOLOAD variable | 13:12 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 13:12 | |
shark1 | ok, like echo RTLD_NOLOAD? | 13:13 |
elros | I can find this in libstagefright.so on my device: strings /usr/libexec/droid-hybris/system/lib/libstagefright.so | grep _ZN7android12CameraSource4readEPPNS_11MediaBufferEPKNS_11MediaSource11ReadOptionsE | 13:16 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 13:16 | |
r0kk3rz | shark1: grep sources for it also | 13:16 |
elros | strace -e open,access jolla-camera also prints that libstagefright.so is opened | 13:17 |
shark1 | sources for RTL_NOLOAD? | 13:17 |
shark1 | in device or in the sources? | 13:17 |
*** vince_ <vince_!~vince@212-198-79-198.rev.numericable.fr> has joined #sailfishos-porters | 13:17 | |
shark1 | elros : yes. The libstagefright.so is opened | 13:18 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 13:18 | |
vince_ | hello | 13:18 |
shark1 | hello | 13:18 |
mal | shark1: how about try renaming the /usr/libexec/droid-hybris/system/lib/libstagefright.so so it will load it from /system instead | 13:20 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 13:20 | |
shark1 | mal : ok I will try that. | 13:20 |
*** vince_ <vince_!~vince@212-198-79-198.rev.numericable.fr> has quit IRC (Client Quit) | 13:21 | |
*** filip <filip!~filip@193-138-49-239.dynamic.t-2.net> has joined #sailfishos-porters | 13:22 | |
*** vknecht_ <vknecht_!~vknecht@212-198-79-198.rev.numericable.fr> has joined #sailfishos-porters | 13:23 | |
Ingvix | finally got all the stuff build | 13:24 |
mal | Ingvix: which android base are you using? | 13:24 |
Ingvix | mal, cm-12.1 | 13:24 |
mal | ok | 13:26 |
shark1 | r0kk3rz : there is no specific variable named RTL_NOLOAD. echo RTL_NOLOAD just prints the same thing. | 13:27 |
Ingvix | should I not modify any patterns before building image for the first time? | 13:32 |
shark1 | Ingvix : you can do it in later builds | 13:33 |
Ingvix | I know. I just wondered if there was something that could indicate a needed pattern edit before building the image first | 13:34 |
shark1 | mal : no luck with that also. I changed the name and still error persists. | 13:35 |
mal | shark1: you made sure it now loads from /system ? | 13:36 |
shark1 | yes it is. I saw in strace | 13:37 |
shark1 | it is loading from /system | 13:38 |
shark1 | mal : wait, where did you see that lib was loading from libexec/ earlier? | 13:40 |
shark1 | its not there in strace | 13:40 |
mal | strace should show it | 13:40 |
shark1 | well earlier strace I posted above >this one https://hastebin.com/eyixedusen.erl< also shows it loaded from /system | 13:43 |
shark1 | I mean it was not loading from /libexec | 13:45 |
mal | shark1: I wasn't asking for camera daemon strace but jolla-camera | 13:45 |
shark1 | mal : oh ok, this is jolla camera strace https://hastebin.com/guwibewula.xml | 13:49 |
mal | shark1: can you check if both /usr/libexec/droid-hybris/system/lib/libstagefright.so and /system/lib/libstagefright.so have that problematic symbol | 13:49 |
shark1 | ok I will check | 13:49 |
mal | shark1: I thought we said before: DO NOT run UI apps as root | 13:49 |
shark1 | ok | 13:50 |
shark1 | earlier I thought it was only for GST debug | 13:50 |
r0kk3rz | nope, ui apps need to run under nemo user | 13:51 |
shark1 | ok | 13:52 |
shark1 | ok, now I did strace and I see more data :) and libstagefright.so is loading from /system | 13:55 |
*** doniks <doniks!~doniks@2001:980:8522:1:3160:f351:bbe8:3d41> has quit IRC (Quit: doniks) | 13:58 | |
*** doniks <doniks!~doniks@a80-101-10-222.adsl.xs4all.nl> has joined #sailfishos-porters | 13:58 | |
*** _sven <_sven!~sven@p57B51BA5.dip0.t-ipconnect.de> has joined #sailfishos-porters | 14:03 | |
Ingvix | Am I good just installing the zip with twrp recovery? | 14:04 |
Ingvix | or should I use fastboot for some reason? | 14:05 |
r0kk3rz | twrp is fine | 14:06 |
saidinesh5 | hmm.. gstreamer fails to build | 14:06 |
saidinesh5 | error: Failed build dependencies: | 14:06 |
saidinesh5 | pkgconfig(gstreamer-plugins-base-1.0) is needed by gstreamer1.0-droid-0.20180209.0-1.armv7hl | 14:06 |
saidinesh5 | pkgconfig(gstreamer-1.0) is needed by gstreamer1.0-droid-0.20180209.0-1.armv7hl | 14:06 |
shark1 | mal : I couldnt find that symbol in the _ZN7android12CmeraSource4readEPPNS_11MediaBufferEPKNS_11MediaSource11ReadOptionsE" but I see this one is present _ZN7android12CameraSource4readEPPNS_11MediaBufferEPKNS_12IMediaSource11ReadOptionsE | 14:06 |
shark1 | both look similar just 3 letters difference in it | 14:07 |
mal | shark1: in which file? | 14:09 |
shark1 | mal but I searched online , libstagefright has same https://github.com/pfalcon/android-platform-headers/blob/master/android-2.3.5_r1/lib/symbols/libstagefright.sym#L1263 has the same symbol | 14:10 |
mal | shark1: /system or /usr/libexec/droid-hybris/system/ | 14:10 |
shark1 | mal : I saw in both | 14:10 |
shark1 | both are the same libs I think | 14:10 |
shark1 | both in /system and /libexec | 14:10 |
Ingvix | should I/should I not wipe cache/dalvik after installation? | 14:12 |
mal | so there is some API mismatch | 14:12 |
shark1 | ok so how can I figure it out now. | 14:12 |
shark1 | Just importing the stagefright lib having the symbol from somewhere online would be fine? | 14:13 |
shark1 | and by API you mean in the sources? | 14:15 |
mal | yes | 14:15 |
shark1 | so importing the lib from somewhere, say maybe oneplus3 would do any good? | 14:16 |
mal | shark1: the symbol in the error you get matches cm-13.0 base, I assume you use 14.1 base? | 14:16 |
mal | shark1: no | 14:16 |
shark1 | yes 14.1 base | 14:16 |
shark1 | I will check if there is the symbol in my 13.0 base | 14:17 |
shark1 | and revert in a minute | 14:17 |
mal | you really don't want to do that | 14:17 |
mal | shark1: where did you get your android zip? | 14:18 |
shark1 | ok | 14:18 |
shark1 | from official lineage website | 14:18 |
mal | what device is that? | 14:18 |
shark1 | "x2" le max2 | 14:19 |
mal | is camera working in android= | 14:19 |
mal | ? | 14:19 |
shark1 | yes | 14:19 |
*** doniks <doniks!~doniks@a80-101-10-222.adsl.xs4all.nl> has quit IRC (Ping timeout: 264 seconds) | 14:20 | |
Ingvix | It would seem that I have a bootloop | 14:20 |
mal | shark1: how new android image do you have installed? | 14:21 |
shark1 | Ingvix : logs, take dmesg, journalctl --no-pager, systemctl --no-pager. Take these 3 logs | 14:21 |
shark1 | mal : this is the recent image like one of the recent nightly | 14:22 |
mal | shark1: I can't find where the libavenhancements.so file comes from | 14:23 |
mal | shark1: can you search your source tree for that file | 14:24 |
shark1 | It is from https://github.com/TheMuppets/proprietary_vendor_leeco/tree/cm-14.1/msm8996-common/proprietary/vendor/lib | 14:24 |
shark1 | here from vendor | 14:24 |
shark1 | there is this commit adding this lib, I reverted it and built a lineage image, then sailfish complains that it cant find this lib | 14:25 |
shark1 | mal : here, it was added here https://github.com/TheMuppets/proprietary_vendor_leeco/commit/3cba75ce7b9aeeb374f09af472e92765e9a1e31c | 14:26 |
mal | shark1: maybe your android image is really 64-bit and the 32-bit library is broken? | 14:26 |
r0kk3rz | shark1: is it just make files that complain about it missing? | 14:27 |
mal | shark1: grep the 64-bit library for similar symbol | 14:27 |
shark1 | hmm, how can I find out if 32-bit libs are broken! | 14:27 |
shark1 | ok I will grep | 14:27 |
shark1 | r0kk3rz : yes only make file was changed as per that commit | 14:28 |
mal | we need to know if either of those libs is using the correct API | 14:29 |
r0kk3rz | you should be able to kill it then | 14:29 |
shark1 | mal : 64 bit lib also have same symbol as the 32 bit lib | 14:30 |
mal | maybe android doesn't load that lib for some reason? | 14:30 |
shark1 | mal : probably android doesnt load. It was added for some crypto enhancement | 14:31 |
shark1 | r0kk3rz : yes, I tried removing it in both during lineage build and sailfish build, but that libavenhancements.so is not killed | 14:31 |
mal | or if that really even is the real problem | 14:32 |
mal | shark1: show a strace of mk-cam-conf | 14:32 |
shark1 | ok | 14:32 |
mal | shark1: is camera daemon process running? | 14:32 |
shark1 | yes | 14:33 |
shark1 | it is running | 14:33 |
mal | also get logcat output | 14:33 |
shark1 | strace as "user" and not root right? | 14:33 |
shark1 | ok, in a minute. | 14:33 |
shark1 | here is the strace of mk-cam-conf https://hastebin.com/tugipekixu.xml | 14:36 |
shark1 | and this is the logcat https://paste.ubuntu.com/p/kfjMkznVRX/ | 14:41 |
shark1 | I dont even see anything related to cam in the logcat :p :| | 14:42 |
shark1 | I tried logcat as both root and user | 14:43 |
Ingvix | I fail to find my kernel command line. It's no in the suggested $ANDROID_ROOT/device/$VENDOR/*/BoardConfig*.mk | 14:45 |
Ingvix | how could I find it? | 14:45 |
NotKit | merbot`, did you get the latest update to work on Droid 4 with Safestrap? | 14:45 |
merbot` | NotKit: Error: "did" is not a valid command. | 14:45 |
shark1 | mal : but journal has few things about cam https://paste.ubuntu.com/p/QpFZtdC8vc/ but it is all. | 14:45 |
NotKit | MeowDude* | 14:46 |
shark1 | Ingvix : It will be in that only. Check properly | 14:46 |
shark1 | mal : also during sfos build, I reverted a commit regarding buffer https://github.com/mer-hybris/android_frameworks_av/commit/cb5576b5784a817c6976040efc2b64d317d4a69e#diff-dd6d2dcc679d12b9430a9787bab45b33 | 14:50 |
shark1 | since I was getting log of buffer blocking things in my logcat earloer | 14:50 |
shark1 | but even then, the situation was no better. It was the same. Same symbol error | 14:51 |
saidinesh5 | have the packaging scripts changed? where is the kickstart file placed now? | 14:51 |
shark1 | oops I meant metadata not buffer | 14:51 |
*** nthn <nthn!~nthn_@2a02:a03f:5ebc:7300:57fb:675f:e5e6:12a3> has quit IRC (Quit: nthn) | 14:54 | |
Ingvix | shark1, no, there is none | 14:54 |
shark1 | give me your trees | 14:55 |
Mister_Magister | can someone tell me how can i extract one commit as patch? | 14:55 |
Mister_Magister | found it thanks | 14:56 |
shark1 | Mister_Magister : how do you do it btw? | 14:56 |
Ingvix | trees? | 14:56 |
Mister_Magister | git format-patch -1 <sha> | 14:56 |
shark1 | Ingvix : the link of your vendor/something on github | 14:56 |
Ingvix | https://github.com/CyanogenMod/android_device_asus_grouper this? | 14:57 |
saidinesh5 | Mister_Magister: use git cherry-pick usually | 15:04 |
Mister_Magister | saidinesh5: what do you mean | 15:04 |
saidinesh5 | if you are trying to apply patches from one kernel / branch , instead of extracting and applying patches , use git cherry-pick | 15:04 |
Mister_Magister | i want to just apply one commit from another kernel | 15:05 |
Mister_Magister | but from another repo | 15:05 |
Mister_Magister | not from other branch | 15:06 |
saidinesh5 | if it is more than one commit, you can git remote add other_kernel <path to other kernel> | 15:06 |
saidinesh5 | and then you can cherry-pick | 15:06 |
saidinesh5 | also if that other kernel is on github | 15:06 |
saidinesh5 | you can directly download patch by adding .patch to the url showing the changeset | 15:07 |
Mister_Magister | just one commit | 15:07 |
Mister_Magister | i want to apply one commit to my kernel | 15:07 |
Mister_Magister | patch url? there is nothing like that | 15:07 |
saidinesh5 | you can directly download just the patch related to that commit from github by appending .patch to the url | 15:08 |
saidinesh5 | there is | 15:08 |
Mister_Magister | o shit | 15:08 |
saidinesh5 | if this is a commit: https://github.com/CancroSailors/android_kernel_xiaomi_cancro/commit/134bf7e1d2f1656441e1c9cbaee5e39089b59ea6 | 15:08 |
Mister_Magister | this is what i wanted | 15:08 |
Mister_Magister | whoa | 15:08 |
*** nthn <nthn!~nthn_@166.158-65-87.adsl-dyn.isp.belgacom.be> has joined #sailfishos-porters | 15:08 | |
saidinesh5 | you can download the patch by https://github.com/CancroSailors/android_kernel_xiaomi_cancro/commit/134bf7e1d2f1656441e1c9cbaee5e39089b59ea6.patch | 15:08 |
Mister_Magister | thanks i was searching for it since long time | 15:08 |
saidinesh5 | then git am <that patch file> | 15:08 |
Mister_Magister | this is exactly what i wanted | 15:09 |
saidinesh5 | (Y) | 15:09 |
saidinesh5 | usually you will have to pull in a whole bunch of patches , so that's when cherry-pick is useful | 15:09 |
saidinesh5 | btw. where is the kickstart file placed? | 15:10 |
saidinesh5 | i can't seem to find the path in hybris/droid-configs/installroot | 15:10 |
saidinesh5 | Mister_Magister: ^ ? | 15:23 |
Mister_Magister | saidinesh5: did you built droid-configs? | 15:23 |
saidinesh5 | yes | 15:23 |
Mister_Magister | droid-configs.osprey/installroot/usr/share/kickstarts/ | 15:24 |
saidinesh5 | O_o | 15:24 |
saidinesh5 | for me it is just droid-configs | 15:25 |
saidinesh5 | $ ls $ANDROID_ROOT/droid-local-repo/cancro/droid-configs | 15:25 |
saidinesh5 | droid-config-cancro-1-1.armv7hl.rpm droid-config-cancro-flashing-1-1.armv7hl.rpm droid-config-cancro-policy-settings-1-1.armv7hl.rpm droid-config-cancro-sailfish-1-1.noarch.rpm | 15:25 |
saidinesh5 | droid-config-cancro-bluez4-1-1.armv7hl.rpm droid-config-cancro-kickstart-configuration-1-1.armv7hl.rpm droid-config-cancro-preinit-plugin-1-1.armv7hl.rpm droid-config-cancro-ssu-kickstarts-1-1.armv7hl.rpm | 15:25 |
saidinesh5 | droid-config-cancro-bluez5-1-1.armv7hl.rpm droid-config-cancro-patterns-1-1.armv7hl.rpm droid-config-cancro-pulseaudio-settings-1-1.armv7hl.rpm | 15:25 |
Mister_Magister | saidinesh5: cause you dont have multidevice sfossdk command | 15:26 |
Mister_Magister | aaaand why are you spamming | 15:26 |
saidinesh5 | < 5 lines | 15:26 |
Mister_Magister | still ugly | 15:26 |
saidinesh5 | but even then where is it placed? | 15:26 |
saidinesh5 | i have the package built.. | 15:26 |
saidinesh5 | but no installroot | 15:26 |
Mister_Magister | what package | 15:27 |
Mister_Magister | ah | 15:27 |
Mister_Magister | so you build droid-configs and dont have installroot? | 15:27 |
saidinesh5 | yup | 15:27 |
Mister_Magister | hmm | 15:27 |
Mister_Magister | im using old kickstart from other device | 15:28 |
Mister_Magister | so if you have one… | 15:28 |
saidinesh5 | interesting.. + /bin/rm -rf /home/helios/mer/android/droid/hybris/droid-configs/installroot | 15:28 |
saidinesh5 | that is in the droid-configs.log | 15:28 |
Mister_Magister | heh | 15:28 |
saidinesh5 | so why is it being removed? | 15:28 |
Mister_Magister | dunno maybe its copied or something | 15:29 |
*** spiiroin <spiiroin!~spiiroin@213-216-253-55.bb.dnainternet.fi> has quit IRC (Ping timeout: 264 seconds) | 15:29 | |
saidinesh5 | mal: ^ ? | 15:31 |
Mister_Magister | check log | 15:32 |
*** spiiroin <spiiroin!~spiiroin@213-216-253-55.bb.dnainternet.fi> has joined #sailfishos-porters | 15:32 | |
Mister_Magister | oh latest dhc is broken iirc | 15:32 |
saidinesh5 | :/ | 15:33 |
mal | saidinesh5: check faq, near the end | 15:33 |
saidinesh5 | which section? | 15:35 |
Mister_Magister | near end | 15:35 |
saidinesh5 | updating submodules? | 15:36 |
mal | saidinesh5: https://public.etherpad-mozilla.org/p/faq-hadk#lineNumber=707 | 15:36 |
shark1 | mal : any ideas for me? Like something I can do to find out what is causing api mismatch? | 15:36 |
mal | saidinesh5: yes, you should have updated submodules and then follow the next part | 15:36 |
saidinesh5 | Ahh but i don't use droid-vibrator anymore.. we have ffmemless driver | 15:37 |
Mister_Magister | mal: any idea how can i add dt2w if i added it to kernel? its using udev | 15:37 |
mal | saidinesh5: then just do the droid-configs-device submodule downgrade | 15:37 |
saidinesh5 | Mister_Magister: depends on your implementation of dt2w | 15:38 |
Mister_Magister | i said its using udev :P something more? | 15:38 |
saidinesh5 | yes a lot more | 15:38 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 15:38 | |
saidinesh5 | most android dt2w implementations are total junk | 15:38 |
mal | Mister_Magister: how about showing evdev_trace -i output | 15:38 |
saidinesh5 | and rely just on kernel patch | 15:38 |
Mister_Magister | ok my dt2w is slightly broken | 15:40 |
Mister_Magister | it blocks input :D | 15:40 |
shark1 | or someone like Mister_Magister can you please leave a strace of your jolla-camera if you have a qualcom chipset and 14.1 base? | 15:40 |
shark1 | I just want to see how camera loads | 15:40 |
*** PeperJohnny <PeperJohnny!~johnny@dyndsl-031-150-217-082.ewe-ip-backbone.de> has quit IRC (Quit: Konversation terminated!) | 15:40 | |
Mister_Magister | i dont have 14.1 | 15:40 |
shark1 | I mean only if your camera works fine | 15:40 |
mal | shark1: we need to find a way to disable that libavenhancements loading | 15:41 |
shark1 | mal : I have removed it from the build, it should not be practically in the build. | 15:41 |
shark1 | It is a msm8996 common lib, yet op3 doesnt have it, I wonder why! | 15:42 |
Mister_Magister | mal: i have it in evdev_trace | 15:43 |
vknecht_ | any lead about dimming & blanking not happening in homescreeen but blanking fine on lockscreen ? | 15:43 |
shark1 | one more doubt, if I do make clean, will I have to do libdroid media and audioflingerglue and all again? | 15:43 |
r0kk3rz | shark1: you shouldnt need to, as those have been packed an rpm'd | 15:44 |
mal | shark1: like I said, having the library there is not the problem, just make sure it's not used | 15:44 |
shark1 | ok, but there is no clue to what is loading it also. Iam actively searching for it btw | 15:45 |
mal | probably somewhere in frameworks/av | 15:46 |
shark1 | yes it is in av, but should I edit av? | 15:46 |
mal | why not | 15:46 |
mal | unless there is some other way to disable it | 15:47 |
shark1 | Like find a commit where it was not there and revert that right! I will do that. | 15:47 |
saidinesh5 | mal: not sure which version to downgrade droid-configs to.. most recent changes seem pulseaudio/bluez5/droid-vibrator related.. my issue is some packaging script seems to be removing droid-configs/installroot after building | 15:47 |
*** zhxt <zhxt!~zhxt@223.72.88.82> has quit IRC (Ping timeout: 260 seconds) | 15:47 | |
*** MeowDude <MeowDude!3aaa7487@gateway/web/freenode/ip.58.170.116.135> has joined #sailfishos-porters | 15:47 | |
mal | saidinesh5: how about the commit mentioned in faq | 15:47 |
MeowDude | How the fuck do I build this SDSVideoFix droidmedia shit? | 15:47 |
shark1 | or can I hex edit libstagefright and make the symbol similar to the symbol to look like symbol which is missing!? | 15:48 |
MeowDude | don't give me some gypsie riddle either give me a legit line to run | 15:48 |
MeowDude | I am sick of dicking around with build_packages | 15:48 |
shark1 | MeowDude do, rm -rf external/droidmedia | 15:48 |
Ingvix | MeowDude, do you know where BOARD_KERNEL_CMDLINE would be for grouper? | 15:48 |
mal | MeowDude: sync it to external/droidmedia and rebuild the droidmedia stuff the usual way make libdroidmedia minimediaservice minisfservice | 15:48 |
shark1 | then go to external and git clone -b SDSVideoFix github.com/sailfishos/droidmedia | 15:49 |
mal | MeowDude: then package the normal way | 15:49 |
shark1 | and then do a git init inside droid media | 15:49 |
mal | shark1: that is an ugly way, changing the local manifest is cleaner | 15:49 |
r0kk3rz | or add a remote | 15:50 |
MeowDude | Yeah all of that, gibberish to me. Here is what I did, I deleted the existing droid media in the external folder via GUI, then I cloned the SDSVideoFix version into its place, I tried building using --mw="url to the repository with the fix" and --mw="path to actual external/droidmedia-SDSVideoFix" | 15:50 |
shark1 | mal : oops, I will follow that then. I always did it like this. Previously with ngfd-droid-vibrator :p | 15:50 |
mal | MeowDude: droidmedia is android side, you do not build it like that | 15:51 |
mal | MeowDude: look what I just wrote moment ago | 15:51 |
MeowDude | no I need the SDSVideoFix branch since I am using LOS 14.1 base | 15:51 |
MeowDude | I am trying to use the special one | 15:51 |
mal | MeowDude: WHO CARES WHAT BRANCH YOU USE, BUILD GOES THE SAME WAY AS IN HADK PDF, JUST CHANGE THE SOURCES | 15:52 |
r0kk3rz | lol, you build it like it says in the hadk | 15:52 |
mal | I will go away now for the rest of the day because otherwise I will be kicked out of freenode soon | 15:53 |
MeowDude | I swear to god if I don't start understanding this stuf soon someone is getting raped | 15:53 |
mal | are you happy now? | 15:53 |
MeowDude | Ill do all that magic wizard stuff and report back in the morning | 15:53 |
r0kk3rz | it really helps if you try and understand how its all put together, and not just pasting commands | 15:54 |
r0kk3rz | because its not 'magic wizard stuff', theres method to the madness | 15:54 |
MeowDude | "fatal: duplicate path" | 15:55 |
MeowDude | I give up for the night I can't take this anger | 15:55 |
mal | MeowDude: what the fuck are you doing now | 15:55 |
r0kk3rz | who knows | 15:55 |
r0kk3rz | chaos monkeying around no doubt | 15:55 |
*** nthn <nthn!~nthn_@166.158-65-87.adsl-dyn.isp.belgacom.be> has quit IRC (Quit: nthn) | 15:56 | |
* vknecht_ grabs popcorn | 15:56 | |
r0kk3rz | it'll be a miracle if anyone manages to reproduce this manta adaptation | 15:56 |
shark1 | MeowDude : you should try porting to my device. I assure you will go full mad :p | 15:56 |
MeowDude | I added your jew repo to my local manifest | 15:56 |
MeowDude | You should try my device | 15:56 |
MeowDude | I bet it is harder | 15:56 |
MeowDude | unlike you however I just kept giving up and switching bases | 15:57 |
mal | MeowDude: you already have the fucking sources, you don't need to do that anymore | 15:57 |
MeowDude | ARGGRAGRHGARG | 15:57 |
mal | MeowDude: you already cloned the correct branch afaik | 15:57 |
shark1 | MeowDude : its enough. Please maintain the sanctity here. There are many ppl coming down here to know things. | 15:58 |
mal | MeowDude: so now go to chapter 13.2 in hadk pdf, do the stuff (obviously only the android side build and later the packaging) | 15:59 |
shark1 | Ingvix : sorry I was stuck up somewhere so couldnt focus on you. So y do you need the cmd line btw? | 16:01 |
*** shark1 <shark1!7aa65eae@gateway/web/freenode/ip.122.166.94.174> has quit IRC (Quit: Page closed) | 16:03 | |
vknecht_ | oh dear :-) | 16:06 |
* vknecht_ fumbled a bit with git to get SDSVideoFix branch too, but it was not so hard (iirc about line 91 at https://pastebin.ca/4000245 ) | 16:11 | |
vknecht_ | CVS & Subversion were simpler to wrap one's ming around | 16:12 |
vknecht_ | *mind | 16:12 |
mal | it's really not that diffcult :) | 16:12 |
mal | but obviously since I use git every day at work also I might have gotten used to it | 16:13 |
vknecht_ | yes, when you have an idea where you put your feets ;-) | 16:13 |
vknecht_ | I merged commits and made a bit of release management with Subversion, but this decentralized git stuff is something else... remotes, submodules, commit locally but have to push, etc. ... that's something | 16:15 |
vakkov_ | mal: update your spec file to use more threads with 'make' :D | 16:16 |
*** _sven <_sven!~sven@p57B51BA5.dip0.t-ipconnect.de> has quit IRC (Remote host closed the connection) | 16:16 | |
vakkov_ | mal: should be "make %{?jobs:-j%jobs}" | 16:17 |
vakkov_ | i think | 16:17 |
vknecht_ | working on OpenCV stuff ? I'd like to see that in SFOS :-) | 16:19 |
mal | vakkov_: ok | 16:21 |
vakkov_ | mal: btw, have you heard of fastCV, and do you know if the openCV devs have implemented any of its functions (it's a static library but can be easily reversed... or linked to, i guess) in openC | 16:22 |
mal | vakkov_: maybe make %{?_smp_mflags} ? | 16:22 |
mal | vakkov_: that was suggested in some guide | 16:22 |
vakkov_ | mal: it seems that "jobs" is not using my cpu's full capacity.. i'll research | 16:23 |
mal | "%make_build is a macro that is available starting rpm-4.12. It is equivalent to `make %{?_smp_mflags}`, and you should use the expansion directly if you are dealing with versions of rpm older than 4.12 (which is the case for almost everything right now)." | 16:24 |
vakkov_ | hahah yes | 16:24 |
vakkov_ | i was going ot paste that | 16:24 |
vakkov_ | they were using make_build in the fedora .spec | 16:24 |
vakkov_ | maybe that's the way to go? | 16:24 |
mal | I would think so, if _smp_mflags is set in Mer OBS | 16:25 |
vakkov_ | testing with mb2 now | 16:25 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 16:25 | |
vknecht_ | btw some days ago you were discussing about pkgconfig not picking up things, and I thought, maybe what you needed was to set PKG_CONFIG_PATH ? | 16:26 |
mal | vakkov_: any other comments of the spec, for some reason the example apps did not end up in output folder so I'll remove the examples rpm for now | 16:26 |
vknecht_ | but maybe it's and old story now | 16:26 |
vakkov_ | mal: isn;t that because you commented out -DBUILD_EXAMPLES=ON | 16:27 |
vakkov_ | vknecht_ we did set up the path but sb2 for some reason was not getting that :D | 16:27 |
mal | vakkov_: well it didn't work so I removed it | 16:27 |
vakkov_ | -- Build files have been written to: /home/vakko/Mer/opencv-1/opencv/build | 16:28 |
vakkov_ | + %make_build | 16:28 |
vakkov_ | error: Bad exit status from /var/tmp/rpm-tmp.MeaEhe (%build) | 16:28 |
vakkov_ | mal: guess it's not cutting it | 16:28 |
mal | vakkov_: what is not? | 16:28 |
vknecht_ | ah, this scratchbox thingie is a universe with a universe... | 16:28 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 16:28 | |
vakkov_ | mal: %make build does not start the building process; probably mb2 does not recognise it ^ | 16:29 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 16:29 | |
saidinesh5 | mal: that didn't work either downgrading droid-configs that is.. and the issue seems to be with build scripts somewhere and not droid-configs: https://bpaste.net/show/1113736c8652 line 241 | 16:29 |
mal | vakkov_: the examples were built before when that was enabled but those were not copied to /usr/bin or any other place | 16:29 |
vakkov_ | gonna try smp flags now | 16:29 |
mal | saidinesh5: show the exact commands you used | 16:29 |
vakkov_ | mal: i noticed the same thing when i did make install (the normal way to build it, without specs and rpm packaging) | 16:30 |
saidinesh5 | mal: cd $ANDROID_ROOT && rpm/dhd/helpers/build_packages.sh --configs | 16:30 |
mal | vakkov_: so I'll remove the examples now and maybe look into that later | 16:31 |
*** MeowDude <MeowDude!3aaa7487@gateway/web/freenode/ip.58.170.116.135> has quit IRC (Ping timeout: 260 seconds) | 16:32 | |
vakkov_ | mal: smp flags definitely works | 16:33 |
vakkov_ | all cores are at 100% and it's faast ;d | 16:33 |
mal | vakkov_: good | 16:34 |
mal | vakkov_: I'll push the changes, also some cleanup of the spec | 16:34 |
vakkov_ | mal: is there a way to check build/modules/python_bindings_generator/pyopencv_generated_include.h while building on the OBS | 16:35 |
*** doniks <doniks!~doniks@a80-101-10-222.adsl.xs4all.nl> has joined #sailfishos-porters | 16:36 | |
mal | vakkov_: not sure, it must be empty because in local build it contains the includes I added in the patch | 16:36 |
mal | vakkov_: this build is so much faster now, thanks for the hint, I was going to add the _smp_mflags at some point but forgot | 16:37 |
Ingvix | Can I create BOARD_KERNEL_CMDLINE to BoardConfig.mk if it doesn't exist anywhere else? | 16:37 |
Ingvix | or there either | 16:37 |
saidinesh5 | Ingvix: sure, the android buidl scripts will try to use it from there | 16:38 |
Ingvix | good | 16:38 |
mal | vakkov_: heh, I noticed that I had the same flags missing in scummvm, always wondered why it was so slow to build | 16:38 |
vakkov_ | mal: for some strange reason the linking patch (gcc) was not applied and the build failed with that __gnu_f2h_ieee error | 16:43 |
mal | vakkov_: the patching doesn't work in local builds | 16:43 |
mal | no idea why | 16:44 |
vakkov_ | mal: very strange; that's how we were building kernels before (in the times of MER platform sdk :D) | 16:44 |
vakkov_ | sledges: do you have an idea why .patch files are not applied to local builds? | 16:44 |
mal | vakkov_: it's indeed very strange | 16:45 |
vakkov_ | is that een reported as a bug? | 16:45 |
mal | not sure | 16:45 |
Ingvix | Can I install new image just on top of previous one? | 16:45 |
mal | Ingvix: what do you mean? | 16:46 |
Ingvix | I already installed one image and I need to install new one | 16:46 |
Ingvix | on the device | 16:47 |
mal | Ingvix: if you mean via recovery then yes, the previous sailfish installation will be completely removed during installation fo sailfish zip | 16:47 |
Ingvix | yes, thank you | 16:47 |
vknecht_ | Ingvix, afaik no need to wipe anything between SFOS flahings in TWRP | 16:48 |
Ingvix | what part I need to build again after editing hadk/device/asus/grouper/BoardConfig.mk? | 16:49 |
Ingvix | configs? | 16:49 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 16:49 | |
Ingvix | or hal? | 16:51 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 16:51 | |
vknecht_ | Ingvix, I think at least 'make hybris-hal', then package it with 'build_packages.sh -d' | 16:51 |
mal | yes | 16:52 |
*** zhxt <zhxt!~zhxt@223.72.88.82> has joined #sailfishos-porters | 16:52 | |
Ingvix | I see | 16:52 |
mal | vakkov_: maybe I should add a new subproject for the opencv to my OBS so it has the dependencies also, I was also thinking of adding some other dependencies to that | 16:53 |
vakkov_ | mal: agree | 16:54 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 16:55 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 16:55 | |
Ingvix | got this kind of output https://pastebin.com/3m381djt | 16:57 |
mal | vakkov_: like openblas maybe | 16:57 |
*** zhxt <zhxt!~zhxt@223.72.88.82> has quit IRC (Ping timeout: 256 seconds) | 16:57 | |
*** shark1 <shark1!7aa65eae@gateway/web/freenode/ip.122.166.94.174> has joined #sailfishos-porters | 16:58 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 16:58 | |
shark1 | Hmm, anyone know if it is good if I find and add the libs which are not present in my build? | 16:59 |
shark1 | For example | 16:59 |
shark1 | When I run test hwcomposer, I see sdmextension.so not found,but I see it somewhere on githib of qcom 8996(my device soc) | 16:59 |
shark1 | Adding it would be good? | 17:00 |
shark1 | *github | 17:00 |
shark1 | UI is fine, but still I want to know if it can solve the complaints of Hwcomposer :p | 17:01 |
r0kk3rz | they might not really be complaints | 17:02 |
Ingvix | never mind, got the problem solved | 17:02 |
shark1 | r0kk3rz : yes but then y does it say that the lib is not found if it has no role? | 17:03 |
r0kk3rz | it could be optional | 17:03 |
shark1 | Oh but adding would be good right? | 17:03 |
r0kk3rz | do you know what it does? | 17:04 |
shark1 | Anyway I will see if it is good :p | 17:04 |
shark1 | No | 17:04 |
shark1 | But I will do some search online about functions and add then. | 17:05 |
*** elros <elros!~elros@2a02:a315:e040:3a00:1eb:161c:7b35:a8d7> has quit IRC (Quit: Communi 3.5.0 - http://communi.github.com) | 17:05 | |
vakkov_ | mal: the build on OBS configs with "Precompiled headers: NO" while here, locally it is YES... maybe this is the problem with the declarations? | 17:11 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 17:16 | |
*** XenoPL <XenoPL!~Xeno@5.174.45.16> has joined #sailfishos-porters | 17:16 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 17:16 | |
spiiroin | vknecht_: in lockscreen "user activity" does not prolong blanking; misbehaving/misdetected sensor/something as evdev input source -> can cause display not to blank when not in lockscreen | 17:17 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 17:17 | |
spiiroin | Mister_Magister: you had some questions? | 17:18 |
shark1 | If anyone know this, please answer, if not ignore.(not related to sailfish directly). How are the symbols generated in a .so file? I mean is there any pattern it follows? | 17:19 |
shark1 | Like there is one code, you compile it, it has few symbols stored in it and then you add or delete something to the code and then compile, now both libs will have different symbols for same function? | 17:21 |
vakkov_ | mal: ON IF (NOT IOS AND NOT CMAKE_CROSSCOMPILING) ... but we are always crosscompiling | 17:21 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 17:22 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 17:22 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 17:27 | |
*** gexc_ <gexc_!~gexc@172-4-29-163.lightspeed.rcsntx.sbcglobal.net> has joined #sailfishos-porters | 17:28 | |
*** nthn <nthn!~nthn_@vpna137.ugent.be> has joined #sailfishos-porters | 17:33 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 17:35 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 17:37 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 17:43 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 17:43 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 17:44 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 17:50 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 17:54 | |
*** XenoPL <XenoPL!~Xeno@5.174.45.16> has quit IRC (Ping timeout: 245 seconds) | 17:54 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 17:55 | |
mal | vakkov_: which one? | 17:57 |
mal | vakkov_: I also tried to disable precompiled headers locally and it worked | 17:58 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 18:00 | |
vakkov_ | here it fails at building the docs rpm - Processing files: opencv-doc-3.4.1-1.noarch; error: File not found: /home/vakko/Mer/opencv-1/installroot/usr/share/OpenCV/doc guess we need -DBUILD_DOCS=ON | 18:00 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 18:06 | |
mal | vakkov_: hmm, on OBS docs are built, are trying to build manually using mb2 build? | 18:06 |
*** ghosalmartin <ghosalmartin!~mgrover@host-89-243-72-240.as13285.net> has quit IRC (Remote host closed the connection) | 18:06 | |
mal | vakkov_: I already added -DBUILD_DOCS=ON to spec a long time ago | 18:07 |
mal | vakkov_: https://build.merproject.org/project/show/home:mal:opencv so now we have it built for both arm and i486 | 18:07 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 18:14 | |
*** T4 <T4!~T4@unaffiliated/mikaela/bot/euforia> has quit IRC (Remote host closed the connection) | 18:18 | |
*** T4 <T4!~T4@unaffiliated/mikaela/bot/euforia> has joined #sailfishos-porters | 18:19 | |
*** piggz <piggz!~piggz@95.150.63.214> has joined #sailfishos-porters | 18:23 | |
Mister_Magister | spiiroin: ah are you still there? | 18:27 |
Mister_Magister | i missed you (was watching star wars :P) | 18:28 |
*** M4rtinK <M4rtinK!~M4rtinK@77.48.149.46> has quit IRC (Quit: Odcházím) | 18:28 | |
*** ghosalmartin <ghosalmartin!~mgrover@2a02:c7f:923a:9000:1cae:a0ac:c289:83b4> has joined #sailfishos-porters | 18:30 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 18:31 | |
minimec | locusf: If you have a moment... My bluez5 backporting experience was rather frustrating... Well I somehow expected that... ;) | 18:32 |
*** elros <elros!~elros@2a02:a315:e040:3a00:1eb:161c:7b35:a8d7> has joined #sailfishos-porters | 18:33 | |
mal | minimec: what exactly are you trying to do? | 18:33 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 18:34 | |
minimec | mal: Backport bluez5 to the Nexus5 kernel, following this howto https://bluez-android.github.io/#supported-devices | 18:34 |
minimec | mal: Would allow me to test the AsteroidOS sync client with SailfishOS | 18:35 |
minimec | mal: locusf was able to backport bluez5 to the FairPhone2 kernel. | 18:36 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 18:37 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 18:38 | |
vakkov_ | mal: check the answer in #mer - rpmbuild or mb2 apply :) | 18:39 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 18:39 | |
vakkov_ | anyway; gonna deal with that later | 18:39 |
vknecht_ | spiiroin, hello :-) I don't really get the first part, about "user activity" ; seeing this https://pastebin.ca/4000377 when I press power button I thought it had to do with fs | 18:39 |
vknecht_ | *fb permissions or something | 18:40 |
vknecht_ | I don't really know how to investigate further | 18:40 |
vknecht_ | but it's quite possible there's something off with sensor | 18:41 |
vknecht_ | too bad, I have quite all the "important" stuff working (telephony, texting, wlan, bluetooth, video playback/recording), but some UI bug remain like shader error in browser, nemo password reset at each boot, on top of my head | 18:44 |
mal | vakkov_: I'll now build a patched libhybris with opencl support and try to get that used by opencv | 18:44 |
vknecht_ | quite an achievement after only two weeks, as I understand it... | 18:45 |
r0kk3rz | vknecht_: shader error in browser? | 18:46 |
vknecht_ | yes, gimme a moment to paste it, but when I launch it I just have a blank window | 18:47 |
locusf | minimec: who do you think got me started :) | 18:47 |
vknecht_ | (I'm still on 2.1.3.7 if it matters) | 18:47 |
mal | vknecht_: do you have QT_OPENGL_NO_BGRA=1 in /var/lib/environment/nemo/99-qtscenegraph.conf ? | 18:47 |
minimec | locusf: kido?!? ;) | 18:48 |
vknecht_ | mal, yes | 18:48 |
r0kk3rz | minimec: who is lord of the fp2 ;) | 18:48 |
minimec | r0kk3rz: I do not know that... You? | 18:49 |
mal | minimec: me :) | 18:49 |
minimec | mal: Oh. OK. ;) | 18:49 |
mal | minimec: so I know about the backporting also | 18:49 |
mal | minimec: what problem do you have? | 18:49 |
vknecht_ | r0kk3rz, here's how it looks like : https://pastebin.ca/4000388 | 18:51 |
Herrie | NotKit: You around? | 18:51 |
NotKit | yes | 18:51 |
*** piggz <piggz!~piggz@95.150.63.214> has quit IRC (Ping timeout: 248 seconds) | 18:51 | |
Herrie | NotKit: How are mediatek devices with libhybris? Anything stable or still hit&miss? | 18:52 |
Herrie | Or it really depends from device to device? | 18:52 |
r0kk3rz | vknecht_: what device is that? | 18:52 |
NotKit | libhybris itself is not an issue, but there are some other ones | 18:52 |
vknecht_ | r0kk3rz, Alcatel Idol 3 | 18:53 |
NotKit | if you got 64-bit device, you need either 64-bit rootfs and libhybris, or patch compat ioctls for hwcomposer in kernel | 18:53 |
mal | vknecht_: nemo password is meant to be reset on reboot | 18:53 |
minimec | mal: I tried to follow the howto described in 'Building own kernel' from the link I posted before. We have a CM12 And a CM13 base for the Nexus5. I tried to apply the patches descibed in the howto to our kernel trees. That didn't work. So I tried to follow the howto line by line using the proposed 'android-msm' kernel. That didn't work either. | 18:53 |
vknecht_ | mal, each and every reboot ? | 18:54 |
mal | vknecht_: yes | 18:54 |
vknecht_ | ah, alright then | 18:54 |
mal | it's a feature, not a bug | 18:54 |
vknecht_ | depend for whom ;-) | 18:54 |
minimec | mal: locusf: Would be interesting to know what version from https://www.kernel.org/pub/linux/kernel/projects/backports/ you used... | 18:54 |
r0kk3rz | vknecht_: are you setting it on developers settings? | 18:54 |
vknecht_ | yes | 18:55 |
r0kk3rz | then it should stick | 18:55 |
mal | minimec: we used https://www.kernel.org/pub/linux/kernel/projects/backports/2016/03/24/ | 18:55 |
* vknecht_ thought that service was to be launcher only at first boot after install | 18:55 | |
NotKit | Herrie, for Bluetooth, you also need to port and adapt old HCI-STP driver, like Ubuntu Touch did it and recently some device from Jolla | 18:55 |
minimec | mal: locusf: Did you patch against the official FP2 kernel which is 'marshmallow' I think, right? | 18:55 |
vknecht_ | *launched | 18:55 |
mal | minimec: we patched fp2 kernel a bit to fix some issues | 18:56 |
vknecht_ | so the main remaining bug for my device is the browser not working | 18:56 |
mal | minimec: we did https://github.com/mlehtima/android_kernel_fairphone_fp2/pull/2/commits | 18:57 |
minimec | mal: locusf: My kernel compiles after applying the first part of the howto, but the modules do not, after having applied the 'Bluetooth subsystem built from backports'. | 18:57 |
Herrie | NotKit: OK, well on LuneOS side we have 64 bits rootfs ;) | 18:57 |
Herrie | So that's not an issue | 18:57 |
vknecht_ | I guess I should try 2.1.4.x, but counted on building only 2.1.3.7 for now, and test OTA once I get my stuff in OBS | 18:58 |
r0kk3rz | vknecht_: enabled adreno quirks in hybris? | 18:58 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 18:58 | |
minimec | mal: locusf: Also we use a different toolchain (Linaro gnueabihf 4.9), but that shouldn't be a problem, I guess. | 18:58 |
NotKit | Herrie, what device do you have in mind? LineageOS is a bit a pain with MediaTek | 18:58 |
vknecht_ | r0kk3rz, no... only heard/read about mali quirks up to now... | 18:59 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 18:59 | |
mal | minimec: should not matter much, hopefully | 18:59 |
Herrie | NotKit: Nothing in particular yet, was just wondering | 19:00 |
Herrie | Yeah LineageOS seems to be hard as well | 19:00 |
Herrie | Though there seems to be https://github.com/MediatekAndroidDevelopers | 19:00 |
r0kk3rz | vknecht_: it might be worth a try | 19:00 |
mal | minimec: check if you need any of these changes https://github.com/locusf/android_kernel_fairphone_fp2/commit/33b3e327c80af6842f29e4e1fc9216cfc86d5fdc | 19:01 |
* vknecht_ searches site:www.merproject.org adreno quirk | 19:01 | |
NotKit | Herrie, they have somewhat questionable reputation in Android community, like partly not disclosing their source code | 19:01 |
NotKit | (I mean that team) | 19:01 |
*** shark1 <shark1!7aa65eae@gateway/web/freenode/ip.122.166.94.174> has quit IRC (Ping timeout: 260 seconds) | 19:01 | |
NotKit | I don't know particular details though | 19:01 |
minimec | mal: Besides 'CONFIG_ZRAM'?!? the config changes are applied when following the Howto... | 19:02 |
mal | vknecht_: https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L77 | 19:02 |
mal | vknecht_: the decription is quite fitting for you | 19:03 |
minimec | mal: Well I could apply them manually with menuconfig... | 19:03 |
mal | minimec: I never use manuconfig | 19:03 |
mal | minimec: I meant the other parts of that commit | 19:03 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 19:03 | |
* vknecht_ reads and learns | 19:04 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 19:04 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 19:04 | |
minimec | mal: Ok. I will bookmark the link and check the sources... | 19:04 |
mal | vknecht_: so you need to add some lines to your rpm/*.spec file and then build_packages.sh -d and then build libhybris again | 19:05 |
mal | minimec: maybe just show the build errors you get | 19:05 |
NotKit | Herrie, the problem is that most of cheap and interesting devices vendors won't really care about GPL to release even kernel source code | 19:05 |
mal | minimec: so we patched fp2 kernel with the commits in the PR I linked and then built it, then got the backport packages and patched it according to instructions and built it | 19:06 |
Herrie | NotKit: Yeah.. Well even larger vendors like Huawei don't care too much about GPL | 19:06 |
Herrie | They used to be extremely slow with releasing their kernels | 19:07 |
mal | vknecht_: do you understand the android_config adding to spec? | 19:07 |
Herrie | Like 6+ months after device release | 19:07 |
NotKit | well, slow is still better than not doing it at all, but this is bad | 19:07 |
vknecht_ | mal, I'm beginning to understand, I'd have to add WANT_ADRENO_QUIRKS 1 like the lines I added for #define QCOM_BSP 1 and #define QTI_BSP 1, right ? | 19:08 |
minimec | mal: locusf: Which instaructions? The howto from here? And what version of the backport package did you use? the latest stable or the latest dev version? https://www.kernel.org/pub/linux/kernel/projects/backports/ | 19:08 |
mal | vknecht_: yes | 19:09 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 19:09 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 19:10 | |
mal | minimec: https://bluez-android.github.io/#supported-devices but instead of using the kernel mentioned there I just patched the normal device kernel | 19:10 |
vknecht_ | btw, do QCOM_BSP 1 and QTI_BSP 1 always go together, eg. you'll always want both ? I was not sure about the QTI_BSP one | 19:10 |
mal | vknecht_: yes, for 14.1 (or was also in 13.0) you add both if you need those, in earlier versions it was only QCOM_BSP | 19:11 |
Mister_Magister | mal: do you know by a chance how to enable pr_debug in kernel? | 19:11 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 19:11 | |
mal | Mister_Magister: what does that do? | 19:11 |
vknecht_ | ok, I'm on 14.1, so... | 19:11 |
Mister_Magister | displays stuff | 19:11 |
vknecht_ | thanks a lot :-) | 19:12 |
Mister_Magister | like pr_debug("fb notification: event = %lu blank = %d\n", event, *blank); | 19:12 |
mal | vknecht_: just do the adreno quirks now, it should fix browser | 19:12 |
minimec | mal: Yeah... That's exactly what I was trying... ;) I will check the commits for the FP2 kernel and see if that gives me new ideas. But know I have to take a break... ;) | 19:12 |
mal | minimec: without seeing the build errors we really can't help | 19:12 |
minimec | mal: Obviously true... Maybe I'll give it another try in an hour or so. | 19:13 |
minimec | mal: locusf: THX anyway... ;) | 19:13 |
vknecht_ | I had the QCOM_BSP and QTI_BSP from earlier, so I think I'll not change those for now ; let's rebuild after adding adreno stuff for now... | 19:14 |
* vknecht_ likes build_packages.sh output and its blue lines, nice stuff :-) | 19:15 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 19:15 | |
mal | vknecht_: yes, leave what you had there before, those are for different purpose | 19:15 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 19:17 | |
vknecht_ | what about 2.1.4.x ? Should I just let it slide for now ? As I understood it, there's still some change to come, so maybe better to wait a bit ? | 19:20 |
vknecht_ | and as I said, I may have to test OTA | 19:20 |
vknecht_ | (later) | 19:20 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 19:20 | |
mal | vknecht_: just to be sure, you add #define WANT_ADRENO_QUIRKS 1 right next to the BSP stuff in the spec, so you don't add a new multiline macro | 19:23 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 19:26 | |
vknecht_ | mal, here's the situation, before and after : https://pastebin.ca/4000400 | 19:27 |
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@210.76.215.145> has quit IRC (Ping timeout: 256 seconds) | 19:29 | |
mal | vknecht_: yes, that's the correct way | 19:30 |
vknecht_ | mic seems to agree ;-) | 19:32 |
*** BenzeneSailfishX <BenzeneSailfishX!~sailfish@210.76.215.145> has joined #sailfishos-porters | 19:33 | |
* vknecht_ raises a Gewurtzatrminer glass to the health of sfos porters | 19:37 | |
mal | vknecht_: let us know if that worked | 19:38 |
vknecht_ | sure | 19:38 |
vknecht_ | that would be really unfair to let you dangle on an answer after the help you provided :-) | 19:41 |
mal | :) | 19:41 |
vknecht_ | btw, on the 3 cameras problem ; stracing mk-cam-conf and mm-camera-daemon didn't show any obvious answer about the opened devices, I just raised MAX_CAMERAS to 3, and it generated usable configs for back & front cams | 19:43 |
vknecht_ | so I let it slide for now | 19:44 |
vknecht_ | (generated configs were the same between main and 3rd cams) | 19:45 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 19:46 | |
kimmoli | yep. | 19:46 |
kimmoli | just incrementing max cams to 3 does not work. | 19:46 |
Ingvix | okay, so bootloops. Is there a log to look at, where and how? | 19:48 |
vknecht_ | well, at least I could get config files for 0/1 cams, but there's something to investigate ; perhaps mk-cam-conf could just ignore the third cam and not just bail out | 19:48 |
r0kk3rz | Ingvix: read the hadk section | 19:49 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 19:49 | |
Ingvix | I did. I didn't see anything that would directly help. How do I check if /system is mounted by systemd? | 19:51 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 19:51 | |
kimmoli | ah there is such problem. i tried to get third to work (external usb) and tinkered gst-droid with it https://github.com/kimmoli/gst-droid/commit/c64a96fefc9ec60b262c5aa0a78ba3b81bd94e86 | 19:52 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 19:52 | |
*** Ingvix <Ingvix!~Ingvix@84-253-221-32.bb.dnainternet.fi> has quit IRC (Quit: Ingvix) | 19:55 | |
* vknecht_ flashes | 19:55 | |
kimmoli | not in public | 19:56 |
mal | vknecht_: like I mentioned previously it would be interesting to see what it reports as the third camera | 19:56 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 19:57 | |
*** elros <elros!~elros@2a02:a315:e040:3a00:1eb:161c:7b35:a8d7> has quit IRC (Quit: Communi 3.5.0 - http://communi.github.com) | 19:57 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 19:57 | |
*** Ingvix <Ingvix!~Ingvix@84-253-221-32.bb.dnainternet.fi> has joined #sailfishos-porters | 20:00 | |
Ingvix | so I guess I can use dmesg to do something but I don't really have a clue how to work with that | 20:00 |
vknecht_ | mal, when I straced mak-cam-conf and mm-camera-daemon, i saw no mention of /dev/video ; I'll surely need guidance about getting useful input | 20:01 |
* vknecht_ is completing install wizards | 20:03 | |
Ingvix | I can telnet for a moment before the device reboots, it seems | 20:04 |
Ingvix | So how to proceed? | 20:08 |
vknecht_ | Ingvix, "systemctl mask droid-hal-init systemctl mask user@100000" should help, according to 9.3.2 chapter | 20:09 |
r0kk3rz | Ingvix: which telnet? 23 or 2323? | 20:09 |
Ingvix | 2323 | 20:09 |
r0kk3rz | ok thats good | 20:10 |
r0kk3rz | if you can quickly dump journalctl that can be useful | 20:10 |
mal | Ingvix: how soon does it reboot? | 20:11 |
Ingvix | quite, only some 10 seconds maybe to do somethig | 20:12 |
Ingvix | after getting connection | 20:12 |
vknecht_ | mal, r0kk3rz : browser seems to behave a wee bit better, in that I now see the lower adress-bar, but main window is still blank | 20:12 |
* vknecht_ grabs some logs | 20:12 | |
Ingvix | but I'm pretty sure I can get some journalctl dump just after I figure out the right command for it | 20:13 |
mal | but if you can get telnet then it's good already, most likely reasons for bootloops, mounts missing or firmware files not otherwise found | 20:13 |
*** TheKit <TheKit!~nekit@178-45-21-183.saransk.ru> has joined #sailfishos-porters | 20:14 | |
vakkov_ | mal: i still can't build against it... pkg... | 20:15 |
Ingvix | so I guess the command is just journalctl? | 20:16 |
vknecht_ | mal, Ingvix : bootloops also can be due to selinux and/or paranoid android settings, right ? | 20:16 |
Ingvix | yes, I already did the fixes for selinux | 20:17 |
Ingvix | didn't work | 20:17 |
*** ghosalmartin <ghosalmartin!~mgrover@2a02:c7f:923a:9000:1cae:a0ac:c289:83b4> has quit IRC (Ping timeout: 256 seconds) | 20:17 | |
mal | vakkov_: what error? | 20:17 |
r0kk3rz | vknecht_: sounds like an improvement at least | 20:18 |
*** NotKit <NotKit!~nekit@85-95-188-235.saransk.ru> has quit IRC (Ping timeout: 255 seconds) | 20:18 | |
vakkov_ | Package opencv was not found in the pkg-config search path. Perhaps you should add the directory containing `opencv.pc' to the PKG_CONFIG_PATH environment variable No package 'opencv' found | 20:18 |
vknecht_ | r0kk3rz, it is :-) but for an end-user... | 20:18 |
vknecht_ | lemme grab some more logs... | 20:18 |
Ingvix | https://pastebin.com/pPtnvmRK | 20:19 |
vakkov_ | mal: pkgconfig one.. it was expected - it did not work when manually installing it either | 20:19 |
Ingvix | this sort of stuff | 20:19 |
r0kk3rz | vknecht_: pffft users be damned | 20:19 |
mal | vakkov_: oh | 20:19 |
vakkov_ | I am trying to build the facedetect sample using "sb2 -t SailfishOS-latest-armv7hl -m sdk-build g++ -ggdb `pkg-config --cflags --libs opencv` facedetect.cpp -o facedetect" | 20:19 |
r0kk3rz | Ingvix: wheres the rest of it? | 20:20 |
Ingvix | rest? That's all I got | 20:20 |
vakkov_ | opencv.pc in in /usr/lib/pkgconfig of the target | 20:20 |
vknecht_ | r0kk3rz, really ? What would be our work worth, without users ? But yes, if we're our only users... | 20:21 |
Ingvix | unless I'm suppose to use some other command than just journalctl | 20:21 |
Ingvix | possibly add -f if I recall correctly? | 20:21 |
r0kk3rz | -n 1000 iirc to reduce the pagenation | 20:22 |
Ingvix | so journalctl -n 1000? | 20:23 |
kimmoli | and -a so lines dont truncate | 20:23 |
vknecht_ | let's see SFOS as a public service, everyone should have easy access to it (ideallyà | 20:23 |
mal | vknecht_: sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -m sdk-install pkg-config --cflags --libs opencv works for me | 20:23 |
Ingvix | -an 1000 | 20:23 |
* vknecht_ or vakkov_ ? :-) | 20:24 | |
Ingvix | how do I end a frozen telnet session? | 20:27 |
Ingvix | oh, it finally disconnected | 20:28 |
Ingvix | now here's some more https://pastebin.com/G9y5pRFT | 20:29 |
mal | Ingvix: which kernel version does your device have? | 20:31 |
Ingvix | that's a good question | 20:31 |
mal | Ingvix: is that all you got | 20:32 |
Ingvix | I'm looking into it | 20:32 |
r0kk3rz | its grouper so ye olde | 20:32 |
vknecht_ | r0kk3rz, mal, I still get shader errors when running browser : https://pastebin.ca/4000416 | 20:32 |
r0kk3rz | you might want to double check you got the cgroups patch in there | 20:33 |
Ingvix | yea I don't know | 20:33 |
Ingvix | r0kk3rz, me or vknecht_ ? | 20:34 |
r0kk3rz | Ingvix: you | 20:34 |
mal | vknecht_: you built both build_packages.sh -d and also libhybris? | 20:34 |
Ingvix | okay, so how do I check that? | 20:34 |
vknecht_ | mal, yes | 20:34 |
mal | vknecht_: maybe remove the libhybris sources manually from hybris/mw/libhybris and try rebuilding it | 20:35 |
mal | maybe it didn't see the new define | 20:35 |
vakkov_ | mal: yep, this prints the libs | 20:35 |
r0kk3rz | Ingvix: you see if you have this - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0640113be25d283e0ff77a9f041e1242182387f0 | 20:35 |
vakkov_ | mal: how do you build a .cpp with them included | 20:36 |
vknecht_ | I ran/built build_packages.sh, rebuilding libhybris and ignoring the rest | 20:36 |
vknecht_ | maybe 2.1.4.x is worh it ? | 20:36 |
mal | vakkov_: maybe try the sb2 syntax I used for your build | 20:37 |
mal | vakkov_: so sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -m sdk-install g++ ... | 20:37 |
vakkov_ | mal: i did :D changed to install with an -R flag | 20:38 |
Ingvix | r0kk3rz, from the device or somewhere in from the sources? | 20:38 |
mal | vakkov_: show the error | 20:38 |
vakkov_ | mal: same one | 20:38 |
r0kk3rz | Ingvix: your kernel source of course | 20:38 |
Ingvix | yes, I just found it | 20:38 |
Ingvix | I'm not really sure, I don't see anything that resembels too much the original or patched version. | 20:43 |
Ingvix | https://github.com/Ingvix/android_kernel_asus_grouper/blob/hybris-12.1/fs/proc/base.c | 20:43 |
*** Nokius_ <Nokius_!~Nokius@p5DDB6F91.dip0.t-ipconnect.de> has joined #sailfishos-porters | 20:43 | |
*** Mikayx <Mikayx!~kvirc@85-76-131-37-nat.elisa-mobile.fi> has quit IRC (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) | 20:46 | |
r0kk3rz | yes maybe that kernel is too old for that particular issue | 20:46 |
*** Nokius <Nokius!~Nokius@p5DDB4387.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 255 seconds) | 20:47 | |
*** filip <filip!~filip@193-138-49-239.dynamic.t-2.net> has quit IRC (Ping timeout: 240 seconds) | 20:51 | |
mal | r0kk3rz: yep, the patch is only needed on 3.4, that is 3.1 | 20:51 |
Mister_Magister | mal: did you ever add dt2w to kernel? | 20:52 |
Ingvix | So what might be the next step to try? | 20:52 |
mal | Mister_Magister: no, since depends on firmware also | 20:53 |
Mister_Magister | hmm | 20:53 |
*** cxl000 <cxl000!~cxl000@180-150-93-44.NBN.mel.aussiebb.net> has quit IRC (Read error: No route to host) | 20:55 | |
r0kk3rz | Ingvix: theres not a lot in that journal log... maybe try grabbing dmesg | 20:55 |
*** cxl000 <cxl000!~cxl000@180-150-93-44.NBN.mel.aussiebb.net> has joined #sailfishos-porters | 20:56 | |
Ingvix | How's that done? | 20:56 |
*** eyome <eyome!~eyome@vit94-6-88-160-180-232.fbx.proxad.net> has joined #sailfishos-porters | 20:56 | |
*** piggz <piggz!~piggz@95.150.63.214> has joined #sailfishos-porters | 20:56 | |
Ingvix | dmesg on the device via telnet or on host? | 20:57 |
mal | Ingvix: of course on device via telnet | 20:59 |
Ingvix | alright then | 20:59 |
Ingvix | just plain dmesg command? | 20:59 |
*** piggz <piggz!~piggz@95.150.63.214> has quit IRC (Ping timeout: 268 seconds) | 21:01 | |
r0kk3rz | yup | 21:02 |
Ingvix | there's a bit more lines https://pastebin.com/QWArcBBz | 21:03 |
Ingvix | nncblk0p9 at least didn't seem to mount because of some unsupported optional features. Might that be the cause? | 21:06 |
r0kk3rz | nope | 21:07 |
Ingvix | okay... | 21:07 |
r0kk3rz | you see it get mounted like two lines later? | 21:09 |
r0kk3rz | thats normal | 21:09 |
Ingvix | yes, I did after I suggested it.. | 21:09 |
r0kk3rz | that said, line 669 doesnt sound good | 21:11 |
Ingvix | indeed | 21:17 |
vknecht_ | mal, r0kk3rz, I must have fumbled previously with adreno quirks, now Browser is fine | 21:21 |
vknecht_ | thanks to you two :-) | 21:21 |
*** cxl000 <cxl000!~cxl000@180-150-93-44.NBN.mel.aussiebb.net> has quit IRC (Ping timeout: 260 seconds) | 21:22 | |
vknecht_ | even the torch shortcut is working, ain't that fine ? | 21:25 |
mal | vknecht_: good | 21:25 |
mal | vknecht_: did you remove libhybris sources before this last build? | 21:26 |
mal | vknecht_: I'm pretty that was the reason | 21:26 |
vknecht_ | homescreen blanking is for another dau I guess | 21:26 |
vknecht_ | hmm, no, I didn't do a make clean or rm some dir | 21:27 |
mal | vknecht_: what problem is that? | 21:27 |
mal | vknecht_: hmm, odd | 21:27 |
vknecht_ | lockscreen blanks (screen off) as it should, but when on homescreen it stays on forever | 21:28 |
*** louisdk <louisdk!~louisdk@5.103.138.205> has joined #sailfishos-porters | 21:32 | |
mal | vakkov_: wohoo, I can see in strace output that opencv loads the android OpenCL library via libhybris | 21:32 |
*** piggz <piggz!~piggz@95.150.63.214> has joined #sailfishos-porters | 21:32 | |
kimmoli | nice | 21:33 |
vknecht_ | lots of nice things here :-) | 21:39 |
mal | maybe I should do some performance testing to see what kind of difference can be seen | 21:40 |
*** cxl000 <cxl000!~cxl000@180-150-93-44.NBN.mel.aussiebb.net> has joined #sailfishos-porters | 21:41 | |
r0kk3rz | opencl noice! | 21:44 |
*** piggz <piggz!~piggz@95.150.63.214> has quit IRC (Ping timeout: 240 seconds) | 21:46 | |
vknecht_ | btw, can one safely disable perfd and bootstat ? | 21:47 |
minimec | mal: I am back. ;) I applied all the patches from https://github.com/mlehtima/android_kernel_fairphone_fp2/pull/2/commits to our kernel. There is one file we don't have in our tree (drivers/video/msm/mdss/mdss_mdp_trace.h). | 21:49 |
minimec | mal: The kernel compiles but applying the config gave me some warnings: warning: override: reassigning to symbol CRYPTO_USER_API_HASH warning: override: reassigning to symbol CRYPTO_USER_API_SKCIPHER | 21:50 |
minimec | mal: I did not compile the modules yet. | 21:51 |
*** ghosalmartin <ghosalmartin!~mgrover@2a02:c7f:923a:9000:dd95:d8fa:42e0:a4e4> has joined #sailfishos-porters | 22:02 | |
*** gmoro_ <gmoro_!~gmoro@31.169.96.62> has joined #sailfishos-porters | 22:06 | |
*** gmoro <gmoro!~gmoro@31.169.96.62> has quit IRC (Ping timeout: 264 seconds) | 22:08 | |
minimec | mal: OMG... I was able to compile the backported modules... ;) | 22:08 |
*** vknecht_ <vknecht_!~vknecht@212-198-79-198.rev.numericable.fr> has quit IRC (Quit: 'night) | 22:12 | |
mal | minimec: good | 22:13 |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 22:17 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has joined #sailfishos-porters | 22:23 | |
*** Oxyd76 <Oxyd76!~quassel@5.18.216.4> has quit IRC (Read error: Connection reset by peer) | 22:24 | |
ghosalmartin | mal: hows the android 8 effort going? | 22:28 |
*** Ingvix <Ingvix!~Ingvix@84-253-221-32.bb.dnainternet.fi> has quit IRC (Read error: Connection reset by peer) | 22:29 | |
mal | ghosalmartin: I need to push some final changes to github and then it might be testable | 22:30 |
ghosalmartin | mal: i might join the fray, the mi mix lineageos14.1 seems fragile nad likely to be left behind. cant even build their kernel and get it to boot. but seems like lineage 15 is coming | 22:31 |
r0kk3rz | but will it wurk? | 22:31 |
*** louisdk <louisdk!~louisdk@5.103.138.205> has quit IRC (Ping timeout: 264 seconds) | 22:32 | |
*** murray <murray!~murray@dyndsl-092-252-127-030.ewe-ip-backbone.de> has quit IRC (Quit: Leaving) | 22:32 | |
ghosalmartin | r0kk3rz, no idea tbh. someones made an unofficial port that seems to work? tbh all hardware works with cm14.1 so that could easily be a base. but not getting the kernel to boot, with a garbled last_kmsg has me scratching my head | 22:33 |
mal | ghosalmartin: for older device 15.1 could be ok to do but for a device which originally had android 8 it might be a bit more complicated, we need to figure out how to handle the new treble/hidl stuff | 22:36 |
r0kk3rz | yeah no logs is always great | 22:36 |
r0kk3rz | if you know the led sysfs paths you can flashy some lights | 22:37 |
ghosalmartin | mal: yeah this hasnt been trebled yet, although they seems to be attempting to treble it | 22:38 |
ghosalmartin | r0kk3rz, haha SOS out the error code :P | 22:38 |
r0kk3rz | ghosalmartin: yeah or just see how far it gets | 22:38 |
r0kk3rz | i wonder how much they mangled the hal api with this treble stuff | 22:39 |
ghosalmartin | well wouldnt it just become more stable for us in the future/? | 22:40 |
r0kk3rz | eh, maybe | 22:40 |
r0kk3rz | i think we'd want to cut it slightly higher than the treble layer anyway | 22:40 |
r0kk3rz | unless you want to reimplement the hidl parsing stuff | 22:41 |
ghosalmartin | nah preferably not | 22:45 |
ghosalmartin | am still shocked at how this wasnt already a thing in android | 22:45 |
*** eyome <eyome!~eyome@vit94-6-88-160-180-232.fbx.proxad.net> has quit IRC (Quit: eyome) | 22:45 | |
r0kk3rz | yeah well, android is something of a case study in how not to make an operating system | 22:47 |
ghosalmartin | guess its just like any other solution that gets written and ends up not scaling well | 22:51 |
ghosalmartin | ...actually could a kernel built with CLANG cause any issues?... can a kernel even be built with clang? | 22:53 |
r0kk3rz | why not? | 22:54 |
ghosalmartin | no idea, ill see if there doing that, not sure what else could explain the garbled dmesg | 22:54 |
r0kk3rz | i think there was some disabling of clang going on for 14 builds actually | 22:54 |
r0kk3rz | ghosalmartin: its just memory corruption, no big deal | 22:54 |
ghosalmartin | r0kk3rz, but that 2 megs must of gone somewhere :P | 22:55 |
ghosalmartin | hmmm i wonder if its because the offsets arent passed to mkbootimg | 22:57 |
r0kk3rz | yeah, garbled by being stored in volatile storage through a reboot | 22:57 |
ghosalmartin | hmm okay | 22:58 |
*** cxl000 <cxl000!~cxl000@180-150-93-44.NBN.mel.aussiebb.net> has quit IRC (Ping timeout: 248 seconds) | 23:53 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!