Tuesday, 2014-08-12

*** icelaglace has joined #sailfishos-porters00:36
*** cxl000 has joined #sailfishos-porters01:08
*** icelaglace has quit IRC01:17
*** Tassadar has quit IRC01:57
*** beidl has joined #sailfishos-porters01:59
*** beidl_ has quit IRC02:00
*** Eztran has quit IRC03:03
*** iTune has joined #sailfishos-porters03:35
*** mailyaseen has joined #sailfishos-porters04:44
*** dmt_ has quit IRC05:05
vakkovmornin' guys~!05:11
vakkovare your phones (the ones with working RILS) displaying the contacts saved to the SIM in People app05:12
*** PhompAng has joined #sailfishos-porters06:08
*** iTune has quit IRC06:11
*** iTune has joined #sailfishos-porters06:19
*** PhompAng has quit IRC06:22
*** alin__ has quit IRC06:46
*** alin has joined #sailfishos-porters06:48
*** alin has joined #sailfishos-porters06:48
mailyaseenalin any updates with nexus 4? with multirom?07:00
*** Sequenced has joined #sailfishos-porters07:04
*** spiiroin has quit IRC07:14
*** alin has quit IRC07:16
*** piggz has quit IRC07:22
*** piggz has joined #sailfishos-porters07:22
*** PhompAng has joined #sailfishos-porters07:35
*** iTune has quit IRC07:38
*** iGhost has joined #sailfishos-porters07:49
*** junnuvi_ has quit IRC07:52
*** PhompAng has quit IRC07:53
swlmorning07:53
locusfmorning07:53
*** iGhost has quit IRC07:54
swl... and huomenta/god morgon to the locals from up north. :P07:56
*** piggz has quit IRC07:57
*** piggz has joined #sailfishos-porters07:57
*** piggz has quit IRC08:08
*** piggz has joined #sailfishos-porters08:08
piggzvgrade: morning08:12
*** vgrade_ has joined #sailfishos-porters08:24
vgrade_morn08:24
*** junnuvi has joined #sailfishos-porters08:26
*** alin has joined #sailfishos-porters08:27
*** dmt_ has joined #sailfishos-porters08:32
sledgesniin'g!08:41
*** arcean has joined #sailfishos-porters08:47
*** furikku has joined #sailfishos-porters08:59
vgrade_morning sledges09:02
*** vrutkovs_ has joined #sailfishos-porters09:05
*** vrutkovs_ is now known as vrutkovs09:05
sledgesvrutkovs: o/ https://github.com/mer-hybris/android_kernel_google_msm/tree/hybris-11.009:16
vrutkovssledges: nice! I'm gonna make a PR for my config, taking a look at wifi now09:16
sledgesthanks; did you make modifications to device/ as well? if not, we leave refs to upstream09:19
sledges(especially TheMuppets one ;)09:19
vrutkovssledges: yes, I did, to my local tree, though I'm not sure if those are required09:19
vrutkovssledges: I think the best option would be helping cxl000 to make it run, as he's much more eperienced than I do09:20
*** gogeta has joined #sailfishos-porters09:21
vrutkovsalso, cannot start any application - for instance, here's a log for Gallery - http://fpaste.org/124863/35313140/09:22
vrutkovsany ideas why? I think I should set some magical env09:22
sledgesvrutkovs: try from cmdline09:27
sledgesjolla-gallery -platform wayland09:27
sledges(or other options)09:27
junnuvibtw, speaking about gallery.. I'm not able to open pictures from gallery (just shows all images totally black). Any ideas?09:30
sledgesjunnuvi: can you change ambience ooi?09:31
sledgesprobably a jpeg decored missing for no obvious reason, anything in the logs?09:31
sledges*decoder even09:31
junnuviyes I can change but cannot created new ones09:31
junnuvi-d09:31
junnuviI just noticed that problem :) I will look if there is something in logs09:33
sledgesk09:35
vgrade_sledges: vrutkovs cxl000 situ, removing the sys_kermel_debug.mount related services and reboot got the startup wizard. no colour to choose in ambience. seems to die after a short while and not restart09:35
vgrade_from last night09:35
junnuvisledges: journalctl log: http://pastebin.com/0JAjSV4Q09:36
vrutkovsvgrade_: right, thanks, crashes often for me without it09:38
junnuvicould it be because "stensil buffer support missing" ?09:38
vrutkovsvgrade_: if you are on flo then its safe to mask ofono also09:39
situvgrade_: do you see wizard with every boot with debugfs mounted ?09:39
*** piggz has quit IRC09:41
vgrade_situ: not tried09:43
vgrade_situ:the comment above was from cxl000 on flo09:43
sledgesvgrade_: what changed that cause this?09:43
sledgesah, sorry i assumed hammerhead ;)09:43
situsledges: same here09:44
*** piggz has joined #sailfishos-porters09:44
*** spiiroin has joined #sailfishos-porters09:44
sledgesvgrade_: removing sys_kernel_debug.mount is needed only on hammerhead, unknown reason. e.g. mako works fine without that hacck09:44
phdeswersledges: I guess there is some bug somewhere in the hammerhead kernel that is not there on mako?09:47
sledgescould well be phdeswer ..09:47
sledges(nor other devices) e.g. flo vgrade_ talks about)09:47
piggzvgrade: sledges: ive got a side-by0-side diff of the strace output for running qmlscene as root and nemo, and i can see the main areas of difference, but no idea why!09:49
sledgespiggz: service manager ?09:49
sledges(display.qservice complaints put essential difference between root/nemo, which has to be patched out manually)09:50
*** iTune has joined #sailfishos-porters09:50
piggzsledges: yes, it is around servicemanager09:51
sledgespiggz: let's try http://piratepad.net/hadk-faq09:52
piggzcool, cheers09:54
sledgesif works, PRs will be much appreciated :)09:55
piggzsledges: how do i build that??09:57
sledgespiggz: hybris-hal09:58
sledgesand you can then just redeploy find out/ -iname servicemanager09:59
sledgesonto your device's /usr/libexec/droid-hybris/system/bin09:59
sledgesalso (from 2nd commit link) editing init.rc directly would suffice09:59
sledgesto smoke test10:00
*** sletta has joined #sailfishos-porters10:04
*** piggz has quit IRC10:06
sledgessletta: o/10:06
*** piggz has joined #sailfishos-porters10:06
slettahi10:07
sledgesjunnuvi: sletta asks if other apps with textures show up fine (like people with avatars and facebook backgrounds in their Contact cards)10:07
piggzsledges: the branch from frameworks_native is from cm-11? that ok to mix with cm-10.1 ?10:08
junnuviI don't have any contacts currently on device but for example tweetinan shows pictures just fine10:08
sledgespiggz: you have to backport10:08
sledgesit's shown which line to patch right after10:08
sledgesjunnuvi: and settings->sailfish os updates shows the lake? :)10:08
slettajunnuvi: is it just the thumbnails in the gallery? The page stack indicators show?10:09
piggzsledges: ok .. but that file isnt even in my checkout! :)10:09
piggzls cmds/10:09
piggzdumpstate/      dumpsys/        sensorservice/  surfaceflinger/10:09
sledgespiggz: you are looking at wrong cmds10:10
junnuvisletta: sledges: lake is there. Page stack indicators also. Trumbnails in gallery ok. But when I open picture all I see is totally black picture10:10
sledgesahhhhh, i misunderstood that thumbnails are black my bad10:10
slettaah..10:10
slettaIt could be max texture siz10:10
sledgespiggz: there are two ;)10:11
slettaIf you put a 800x800 image there, does that show?10:11
piggzsledges: ah, base and native10:11
junnuvisletta: I will test, just a momnt10:11
junnuviuh, 800x800 works ok :D10:13
slettaDo you have a means of figuring out what GL_MAX_TEXTURE_SIZE is on that thing?10:17
slettaAn alternative is to try with an image which is 1100x110010:17
slettaIf that fails, then the max texture size is 102410:17
slettaand then all images above that size will fail…10:17
junnuviok, my pictures where big ambience pictures. Limit seems to be 204810:21
slettamm10:25
slettaQt could indeed handle that more gracefully10:25
*** gogeta has quit IRC10:25
*** dmt_ has quit IRC10:26
vgrade_junnuvi:what device is this?10:27
junnuvigroupper10:28
* vgrade_ makes a note to create a <porter name> <device> wiki page10:28
vgrade_junnuvi:thanks10:28
vgrade_sledges:  was there an issue with ambiances on Galaxy Nexus10:28
vgrade_sledges:related?10:28
junnuviand also.. pulldown menu does not work correctly in gallery. It's very hard to pull it down :)10:30
sledgesvgrade_: on galaxy nexus switching ambience would segfault10:31
piggzsledges: what is the root password?10:31
sledgespiggz: none :)10:31
sledgesuse telnet10:32
piggzsledges: i want to scp the new servicemanager10:32
piggzssh is active10:32
sledgesyou can't scp/ssh as root10:32
sledgesby design10:32
piggzk10:32
sledgesyet you can try mutilating it via passwd command10:32
sledgesunless sshd explicitly prevents10:32
piggzsledges: what about the nemo passwd, i could copy as nemo and move as root from telnet10:34
sledgespiggz: passwd nemo10:35
sledgesvia telnet10:35
*** ParkerR has quit IRC10:38
*** ParkerR has joined #sailfishos-porters10:43
vrutkovsthis is weird, when I start the app from terminal with no '-platform' is starts, but when I start it from UI it crashes10:46
vrutkovssledges: ^? I guess I should unset some env var, right?10:47
sledgesvrutkovs: cat /var/lib/environment/compositor/*10:47
vrutkovssledges: http://fpaste.org/124900/07840474/10:48
junnuvioh, this gallery pulldown menu game is funny :D10:50
piggzvgrade_: sledges: is furst run a language selection??10:50
sledgespiggz: yes \o?10:55
piggzwoo10:55
piggzsledges: except touch not working :/10:56
sledgesvrutkovs: rename HYBRIS_EGLPLATFORM to EGL_PLATFORM andreboot10:56
sledgespiggz: cat /var/lib/environment/compositor/*10:56
sledgesyou'll need to adjust to the right touch input device there10:56
vrutkovssledges: thanks, worked for me!10:58
sledges;) welcome10:58
sledgesit's thp's fix btw ;)10:59
*** Tassadar has joined #sailfishos-porters11:04
vgrade_piggz: \o11:18
vgrade_piggz: cat /dev/input/event0,1,2,3 till you get output on screen when you touch11:18
*** gogeta has joined #sailfishos-porters11:20
*** gogeta has quit IRC11:25
junnuvisletta: is there some way to fix GL_MAX_TEXTURE_SIZE issue ? I think it's also reason why ambience backgrounds are not shown in lockscreen/main menu11:30
slettajunnuvi: one option would be to downscale the textures to min(originalSize, maxSize) before uploading them.11:34
slettathat would be pretty easy11:34
slettaSplitting them into tiles would be quite a bit of work..11:35
junnuviyes, of course :)11:35
junnuvibut, does jolla upscale pictures when making ambience?11:35
junnuvis/jolla/sailfish11:35
slettathe splitting isn’t so hard, but creating nodes without seams and antialiasing on the edges would be a bit nasty…11:35
slettaThe Jolla has 4096 as texture max11:36
*** giucam has quit IRC11:36
*** giucam has joined #sailfishos-porters11:37
*** giucam has joined #sailfishos-porters11:37
slettaI’ll see if I can make a patch to downscale.. The problem would be if somebody uses the texture size and not the item size (in QML). Then there would be descrepancies, but I think we’re doing the right thing in most places11:37
vgrade_sletta: a fallback for devices without 4096 would be nice, I recall I had missing ambiance on Nexus One11:38
slettait has been a bother of mine as well.. People open up huge panorama stitches and even a desktop with 16K max size fails :/11:39
*** nh1402 has joined #sailfishos-porters11:40
junnuvisletta: I just checked and when creating ambience it seems to upscale picture to 800x2131 which is littlebit too big11:41
*** rusty88 has joined #sailfishos-porters11:42
sledgesi wonder what's texture max on maguro (galaxy nexus) where setting an ambience segfaults11:42
slettathat is an odd size to choose :)11:42
vgrade_sledges: me too11:42
vgrade_grouper , http://forum.xda-developers.com/showthread.php?t=2517719&page=411:42
nh1402Just had a thought. If Sailfish is running with Multirom with the other ROM being Android. Could we not use the runtime from the other rom, and have it work in Sailfish. All the files will be there.11:43
vgrade_sledges: https://github.com/sephiroth74/ImageViewZoom/issues/3211:43
slettaI’ve never experienced that exceeding the max texture size or trying to allocate too large a texture failing on GL.11:43
slettaIt will raise a GL error and render as solid black, but that is about it11:44
*** alin has quit IRC11:44
slettaof course, that doesn’t exclude the possibility :)11:44
vgrade_nh1402: I don't understand your point nh140211:45
vgrade_nh1402: you mean to run Android apps?11:45
nh1402yes11:46
sledgesnh1402: just fyi: multirom or not, cm is always there and you can boot back to it11:46
vgrade_nh1402: all  the files are there you are correct, eg surfaceflinger would work if you enabled it in init.rc11:46
*** gogeta has joined #sailfishos-porters11:47
*** gogeta is now known as dr_go_scn11:47
vgrade_nh1402: the challenge is to make lipstick (sailfish compositor) and surfaceflinger play nice together11:47
dr_go_scnhi vgrade11:48
vgrade_dr_go_scn: hi11:48
nh1402if cm is always there, could we chroot into it, and get the ui going11:48
nh1402its probably the lipstick thing thats the problem with that i guess11:48
*** dr_go_scn has quit IRC11:48
*** gogeta has joined #sailfishos-porters11:49
vgrade_nh1402: you don't need to chroot as we have all we need already there I think11:49
vgrade_dr_go , he went !11:49
vgrade_:)11:49
sledgesx)11:49
rusty88hey guys, I was wondering if someone knows how to refresh the signatures database or something... I'm been trying to pass the Building the droid-hal-package but I'm not able because it always fails with the following error: Header V3 DSA/SHA1 Signature error11:51
gogetano just xchat crashed11:51
gogetato many rust plugins over the years11:51
gogeta*too11:51
vgrade_gogeta: sorry, just tickled me11:51
gogetavgrade: talking about SF and Lipstick coexisting11:52
gogetaat same time11:52
sledgesrusty88: having $MER_ROOT in your $HOME improves a lot on the situation11:52
vgrade_gogeta: yes,11:52
gogetasay to miriad11:52
gogetatill 10Eur11:53
gogetai'll pay11:53
vgrade_gogeta: thats a Jolla decision we can;t fix here11:53
sledgesis myriad hw-dependent (iirc some kernel mods)11:53
sledges?11:53
vgrade_sledges: yes it does11:53
gogetathere is a module11:53
gogetabut is not loaded on my phone11:53
sledgesso myriad might simply not have enough capacity to support different hw11:54
gogetasledges: i think is a drm11:54
gogetanot more11:54
gogetaotherwise is very warezable11:54
gogetadon't think11:54
gogeta?11:54
* sledges shrugs11:54
vgrade_personally I would prefer to contribute to an open solution11:55
gogetame too11:55
vgrade_and we must be so close with the current stack we have already11:55
gogetapeeps here ask for ports ( sicily )11:56
gogetathey are enchanted by os11:57
*** rusty88 has quit IRC11:57
gogetabut the lack of some apps turns they off11:57
gogetaFacebook messanger  in primis11:57
gogetaan a decent Facebook app11:58
vgrade_gogeta: check out friends app11:59
gogetatoo limited due limited apis11:59
*** blackout24 has quit IRC12:00
vgrade_gogeta: did you try openrepos?12:00
gogetaI cant shoot SK_work for that12:00
*** vrutkovs_ has joined #sailfishos-porters12:00
nh1402the facebook messenger app on android asks permission for practically the whole device12:01
vgrade_gogeta: btw please request myriad for $10 at together.jolla.com12:01
gogetai  know cost about 50$12:01
gogetaper device12:01
gogetafrom stb producers chanell12:01
vgrade_gogeta: is it, that seems high12:01
nh1402its supposed to be an instant messenger, other than camera, gallery, and internet access what else does it need, its ridiculous12:01
*** vrutkovs has quit IRC12:02
gogetanh1402: now is more alike whatsapp ... need to itercept also phone calls12:02
gogeta*intercept ( a shitty app ) .... the ask because is android can do12:02
phdeswerThere actually was a big stir about that already12:03
gogetaon apple side ... we say in italy12:03
gogetathey are with two foots in one boot12:03
nh1402I'm kind of developing an alternative, I'm in the middle of porting the encryption side from java, to javascript12:03
hurrianquick q: does Alien Dalvik actually boot Android via hardware emulation, or does it just start zygote and redirect output to a display?12:04
gogetavgrade: https://together.jolla.com/question/40990/poll-alien-dalvik-fee-for-ported-sailfish/12:05
cxl000vgrade, for you porters page, cxl000 has deb, vrutkovs_ has flo. for most porting purposes these are the same. deb adds lte modem12:05
gogetaalready asked12:05
Stskeepshurrian: no hw emulation, would be toooo damn slow12:05
gogetahi Stskeeps12:05
hurrianso it /does/ work like I thought it does: just runs the rest of Android over the existing hardware adaptation :P12:06
Stskeepsperhaps, i don't know12:06
hurrianin that case, it'd be possible to make a non-Alien Dalvik Android runtime with nothing more than chroot, and possibly some patches to SurfaceFlinger12:06
nh1402hurrian: thats the idea, here is the xda thread I started to talk about such matters http://forum.xda-developers.com/jolla-sailfish/general/dev-android-compatibility-sailfish-os-t284384612:07
gogetawho put this on topic12:08
gogetahttps://together.jolla.com/question/40990/poll-alien-dalvik-fee-for-ported-sailfish/12:08
hurrianI think it'd work a lot like ParallelDroid - chrooting into Android and starting a virtual framebuffer that SurfaceFlinger would draw to. a userland program would render said virtual framebuffer.12:11
vgrade_nh1402: thanks for starting that thread12:11
hurrianor, on some devices with multiple framebuffers you could probably even reuse those, and render that (presumably with some performance gain)12:12
nh1402vgrade_: no problem12:13
locusfnice thread, will look forward to any progress on that12:13
piggzvgrade_: yeah, i tried that, but nothing :/12:13
vgrade_piggz: same drill, fire up stock CM adb in , check the /dev for touch12:15
nh1402hurrian: would you have any idea how to start that?12:21
hurriannh1402: untar an Android installation somewhere, set up the mounts, inspect init scripts then chroot /somewhere /init12:22
hurrianmake sure /dev/fb0 is free12:22
vgrade_hurrian: we already have an init running12:23
nh1402hurrian: and cm is already there12:23
hurrianvgrade_: I meant Android's init, which we only need for Zygote's service control12:23
hurrianah, right, Sailfish on Android HW adaptation12:23
vgrade_hurrian: yea, we have one of those12:23
gogetaI'm going too seaside12:23
gogetai think tomorrow i see something like facebook on ported sailfish os12:24
gogeta:-D12:24
vgrade_hurrian: so we could start sf and zygote from there12:24
hurrianin which case, the only problem really is "what fb device is Android going to start with"12:25
vgrade_yea the plumbing to get lipstick compositor to coextsi12:25
vgrade_hurrian: I'm don't have enough of a handle on the internals at the moment to help much12:27
nh1402hurrian: and I know even less, still learning about this lower level stuff12:28
hurrianI've totally forgotten whether Android selects a FB device or is hardcoded to use one12:28
*** giucam has quit IRC12:28
hurriani'll take a look at the code again after next week (exam week at uni :/ )12:29
*** giucam has joined #sailfishos-porters12:29
*** giucam has joined #sailfishos-porters12:29
vgrade_hurrian: thanks12:29
piggzvgrade_: dev event1 in cm12:29
piggzs/definitelty12:29
*** gogeta has quit IRC12:30
vgrade_hurrian: https://developer.android.com/guide/topics/graphics/index.html , not a simple fb anymore.12:30
*** tbr has quit IRC12:30
nh1402hurrian: been there, 3 months ago actually, good luck12:30
vgrade_maybe drawing up the current lipstick stack might be worth doing12:30
hurrianvgrade_: that's on a higher level than what needs to be worked with (things that render crap onto SurfaceFlinger) - all I need is for SurfaceFlinger to render onto a virtual framebuffer of our choosing12:31
*** tbr has joined #sailfishos-porters12:31
hurrianas far as I'm concerned that's all that needs to be changed12:32
vgrade_hurrian: well I've seen that hwcompositor has virtual surface on later versions12:32
hurrianassuming the input devices all remain the same though, you'd have taps and swipes in Sailfish pass Android too, so maybe some kernel-level code is needed?12:33
nh1402hurrian: that is how alien-dalvik works apparently12:34
vgrade_hurrian: well you would only have fullscreen android apps12:34
hurriana kernel framebuffer device for Android to render to, and ioctls to indicate whether or not the Android system is focused (only exposes tap and swipe events to the in-focus system)12:34
hurrianvgrade_: this'll work a bit differently from Alien Dalvik's handling of apps - it'll run a full Android system inside Sailfish12:35
hurrianhmm, maybe Android can be put inside a cgroup and frozen (thanks systemd)12:35
phdeswerhurrian: actually thanks to systemd (and its misuse of cgroups) it will not work very well12:38
vgrade_systemd-nspawn ?12:38
phdeswervgrade_: depends on what you want. If it is for performance reasons you can forget it, since cgroups does something weird with timesharing, which does not fit with systemds one group per service approach.12:40
vgrade_hurrian: sorry I posted the wrong link above, I meant this one , https://source.android.com/devices/graphics/architecture.html12:41
*** vrutkovs_ has quit IRC12:51
*** vrutkovs_ has joined #sailfishos-porters12:51
vgrade_phdeswer: was just thinking if virtualisation would be usefull12:57
vgrade_phdeswer: for this use case12:57
phdeswervgrade_: no idea. Never dealt with it.12:59
vgrade_but I think I need to understand https://source.android.com/devices/graphics/architecture.html and how lipstick fits in with that13:00
piggzgrrr, why is event1 not generating anythng :/13:02
piggzcat /sys/class/input/input1/name13:03
piggzsynaptics-rmi-touchscreen13:03
piggzthats the one :/13:03
sledgespiggz: is it generating in cm?13:03
piggzsledges: yes13:04
locusf/system/bin/getevent is the way to go13:04
sledgespiggz: lsmod ?13:04
piggzlocusf: thats what i used13:04
locusfpiggz: okay13:04
*** Sequenced has quit IRC13:04
piggzsledges: no modules13:05
sledgespiggz: in cm i assume13:06
piggzim in sf atm13:06
piggzthe driver is loaded according to dmesg i think13:06
sledgespermissions?13:07
sledgesalso, running getevents as root?13:07
piggzsledges: yes13:08
*** carepack_ has joined #sailfishos-porters13:09
*** carepack_ is now known as carepack__13:09
vgrade_piggz: compare kernel  configs?13:10
vgrade_sledges: loving this, https://github.com/mer-hybris/android_kernel_lge_hammerhead/commit/75347a1bbe0e281c79c42b41b667c6eea87172a813:10
piggzvgrade_: im using the same kernel config + mer additions13:11
piggzsailfish is seeing the device ok13:11
vgrade_piggz: can you link again sorry13:11
vgrade_to the stock config13:12
piggzvgrade_: https://github.com/AceEnablementProject/android_kernel_htc_msm7x30/blob/cm-11.0/arch/arm/configs/spade_defconfig13:13
piggzvgrade_: branch cm-10.113:14
Sage_hmmp.... I wonder if https://github.com/mer-hybris/android_kernel_lge_hammerhead/commit/75347a1bbe0e281c79c42b41b667c6eea87172a8 should be added as optional to mer kernel config check with bluez4 note13:16
*** sletta has quit IRC13:17
vgrade_piggz: does the screen blank and unblank when you press power?13:17
piggzvgrade_: yes13:17
vgrade_is there any dmesg when you do that13:18
vgrade_related to touch13:18
vgrade_ie turning off power to touch device13:18
piggzvgrade_: seems to turn off/on the compass, light sensor and gyro13:19
piggzcant see touch13:20
spiiroinpiggz: unless display is on mce will grab touch input -> no other process will see them13:31
sledgesSage_: good idea. maguro has bt working, and no surprise those flags are enabled by cm: https://github.com/mer-hybris/android_kernel_samsung_tuna/blob/57102bd6d0b1abdbcce7d657b3745b839bf842aa/arch/arm/configs/cyanogenmod_tuna_defconfig#L90213:32
vrutkovs_ cxl000: hey, did you manage to get wifi running on flo/deb?13:34
piggzspiiroin: what is mce?13:40
*** nh1402 has quit IRC13:41
piggzspiiroin: what is mce?13:44
SK_workpiggz: mce controls display and led13:44
SK_work(and other stuff maybe)13:45
piggzSK_work: i can see the events in cm13:45
Sage_sledges: yup, updating my pull request to checks13:46
*** piggz has quit IRC13:47
Sage_sledges: updated https://github.com/mer-hybris/mer-kernel-check/pull/1 (cc: vgrade_)13:48
*** piggz__ has joined #sailfishos-porters13:49
situvgrade_: bluetooth working now ?13:53
piggz__my input devices look ok http://pastebin.com/KHhtvX4s14:05
vgrade_spiiroin: thanks for that nugget, I was trying to get double tap to unlock working on N5.  I changed the kernel not to power down the touch but no double tap to wake.  Now I have a clue14:15
vgrade_situ: I don;t know was just commenting on the commit to N5 by ''@jollamobile email14:16
*** blackout24 has joined #sailfishos-porters14:32
Sage_vgrade_: :)14:32
sledgespiggz__: try masking entering post-switch_root recovery to see if touch still works there14:43
sledgess/masking //14:43
*** spiiroin has quit IRC14:46
*** spiiroin has joined #sailfishos-porters14:50
Sage_does the dhd run mer-kernel-checks stuff at all?14:53
vgrade_Sage_: https://github.com/mer-hybris/droid-hal-device/blob/hybris-10.1/droid-hal-device.inc#L21014:58
sledgesSage_: initrd (hybris-boot) - on every boot14:58
sledgesand that ;)14:58
*** alin has joined #sailfishos-porters14:58
Sage_ah, ok15:00
*** Nokius has joined #sailfishos-porters15:09
blackout24is there a way to display the entire content of a specified repo? couldn't find anything related in the ssu, zypper or pkcon help15:17
*** Nokius has left #sailfishos-porters15:19
*** Nokius has joined #sailfishos-porters15:19
vgrade_blackout24: pkcon get-packages15:22
blackout24doesn't that only show the installed packages?15:23
blackout24and their coressponding repo?15:23
blackout24I want to see what I could install from a repo15:23
spiiroinvgrade: if you block suspend, double tap should work in n5 too: mcetool --set-suspend-policy=disabled15:24
vgrade_spiiroin: is that how its done on Jolla?15:25
spiiroinvgrade: nope, the touch screen firmware does double tap detection (cpu can stay suspended)15:25
vgrade_spiiroin: interesting15:26
spiirointhe double tap simulation kicks in if: mce has grabbed touch and touch events are seen15:26
spiiroin(or mouse, it should work with double-click in sdk too)15:27
*** iTune has quit IRC15:34
blackout24just installed htop on Sailfish OS and noticed /usr/bin/messageserver5 is constantly maxing out the CPU15:34
blackout24CPUTIME 9 hours15:34
blackout24no wonder I only get about one day of use out of a fully charged battery15:35
vgrade_blackout24: which device?15:36
blackout24vgrade, maguro15:36
blackout24it maxes out one core. Performance when handeling the device is still good15:37
* vgrade_ will make that wiki page tonight , promise15:37
*** Nokius has quit IRC15:39
vgrade_blackout24: https://together.jolla.com/question/42160/email-update-fails-and-messageserver5-goes-crazy/15:39
*** vrutkovs_ has quit IRC15:46
*** giucam has quit IRC15:54
*** giucam has joined #sailfishos-porters15:54
*** giucam has joined #sailfishos-porters15:54
vgrade_spiiroin: this is interesting https://github.com/fhasovic/LG-G2-D802-Kernel/blob/master/drivers/input/touchscreen/touch_synaptics.c#L147816:03
vgrade_spiiroin: same hardware as N516:03
vgrade_I think16:04
*** Eztran has joined #sailfishos-porters16:04
*** energycsdx has joined #sailfishos-porters16:04
vgrade_https://github.com/KonstaT/sailfishos_kernel_jolla_msm8930/blob/master/drivers/input/touchscreen/synaptics_s3202_touch.c for the record16:11
vgrade_a nice project for someone wanting to get into kernel drivers16:11
*** zZz0n is now known as zon16:28
*** piggz__ has quit IRC16:34
*** alin_ has joined #sailfishos-porters16:36
*** alin has quit IRC16:36
*** vgrade_ has quit IRC16:38
*** piggz__ has joined #sailfishos-porters16:38
*** alin_ has quit IRC16:47
*** alin_ has joined #sailfishos-porters16:48
*** alin_ has quit IRC16:56
*** mailyaseen has quit IRC17:00
*** SK_work has quit IRC17:17
*** Nokius has joined #sailfishos-porters17:19
*** nh1402 has joined #sailfishos-porters17:38
blackout24vgrade, just found out that you can set a device lock after installing jolla-devicelock-plugin-encsfa. However it doesn't actually lock the device, but it let's you configure the device lock further after setting a code.17:43
blackout24But it will now ask you for your device lock pin, when you try to allow 3rd party software sources for example.17:44
sledgesblackout24: oh sorry, patterns messed up in my head :) yes you need to pull in jolla-devicelock-plugin-encsfa17:51
blackout24sledges, but does it really lock your device?17:52
sledgeswell17:52
sledgesif it's progress, it's good );17:52
sledges;)17:52
*** Nokius has quit IRC17:52
sledgesso enabling lockscreen still does not lock device after waking phone up?17:52
piggz__sledges: how do i do that (btw, i have a bunch of files in /sys/android_touch)18:07
*** javispedro has joined #sailfishos-porters18:12
vgradeeveing al18:12
javispedrohi hello guys18:12
vgradejavispedro: \o18:12
javispedroso anyone had some experience with exynos/mali graphics and qt?18:12
javispedroall the QQuickViews I open are graphically corrupted18:12
javispedro(QWidgets are OK)18:13
javispedroI have a small idea because I've noticed Qt windows use a EGLConfig with BGRA8888 format, while windows created from the stock software (which obviously work) use no alpha channel18:14
javispedroand since I don't think I can "force" Qt to use a 'lesser depth' EGL config I am going to try patching around and rebuilding it18:15
sledgesjavispedro: o/18:15
sledgespiggz__: touch /init_enter_debug; reboot; telnet port 23; cp /init /target/init-debug as instructed; echo continue; telnet 2323 and you're in18:15
javispedroso I'll leave just that here in case some has found this or finds it in the future =)18:16
vgradejavispedro: what device? is this a HADK stack?18:18
javispedrogear2, and not HADK (yet)18:20
javispedro(was hoping someone had seen this when porting to a Mali platform)18:21
vgradejavispedro: I've done allwinner/mali and that wwnt ok18:21
Stskeepsgear1 is more suitable as it has a android fw :P18:22
javispedrovgrade: sorry, "wwnt"?18:23
javispedroah, went.18:23
vgradeand was hybris based18:23
Stskeepshow different are the gear1 and gear2 kernels anyhow18:23
javispedrogear1 has exynos4412 while 2 has 325018:25
Stskeepsinteresting18:25
vgradeI can't recall us having any exynos sucess apart from Stskeeps with Gear118:25
Stskeepswell, and i930518:25
Stskeepsgear was android, so :P18:25
locusfand n700018:26
vgradeapart from those :)18:26
javispedro=)18:26
vgradeso many ports can't keep track18:27
javispedroStskeeps: btw, welcome back =)18:29
Stskeepsthanks18:29
Stskeepshappy to be back18:29
Stskeepswas my first -real- vacation in forever, ie, as normal wage slave.. :P18:31
javispedroaw, s10-3t stolen18:34
javispedrowere you in spain for any chance? =)18:34
Stskeepsno, polish coast18:34
Stskeepsjust annoyed about it, but it had a week old ssd in it18:35
Stskeepsno data loss in practice18:35
javispedrolucky18:36
javispedroq_configFromGLFormat(EGLDisplay display, const QSurfaceFormat &format, bool highestPixelFormat = false) aha.18:42
Stskeepsdoing x11, or?18:42
javispedroyep18:42
javispedroif I get this to work I'll probably keep tizen on it..18:43
javispedrotoo much work and with tizen camera already works via gstreamer18:43
Stskeepsnod18:43
Stskeepsshouldn't -platform xcb just work?18:43
javispedrounfortunately not, that gets me to the problem above18:44
Stskeepsalso18:44
Stskeepsdefine corrupted18:44
javispedroit doesn't properly clear the color buffer and thus you get results from previous renderings18:44
javispedro("tiled")18:44
javispedroit doesn't render anything either, and after 3 or 4 frames it hangs in glClear() call18:45
Stskeepshmm18:45
javispedroI've been ltracing and found that there are only 2 eglconfigs, tizen selects one with 24bit depth (no alpha channel) but qt selects 32bit depth18:46
javispedroso that's what I'm trying to change atm18:46
Stskeepsok, that should be fixable18:46
vgradea page to help those with failing memory (mainly me) https://wiki.merproject.org/wiki/Adaptations/libhybris/porters18:47
vgradeomissions , corrections welcome18:47
* Stskeeps passes a cold beer over to vgrade18:48
vgradeStskeeps: cheers, wine tonight18:48
javispedroso many codenames18:48
vgradejavispedro: added real names, will make it pretty after dinner18:53
javispedrovgrade: great!18:53
nh1402I have a HTC wildfire S lying around, I might try porting Sailfish when I get time18:54
piggz__sledges: entering debug prevents my usbnet device coming up becuase i have to echo 1 into a file in /sys in debug-init19:00
*** furikku has quit IRC19:00
piggz__where else can i echo it?19:01
vgradepiggz__: in /target/init-debug19:04
piggz__vgrade: where is that when im adb'd into recovery (only way in now)19:08
piggz__eg, android fs19:08
vgrade/data/.stowayaws/sailfishos19:09
javispedroStskeeps: btw, I suspect you flash gear1 with odin? did you change partition map?19:10
Stskeepsnop19:12
Stskeepsstowed it off into /data19:12
javispedrohm19:14
Stskeepschanging partition maps is almost always a recipe for disaster19:14
Stskeeps(in my book, at least..)19:15
javispedroyeah, even if it seems trivial with odin, my spider-sense is tingling...19:15
javispedroor "brick-sense" (TM) in this case19:16
vgradehttps://wiki.merproject.org/wiki/Adaptations/libhybris/porters19:17
Stskeepsi really got scared i had bricked my gear1 at some point19:18
Stskeepsit refused to boot up, after it went to too low charge19:19
* vgrade had a similar heart stopping moment at the weekend after 1st flash of multiROM sailfish, thought I'd lost fastboot. Turned out USB HUB needed power cycle19:19
Stskeepsfix was to unscrew it so battery and board became seperated..19:20
piggz__vgrade: there is no target in /data/.stowaways/sailfishos19:29
*** alin has joined #sailfishos-porters19:31
alinMSameer: hi... anything to test on n5/19:32
alin?19:32
vgradepiggz__: piggz__ but there is a init.rc etc19:34
MSameeralin: anything like what?19:34
javispedroStskeeps: ouch, I've heard stories about that on XDA.19:34
alinMSameer: camera?19:34
piggz__vgrade: yes .. but i have already but my echo in that init-debug ... but with the init_enter_debug it looks like its not called19:35
MSameeralin:  don't have a nexus5 to do any development. Sorry :/19:35
MSameeralin: you either take ubuntu compat layer and write a gstreamer source on top of that or extend the source I have to support android camera hal 2 (or 3)19:35
vgradepiggz__: what waaas sledges wanting to check anyway?19:36
piggz__vgrade: prevent post_switch_root to see if touch events are generated19:38
vgradepiggz__: where did you add your usb mod , in here https://github.com/mer-hybris/hybris-boot/blob/hybris-10.1/init-script19:41
vgradeor in https://github.com/mer-hybris/droid-hal-device/blob/hybris-10.1/init-debug19:41
piggz__vgrade: init-debug19:42
vgradeso init-debug is the post switch one19:43
vgradeon 232319:44
piggz__yes19:44
vgradeadd you patch to init-script , mka hybris-hal then fastboot boot hybris-recovery should get you first stage boot on 2319:45
*** javispedro has quit IRC19:47
alinI see the bluetooth works on n7...19:47
alinwho did it?19:47
*** Nokius has joined #sailfishos-porters19:48
vgradealterego19:48
vgradealin: you missed my helpful guide to porters, https://wiki.merproject.org/wiki/Adaptations/libhybris/porters19:49
piggz__vgrade: ah cool19:51
piggz__ta19:51
alinvgrade: yap I missed it19:51
vgradealin: just did it tonight, was always forgetting who was doing what19:52
alincxl000: is your hardware not farway from n5 iirc19:52
alinvgrade: good one...19:53
Eztranvgrade: For the sake of pedantry, 'Nexus 7 2112' is on there, and i9305 is specifically the 4G SGS3 version. Anyone would know what you meant, obviously, just pointing out.19:54
vgradeEztran: 21:47 < vgrade> omissions , corrections welcome19:55
Eztrandon't have a Mer account, but point taken :)19:55
vgradeEztran: you can create one here, https://bugs.merproject.org/19:56
vgradeEztran: I'll update the page19:56
alinalterego: so what magic for bluettooth?19:57
vgradedone19:57
vgradealin: https://github.com/mer-hybris/droid-hal-device/tree/hybris-10.1/device-asus-grouper-configs19:58
vgradealin: and for maguro, https://github.com/mer-hybris/droid-hal-device/tree/hybris-10.1/device-samsung-maguro-configs19:59
*** javispedro has joined #sailfishos-porters20:02
*** javispedro has left #sailfishos-porters20:03
*** Nokius has quit IRC20:08
alinAug 12 21:07:57 abbaton statefs[776]: DefaultAdapter error: QDBusError("org.bluez.Error.NoSuchAdapter", "No such adapter")20:09
alinany idea?20:09
vgradealin: no, never looked at bz20:10
vgradewe are missing some kernel options though20:10
vgradehttps://github.com/mer-hybris/mer-kernel-check/pull/120:12
alinvgrade: you did nexus one?  I have a desire s very close to it as hw20:13
vgradealin: piggz__ is doing desire HD20:14
alinvgrade: desire HD was fancy20:15
vgradealin: passion is a little tricky as they was no CM (well there was but it was CM7), then the internal flash is not big enough so had to use sdcard. I used Evervolve android source20:16
vgradehttp://evervolv.com/devices/bravo20:22
piggz__vgrade: whats the difference between hybris-boot and hybris-recovery20:28
vgradepiggz__: hybris-recovery stops in the initrd to allow you to look around20:29
vgradehybris-boot pushes on and tries to mount /target and switch root20:29
sledgespiggz__: and no difference at all when you have touched /init_enter_debug20:30
*** piggz__ has quit IRC21:00
*** zon is now known as zZz0n22:05
cxl000alin, n7 2013 has Qualcomm Snapdragon S4 Pro APQ8064 and n5 Qualcomm Snapdragon 800 so likely have simularities22:07
nh1402as does Snapdragon 800 and 801, much like the S4 Pro found in the Nexus 4, and the Snapdragon 600 found in the original HTC One, practically the same, just overclocked22:11
*** icelaglace has joined #sailfishos-porters22:26
energycsdxfinaly i overcome all crashes but still screen on device is black, just like it is not powered, does anybody know is there special procedure to power screen?22:36
vgradeenergycsdx: which device?22:59
vgradeenergycsdx: before boot do you see a bootloader screen which then blanks23:00
vgradeafter boot I mena?23:00
*** nh1402 has quit IRC23:01
energycsdxvgrade: no, bootlogo is disabled by default in hybris-boot and i didn`t enable it23:02
vgradeenergycsdx: ok, on some devices you see a bootloader screen on firts power up23:03
vgradeon nexus 5 it shows google and an unlocked padlock for example23:04
*** gogeta has joined #sailfishos-porters23:06
*** cxl000 has quit IRC23:07
vgradeis this on Xperia L23:07
energycsdxi have Xperia L which have power button on side, before HADK and hybris-boot was release i usualy played with libhybris and sailfish os in android chroot, i had output only if i stop android while screen powered, i.e i press power button on side, screen is powered, i type stop in adb and screen is freezed with last picture that android displayed, otherwise23:08
energycsdxscreen remains black, now i boot using hybris boot so there is no android that handle side button, i think some small thing is missing that powers display23:08
energycsdxi have no output from bootloader, it loads boot img silently23:09
vgradeenergycsdx: I remember your youtube video from then23:09
energycsdxvgrade: yes but it was inside chroot23:09
vakkovhttps://bugs.nemomobile.org/post_bug.cgi23:09
vakkovbug 74723:10
MerbotNemo bug 747 in Hybris-ing "[maguro] Setting ambiance freezes the UI" [Normal,New] https://bugs.nemomobile.org/show_bug.cgi?id=74723:10
*** Tassadar has quit IRC23:10
vgradeenergycsdx: any you are now using HADK method23:10
vakkovfinally added that23:10
vgradevakkov: thanks, did you see the talk taoday about texture sizes?23:11
vakkovvgrade: the one about Mali and qt?23:11
sledgesenergycsdx: from Xperia experience try to launch /system/bin/surfaceflinger at the same time as lipstick (or minimer) in another window23:11
sledgesyou might notice frames being clocked out intermittently - 1 frame from lipstick, 1 from surfaceflinger23:12
sledges(surely, play with sflinger to activate framebuffer et al.)23:12
sledgesbut playing with Xperia Z hadn't taken us any further (also, we stopped looking being out-of-time)23:12
sledgesso your device might have to land on https://wiki.merproject.org/wiki/Adaptations/libhybris/gpu23:13
energycsdxsledges: that mean that surdaceflinger do some additional work that is missing in libhybris23:13
sledgesenergycsdx: yep, somehow starts the graphics fabric more properly23:14
* vgrade makes a note to add that info to https://wiki.merproject.org/wiki/Adaptations/libhybris/gpu23:14
vgradenn23:15
sledgesnn223:15
energycsdxsledges: Xperia Z also have that power button on side23:16
sledgesenergycsdx: yes, sorry but don't all phones have? :)23:17
energycsdxsledges: maybe23:21
*** dmt_ has joined #sailfishos-porters23:22
*** iTune has joined #sailfishos-porters23:27
vakkovlol, a guy is selling a oneplus one 64 gb for 390 Euros here23:37
*** carepack__ has quit IRC23:54

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