Monday, 2015-03-30

*** plfiorini <plfiorini!~plfiorini@net-93-71-167-160.cust.vodafonedsl.it> has quit IRC (Quit: Sto andando via)00:21
*** Tassadar <Tassadar!~tassadar@ip4-83-240-20-212.cust.nbox.cz> has quit IRC (Ping timeout: 255 seconds)00:43
*** oleid <oleid!~oleid@ip5b436024.dynamic.kabel-deutschland.de> has quit IRC (Quit: Leaving.)01:21
*** yacuken is now known as yacuken_off03:15
locusfmorning03:16
romorning, locusf03:39
*** zhxt_afk <zhxt_afk!~zhxt@124.192.38.2> has quit IRC (Ping timeout: 252 seconds)03:49
*** spiiroin <spiiroin!~spiiroin@37-136-164-108.rev.dnainternet.fi> has quit IRC (Quit: Leaving)03:49
Sazpaimon__vgrade, alpha2 seems to be booting on a fresh multirom, but im getting a black screen after I select my language03:59
Sazpaimon__oh wait im dumb, the screen timed out03:59
*** zhxt_afk <zhxt_afk!~zhxt@124.192.38.2> has joined #sailfishos-porters04:03
*** spiiroin <spiiroin!~spiiroin@2001:998:2a:dead:25c7:79a2:324b:fa1d> has joined #sailfishos-porters04:30
*** BrknDaBreakrz <BrknDaBreakrz!~uuhimhere@1.9.98.51> has joined #sailfishos-porters04:33
*** harha <harha!~harha@a91-153-12-92.elisa-laajakaista.fi> has joined #sailfishos-porters04:35
*** VDVsx <VDVsx!~VDVsx@dsl-hkibrasgw1-58c019-114.dhcp.inet.fi> has quit IRC (Ping timeout: 256 seconds)05:04
*** zhxt_afk is now known as zhxt05:10
*** VDVsx <VDVsx!~VDVsx@2001:2060:53:beef:9957:8760:ba9c:203b> has joined #sailfishos-porters05:30
*** VDVsx <VDVsx!~VDVsx@2001:2060:53:beef:9957:8760:ba9c:203b> has quit IRC (Remote host closed the connection)05:32
*** VDVsx_ <VDVsx_!~VDVsx@2001:2060:53:beef:9957:8760:ba9c:203b> has joined #sailfishos-porters05:32
*** harha <harha!~harha@a91-153-12-92.elisa-laajakaista.fi> has quit IRC (Quit: Leaving.)05:47
*** harha <harha!~harha@194.157.27.2> has joined #sailfishos-porters06:20
vgradeSazpaimon__: you are not the first06:31
vgradegood monrning all06:31
vgradeI have a 1+ invite in my inbox if anyone needs one06:32
Sazpaimon__yeah i guessed not06:37
Sazpaimon__Also, I haven't been keeping up sadly, from what I understand some people have been trying to get the android software layer running from within sailfish as well?06:39
*** gogeta <gogeta!~gogeta@net-93-66-218-225.cust.vodafonedsl.it> has joined #sailfishos-porters06:39
vgradeSazpaimon__: yes, that is right, android apps are still considered a deal breaker for some06:45
*** olafh <olafh!~olafh@p5B25BADB.dip0.t-ipconnect.de> has joined #sailfishos-porters06:47
Sazpaimon__vgrade, sadly it's starting to be the case for me06:47
stephgmorning guys06:51
*** harha1 <harha1!~harha@194.157.27.2> has joined #sailfishos-porters06:52
*** harha <harha!~harha@194.157.27.2> has quit IRC (Ping timeout: 244 seconds)06:54
sledgesmondaring!06:54
stephgo/ sledges06:55
*** gogeta <gogeta!~gogeta@net-93-66-218-225.cust.vodafonedsl.it> has quit IRC (Ping timeout: 264 seconds)06:56
sledgesvgrade: just mount radio from /data/media/0/multirom/roms/sailfishXX/radio.img , if not there, ask Tassadar to bundle it out from cm.zip, or via 'upload new modem' feature in mrom. this nicely ties in with sd card accessibility06:57
vgradehey stephg07:00
vgradesledges: thanks , will check if its there, I'm not sure if https://github.com/Tasssadar/Team-Win-Recovery-Project/commit/d1040d6ce96e21831ec22c1ab10a622ce2195c2f causes it not to be stored07:03
*** electrolux <electrolux!~Adium@host-2-102-107-166.as13285.net> has joined #sailfishos-porters07:04
sledgeshmm07:04
stephg'ello vgrade07:07
*** alin_ <alin_!~alin@178.167.254.93.threembb.ie> has quit IRC (Remote host closed the connection)07:11
*** oleid <oleid!~oleid@ip5b436024.dynamic.kabel-deutschland.de> has joined #sailfishos-porters07:41
*** BrknDaBreakrz is now known as UNbreakable07:46
carepack morning...07:47
*** electrolux <electrolux!~Adium@host-2-102-107-166.as13285.net> has quit IRC (Quit: Leaving.)07:56
*** spiiroin <spiiroin!~spiiroin@2001:998:2a:dead:25c7:79a2:324b:fa1d> has quit IRC (Ping timeout: 265 seconds)07:57
*** phdeswer <phdeswer!~phdeswer@91-159-55-220.elisa-laajakaista.fi> has joined #sailfishos-porters07:58
*** schiggn <schiggn!~quassel@p200300808F79BB8B498E66754FD3D3E2.dip0.t-ipconnect.de> has joined #sailfishos-porters08:00
*** spiiroin <spiiroin!~spiiroin@2001:998:2a:dead:29ad:1f1:5e49:e458> has joined #sailfishos-porters08:09
*** kjokinie <kjokinie!~kjokinie@2001:998:2a:dead:6d4d:172d:60f6:7256> has joined #sailfishos-porters08:11
oleidsooo... I've finishd an inital sailfishos build for my yuga using hybris-11.0.... screen is still black and it reboots after ~10 secs, but the switch to the sd card was done successfully: "Mer Debug setting up (DONE_SWITCH=yes)"; Any Idea what could cause such a reboot?08:17
sledgesoleid: sd card? ;)08:18
sledgesoleid: yes, selinux=0 and possibly another kernel flag08:18
oleidwhat's the fastest way to change the kernel command line? disassembling hybris-boot.img?08:25
sledgesoleid: yes, that's possible08:26
sledgesoleid: you can also specify kernel command line in fastboot08:26
sledgesbut since sony doesn't like volatile boots, it might not work08:26
sledgesoleid: if you don't have CONFIG_SECURITY_SELINUX_BOOTPARAM=y , cmdline changes will be ignored08:28
sledgesoleid: "reboot after bootup" has it written where kernel cmdline is stored: http://piratepad.net/hadk-faq08:32
*** UNbreakable is now known as BrknDaBreakRZ08:38
oleidCONFIG_SECURITY_SELINUX_BOOTPARAM=n was set; rebuild^^08:41
sledgesq08:44
sledgesok08:44
oleidby the way... I had to badly hack the code of system/vold/Volume.cpp  ; for some reason bionic and/or stlport had issues.... e.g. popen/pclose were not known... and the C++ name space was wrong, ::fabs and such simple math functions were not defined. in cm-11.0 head from cyanogenmod  git the modules vold and minvold build fine, though...08:45
sledgesoleid: so you didn't marry hybris with cm full tree?08:46
oleidnope, I used the hybris-11.0 branch08:47
sledgesand sledgehammered your way through?08:47
sledgesonly vold was failing? i thought it was more stl/gcc version problems?08:48
sledgesah, also stlport you say..08:48
sledgesso like last time08:48
oleidexactly... and system/vold was the only package which caused problems...08:48
*** electrolux <electrolux!~Adium@host-2-102-107-166.as13285.net> has joined #sailfishos-porters08:48
sledgesoleid: something in your sony repos is asking for more, and blows up at incomplete tree. im no android expert, so i would just compare the manifests and do binary search08:49
sledgesstarting with toolchains08:49
sledgesbut we disable vold so ;P08:50
oleidoh, in that case, I can live with that evil hack ,D08:50
sledgeswe'll see:)08:51
oleidoh, by the way, this hwcomposer module also builds fine in my hybris-11.0 tree, no need for a complete cm-11.0 tree...08:51
sledgesthere were some more folks affected, let's wait till one more case comes back08:51
sledgesoleid: cool, as 11 is less 'trimmed' :)08:51
oleidbut I'm still unsure where to put it... I guess it won't get picked up automagically by the rpm build process?08:52
*** BrknDaBreakRZ is now known as Ralf08:54
*** Ralf is now known as Guest3972108:54
mal-oleid: I had to hack Volume.cpp for my device also08:55
mal-so it could be a sony thing08:56
sledgesoleid: ensure test_hwcomposer is segfaulting still08:57
sledgesoleid: then put your built hwc.so under /usr/libexec/droid-hybris/system/lib08:57
sledgestest_hwc08:58
sledgesif works, ..., profit!08:58
sledgesif not, move it to /system/lib08:58
sledgesand retest08:58
oleidokay, still rebooting with selinux turned off via command line... but the interval is longer, about 1 minute08:58
*** alin <alin!~alin@opensuse/member/ealin> has joined #sailfishos-porters08:59
oleidnot sure if related, but this log line seems suspicious, as the reboot occurs shortly after: "Mar 30 09:01:13 Jolla mce[531]: modules/cpu-keepalive.c: cpu_keepalive_timer_cb(): cpu-keepalive ended"09:02
*** swex <swex!~quassel@176.14.99.69> has joined #sailfishos-porters09:03
sledgesoleid: btw your hwc..so will get picked up by rpm, if you redo mb2 droid-hal after make hwc.msm... and if it then resides among out/target/product/$DEVICE/system/lib/*.so09:03
sledgesoleid: must be modem09:03
*** cxl000 <cxl000!~cxl000@c27-253-5-120.brodm4.vic.optusnet.com.au> has joined #sailfishos-porters09:03
oleidsledges: I'm trying the kernel which worked for hybris-10.109:11
sledgesoleid: hmm that's not advised:)09:12
oleidthe result probably won't be worse than rebooting, will it? ;D09:15
sledgesoleid: the 1min reboot issue is known too, you should either mask ofono or check how exactly Nokius and vgrade fixed it on on oppo09:15
*** nh1402 <nh1402!5f979b64@gateway/web/freenode/ip.95.151.155.100> has joined #sailfishos-porters09:16
oleidah, interesting, thanks!09:16
nh1402Sazpaimon__: I have been trying to get android working from within Sailfish, and at the moment android input handling is not working.09:18
sledgesnh1402: just replied to you: http://forum.xda-developers.com/jolla-sailfish/general/dev-android-compatibility-sailfish-os-t2843846/page2#post5977500609:22
oleidsledges: whatever this ofono issue is, yuga is hit by it, too... "chmod 000 /usr/sbin/ofonod"  is a quick work-around^^09:26
sledgesoleid: lol ok nice09:27
sledgesoleid: thanks, so masking it should do for now, i'll add to faq..09:27
nh1402sledges: http://goo.gl/ds2ZhT09:29
*** dr_gogeta86 <dr_gogeta86!~gogeta@unaffiliated/dr-gogeta86/x-8885803> has joined #sailfishos-porters09:42
*** zGrr <zGrr!~grr@185.13.106.79> has joined #sailfishos-porters09:49
zGrrmoin :)09:49
sledgesnh1402: well spotted about being unable to build full system yet, thank09:50
sledgess09:50
sledgeszGrr: mon:)09:50
zGrr:)09:50
nh1402sledges: well back to the drawing board09:54
*** Guest39721 is now known as Ralf_09:55
*** Ralf_ is now known as Ralf__09:55
*** Ralf__ is now known as Ral_f09:55
oleidmoin!09:59
*** dr_gogeta86 <dr_gogeta86!~gogeta@unaffiliated/dr-gogeta86/x-8885803> has quit IRC (Ping timeout: 256 seconds)10:11
*** dr_gogeta86 <dr_gogeta86!~gogeta@unaffiliated/dr-gogeta86/x-8885803> has joined #sailfishos-porters10:11
oleidsledges, any idea where libhardware.so should come from? I'm testing the hw composer (it basically segfaults) and strace tells me, that libhardware can't be found...10:15
sledgesoleid: sh-3.2# rpm -qf /usr/libexec/droid-hybris/system/lib/libhardware.so10:17
sledgesdroid-hal-hammerhead-0.0.6-201503171225.armv7hl10:17
oleidjep, it's there. it trys to find it in /usr/libexec/droid-hybris/system/lib//system/lib/libhardware.so10:20
*** spiiroin <spiiroin!~spiiroin@2001:998:2a:dead:29ad:1f1:5e49:e458> has quit IRC (Ping timeout: 265 seconds)10:22
oleidcd /usr/libexec/droid-hybris/system/lib/; ln -s ../../system/  allows it to find the lib10:23
*** spiiroin <spiiroin!~spiiroin@2001:998:2a:dead:29ad:1f1:5e49:e458> has joined #sailfishos-porters10:23
sledgeswoot 8)10:23
sledgeswhy did that happen:))10:24
sledgesoleid: and i think it's non error as it eventually finds it on other attempts, or can be left ignored. could oyu revert your symlink when you squeeze something more from test_hwc for a good measure?10:25
oleidthe link isn't necessary if I bind-mount  /usr/libexec/droid-hybris/system/  to /system/10:29
oleidnow at least test_hwcomposer doesn't crash^^ is it supposed to show something on the screen?10:30
sledgesoleid: never bind mount pls :D10:31
sledgesit will break many many other things10:31
oleidokay, I'll test this evening, need to grab lunch and do phd work... bye!10:40
sledgesoleid: what's your major?;)10:40
oleidtheoretical physics...10:41
oleidlike sheldon ;D10:41
alinsledges: you see we take over the world10:41
*** vakkov <vakkov!~vakkov@134.83.207.122> has quit IRC (Ping timeout: 250 seconds)10:41
oleidalin: *highfive* :D10:42
sledgesoleid: lol! btw speaking of Sheldon, Home is a must-see:D10:42
sledgesalin: please say that in Sheldon language (same gram.construct as in Klingon)10:42
alinsledges: nope I do not do that kind of physics10:43
alinsledges: more pedestrian10:43
*** Ral_f is now known as StirringDaPot10:43
oleidme neither, but well^^10:43
oleidcu guys!10:43
sledgeso/10:43
*** electrolux <electrolux!~Adium@host-2-102-107-166.as13285.net> has quit IRC (Quit: Leaving.)10:47
*** oleid <oleid!~oleid@ip5b436024.dynamic.kabel-deutschland.de> has quit IRC (Ping timeout: 252 seconds)10:48
*** cmazieri <cmazieri!~kvirc@gate-tx3.freescale.com> has joined #sailfishos-porters10:52
*** cl_ <cl_!~cl@vie-188-118-249-251.dsl.sil.at> has joined #sailfishos-porters10:53
*** vakkov <vakkov!~vakkov@s3n105.brunel.ac.uk> has joined #sailfishos-porters10:56
*** spiiroin <spiiroin!~spiiroin@2001:998:2a:dead:29ad:1f1:5e49:e458> has quit IRC (Quit: Leaving)11:08
*** vakkov <vakkov!~vakkov@s3n105.brunel.ac.uk> has quit IRC (Ping timeout: 246 seconds)11:11
*** hans_ <hans_!57f0e0f2@gateway/web/freenode/ip.87.240.224.242> has joined #sailfishos-porters11:23
hans_hi11:24
*** vakkov <vakkov!~vakkov@134.83.207.122> has joined #sailfishos-porters11:24
sledgeshi hans_11:24
nh1402how would one stop all input in sailfish?11:25
sledgesnh1402: systemctl --user stop lipstick11:25
sledges:)11:25
sledgesnh1402: or modify LIPSTICK_OPTIONS in /var/lib/environment/compositor to drop eventX11:26
nh1402if thats it then why doesn't android input want to start,android uses ueventd, and it doesn't do anything11:26
sledgesnh1402: debug where exactly ueventd is knocking at11:27
sledgesalso compare with a working case, when pure cm booted11:27
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@46.189.65.154> has joined #sailfishos-porters11:33
Nokius|jollao/11:33
*** spiiroin <spiiroin!~spiiroin@37-136-164-108.rev.dnainternet.fi> has joined #sailfishos-porters11:39
klopsi-u3hi Nokius|jolla11:41
sledges\o11:41
klopsi-u3sledges do you think that a new jolla version might work better on my droid 4?11:44
sledgesklopsi-u3: i forgot what was the show-stoppoer for you :]11:44
klopsi-u3the init scripts hung11:45
klopsi-u3the first init worked, with telnet and such11:45
sledgesklopsi-u3: doubt it, as init scripts are part of your android adaptation11:47
*** lukedirtwalker <lukedirtwalker!~lukedirtw@dhclient-91-190-9-156.flashcable.ch> has joined #sailfishos-porters11:47
klopsi-u3oki11:48
sledgesklopsi-u3: you just need to do binary search on init scripts to find an offending line11:48
sledgesi.e. service11:48
klopsi-u3ok11:48
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@46.189.65.154> has quit IRC (Ping timeout: 255 seconds)11:56
*** StirringDaPot <StirringDaPot!~uuhimhere@1.9.98.51> has quit IRC (Quit: Leaving)12:12
*** nh1402 <nh1402!5f979b64@gateway/web/freenode/ip.95.151.155.100> has quit IRC (Ping timeout: 246 seconds)12:15
*** oleid <oleid!~oleid@ip5b436024.dynamic.kabel-deutschland.de> has joined #sailfishos-porters12:30
*** yacuken_off is now known as yacuken12:52
*** mvmsaikrishna <mvmsaikrishna!~mvmsaikri@117.221.71.200> has joined #sailfishos-porters12:52
yacukengood day all12:52
oleidwhat might be the reason for test_hwcomposer and qmlscene looking for libraries in /system or /vendor... as for me, /system is nonexistent (by default) and /vendor is empty. Or to put it differently: am I the only one for whom /system and /vendor is nonexistent resp. empty?12:52
oleidhey yacuken!12:52
sledgesoleid: /system should be mounted (and i think it was, when you ran 10.1)12:53
oleiddev-mtp.mount storage-sdcard1.mount droid-battery-monitor.service ofono.service sensord.service are the only failed services... that must mean that the corresponding systemd mount unit doesn't exist ...12:55
sledgesoleid: it should've been extracted during hybris-boot12:56
*** mvmsaikrishna <mvmsaikrishna!~mvmsaikri@117.221.71.200> has quit IRC (Read error: Connection reset by peer)12:56
sledgeswhen parsing fstabs12:56
sledgesyou can always showel it a valid /system mount line in a fstab12:56
*** mvmsaikrishna <mvmsaikrishna!~mvmsaikri@117.213.143.157> has joined #sailfishos-porters12:57
yacukenanybody run test_camera?12:58
yacukenstuck for me12:59
yacukenhttps://gist.github.com/yacuken/f5f25182bb9bb27078f612:59
sledgesyacuken: did you follow all steps in faq?12:59
oleidsledges: I guess that should be the original android system?12:59
sledgesoleid: yes, its system partition12:59
oleidtoo obvious ;D13:01
mal-yacuken: I have a similar problem on my port13:02
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@46.189.65.154> has joined #sailfishos-porters13:04
yacukensledges: trying now. just found missed libcamera_compat_layer with strace and build it13:04
*** alin <alin!~alin@opensuse/member/ealin> has quit IRC (Remote host closed the connection)13:08
oleidokay, with /system being mounted neither test_hwcomposer nor minimer crash. Yet, I don't see anything on the screen...13:09
mal-you used EGL_PLATFORM=hwcomposer?13:10
oleidyep13:11
sledgesyacuken: we don't use compat layer13:11
yacukensledges: ok13:12
sledgesyacuken: do you have libdroidmedia file in place and minisf services running and experimental:gstdroid repo added?13:12
sledgesas per faq13:12
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@46.189.65.154> has quit IRC (Ping timeout: 255 seconds)13:13
*** zhxt_ <zhxt_!~zhxt@114.111.166.212> has joined #sailfishos-porters13:15
mal-oleid: did you use QCOM_BSP? that is not wanted fot cm-11.0 of yuga13:15
mal-only for cm10.113:15
oleiddoh, yes, I used QCOM_BSP...13:15
oleid:D13:16
yacukensledges: fail on build minisfservice13:16
mal-oleid: at least I cannot find it in any of the .mk files13:16
yacukensledges: https://gist.github.com/yacuken/a7885b16d46a2fa66cee13:16
sledgesyacuken: your android version's captureScreen API is different. see those version checks in minisf code. it will be  the last bool param13:17
oleidmal-: so you didn't add  the definition to your rpm/droid-hal-$DEVICE.spec file and your sony device works?13:18
mal-oleid: my device wants QCOM_BSP for cm-11.013:19
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@46.189.65.154> has joined #sailfishos-porters13:19
sledgesyacuken: hope you can make this check more robust: https://github.com/sailfishos/droidmedia/commit/bb963dba657467d53a280ac45347a51ac6fc6dd013:19
sledgesyacuken: what is your android version?13:19
mal-oleid: no idea why only cm-10.1 has QCOM_BSP on your device but I think we need to trust the .mk files13:20
*** alin <alin!~alin@opensuse/member/ealin> has joined #sailfishos-porters13:21
*** harha1 <harha1!~harha@194.157.27.2> has quit IRC (Quit: Leaving.)13:21
oleidmal-: right, no QCOM_BSP for 11.0... who would have expected that. But I got QCOM_HARDWARE now..13:21
yacukensledges: PLATFORM_VERSION := 4.4.413:21
mal-oleid: that should not be related to display, at least it was not found in display-caf13:22
*** nh1402 <nh1402!~androirc@95.151.155.100> has joined #sailfishos-porters13:22
mal-oleid: I remember QCOM_HARDWARE being used for audio related stuff13:23
mal-at least13:23
nh1402sledges: I think, theoretically we could use AOSP code with ARC to fill in the gaps, to get a full system going. I might be wrong though.13:24
oleidmal-: I'll exchange QCOM_BSP with QCOM_HARDWARE in my spec and the hwcomposer project file and let's see what changes...13:24
mal-oleid: at least my system uses QCOM_HARDWARE automatically but I doubt that will cause any problems if you manually define it also13:25
mal-I remember that QCOM_HARDWARE is defined in pulseaudio plugin manually anyway13:26
mal-oleid: https://github.com/mer-hybris/pulseaudio-modules-droid/blob/master/src/droid/droid-util-44.h#L3613:27
oleidmal-: thanks! while we're at it, what do I need to change to make libhardware look for hwcomposer.msm8960.so instead of  (the non-existent) hwcomposer.qcom.so? For the moment, I added a link as work-around...13:30
sledgesyacuken: so just relax the constraint13:30
*** mvmsaikrishna_ <mvmsaikrishna_!~mvmsaikri@117.200.11.84> has joined #sailfishos-porters13:31
*** mvmsaikrishna <mvmsaikrishna!~mvmsaikri@117.213.143.157> has quit IRC (Ping timeout: 256 seconds)13:31
*** mvmsaikrishna_ is now known as mvmsaikrishna13:31
mal-oleid: not sure about the library name13:31
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@46.189.65.154> has quit IRC (Ping timeout: 255 seconds)13:32
*** zGrr <zGrr!~grr@185.13.106.79> has quit IRC (Ping timeout: 252 seconds)13:39
sledgesoleid: mal-: https://github.com/mer-hybris/android_hardware_libhardware/blob/hybris-11.0-44S/hardware.c#L4513:40
sledgesis the lookup sequence13:40
yacukensledges: try to clean and rebuild. works)13:43
oleidthanks! :)13:43
yacukennope. not works13:43
oleidsledges: in my build.prop there is : ro.board.platform=msm896013:46
*** GodGinrai <GodGinrai!~godginrai@unaffiliated/godginrai> has joined #sailfishos-porters13:47
sledgesyacuken: enlighten pls:)13:49
sledgesoleid: is it enumerated with getprop ?13:49
sledgesoleid: also your /system should be mounted at early boot for getprop to return full list13:50
yacukensledges: same error13:50
yacukenhttps://gist.github.com/yacuken/a7885b16d46a2fa66cee13:51
oleidsledges: no, not from getprop... that's the problem, I see.. maybe on the next boot with my newly added fstab entry^^13:52
mal-oleid: where did you add that?13:52
oleidmal-: add what?13:52
mal-the mount info13:53
oleidto /etc/fstab13:53
mal-ok13:53
sledgesyacuken: what did you change in the code?13:53
oleidI assume this systemd copy operates similar to what I'm used on desktop machines and swallows this without any problem^^13:54
mal-I don't remember how the mount info is given to sailfish, sledges can tell13:55
yacukensledges: nothing. remote branches (hybris-11.0-44S for frameworks/native and master for external/droidmedia)13:57
*** zGrr <zGrr!~grr@46.204.122.231.nat.umts.dynamic.t-mobile.pl> has joined #sailfishos-porters13:59
sledgesyacuken: i asked you to relax the constraint on android version14:00
sledgesas per patch14:00
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@46.189.65.154> has joined #sailfishos-porters14:00
sledgesoleid: mal-: under /lib/systemd/system just copy a .mount to system.mount and adjust apropriately14:00
Sazpaimon__well, as I kind of expected setting low power mode via mcetool didn't work on OPO14:01
Sazpaimon__i guess that feature is device specific :(14:01
*** Sazpaimon__ is now known as Sazpaimon14:01
*** Sazpaimon <Sazpaimon!wat@pool-98-111-146-164.phlapa.fios.verizon.net> has quit IRC (Changing host)14:01
*** Sazpaimon <Sazpaimon!wat@unaffiliated/Sazpaimon> has joined #sailfishos-porters14:01
sledgesSazpaimon: very much so14:01
sledgesSazpaimon: is opo amoled?14:02
*** harha <harha!~harha@a91-153-12-92.elisa-laajakaista.fi> has joined #sailfishos-porters14:02
nh1402Its an LTPS LCD display from JDI14:02
sledgeslow power mode was since Nokia N9 times14:03
Sazpaimonoh, OPO isn't amoled?14:03
Sazpaimonyeah then it makes sense why such a thing wouldn't work14:03
nh1402It isn't14:03
Sazpaimonsledges, yeah that was what I missed the most from my N914:03
Sazpaimoni even considered getting a lumia just for that14:04
Sazpaimonand hell, not even since the N914:04
Sazpaimonsome symbian phones had it as well14:05
sledgesSazpaimon: https://together.jolla.com/question/88098/solved-auto-turn-on-display-low-power-mode/14:05
yacukensledges: sorry. i think i do not fully understand you (yes. it's my creep english)14:05
sledgesyacuken: but you understand why the code fails?14:05
nh1402The only phones that have an oled display are Nexus 6, Moto X (both versions), every Samsung phone that I'm aware of, the LG G Flex, LG G Flex 214:05
Sazpaimonsledges, what part of that are you referring to?14:05
sledgesSazpaimon: sneak peek14:06
sledgesSazpaimon: jollatides link14:06
yacukenuse ANDROID_MICRO<= 4 instead ANDROID_MICRO < 4 for this14:07
yacukenhttps://github.com/sailfishos/droidmedia/commit/bb963dba657467d53a280ac45347a51ac6fc6dd014:07
Sazpaimonyeah, i did that on my phone, and it didn't do anything14:07
Sazpaimoni didnt try sneak peek though14:07
sledgesyacuken: yes14:07
Sazpaimoni had to get a random mce-tool rpm from some obs page though, the package wasn't available over pkcon for me14:07
sledgesSazpaimon: you you'll need to make sensors work on opoirst14:07
sledgesand study mce code14:07
Sazpaimonoh yeah, good point14:07
Sazpaimonbut without amoled, it wouldn't be worth it imo, it'd just cause bad battery drain14:08
sledgesSazpaimon: i think it would drain as much as lpm on amoled14:09
sledges(you can turn amoled totally off as well, to save ~sameish)14:09
yacukensledges: many many thanks again.14:09
sledgesyacuken: np, interested to see where you'll end up:)14:09
nh1402Phones with on-display cache such as the Z3 and the G2 it still wont be the same as an oled14:10
Sazpaimoni also have no idea how to get the right mcetool package, it wasn't available via pkcon so I had to get a mismatched version and mismatched architecture (armv7l vs armv7hl)14:10
sledgesSazpaimon: build it on Mer OBS14:11
Sazpaimoni'll keep that in mind once sensors are working14:13
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@46.189.65.154> has quit IRC (Ping timeout: 255 seconds)14:13
*** jackdaniel <jackdaniel!~jack@hellsgate.pl> has quit IRC (Quit: leaving)14:15
*** jackdaniel <jackdaniel!~jack@hellsgate.pl> has joined #sailfishos-porters14:18
*** iTune <iTune!~PhompAng@ppp-171-96-87-66.revip8.asianet.co.th> has joined #sailfishos-porters14:20
*** PhompAng <PhompAng!~PhompAng@ppp-171-96-87-66.revip8.asianet.co.th> has joined #sailfishos-porters14:28
*** nh1402 <nh1402!~androirc@95.151.155.100> has quit IRC (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))14:29
*** nh1402 <nh1402!5f979b64@gateway/web/freenode/ip.95.151.155.100> has joined #sailfishos-porters14:30
*** iTune <iTune!~PhompAng@ppp-171-96-87-66.revip8.asianet.co.th> has quit IRC (Ping timeout: 272 seconds)14:31
*** Tassadar <Tassadar!~tassadar@ip4-83-240-20-212.cust.nbox.cz> has joined #sailfishos-porters14:33
*** edubai <edubai!uid39243@gateway/web/irccloud.com/x-ziqwqwsozkrzdria> has joined #sailfishos-porters14:33
*** vrutkovs <vrutkovs!vrutkovs@nat/redhat/x-kfbkpzmstzcfkzhf> has joined #sailfishos-porters14:40
spiiroinSazpaimon: for "does it work at all" lpm testing you can also use: mcetool --set-powerkey-blanking=lpm mcetool --set-display-off-override=use-lpm -> blanking via power key / top swipe goes through the "lpm" state14:48
oleidokay, system is mounted across boots... however this leads indirectly to  crashes in anything hwcomposer related. on the bright side, there is less complaining in system logs about not working hardware^^14:52
oleidAs far as I can tell, everything hwcomposer related should be compiled without -DQCOM_BSP, yet that doesn't change anything.14:53
sledgesoleid: strace?14:54
*** PhompAng <PhompAng!~PhompAng@ppp-171-96-87-66.revip8.asianet.co.th> has quit IRC (Ping timeout: 245 seconds)14:54
oleidthe stack trace is not really useful. I guess it crashes in the binary blop...14:54
*** iTune <iTune!~PhompAng@ppp-171-96-87-66.revip8.asianet.co.th> has joined #sailfishos-porters14:55
*** Jonni <Jonni!~rainisto@46.166.188.241> has quit IRC (Ping timeout: 265 seconds)14:55
sledgesoleid: could do with backtrace too:)14:55
oleiddid I say stack strace? I meant backtrace^^14:56
oleidProgram received signal SIGSEGV, Segmentation fault. \n 0xb6c0e576 in ?? () \n[..] \n Backtrace stopped: previous frame identical to this frame (corrupt stack?)14:56
sledgesoleid: it's interesting still14:57
*** zGrr <zGrr!~grr@46.204.122.231.nat.umts.dynamic.t-mobile.pl> has quit IRC (Remote host closed the connection)14:57
sledgesoleid: is this test_hwcomposer ?14:57
sledgesoleid: then strace -f will be more interesting14:57
oleidexactly.... just a moment...14:58
*** Jonni <Jonni!~rainisto@linuxi.org> has joined #sailfishos-porters14:58
oleidsledges: here we go: https://pastee.org/yb9zf15:00
oleidlol: test_vibrator works now :D15:01
sledgesoleid: unmount kernel debug15:04
sledgesdebugfs15:04
sledgesoleid: systemctl mask sys-kernel-debug.mount15:04
mal-oleid: does that use the fixed hwcomposer.msm8960.so or the original?15:05
mal-oleid: at least that takes the library from /system/lib/hw/hwcomposer.msm8960.so15:06
oleidI tested both, it makes no difference15:06
mal-really, that's odd15:07
mal-oleid: so you replaced that library with the newly built fixed version?15:07
yacukenok. can play video. sound doesn't work15:08
sledgesyacuken: \o/15:08
sledgesyacuken: sound bits are in faq15:08
yacukensledges: to get sound on, as root after burning the image on the phone,15:10
yacuken           zypper in gstreamer1.0-libavY15:10
yacukenthis?15:10
sledgesyes15:10
yacukeni | gstreamer1.0-libav             | GStreamer Streaming-media framework plug-in using libav (FFmpeg). | package15:10
mal-yacuken: have you fixed the pulseaudio-modules-droid already?15:10
yacukeninstalled15:10
oleidno, libhardware tries to load  /system/lib/hw/hwcomposer.qcom.so first, which doesn't exist. I made that a link to the fixed version.15:11
yacukenmal-: nope. just follow hadk-faq from piratepad15:11
sledgesyacuken: mal-: ah ofc, sound is another prob, but videos will still be soundless;)15:11
mal-I'm planning to make a untested patch for pulseaudio-modules-droid this evening15:12
mal-since I don't have the device but at least it should start after that15:12
mal-maybe15:13
yacukenmal-: any info for this pathch?15:14
yacukenmal-: maybe i can send you needed information?15:14
oleidthe hadak-manual tells me to flash the original firmware first, then cm-11 and then sailfish. is the flashing of the original firmware really nessecary, even if cm-11 runs flawlessly?15:15
mal-yacuken: I got all needed info yesterday15:15
sledgesoleid: not necessary15:15
*** vrutkovs <vrutkovs!vrutkovs@nat/redhat/x-kfbkpzmstzcfkzhf> has left #sailfishos-porters15:57
*** mvmsaikrishna_ <mvmsaikrishna_!~mvmsaikri@117.200.3.37> has joined #sailfishos-porters16:05
*** mvmsaikrishna <mvmsaikrishna!~mvmsaikri@117.200.11.84> has quit IRC (Ping timeout: 245 seconds)16:07
*** mvmsaikrishna_ is now known as mvmsaikrishna16:07
sledgesTassadar: ping16:07
Tassadarpong16:07
sledgeswow16:07
sledges:)16:07
Tassadaralthough my dota game is loading, type fast)16:08
sledgesif there is an aosp-based sailfishos port16:08
sledgesnot cm16:08
sledgeswhat can be passed during the cm.zip phase instead?16:08
Tassadarshould work exactly the same, yes16:08
sledgesin multirom16:08
sledgesbut aosp doesn't come in .zips16:08
sledgesor does it16:08
sledgesprobably extracted system.img should suffice16:09
sledgesor an amalgamation of /data too16:09
sledges(userdata.img)16:09
oleidsledges: just for the record: ofonod doesn't crash the system on yuga if /system is mounted.16:10
sledgesoleid: wonderful16:10
sledgesNokius: ping16:11
sledgesoleid: you've gone unusually quiet after the last fix ;P16:11
oleidsledges: i just did a clean reinstall of the system to be sure rsync did nothing wrong.  :D16:12
oleidsledges: there was no fix ;D16:12
sledgesoleid: there was, mask debugfs ;P16:13
oleidI did, but it didn't change anything ...16:14
sledgesdon't believe you:)16:14
sledgesmask command needs restart16:14
sledgesumount would take effect immediately16:14
oleidI unmounted it manually ;)16:15
sledgeshemmmmmm ;P16:15
sledgeswe'll try again;)16:15
*** jerpelea <jerpelea!55e202bf@gateway/web/freenode/ip.85.226.2.191> has joined #sailfishos-porters16:15
oleidyet, you're right: just tested it again: the program now outputs "width: 1080 height: 1920" before segfault...16:15
sledgesoleid;)16:16
* sledges should've had a beer bet16:16
oleidLOL16:16
sledgesoleid: hwc..so in libexec place?16:17
oleidsledges: yep, here a new trace: https://pastee.org/7e9b416:22
oleidboth, but the trace is from hwcomposer.qcom, which is linked to libexec place...16:23
sledgesoleid: did you symlink it there?16:24
sledgeshwcomposer.qcom is still looked under system, is where still an old one resides(?)16:24
sledgesoleid: you'll have to deploy your rebuilt .so under /system/lib i'm afraid16:25
sledgesas it's the android's subsystem that's looking for it16:25
oleidsledges: /system/lib/hw/hwcomposer.qcom.so is a link to /usr/libexec/droid-hybris/system/lib/hw/hwcomposer.msm8960.so16:26
oleidI didn't want to overwrite the original /system/lib/hw/hwcomposer.msm8960.so, thus the link.16:26
oleidIf hwcomposer.qcom.so isn't found, then /system/lib/hw/hwcomposer.msm8960.so is loaded.16:27
sledgesoleid: hmm ok, that should do16:28
mal-oleid: does backtrace from gdb tell where it segfaults?16:28
oleidmal-: just installing gdb and symbols again... but I wouldn't get my hopes high, as the last time the backtrace was not usable...16:29
mal-I know16:29
*** jerpelea <jerpelea!55e202bf@gateway/web/freenode/ip.85.226.2.191> has quit IRC (Quit: Page closed)16:30
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@46.189.65.154> has joined #sailfishos-porters16:31
*** r0kk3rz <r0kk3rz!~chatzilla@149.254.250.206> has joined #sailfishos-porters16:33
Nokius|jollasledges: so I have to edit the *.rc as I did no the device  and the droid-hal-init  file to use hwcomposer and the correct input16:33
Nokius|jollaalso add the new libhybris rpm16:33
Nokius|jollahope I can fix also the bulid problem to get u1116:34
oleidmal-: no useful output...16:34
*** PhompAng <PhompAng!~PhompAng@ppp-171-96-87-66.revip8.asianet.co.th> has joined #sailfishos-porters16:34
Nokius|jollajust +2h to be home =) hope I will have than a good build16:36
sledgesNokius|jolla: you'll have to patch all files in their repos (like *.rc) and push upstream to mer-hybris16:36
sledgesNokius|jolla: hwcomposer patch is still to be discussed, what do you mean about droid-hal-init ?16:37
vgradeinteresting use case, seen before? https://forums.oneplus.net/threads/sailfish-os-for-oneplus-one.279537/page-30#post-1048171116:37
sledgesNokius|jolla: mic create for u11 might fail due to mount options of your #HOME16:37
*** iGhost <iGhost!~PhompAng@ppp-171-96-87-66.revip8.asianet.co.th> has joined #sailfishos-porters16:37
vgradehttps://forums.oneplus.net/threads/sailfish-os-for-oneplus-one.279537/page-30#post-1048171116:37
sledgesNokius|jolla: vgrade: was the not-mounted /system the cause of modem rebooting device after 1minute on find5?16:38
*** iTune <iTune!~PhompAng@ppp-171-96-87-66.revip8.asianet.co.th> has quit IRC (Ping timeout: 252 seconds)16:38
mal-oleid: hmm, what could be the problem in your system, you rebuilt droid-hal-device, libhybris and qt5-qpa-hwcomposer-plugin after removing the QCOM_BSP?16:38
*** PhompAng <PhompAng!~PhompAng@ppp-171-96-87-66.revip8.asianet.co.th> has quit IRC (Ping timeout: 272 seconds)16:40
vgradesledges: i thought it was selinux kernel option,16:40
Nokius|jollavgrade sledges yes we had selinx problems16:41
oleidmal-: I rebuild that stuff, and installed libhybris-devel etc... but to make sure, I'm restarting with a clean SCRATCHBOX2...16:41
*** r0kk3rz <r0kk3rz!~chatzilla@149.254.250.206> has quit IRC (Ping timeout: 255 seconds)16:41
vgradere lots of AP's I remember Sage showing something related at FOSDEM16:41
Nokius|jollabit sad feeling to lose my working sfos on my find516:42
vgradeNokius|jolla: what you do?16:42
sledgesmal-: oleid: if hwcomposer..so is in order, test_hwcomposer should reach an assert16:42
*** edubai <edubai!uid39243@gateway/web/irccloud.com/x-ziqwqwsozkrzdria> has quit IRC (Quit: Connection closed for inactivity)16:43
mal-sledges: ?16:43
sledgesmal-: oleid: ignoring changes to dhd/libhybris (not 100%  sure about this one though, maybe 97% :P)16:43
Nokius|jollavgrade: nothing yead but when i create the zip i have to test it and will lose the current state16:43
sledgesmal-: segfaults without asserts and crumbled backtraces indicate badness on bionic side16:43
sledgeshence hwcomposer.qcom.so16:44
sledgesoleid: can you point hwcomposer.qcom.so symlink to hwc..msm..so instead?16:44
sledgesoleid: and re-run strace16:44
mal-that would tell what difference the changes have made16:45
sledgesmal-: if test_hwcomposer spits out an assert, problems will already be in fences or libhybris defines16:45
*** mvmsaikrishna <mvmsaikrishna!~mvmsaikri@117.200.3.37> has left #sailfishos-porters16:46
sledgesNokius|jolla: you can make a carbon copy, via exporting partitions16:46
sledgesand rsync16:46
sledgesor tar it up16:46
*** hans_ <hans_!57f0e0f2@gateway/web/freenode/ip.87.240.224.242> has quit IRC (Quit: Page closed)16:47
sledgesvgrade: Nokius|jolla: and afster fixing selinux you were not getting more reboots from modem, like after 1 minute?16:48
mal-I don't quite understand what you think is the problem16:48
mal-but afk for a while16:48
oleidsledges: strace for hwcomp from /system https://pastee.org/k424v16:49
oleidmal-: bye!16:49
sledgesmal-: i think it still fails inside that .so16:49
sledgesoleid: mal-: no difference in straces16:49
Nokius|jollasledges: irrc yes16:49
mal-oleid: that looks exactly the same16:50
Nokius|jollaah I have to mask also the debugfs16:50
sledgesoleid: please stop symlinking and just brutally replace (backup often :D)16:50
mal-oleid: also check that the libraries are different16:51
oleidthe difference is: /system/lib/hw/hwcomposer.qcom.so", R_OK) = -1 ENOENT in the new one,  /system/lib/hw/hwcomposer.qcom.so", R_OK) = 0   in the old one^^16:51
sledgesoleid: symlink not there?;P also check permissions16:53
oleidexactly, I removed it ;) permissins should be okay, I'm running as root *duck*16:53
sledgesoleid: repoint symlink16:54
oleidmal-: md5 of the files is different.16:54
oleidsledges: symlink procedure initiated^^16:56
*** alin <alin!~alin@opensuse/member/ealin> has quit IRC (Remote host closed the connection)16:59
oleidsledges:we'll see if any remaining change in libhybris triggers the badness in hwcomposer.xxx.so...17:00
sledgesoleid: if there's a need or error in dhd or libhybris about a QCOM_* defines, test_hwcomposer would segfault with an assert message17:01
oleidsledges: I didn't check what change these QCOM_B* defines introduce, but I could imagine that the patched libhybris sends data to the bionic side that leads to crashes... That's why I wanted to try...17:04
sledgesoleid: you're safe to suspect problems remaining in hwc..so only, until you see an assert17:05
oleidokay17:09
oleidis there anything I could do to get a backtrace from bionic code?17:10
*** electrolux <electrolux!~Adium@host-2-102-107-166.as13285.net> has joined #sailfishos-porters17:10
sledgesoleid: not really17:11
sledgesoleid: how does the strace with qcom->msm .so looking?17:11
oleidyou mean a link to the msm in the same directory?17:12
sledgesoleid: yes17:12
oleidsledges: here you are: https://pastee.org/6fswn17:14
sledgesoleid: it breaks at the same spot17:15
sledgesoleid: rm /system/lib/hw/hwcomposer.qcom.so; cp /usr/libexec/droid-hybris/system/lib/hw/hwcomposer.msm8960.so /system/lib/hw/hwcomposer.qcom.so17:16
sledgesoleid: re-run paste17:16
sledgesjust to have things clear17:16
Nokius|jollasledges: copy of data ?17:16
sledgesNokius|jolla: of /data/.stowaways/sailfishos17:17
sledgesNokius|jolla: tar somewhere up as root17:17
oleidsledges: https://pastee.org/kbvqh17:19
*** plfiorini <plfiorini!~plfiorini@net-93-71-167-160.cust.vodafonedsl.it> has joined #sailfishos-porters17:20
Nokius|jollasledges: okay will do =)17:23
*** r0kk3rz <r0kk3rz!~chatzilla@149.254.250.158> has joined #sailfishos-porters17:25
sledgesoleid: 1:1 straces, time to check whether your hwc changes got picked up17:26
sledgesoleid: check logcat also (in parallel window)17:26
sledgesrom the moment you run test_hwcomposer17:26
sledges*from17:26
sledgesoleid: and afterwards ensure your code changes get picked up, by adding more debug output into hwcomposer you patched on android's side (using LOG_NDEBUG 0 and LOG* functions)17:27
sledgesoleid: again, you'll see them via logcat17:27
*** filippz <filippz!~filippz@93-143-131-4.adsl.net.t-com.hr> has joined #sailfishos-porters17:29
oleidsledges: what is this logcat you are talking about?17:30
*** electrolux <electrolux!~Adium@host-2-102-107-166.as13285.net> has quit IRC (Quit: Leaving.)17:31
oleidsledges: I'm, pretty sure those file changes got picked up. I always could identify the change in the strace. But as you said, no matter what library was used, the crash was always at  the very same position.17:32
sledgesoleid: /usr/libexec/droid/sytem/bin/logcat17:33
*** phdeswer <phdeswer!~phdeswer@91-159-55-220.elisa-laajakaista.fi> has quit IRC (Remote host closed the connection)17:33
sledgesoleid: even when you'll find  changes being ing, something extra explodes, and that's where LOG* logcat duo will come handy17:34
sledges*in17:34
sledgesoleid: also, there is the same hwc...so file inside your out/ directory, but withing symbols/ directory - take that instead and perform backtrace17:35
sledgesit should give more symbols out17:35
sledgeson androidy part17:35
*** phdeswer <phdeswer!~phdeswer@91-159-55-220.elisa-laajakaista.fi> has joined #sailfishos-porters17:35
oleidsledges: here a logcat output of test_hwcompose https://pastee.org/etcpf17:37
Nokius|jollasledges: thanks hope all will went well =)17:37
*** electrolux <electrolux!~Adium@host-2-102-107-166.as13285.net> has joined #sailfishos-porters17:40
*** r0kk3rz <r0kk3rz!~chatzilla@149.254.250.158> has quit IRC (Ping timeout: 244 seconds)17:43
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@46.189.65.154> has quit IRC (Ping timeout: 255 seconds)17:48
*** r0kk3rz <r0kk3rz!~chatzilla@genkt-049-100.t-mobile.co.uk> has joined #sailfishos-porters17:50
*** electrolux <electrolux!~Adium@host-2-102-107-166.as13285.net> has quit IRC (Quit: Leaving.)17:50
*** iGhost <iGhost!~PhompAng@ppp-171-96-87-66.revip8.asianet.co.th> has quit IRC (Ping timeout: 272 seconds)18:06
sledgesoleid: something just blows up, which exact version of cm11 is flashed underneath?18:07
sledgesNokius: or just rename .stowaways/sailfishos to .stowaways/my_sf_backup before overflashing ;) safe18:08
sledgesNokius: naturally, don't wipe data from recovery, that's not needed18:08
oleidsledges: I used cm-11-20141112-SNAPSHOT-M12-yuga.zip18:10
*** nh1402 <nh1402!5f979b64@gateway/web/freenode/ip.95.151.155.100> has quit IRC (Ping timeout: 246 seconds)18:10
*** Nokius_ <Nokius_!~Nokius@p5DDB6419.dip0.t-ipconnect.de> has joined #sailfishos-porters18:11
oleidthis is the only non-nightly for yuga18:11
*** yacuken <yacuken!~archie@91.202.45.46> has quit IRC (Quit: WeeChat 1.1.1)18:12
sledgesoleid: perfect18:12
sledgesoleid: onto pushing the .so from symbols/ ;)18:13
* sledges goes afk18:13
*** Nokius <Nokius!~Nokius@p5DDB5371.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 244 seconds)18:13
oleidI did that, too... but no useful backtrace...18:13
sledgeshmmmmmmmmm that's super weird, where does backtrace explode? libc?18:14
oleidsledges: by the way... I'm not used to rpm - any idea why no debuginfo rpms are created?18:14
sledgesoleid: they should be, in RPMS/18:14
*** catern <catern!~catern@catern.com> has left #sailfishos-porters18:14
sledgesfor libhybris etc18:14
oleidnope, nada...18:15
oleidfor no package...18:15
locusfonly mb2 deploy creates debuginfo packages18:16
sledgesoleid: then if no backtrace is better from symbols/, the only solution is to dot LOG* functions around that hwc file18:16
*** cloanta_ <cloanta_!~sailfish@2a02:a03f:14fd:4f00:5256:a8ff:fe01:18f9> has joined #sailfishos-porters18:16
*** filippz <filippz!~filippz@93-143-131-4.adsl.net.t-com.hr> has quit IRC (Ping timeout: 255 seconds)18:17
oleidsledges: this is what gdb outpus all the time: https://pastee.org/pjpds18:17
sledgesoleid: also check what's happening inside test_hwcomposer after width: 1080 height: 192018:18
sledgesoleid: yet LOG* is now your only hope to my knowledge18:18
sledgesand logcat18:18
sledges*inside test_hwcomposer source code18:19
sledgesoleid: also try minimer for good measure18:19
* sledges afks18:19
sledgeso/18:19
sledgesPS: Nokius_, and backup hybris-*.img bits ofc18:20
oleidlocusf: only deploy? hmm...18:21
*** M4rtinK <M4rtinK!~M4rtinK@ip-89-177-124-246.net.upcbroadband.cz> has joined #sailfishos-porters18:22
locusfoleid: yeah and you need a "fake" devices.xml for it18:24
locusfthere are some examples in mer wiki18:24
*** filippz <filippz!~filippz@93-143-157-80.adsl.net.t-com.hr> has joined #sailfishos-porters18:25
mal-oleid: you'll want to use ALOGD for logging from android library when you add debug output, easy to receive that in logcat18:30
*** yacuken <yacuken!~archie@91.202.45.46> has joined #sailfishos-porters18:39
oleidmal-: can I use that, even if it's not linked against android libraries? I tried the following, however I get undefined reference to `__android_log_print': http://stackoverflow.com/questions/19946287/how-to-enable-alogd-in-android18:43
oleidI think I'll do old-school fprintf^^18:43
mal-oleid: when did you get that error? where did you add the output?18:48
mal-oleid: you can use ALOGE, that is at least always printed18:49
oleidoh, you were talking about the hwcomposer code... right... I was adding debug info to test_hwcomposer18:50
mal-sorry, I think sledges did mean test_hwcomposer18:51
mal-in test_hwcomposer you can use printf18:52
*** energycsdx <energycsdx!uid18508@gateway/web/irccloud.com/x-ikoijummgqqpezsi> has joined #sailfishos-porters18:52
mal-oleid: add the output to test_hwcomposer, I misunderstood sledges18:53
mal-sorry, I'm tired18:53
oleidmal-: np, me too^^ but you have a point: adding some debug info to the library might be interesting, too.18:55
mal-oleid: let's do that if test_hwcomposer output does not help enough18:57
*** Lipevakala <Lipevakala!~sailfish@85-76-83-208-nat.elisa-mobile.fi> has joined #sailfishos-porters18:59
*** Nokius_ is now known as Nokius19:04
Nokiussledges: will try my best :D19:04
oleidmal-: Actually, I'm wondering if it's egl related...19:06
mal-let's try test_hwcomposer first19:07
sledgesi meant ALOG* and logcat ;)19:11
mal-sledges: so you meant the android library19:12
*** filippz <filippz!~filippz@93-143-157-80.adsl.net.t-com.hr> has quit IRC (Remote host closed the connection)19:17
vakkovhe meant hwcomposer.qcom.so :)19:26
oleidLOL: I saw a spiral for a fraction of a second on my display :D19:27
vakkovparty :p where is the source code of your hwcomposer btw19:28
oleidbut I'm not sure if it's due to fprintf in hybris/egl/egl.c or due to the fact, that I copied over one library from my clean build...19:29
oleidvakkov: https://github.com/CyanogenMod/android_hardware_qcom_display-caf19:33
mal-oleid: did you find out where it crashes?19:34
mal-from the debug output19:34
oleidmal-: adding the fprintfs to test_hwcomp indicated a crash in eglCreateWindowSurface; thus I added a few fprintfs there and I saw that spiral as mentioned before...19:36
oleidI think I'll rsync over a clean build...19:36
oleidthe clean rebuild19:36
mal-oleid: check what is the pointer of HWComposer *win = new HWComposer19:37
oleidnow there is some more output and a message about: linkerlinker.c:1110| ERROR: Library '/system/lib/egl/libGLESv2S3D_adreno200.so' not found19:38
*** Lipevakala <Lipevakala!~sailfish@85-76-83-208-nat.elisa-mobile.fi> has quit IRC (Quit: IRC for Sailfish 0.9)19:39
oleidthus, it's either a timing issue (fprintf made it work?!?) or the installation is maybe QCOM_B* infected...19:39
mal-could be19:39
mal-I think that pointer is ok if you got something in the display19:40
oleidat the moment, it crashes due to some assert in HWcomposer::present  https://pastee.org/hzs7v   --- but before investigating that, I'd like to be sure the system is QCOM_B* free19:43
mal-does that match hw_get_module?19:44
mal-what did you do so that it stops to that assert?19:45
mal-oleid: what assert is that? your added output makes it difficult to know the line number19:47
oleidoh, right... just a moment, I'll look it up while the image builds...19:47
mal-oleid: is it from prepare or set?19:48
mal-did you do anything to the hwcomposer library?19:48
*** r0kk3rz <r0kk3rz!~chatzilla@genkt-049-100.t-mobile.co.uk> has quit IRC (Ping timeout: 252 seconds)19:48
oleiderr = hwcdevice->set(hwcdevice, HWC_NUM_DISPLAY_TYPES, mlist);19:49
oleidset19:49
*** r0kk3rz <r0kk3rz!~chatzilla@dab-yat1-h-48-3.dab.02.net> has joined #sailfishos-porters19:49
oleidmal-: no, I changed nothing in the hwcomposer library, apart from your three modifications.19:50
oleidmight the assert be related to the missing library libGLESv2S3D_adreno200.so?19:50
mal-to me that looks like the hwcomposer is not the fixed one19:50
*** r0kk3rz <r0kk3rz!~chatzilla@dab-yat1-h-48-3.dab.02.net> has quit IRC (Remote host closed the connection)19:51
*** r0kk3rz <r0kk3rz!~chatzilla@dab-yat1-h-48-3.dab.02.net> has joined #sailfishos-porters19:52
mal-oleid: does logcat tell anything when you run to that failure?19:53
mal-oleid: if logcat has some errors or failures then it's not the missing fixes, but if there is no errors in logcat then the hwcomposer is not the fixed one19:55
mal-this is easy to find out which it is19:55
oleidhere you are: https://pastee.org/6yfq219:56
oleidthey look the same at first sight...19:57
mal-and it fails with that assert on set?19:57
oleidexactly20:00
oleidboth20:00
mal-that is only possible if the fixed hwcomposer is not really fixed20:00
mal-just look at https://github.com/CyanogenMod/android_hardware_qcom_display-caf/blob/cm-11.0/libhwcomposer/hwc.cpp20:00
mal-the set_* functions have ALOGE in every other place that it can return a failure, the only place where there is no such output is in set()20:01
mal-and that can happen only if the condition in that function is wrong20:02
mal-so again, are you really sure the fixed hwcomposer is really fixed20:03
*** GodGinrai <GodGinrai!~godginrai@unaffiliated/godginrai> has quit IRC (Quit: Leaving Work)20:05
*** Nokius|jolla <Nokius|jolla!~Nokius|jo@p5DDB6419.dip0.t-ipconnect.de> has joined #sailfishos-porters20:09
oleidmal-: these are my changes https://pastee.org/bmmwa  --- but I'll check if that lib got really built...20:09
mal-those are correct20:10
mal-did make modules how only one hwcomposer*20:11
*** alin <alin!~alin@178.167.254.103.threembb.ie> has joined #sailfishos-porters20:13
*** alin <alin!~alin@178.167.254.103.threembb.ie> has quit IRC (Changing host)20:13
*** alin <alin!~alin@opensuse/member/ealin> has joined #sailfishos-porters20:13
oleidmal-: okay, I think it was QCOM_B* poisoning, I see a flashing spiral even without fprintf... now to hwcomposer :D20:16
*** alin <alin!~alin@opensuse/member/ealin> has quit IRC (Client Quit)20:16
*** schiggn <schiggn!~quassel@p200300808F79BB8B498E66754FD3D3E2.dip0.t-ipconnect.de> has quit IRC (Remote host closed the connection)20:21
oleidmal-: you were right, it was the wrong hwcomposer... not sure how the wrong one got copied to my hal rpms.... anyway, I see a flashing spiral :D20:23
mal-it flashes?20:25
oleidno, wrong vocable ... turning spiral...  and it doesn't crash. the animation looks good.20:28
oleidbut the load is quite high.. about 6.20:29
oleidstarting takes a while and when starting there are two processes irq/96-msm_iomm which use a lot of cpu20:30
mal-now try with minimer20:31
*** harha <harha!~harha@a91-153-12-92.elisa-laajakaista.fi> has quit IRC (Quit: Leaving.)20:32
oleidit already starting...20:32
oleidprobably related: dmesg is spammed with messages like these: https://pastee.org/zk7nw20:34
oleidthere is no screen output for minimer...20:34
mal-those errors don't look good20:36
mal-oleid: any output from minimer?20:37
oleidat least no error: https://pastee.org/pjdvf20:38
oleidload went up to 18 and killed my ssh connection...20:38
*** keithzg <keithzg!~keithzg@184.70.164.246> has joined #sailfishos-porters20:39
mal-did you make sure there are no QCOM_BSP stuff there?20:39
oleidoh, and before you ask: logcat shows nothing of interest...20:40
mal-ok20:40
mal-maybe there are some other problems in your system, I think this is enough for today, at least some progress20:40
oleidI rsynced /usr over from a clean build... I think QCOM_BSP should be gone..20:41
Nokiussledges: u11 stopes here going for u10 https://gist.github.com/Nokius/6f90d78f9d0dae2f18d320:41
oleidmal-: you're right, I was about to say the same! thanks a lot for your help and persistence to check hwcomposer :D20:42
*** vakkov <vakkov!~vakkov@134.83.207.122> has quit IRC (Ping timeout: 264 seconds)20:50
*** dhbiker <dhbiker!~dhbiker@APN-122-38-217-gprs.simobil.net> has joined #sailfishos-porters20:52
*** r0kk3rz <r0kk3rz!~chatzilla@dab-yat1-h-48-3.dab.02.net> has quit IRC (Remote host closed the connection)20:52
*** cloanta_ <cloanta_!~sailfish@2a02:a03f:14fd:4f00:5256:a8ff:fe01:18f9> has quit IRC (Ping timeout: 252 seconds)20:52
*** cloanta_ <cloanta_!~sailfish@109.134.121.57> has joined #sailfishos-porters20:53
*** r0kk3rz <r0kk3rz!~chatzilla@dab-yat1-h-1-2.dab.02.net> has joined #sailfishos-porters20:53
*** plfiorini <plfiorini!~plfiorini@net-93-71-167-160.cust.vodafonedsl.it> has quit IRC (Remote host closed the connection)20:54
vgrademal-: just did the pulse edits, rebuilding now20:54
*** swex <swex!~quassel@176.14.99.69> has quit IRC (Ping timeout: 256 seconds)20:58
mal-vgrade: ok, sorry that I did not make those20:59
vgrademal-: no probs I saw you were knee deep in hwcomposer21:03
*** r0kk3rz <r0kk3rz!~chatzilla@dab-yat1-h-1-2.dab.02.net> has quit IRC (Ping timeout: 244 seconds)21:03
mal-lets hope thóse fixes are enough21:04
*** vakkov <vakkov!~vakkov@s3n105.brunel.ac.uk> has joined #sailfishos-porters21:04
Nokiusarch cat diagnstic :(21:05
Nokiusbut I have a propper boot.img21:06
Nokiusmh fastboot get me in 23 but continue in to a reboot :,(21:09
Nokiusmh in a busybox21:13
* Nokius okay will get some sleep ARCH21:14
*** plfiorini <plfiorini!~plfiorini@net-93-71-167-160.cust.vodafonedsl.it> has joined #sailfishos-porters21:17
klopsi-u3gnite Nokius21:20
Nokiusklopsi-u3: not sure if it's good :)21:20
*** energycsdx <energycsdx!uid18508@gateway/web/irccloud.com/x-ikoijummgqqpezsi> has quit IRC (Quit: Connection closed for inactivity)21:21
klopsi-u3i hope it will be21:21
Nokius:D21:22
Nokiuscmdline has selinux and switch to old stowaways is not helping :(21:22
Nokiusokay looks like the switch helps :)21:28
Nokiusinvetigatein tomorrow moring21:29
* Nokius https://gs1.wac.edgecastcdn.net/8019B6/data.tumblr.com/tumblr_llvzytxDRC1qb4tle.gif21:35
*** vakkov <vakkov!~vakkov@s3n105.brunel.ac.uk> has quit IRC (Ping timeout: 250 seconds)21:37
Nokiusminimer is working ( but I swichted)21:38
Nokiusoh It rebooted21:38
*** arcean <arcean!~arcean@apn-95-40-171-6.dynamic.gprs.plus.pl> has joined #sailfishos-porters21:39
Nokiusget into sfos und unmount the /debug but after 3 min it reboots :-/ droid-hal-init is over and nemo task are visibile in top21:47
Nokiusbtw. have not to fastboot as I found out we is my problem ..21:47
Nokiusgn821:48
*** vakkov <vakkov!~vakkov@134.83.207.122> has joined #sailfishos-porters21:49
*** cxl000 <cxl000!~cxl000@c27-253-5-120.brodm4.vic.optusnet.com.au> has quit IRC (Quit: Leaving)21:49
vgradenn Nokius21:53
Nokiuscu vgrade21:53
Nokiusgn821:53
Nokiusstill wondering what I broke :-S21:54
NokiusWhen starting minimer it reboots a few miniutes later21:54
*** lukedirtwalker <lukedirtwalker!~lukedirtw@dhclient-91-190-9-156.flashcable.ch> has quit IRC (Quit: Konversation terminated!)21:56
NokiusAAH!21:57
vgradeNokius: diff old and new roots22:00
vgradeNokius: same kernel options?22:00
vgradesame masked services22:01
*** oleid <oleid!~oleid@ip5b436024.dynamic.kabel-deutschland.de> has quit IRC (Ping timeout: 246 seconds)22:02
*** dhbiker <dhbiker!~dhbiker@APN-122-38-217-gprs.simobil.net> has quit IRC (Quit: +++ OK ATH OK)22:07
*** plfiorini <plfiorini!~plfiorini@net-93-71-167-160.cust.vodafonedsl.it> has quit IRC (Quit: Sto andando via)22:27
*** electrolux <electrolux!~Adium@host-2-102-107-166.as13285.net> has joined #sailfishos-porters22:32
*** plfiorini <plfiorini!~plfiorini@net-93-71-167-160.cust.vodafonedsl.it> has joined #sailfishos-porters22:44
*** Tassadar <Tassadar!~tassadar@ip4-83-240-20-212.cust.nbox.cz> has quit IRC (Ping timeout: 264 seconds)22:45
*** vakkov <vakkov!~vakkov@134.83.207.122> has quit IRC (Ping timeout: 264 seconds)22:52
*** plfiorini <plfiorini!~plfiorini@net-93-71-167-160.cust.vodafonedsl.it> has quit IRC (Quit: Sto andando via)22:53
*** arcean <arcean!~arcean@apn-95-40-171-6.dynamic.gprs.plus.pl> has quit IRC (Quit: Leaving)22:57
*** electrolux <electrolux!~Adium@host-2-102-107-166.as13285.net> has quit IRC (Quit: Leaving.)22:57
*** vakkov <vakkov!~vakkov@134.83.207.122> has joined #sailfishos-porters23:02
vgradejusa_: if you have a moment to help me with oneplus one audio I'd be grateful.  I had errors on pulse startup due to missing defines (Output 1 in paste) , after adding the defines I get the error (Output 2) on pulse start. /system/etc/audio_policy shared also. http://pastie.org/1006376023:12
vgradejusa_: ping if you need any more info to give me a steer23:15
*** M4rtinK <M4rtinK!~M4rtinK@ip-89-177-124-246.net.upcbroadband.cz> has quit IRC (Quit: Odcházím)23:34
dwangoACAnyone using T-Mobile in the US with a Nexus 4?  Any luck enabling LTE?23:34
*** olafh <olafh!~olafh@p5B25BADB.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 255 seconds)23:35
dwangoAC(I tried putting the LTEhybrid33-84.zip file's modem.img, named radio.img, in /data/radio and changing the What line to point to that directory but rebooting showed the mobile network with a barber pole / hazard pattern and showed now SIM connectivity)23:36
vgradejusa_: audio-caf source at http://78.47.45.43/owncloud/public.php?service=files&t=7c36c668d294823bd208118ac5d05a6b23:40

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!