Tuesday, 2015-02-10

*** M4rtinK <M4rtinK!~M4rtinK@ip-89-177-124-246.net.upcbroadband.cz> has quit IRC (Ping timeout: 245 seconds)00:07
*** vakkov <vakkov!~vakkov@s3n104.brunel.ac.uk> has joined #sailfishos-porters00:21
*** vakkov <vakkov!~vakkov@s3n104.brunel.ac.uk> has quit IRC (Ping timeout: 246 seconds)00:26
*** vakkov <vakkov!~vakkov@s3n104.brunel.ac.uk> has joined #sailfishos-porters00:29
*** olafh <olafh!~olafh@p5B021D02.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 250 seconds)00:35
*** edubai <edubai!sid39243@gateway/web/irccloud.com/x-wgqcgpumzqhrouox> has joined #sailfishos-porters00:46
*** vakkov <vakkov!~vakkov@s3n104.brunel.ac.uk> has quit IRC (Ping timeout: 246 seconds)01:24
*** vakkov <vakkov!~vakkov@134.83.207.11> has joined #sailfishos-porters01:52
*** g0tch4 is now known as Mongolian_FBI02:06
*** Mongolian_FBI is now known as diamondcore02:21
*** diamondcore is now known as uuhimhere02:21
*** Umeaboy <Umeaboy!~Umeaboy@c-94-255-156-119.cust.bredband2.com> has quit IRC (Quit: Leaving)02:47
*** phlixi_ <phlixi_!~phlixi@ppp-212-114-183-87.dynamic.mnet-online.de> has joined #sailfishos-porters03:17
*** phlixi <phlixi!~phlixi@ppp-88-217-20-244.dynamic.mnet-online.de> has quit IRC (Ping timeout: 264 seconds)03:17
*** goast <goast!~goast@122.194.11.115> has joined #sailfishos-porters04:10
*** goast <goast!~goast@122.194.11.115> has quit IRC (Client Quit)04:14
*** goast <goast!~goast@122.96.50.178> has joined #sailfishos-porters04:14
*** goast <goast!~goast@122.96.50.178> has quit IRC (Client Quit)04:16
*** goast <goast!~goast@122.194.11.169> has joined #sailfishos-porters04:17
*** goast <goast!~goast@122.194.11.169> has quit IRC (Quit: Leaving)04:24
*** uuhimhere <uuhimhere!~uhhimhere@1.9.98.123> has quit IRC (Quit: Leaving)04:32
*** jerpelea <jerpelea!55e202bf@gateway/web/freenode/ip.85.226.2.191> has joined #sailfishos-porters04:48
*** jerpelea <jerpelea!55e202bf@gateway/web/freenode/ip.85.226.2.191> has quit IRC (Ping timeout: 246 seconds)05:20
*** swex <swex!~quassel@176.14.78.203> has joined #sailfishos-porters05:27
*** olafh <olafh!~olafh@p5B021E73.dip0.t-ipconnect.de> has joined #sailfishos-porters05:47
*** eleroux <eleroux!~Adium@192.194.199.34> has joined #sailfishos-porters06:06
*** hannakal1 <hannakal1!hmaenpaa@melkki.cs.helsinki.fi> has quit IRC (Ping timeout: 250 seconds)06:15
*** hannakala <hannakala!hmaenpaa@melkki.cs.helsinki.fi> has joined #sailfishos-porters06:15
*** harha <harha!~harha@a91-153-12-92.elisa-laajakaista.fi> has joined #sailfishos-porters06:16
*** cxl000 <cxl000!~cxl000@c27-253-5-120.brodm4.vic.optusnet.com.au> has joined #sailfishos-porters06:47
*** glasserc <glasserc!~ethan@66.114.71.21> has quit IRC (Ping timeout: 252 seconds)06:50
*** iTune <iTune!~PhompAng@161.246.138.104> has joined #sailfishos-porters06:55
*** tanty_off is now known as tanty07:04
*** glasserc <glasserc!~ethan@66.114.71.21> has joined #sailfishos-porters07:05
*** plfiorini <plfiorini!~plfiorini@net-93-71-167-190.cust.vodafonedsl.it> has quit IRC (Quit: Sto andando via)07:31
*** jerpelea <jerpelea!d5730a62@gateway/web/freenode/ip.213.115.10.98> has joined #sailfishos-porters07:47
*** phlixi_ is now known as phlixi07:54
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@212-198-218-185.rev.numericable.fr> has joined #sailfishos-porters07:58
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@212-198-218-185.rev.numericable.fr> has quit IRC (Ping timeout: 246 seconds)08:24
*** phdeswer <phdeswer!~phdeswer@91-159-55-220.elisa-laajakaista.fi> has quit IRC (Ping timeout: 255 seconds)08:30
*** goast <goast!~goast@122.194.11.115> has joined #sailfishos-porters08:53
*** phdeswer <phdeswer!~phdeswer@2001:998:2a:dead:6267:20ff:fe47:e16c> has joined #sailfishos-porters09:00
*** tanty is now known as tanty_off09:17
*** tanty_off is now known as tanty09:18
*** uhhimhere <uhhimhere!~uhhimhere@1.9.98.123> has joined #sailfishos-porters09:32
*** borcean <borcean!borcean@osuosl/staff/borcean> has joined #sailfishos-porters09:37
goasthi09:39
goastsledges: Boot black!09:42
sledgesgoast: hello:)09:45
goastsledges: I port vivo,Boot black!09:54
uhhimhereso the ubuntu phone is out09:56
uhhimheree4.509:56
uhhimherei dont get the flash sale thing though09:56
*** plfiorini <plfiorini!~plfiorini@sei.yacme.com> has joined #sailfishos-porters09:56
sledgesgoast: congrats!09:57
sledgesubuntu: congrats!09:57
sledges:)09:57
sledgesgoast: observe dmesg output on your host when phone boots into black, and proceed with debugging09:57
goastsledges: http://pastebin.com/QButVzTm09:59
sledgesgoast: telnet port 232310:02
goastsledges: I would also like to see the dmesg,but usb seems to have problems.10:21
goastsledges: http://pastebin.com/CRsLvjLx10:22
sledgesgoast: dmesg on your host PC, not on phone10:23
Stskeepsokay, who here has a device with https://wiki.merproject.org/wiki/Adaptations/libhybris/gpu problem?10:27
Stskeepsand time on their hands10:27
mal-I have similar problem that OnePlus One has10:29
Stskeepsexcellent10:29
Stskeepswhat device?10:29
mal-Xperia Pro10:29
mal-and additional problem with fbdev10:30
Stskeepsok, can you point me to your droid-hal-device?10:30
mal-no quite sure what you mean10:30
Stskeepsthe .spec file in particular for your device10:30
Stskeepslike https://github.com/mer-hybris/droid-hal-device/blob/hybris-10.1/droid-hal-i9300.spec10:30
Stskeepsmorphis: ping10:31
mal-https://github.com/mlehtima/droid-hal-device10:31
mal-I didn't remember that I had already added that to github10:32
Stskeepsok, so this is cm-10.1 right?10:32
mal-actually cm-1110:32
mal-but I just forked it from hybris-10.1 since there is no hybris-1110:33
mal-of droid-hal-device10:33
Stskeepshttps://github.com/CyanogenMod/android_hardware_libhardware/blob/cm-12.0/include/hardware/gralloc.h#L327 , https://github.com/LegacyXperia/android_device_semc_msm7x30-common/blob/cm-11.0/BoardConfigCommon.mk#L38 , you need a :10:34
Stskeeps%define android_config \10:34
Stskeeps#define QCOM_BSP 1\10:35
Stskeeps%{nil}10:35
Stskeepsin that spec10:35
Stskeepsand then remake libhybris and all that with clean sources10:35
mal-ok, I try that when I get home10:35
Stskeepsand droid-hal-device10:35
Stskeepsvgrade_c: ^^^10:36
mal-Stskeeps: any ideas why my system cannot open framebuffer device?10:37
Stskeepsmal-: don't worry about it though10:37
mal-ok10:37
*** goast <goast!~goast@122.194.11.115> has quit IRC (Ping timeout: 252 seconds)10:46
*** gogeta <gogeta!~gogeta@151.22.5.65> has joined #sailfishos-porters10:47
*** goast <goast!~goast@180.118.2.200> has joined #sailfishos-porters11:03
*** gogeta <gogeta!~gogeta@151.22.5.65> has quit IRC (Ping timeout: 255 seconds)11:18
morphisStskeeps: pong11:21
Stskeepsmorphis: http://issues.webos-ports.org/issues/531 isn't about kernel11:22
morphisStskeeps: I know11:22
Stskeepsah11:22
morphisStskeeps: basically the application keeps the buffers open11:22
Stskeepswell, maybe it's two different issues then11:22
Stskeepswe're definately seeing the stupid #define QCOM_BSP stuff11:23
morphisStskeeps: when looking at /proc/`pidof LunaWebAppManager/smaps I see multiple anon_inode:ion_share_fd kept open11:25
Stskeepsok11:25
morphisas LunaWebAppManager manages multiple windows but stays open each closed window gives me one or two new open fds11:25
morphiswhere both take up to 80M11:25
Stskeepsnod11:26
morphisso right, it isn't up to the kernel11:26
morphissomewhere we don't close our buffers11:26
morphisand we only see this on client side not on the compositor side11:26
Stskeepsok11:26
Stskeepsyou're AOSP based?11:26
Stskeepsi presume11:26
morphiscm 11.011:26
morphisfor the touchpad11:26
*** jvb <jvb!jvb@37.157.197.24> has quit IRC (Ping timeout: 276 seconds)11:27
morphiscm 10.2 for the nexus411:27
morphisStskeeps: so you already have any clue about this?11:27
morphisdidn't had time to look through the wayland part of libhybris yet and track the buffers11:28
Stskeepswell, i found out the QCOM_BSP as a really real problem, as in, it calls allocSize() instead of alloc()11:29
*** jvb <jvb!jvb@37.157.197.24> has joined #sailfishos-porters11:31
*** gogeta <gogeta!~gogeta@2.228.32.65> has joined #sailfishos-porters11:31
*** jvb <jvb!jvb@37.157.197.24> has quit IRC (Excess Flood)11:32
morphisStskeeps: so allocSize has only the additional bufferSize parameter11:33
Stskeepsyes11:33
Stskeepsbut if you call it as if you'd call alloc(), you'd have missing parameters/garbage11:33
*** jvb <jvb!jvb@37.157.197.24> has joined #sailfishos-porters11:33
morphis:)11:33
Stskeeps-> allocate way too much shit, or too little11:33
Stskeeps:P11:33
morphisso disabling QCOM_BSP isn't really a solution11:34
*** alin <alin!~alin@forbin.ichec.ie> has joined #sailfishos-porters11:34
*** alin <alin!~alin@forbin.ichec.ie> has quit IRC (Changing host)11:34
*** alin <alin!~alin@opensuse/member/ealin> has joined #sailfishos-porters11:34
Stskeepssure, it's more along lines that libhybris needs to be built with QCOM_BSP and hwcomposer11:34
*** swex <swex!~quassel@176.14.78.203> has quit IRC (Remote host closed the connection)11:34
Stskeepsso it uses the right function pointer11:34
morphiswe're building hwcomposer already with QCOM_BSP11:34
morphisbut libhybris doesn't use alloc_size, right?11:35
Stskeepsit shouldn't, but it may accidentially if not building with QCOM_BSP11:35
Stskeepsas it then hits the allocSize function pointer where it thinks alloc is11:35
morphisah11:35
alinlocusf: was my impression or you try to build directly agains aosp?11:35
alinhi11:36
*** jvb <jvb!jvb@37.157.197.24> has quit IRC (Max SendQ exceeded)11:36
morphisStskeeps: so that is why we added android-config.h ...11:37
Stskeepsyep11:37
*** swex <swex!~quassel@176.14.78.203> has joined #sailfishos-porters11:39
*** jvb <jvb!jvb@37.157.197.24> has joined #sailfishos-porters11:45
morphisStskeeps: let me try that11:46
*** jvb <jvb!jvb@37.157.197.24> has quit IRC (Max SendQ exceeded)11:48
*** jvb <jvb!jvb@37.157.197.24> has joined #sailfishos-porters11:50
locusfalin: yes11:52
alinlocusf: and how does it work?11:53
locusfalin: I'll compile a guide when its ready11:53
locusfif even hadk if such a thing would be possible in the near future11:53
alinlocusf: cool.... but you are optimist or pesimist?11:53
locusfalin: it seems easy enough for me to figure out so I'm not pessimist either11:54
sledgeslocusf: tell me what to change in hadk, and i'll change that12:00
sledgescurrently cm approach boils down only to one line: hybris-10.1 :)12:01
sledgesso an extra paragraph how to manage split manifest if going for aosp would do, feel free to suggest any other approach12:02
locusfsledges: as I said, when its done, hopefully it would be aosp-r5.0.2-r1 :)12:06
sledgesend-of-guide12:06
sledges:D12:06
*** iTune <iTune!~PhompAng@161.246.138.104> has quit IRC (Ping timeout: 252 seconds)12:22
*** Tassadar <Tassadar!~tassadar@ip4-83-240-20-212.cust.nbox.cz> has joined #sailfishos-porters12:24
*** zhxt <zhxt!~zhxt@118.244.255.148> has joined #sailfishos-porters12:34
*** phdeswer <phdeswer!~phdeswer@2001:998:2a:dead:6267:20ff:fe47:e16c> has quit IRC (Ping timeout: 250 seconds)12:47
*** iTune <iTune!~PhompAng@ppp-124-122-70-28.revip2.asianet.co.th> has joined #sailfishos-porters12:52
*** arcean <arcean!~arcean@apn-31-1-138-182.dynamic.gprs.plus.pl> has joined #sailfishos-porters13:28
*** goast <goast!~goast@180.118.2.200> has quit IRC (Ping timeout: 264 seconds)13:33
morphisStskeeps: thanks for the hint; works quite well13:38
*** goast <goast!~goast@122.96.50.178> has joined #sailfishos-porters13:50
*** Tassadar <Tassadar!~tassadar@ip4-83-240-20-212.cust.nbox.cz> has quit IRC (Quit: Segmentation fault)13:55
*** beidl_ <beidl_!~quassel@188-22-81-78.adsl.highway.telekom.at> has joined #sailfishos-porters14:06
*** beidl <beidl!~quassel@188-22-94-127.adsl.highway.telekom.at> has quit IRC (Ping timeout: 264 seconds)14:09
*** phdeswer <phdeswer!~phdeswer@91-159-55-220.elisa-laajakaista.fi> has joined #sailfishos-porters14:26
*** borcean <borcean!borcean@osuosl/staff/borcean> has quit IRC (Ping timeout: 265 seconds)14:27
*** borcean <borcean!borcean@osuosl/staff/borcean> has joined #sailfishos-porters14:45
*** eleroux <eleroux!~Adium@192.194.199.34> has quit IRC (Quit: Leaving.)14:47
*** zhxt <zhxt!~zhxt@118.244.255.148> has quit IRC (Quit: Konversation terminated!)14:58
*** zanac <zanac!~stevel@S01060019d19187c9.cg.shawcable.net> has joined #sailfishos-porters15:10
*** gogeta <gogeta!~gogeta@2.228.32.65> has quit IRC (Read error: Connection reset by peer)15:11
*** alin <alin!~alin@opensuse/member/ealin> has quit IRC (Remote host closed the connection)15:17
*** ruthenianboy <ruthenianboy!~root@chello085216159245.chello.sk> has joined #sailfishos-porters15:26
*** ruthenianboy <ruthenianboy!~root@chello085216159245.chello.sk> has quit IRC (Ping timeout: 244 seconds)15:31
*** jerpelea <jerpelea!d5730a62@gateway/web/freenode/ip.213.115.10.98> has quit IRC (Ping timeout: 246 seconds)15:34
*** uhhimhere <uhhimhere!~uhhimhere@1.9.98.123> has quit IRC (Quit: Leaving)15:43
*** Umeaboy <Umeaboy!~Umeaboy@2001:16d8:cc9b:0:cc94:4695:2369:4b3> has joined #sailfishos-porters15:47
*** Umeaboy <Umeaboy!~Umeaboy@2001:16d8:cc9b:0:cc94:4695:2369:4b3> has quit IRC (Ping timeout: 250 seconds)15:56
*** Tassadar <Tassadar!~tassadar@ip4-83-240-20-212.cust.nbox.cz> has joined #sailfishos-porters16:21
*** Tassadar <Tassadar!~tassadar@ip4-83-240-20-212.cust.nbox.cz> has quit IRC (Quit: Segmentation fault)16:37
*** Tassadar <Tassadar!~tassadar@ip4-83-240-20-212.cust.nbox.cz> has joined #sailfishos-porters16:38
*** paulie_a <paulie_a!~p@a91-153-28-189.elisa-laajakaista.fi> has joined #sailfishos-porters16:39
*** tanty is now known as tanty_off16:40
*** Tassadar_ <Tassadar_!~tassadar@ip4-83-240-20-212.cust.nbox.cz> has joined #sailfishos-porters16:42
*** plfiorini <plfiorini!~plfiorini@sei.yacme.com> has quit IRC (Quit: Sto andando via)16:42
*** Tassadar <Tassadar!~tassadar@ip4-83-240-20-212.cust.nbox.cz> has quit IRC (Read error: Connection reset by peer)16:43
*** arcean_ <arcean_!~arcean@apn-31-1-138-182.dynamic.gprs.plus.pl> has joined #sailfishos-porters16:55
*** arcean <arcean!~arcean@apn-31-1-138-182.dynamic.gprs.plus.pl> has quit IRC (Ping timeout: 265 seconds)16:57
*** iTune <iTune!~PhompAng@ppp-124-122-70-28.revip2.asianet.co.th> has quit IRC (Ping timeout: 244 seconds)17:29
*** goast <goast!~goast@122.96.50.178> has quit IRC (Quit: Leaving)17:36
*** r0kk3rz <r0kk3rz!~chatzilla@host-166-162-253-159.as3.arqiva-wifi.sharedband.net> has joined #sailfishos-porters17:42
*** plfiorini <plfiorini!~plfiorini@net-93-71-167-190.cust.vodafonedsl.it> has joined #sailfishos-porters17:48
*** vgrade_c <vgrade_c!uid65664@gateway/web/irccloud.com/x-ushosktwddqxssvf> has quit IRC (Quit: Connection closed for inactivity)18:01
*** vgrade_ is now known as show18:01
*** show is now known as help18:02
Stskeepsshow help..?18:02
*** help is now known as Guest1553218:02
*** Guest15532 is now known as vgrade18:02
sledgessitu: no triage today18:02
situsledges: :)18:03
sledgesfaenil may hilightedly respond to vgrade's nick change ;)18:03
situsledges: May be add something more to the agenda.18:03
faenilahhaa no I removed that :P18:03
sledgessitu: taken (assigned) bugs should be kicked during next triage18:04
sledgeshope the nick change wasn't a call of distress:)18:04
vgrade:)18:04
Stskeepsvgrade: saw my solution on oneplus one?18:05
vgradeStskeeps: gave it a try , no change to gralloc errors.  Am making sure the QCOM_ define was applied18:06
Stskeepsvgrade: you'll need to re-make libhybris too18:06
Stskeepsi had the same issue on another device18:06
vgradeyea , I should have remade all but checking now18:07
Stskeepsi'm willing to bet a beer that it'll help18:07
vgradeit looks a good call, I'll let you know18:07
*** r0kk3rz <r0kk3rz!~chatzilla@host-166-162-253-159.as3.arqiva-wifi.sharedband.net> has quit IRC (Ping timeout: 246 seconds)18:15
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@212-198-218-185.rev.numericable.fr> has joined #sailfishos-porters18:27
*** ruthenianboy <ruthenianboy!~root@chello085216159245.chello.sk> has joined #sailfishos-porters18:28
ruthenianboyguys, step 14.3.1 - if i have git available, do I need to clone it first somewhere and than add proper dir to manifest?18:32
sledgesruthenianboy: just add it, repo clones what is in manifest18:32
ruthenianboysledges: I am not familiar with repo mechanism. Thanks for suggest18:37
*** dr_gogeta86_joll <dr_gogeta86_joll!~sailfish@net-188-217-76-5.cust.vodafonedsl.it> has joined #sailfishos-porters18:45
*** Tassadar_ is now known as Tassadar19:07
*** ruthenianboy <ruthenianboy!~root@chello085216159245.chello.sk> has quit IRC (Ping timeout: 252 seconds)19:10
*** vakkov <vakkov!~vakkov@134.83.207.11> has quit IRC (Ping timeout: 255 seconds)19:12
*** ruthenianboy <ruthenianboy!~root@chello085216159245.chello.sk> has joined #sailfishos-porters19:16
*** taaeem <taaeem!55b661ad@gateway/web/cgi-irc/kiwiirc.com/ip.85.182.97.173> has joined #sailfishos-porters19:29
mal-sledges: any ideas why building 7.1.4 The device specific configuration fails with failed dependencies from a package that is no longer anywhere, it just complains about a old version19:30
mal-I have no idea where that package is supposed to be since I removed it from everywhere and recreated local repo etc19:31
Stskeepsvgrade: https://github.com/CyanogenMod/android_build/commit/52d37cb6b7b88f245dda4d11923fd79a4e9fbdea19:32
*** Nokius_ <Nokius_!~Nokius@p5DDB561B.dip0.t-ipconnect.de> has joined #sailfishos-porters19:40
*** Nokius <Nokius!~Nokius@p5DDB7D33.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 250 seconds)19:43
mal-it seems the target was somehow messed up19:43
*** arcean <arcean!~arcean@5.174.194.206> has joined #sailfishos-porters19:43
*** arcean_ <arcean_!~arcean@apn-31-1-138-182.dynamic.gprs.plus.pl> has quit IRC (Ping timeout: 264 seconds)19:44
*** paulie_a <paulie_a!~p@a91-153-28-189.elisa-laajakaista.fi> has quit IRC (Quit: Leaving)19:45
*** SfietKonstantin <SfietKonstantin!~sk@212-198-218-185.rev.numericable.fr> has joined #sailfishos-porters19:46
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@212-198-218-185.rev.numericable.fr> has quit IRC (Ping timeout: 245 seconds)19:47
*** vakkov <vakkov!~vakkov@s3n104.brunel.ac.uk> has joined #sailfishos-porters19:49
*** eleroux <eleroux!~Adium@62-78-217-43.bb.dnainternet.fi> has joined #sailfishos-porters19:56
*** CarlosMazieri <CarlosMazieri!~carlos@177.204.184.89.dynamic.adsl.gvt.net.br> has joined #sailfishos-porters19:59
ruthenianboywhat is the difference between stock recovery and hybris-recovery?20:03
*** gogeta <gogeta!~gogeta@net-188-217-76-5.cust.vodafonedsl.it> has joined #sailfishos-porters20:04
*** taaeem <taaeem!55b661ad@gateway/web/cgi-irc/kiwiirc.com/ip.85.182.97.173> has left #sailfishos-porters20:07
sledgesruthenianboy: stock recovery has ui and gives adb interface for androidy bits. hybris-recovery gives telnet for linuxy bits, designed to debug further boot of sailfish20:17
*** CarlosMazieri <CarlosMazieri!~carlos@177.204.184.89.dynamic.adsl.gvt.net.br> has quit IRC (Quit: Konversation terminated!)20:24
*** SfietKonstantin <SfietKonstantin!~sk@212-198-218-185.rev.numericable.fr> has quit IRC (Read error: Connection reset by peer)20:24
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@212-198-218-185.rev.numericable.fr> has joined #sailfishos-porters20:25
*** chrisi <chrisi!~chrisi@ipb2192abc.dynamic.kabel-deutschland.de> has quit IRC (Read error: Connection reset by peer)20:30
*** chrisi <chrisi!~chrisi@ipb2192abc.dynamic.kabel-deutschland.de> has joined #sailfishos-porters20:31
mal-Stskeeps: I recompiled all device specific packages and I don't get any memory allocation related errors anymore20:44
Stskeepsthat's good20:45
mal-but now I have new problem20:45
mal-HYBRIS_EGLPLATFORM=hwcomposer /usr/lib/qt5/bin/qmlscene -platform hwcomposer main.qml causes a segfault20:45
Stskeepsthat's probably more interesting20:46
mal-however backtrace is useless20:46
sledgesstrace20:47
sledgesstrace -f20:48
mal-http://pastebin.com/6JzrbvDM20:50
*** Nokius_ is now known as Nokius20:50
sledgesmal-: what about EGL_PLATFORM=fbdev20:51
sledgeslooks like you're tripping on Nokius' Oppo Find5 case https://wiki.merproject.org/wiki/Adaptations/libhybris/gpu20:53
sledgesabout swapinterval20:53
sledgesmal-: running as root btw?20:54
Nokius:)20:54
mal-yes, root20:54
sledgesopen("/dev/graphics/fb0", O_RDWR|O_LARGEFILE) = 1320:54
sledgeshmmm20:54
sledgesthat is fine, fd = 13, not -1320:55
sledgesmal-: so fbdev and then null, to re-try after ion fix20:55
mal-does it matter if I use HYBRIS_EGLPLATFORM or EGL_PLATFORM?20:56
sledgesEGL_PLATFORM should be of choice20:56
sledgesbut will only make difference when you'll be launching some (non-silica) apps ;)20:56
sledgesmal-: also for fbdev full calling convention is eglfs:20:56
sledgesEGL_PLATFORM=fbdev strace /usr/lib/qt5/bin/qmlscene -platform eglfs main.qml20:56
*** eleroux <eleroux!~Adium@62-78-217-43.bb.dnainternet.fi> has quit IRC (Quit: Leaving.)20:57
mal-fbdev gives ERROR: failed to open framebuffer: (Operation not permitted)20:57
sledgesok like last time, now try it with -platform eglfs20:57
mal-same20:57
sledgesmal-: then =null (and -platform hwcomposer)20:58
Nokiushappy hacking :) nn20:58
sledgesnn Nokius20:58
mal-qmlscene: hwcomposer_window.cpp:186: virtual int HWComposerNativeWindow::dequeueBuffer(BaseNativeWindowBuffer**, int*): Assertion `fbnb!=__null' failed.20:58
*** cxl000 <cxl000!~cxl000@c27-253-5-120.brodm4.vic.optusnet.com.au> has quit IRC (Quit: Leaving)21:01
sledgesmal-: strace from fbdev pls?21:02
sledges(i know you did in the past, but your pastes expire :p)21:02
mal-this is for null http://pastebin.com/RKp4paFG21:02
sledgesi was thinking merbot should learn to follow pastes and cache/log them somewhere;)21:03
mal-maybe I'll extend the expiration time21:03
sledgesmy 2nd thought was that if some keywords were not re-iterated in the channel log after a pastie, the pastie wasn't important enough ;) and i usually grep for those keywords21:04
mal-for fbdev http://pastebin.com/89pDzFWT21:05
sledgesmal-: EGL_PLATFORM=fbdev strace -f /usr/lib/qt5/bin/qmlscene -platform eglfs main.qml21:06
sledgesmal-: another measure: EGL_PLATFORM=fbdev test_hwcomposer21:07
sledges(also try hwcomposer as platform)21:07
mal-http://pastebin.com/VNER2Hfg  =  GL_PLATFORM=fbdev strace -f /usr/lib/qt5/bin/qmlscene -platform eglfs main.qml21:09
mal-EGL_PLATFORM=fbdev test_hwcomposer gives ERROR: failed to open framebuffer: (Operation not permitted) as usual21:09
sledgesvery well, so we eliminate qt from the scene21:09
sledges(i.e. the way it might (ab)use fb)21:10
sledgesand hwc segfaults? ;)21:10
mal-test_hwcomposer: test_hwcomposer.cpp:122: virtual void HWComposer::present(HWComposerNativeWindowBuffer*): Assertion `err == 0' failed.21:10
mal-and then aborted21:10
sledgesstrace that pls21:11
mal-http://pastebin.com/ijGPGKg021:12
mal-it takes a while to copy that :)21:12
sledges&> ;)21:12
*** M4rtinK <M4rtinK!~M4rtinK@ip-89-177-124-246.net.upcbroadband.cz> has joined #sailfishos-porters21:13
mal-I do that, but still it takes a while to copy it to my computer and pastebin21:13
sledgesyup:)21:13
sledgesiirc there was a pastebin service21:13
sledgesto get around without webui21:13
mal-most likely that does exist21:14
mal-that last one is actually quite interesting failure21:15
*** gogeta <gogeta!~gogeta@net-188-217-76-5.cust.vodafonedsl.it> has quit IRC (Ping timeout: 255 seconds)21:16
*** ruthenianboy <ruthenianboy!~root@chello085216159245.chello.sk> has quit IRC (Ping timeout: 265 seconds)21:18
sledgesmal-: your failure is here: https://github.com/mer-hybris/libhybris/blob/master/libhybris/hybris/tests/test_hwcomposer.cpp#L12221:18
sledgesand that can boil down to https://github.com/mer-hybris/qt5-qpa-hwcomposer-plugin/pull/2121:19
sledgesim afk for a bit, investigation is encouraged21:19
sledges(also to situ's cm patch)21:19
sledgeshttps://github.com/siteshwar/android_hardware_qcom_display/commit/95f7ed38297e505f59d45c820d109bb01797ba4e21:19
sledgesthat got accepted http://review.cyanogenmod.org/#/c/67489/21:19
*** ruthenianboy <ruthenianboy!~root@chello085216159245.chello.sk> has joined #sailfishos-porters21:20
sledgesi hope it will all add up in the end21:20
sledgesmal-: what does your android_hardware_qcom_display looks like? and you might be using the -caf one (which completely avoids the aforementioned fix)21:21
mal-I'll try to figure out what is happening21:21
mal-doesn't that come directly from hybris manifest?21:22
sledgesit does21:22
sledgesbut also can be pulled by your device repo21:22
sledgesand manifest provides -caf as well (if it doesn't, it still can get pulled in)21:23
*** harha <harha!~harha@a91-153-12-92.elisa-laajakaista.fi> has quit IRC (Quit: Leaving.)21:23
sledges(caf = code aurora forum)21:23
mal-at least BoardConfigCommon.mk says TARGET_QCOM_DISPLAY_VARIANT := caf21:24
sledgesyou might end up applying situ's patch to whichever display repo your HABUILD_SDK is picking up, and make hwcomposer - and copy that libhwcomposer.so file over to /system on your phone (can't remember exact pahts and names but you catch my drift)21:25
mal-if my system is using the caf version then reset has for(int i = 0; i < HWC_NUM_DISPLAY_TYPES; i++) {21:27
mal-the non-caf has the patch21:27
sledges    for(int i = 0; i < MAX_DISPLAYS; i++) {21:28
sledges?21:28
mal-nope, hwc.cpp does not contain that21:28
sledgesah, so it contains the num_display_types macro already21:29
mal-how do I figure out which version my system is using21:30
sledgesyou might have to rebuild it anyway21:30
sledgesso i suggest you apply that patch21:30
sledgess/HWC_NUM_DISPLAY_TYPES/numDisplays/21:30
sledgeswrite(2, " * Author: CodeAurora Forum\n", 28 * Author: CodeAurora Forum21:31
mal-so after I add that patch, then what?21:32
sledgesubu-chroot into HABUILD_SDK21:32
mal-aa, you said that already I think21:32
sledgesfind -name libhwcomposer*.so* -exec ls -l {} \;21:33
sledgesfind out -name libhwcomposer*.so* -exec ls -l {} \;1;5C21:33
*** dr_gogeta86_joll <dr_gogeta86_joll!~sailfish@net-188-217-76-5.cust.vodafonedsl.it> has quit IRC (Quit: IRC for Sailfish 0.9)21:35
mal-sledges: No rule to make target `hwcomposer'21:38
sledgesmal-: make modules21:39
sledgeswhat does find above say?21:39
sledgesmal-: make modules | grep hwc21:39
sledges(also build/envsetup and lunch/breakfast etc)21:39
mal-I did those naturally21:40
sledgesperfect21:40
mal-find command return nothing21:41
sledgesnot ok21:41
sledgesfind out -name "*hwc*" -exec ls -l {} \;21:42
mal-where should I run those?21:42
sledges$ANDROID_ROOT21:42
mal-last returns out/target/product/iyokan/obj/KERNEL_OBJ/usr/include/asm/hwcap.h21:42
sledgeslet's see what make modules | grep hwc21:43
sledgesreturns21:43
mal-fails21:43
mal-/bin/bash: line 1: column: command not found21:44
nykacmal-: put {} in quotes?21:45
sledgessudo apt-get install bsdmainutils21:45
mal-hwc-test-arrows21:47
mal-hwcomposer.default21:47
mal-hwcomposer.msm7x3021:47
mal-that's from make modules | grep hwc21:48
sledgesmake hwcomposer.msm7x3021:48
sledgesnykac: glad we're not the only two in this ;)21:48
mal-no rule to make out/target/product/iyokan/obj/SHARED_LIBRARIES/libmedia_intermediates/export_includes21:50
nykacsledges: there are others, but they are all dead21:50
sledgesmal-: try hwcomposer.default for a laugh, before i find libmedia remedy21:51
mal-that compiled ok21:52
sledgesrepeat the find command21:52
mal--rwxr-xr-x 1 mal mal 5392 Feb 10 21:52 out/target/product/iyokan/system/lib/hw/hwcomposer.default.so21:53
sledgesmal-: which cm base are you?21:53
mal--rwxr-xr-x 1 mal mal 5392 Feb 10 21:52 out/target/product/iyokan/obj/lib/hwcomposer.default.so21:53
mal--rwxr-xr-x 1 mal mal 14732 Feb 10 21:52 out/target/product/iyokan/obj/SHARED_LIBRARIES/hwcomposer.default_intermediates/LINKED/hwcomposer.default.so21:53
mal--rwxr-xr-x 1 mal mal 14732 Feb 10 21:52 out/target/product/iyokan/symbols/system/lib/hw/hwcomposer.default.so21:53
mal-cm-1121:53
mal-btw, the find command was wrong, it's hwcomposer not libhwcomposer21:54
sledgesmal-: make modules | grep media21:54
sledgesmal-: the first find command :P21:55
mal-com.android.media.remotedisplay, com.android.media.remotedisplay.xml, invoke_mock_media_player, libmedia_jni, media, media_cmd, mediaframeworktest, qcmediaplayer21:56
sledgesmake media21:57
*** zetaz <zetaz!~arno@8.227.204.77.rev.sfr.net> has joined #sailfishos-porters21:58
mal-that compiled ok but doesn't help22:00
sledgesmake libmedia_jni22:00
ruthenianboyI included device and kernel in manifest.xml but when I proceed with breakfast command i am getting this error. http://pastebin.com/Ex0fPzNj22:01
mal-sledges: additional missing parts when trying to compile that22:04
sledgesruthenianboy: show your local manifest22:04
mal-libcamera_client_intermediates/export_includes is missing now22:04
sledgesmal-: tron ;)22:04
mal-I think I have to stop for today, I need food and my head is starting to feel like I'll lose the ability to sleep soon22:06
sledgesmal-: nw, i'll go pop some macaroni cheese into the oven too :) (custom stuffed with peperoni)22:06
mal-but at least some progress was made today22:06
sledgesmal-: if you want least hassle/headache and ask your PC to do the grunt work for you, checkout cm-11 source22:06
sledgesand build full cm22:07
sledgesovernight22:07
sledges(if PC is quiet :P)22:07
sledgesas this is what we are partially trying to do anyway:)22:07
sledgesand we don't even know if hwc patch will work so ;)22:07
mal-I only have a laptop, so it's quiet22:07
sledgesfair ;) and shovel it into a wardrobe:)22:07
mal-I don't know if i would be able to download the whole source today so maybe tomorrow22:08
sledgesanytime, you know the drill from now on:)22:09
ruthenianboysledges: local manifest http://pastebin.com/peA7N8bm22:09
sledgesruthenianboy: do lunch instead22:13
ruthenianboysledges: gettin this now: "Invalid lunch combo: w7" :D22:16
sledgesruthenianboy: just type breakfast22:18
sledges(without $DEVICE)22:18
sledgeswhat options do you get?22:18
ruthenianboy"Which would you like? [aosp_arm-eng]"22:21
sledgesruthenianboy: whole paste pls22:22
ruthenianboysledges: http://pastebin.com/V4KBhyVD22:25
sledgesruthenianboy: sudo apt-get install bsdmainutils22:26
ruthenianboysledges: I think I hit rate limit however I have credentials in netrc. http://pastebin.com/R7rLz4iU22:28
*** alin <alin!~alin@178.167.254.20.threembb.ie> has joined #sailfishos-porters22:30
*** alin <alin!~alin@178.167.254.20.threembb.ie> has quit IRC (Changing host)22:30
*** alin <alin!~alin@opensuse/member/ealin> has joined #sailfishos-porters22:30
sledgesruthenianboy: you need to add this to local manifest (under vendor/lge/w7)22:39
sledgeshttps://github.com/shinobisoft/vendor_lge_proprietary22:39
sledgesalternatively you can pull those out of your device22:39
sledgesruthenianboy: via using https://github.com/CyanogenMod/android_device_asus_grouper/blob/cm-11.0/extract-files.sh22:41
sledgesjust place it under device/lge/w7 and run it, it will pick .txt file automagically22:41
sledgesand you'll be sure you're linking against correctest blob versions22:41
sledgesi don't know why some repos manage to build without vendor/ bits22:42
sledgesrepos/devices22:42
*** chrisi <chrisi!~chrisi@ipb2192abc.dynamic.kabel-deutschland.de> has quit IRC (Ping timeout: 246 seconds)22:54
*** chrisi <chrisi!~chrisi@ipb2192abc.dynamic.kabel-deutschland.de> has joined #sailfishos-porters22:57
*** alin_ <alin_!~alin@178.167.254.188.threembb.ie> has joined #sailfishos-porters23:02
*** alin <alin!~alin@opensuse/member/ealin> has quit IRC (Ping timeout: 245 seconds)23:04
ruthenianboyI included propietary blobs in manifest. But this started to be an rocket science for me :( http://pastebin.com/KnadcT7823:18
sledgesruthenianboy: does kernel/lge... exist?23:20
ruthenianboysledges: sure23:20
ruthenianboysledges: i included in local manifest23:21
sledgesruthenianboy: lunch $DEVICE23:21
ruthenianboyhttp://pastebin.com/nv3W9vBC23:31
*** zetaz <zetaz!~arno@8.227.204.77.rev.sfr.net> has left #sailfishos-porters23:33
*** ayonix <ayonix!~quassel@unaffiliated/ayonix> has left #sailfishos-porters ("http://quassel-irc.org - Chat comfortably. Anywhere.")23:37
sledgesruthenianboy: make bootimage23:39
*** arcean <arcean!~arcean@5.174.194.206> has quit IRC (Read error: Connection reset by peer)23:41
ruthenianboyhttp://pastebin.com/pDvFSAsV23:45
sledgesit -is- getting late, and my ability to observe big fat warnings surrounded by **** marquees is diminishing23:46
sledges:D23:46
*** zanac <zanac!~stevel@S01060019d19187c9.cg.shawcable.net> has quit IRC (Quit: Leaving.)23:49
ruthenianboyi think somethink is messed. Will check tomorrow. Thank you a lot, I made big step today with your help. I am still learning23:52
sledgesruthenianboy:23:53
sledgesmv kernel/lge/w7 kernel/lge/msm822623:53
sledges(also adjust the same in your local manifest)23:54
sledgesn!n all23:56

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!