IRC log for #n950club on 20131225

04:43.08*** join/#n950club vakkov (~vakko@217.174.51.163)
07:35.17krnlyngi am pretty sure myriad copied code from android :D
07:38.53krnlyngthp: would you mind compiling https://github.com/mer-hybris/qt5-qpa-hwcomposer-plugin/blob/master/rpm/qt5-qpa-hwcomposer-plugin.spec with nitdroid headers? (for n9) i am too dumb :'(
08:32.57*** join/#n950club vakkov (~vakko@217.174.51.163)
10:42.13*** join/#n950club vakkov (~vakko@217.174.51.163)
12:28.31krnlyngthp: any ideas? http://pastebin.com/AeCytwXd
13:02.56krnlyngthp: i hacked a bit around and now i get http://pastebin.com/LvN1XaUB
13:21.37krnlyngfixed that now i only have hw_get_module reference left
13:22.51krnlyngbut i cannot get the libhybris-sbj-libhardware-devel package :(
14:48.41krnlynghas anyone thought about using libhybris to support camera in sailfish on n9?
15:56.28*** join/#n950club vakkov (~vakko@217.174.51.163)
17:34.22*** join/#n950club user__ (~user@79.100.237.204)
18:45.08*** join/#n950club ZogG_laptop (~ZogG_lapt@funtoo/user/ZogG)
19:27.40krnlyngthp: i have managed build and installe the hwcomposer module :)
19:28.52krnlyngbut aliendalvik still gives me the missing gralloc message, i am about to give up (because still understand to less about how it is integrated into the system... maybe with a jolla device i can do more debugging)
19:29.35krnlyngi'll start porting mupen64plus i think
19:30.11krnlyngthats easier with my limited skills :D
19:55.41smokexkrnlyng: out of curiosity how much of the 3.x kernel were you able to get compiling?
19:55.54krnlyngall of it
19:56.00krnlyngbut it doesn't boot
19:56.22smokexany idea why?
19:58.25ZogG_laptopkrnlyng: how do you know it doesn't boot?
19:58.47krnlyngZogG_laptop: it doesn't boot into the os
19:58.48ZogG_laptopthp hey o/
19:58.52krnlyngno sailfish logo^^
19:58.58krnlyngjust crashes
19:59.01krnlyngno idea why
19:59.08ZogG_laptopkrnlyng: have you seen log?
19:59.10krnlynghadn't too much time to figure it out yet
19:59.14krnlyngZogG_laptop: which log?
19:59.25ZogG_laptopof crash/boot/something
19:59.38krnlyngif only i knew which logs i'd have to look at :D
19:59.43ZogG_laptopthe point is that n950 and n9 have very specific screen
19:59.53ZogG_laptopwhere it wouldn't autorefresh itself
20:00.02ZogG_laptopand maybe you miss related driver for it
20:03.04ZogG_laptopi mean you may bot but screen wouldn't work
20:03.36ZogG_laptopkrnlyng: did you compile from device from sailfish?
20:04.44krnlyngZogG_laptop: i don't have a jolla device yet
20:05.00ZogG_laptopdid i say jolla?
20:05.15krnlyngZogG_laptop: i didn't understand your question then
20:05.22krnlyngsmokex: did you mean the kernel max uploaded?
20:05.32krnlyngi can compile that for jolla devices, but for n9 it's broken
20:05.43thpZogG_laptop: o/
20:05.53thpkrnlyng: so no luck beyond compiling the hwc module?
20:05.59ZogG_laptopthp: you have disappeared
20:06.09krnlyngthp: nope but i don't know if i set everything up correctly
20:06.16ZogG_laptopthp: i used your ps move project with qt :P
20:06.20krnlyngthp: i compiled it and installed it
20:06.27krnlyngbut aliendalvik still reports gralloc is missing
20:06.42krnlyngi have libgstblablagrallocblabla installed
20:06.48ZogG_laptopthp: made flying phones game and when you shoot they explode and triggers calls on real one in front of tv :)
20:07.01thpZogG_laptop: cool! source or demo video available somewhere?
20:07.36thpkrnlyng: maybe it's about the gralloc in /system/lib/hw/?
20:07.36thpi.e. the libhardware support module
20:07.44ZogG_laptopthp: it was work related so i don't think i can share all source. but i might have video preview :)
20:08.24thpZogG_laptop: demo video would be cool, could link to it from the psmoveapi website :)
20:08.46krnlyngdon't know how to fix that then thp
20:08.57krnlyngbut i had this idea too
20:09.31ZogG_laptopnice. i'll try to find it or reconnect the whole thing to have video and ask if i can share :)
20:10.16ZogG_laptopthp: though i had problems with colours of it
20:10.34ZogG_laptopand calibration and camera assembly
20:10.45thpkrnlyng: another reason for basing your stuff on nitdroid/aosp/cyanogenmod instead - everything (except for some hw libs maybe) is open, so it should be easier to fix/debug
20:10.55thpZogG_laptop: are you using the 3.0.0 release or from git?
20:11.04thpZogG_laptop: git might have some improvements wrt color calibration
20:11.42ZogG_laptopcolor was problematic as i could flick it but i couldn't run it on - off
20:12.12ZogG_laptopi mean if i create qml object with timer and make it go from blue to yellow in loop it would work
20:12.35ZogG_laptopthe problem was when i wanted green on success and red on miss it wouldnt work
20:12.42ZogG_laptopit would turn on and off once and that's it
20:13.03ZogG_laptopit was small project i made in few days
20:13.17ZogG_laptopi'm noob and beginner so :P
20:14.32thpZogG_laptop: did you use the camera tracking?
20:14.41ZogG_laptopbut designer made awesome graphics so it looked cool
20:14.58ZogG_laptopthp: i tried to with and without camera
20:15.08ZogG_laptopit was terrible
20:15.13ZogG_laptopi couldnt fix it
20:15.18thpbecause if you use camera tracking, changing the color isn't that good of an idea ;)
20:15.33thpalso, using the pseye camera (the usb camera that is used on the ps3) usually gives better results than a normal cam
20:15.35ZogG_laptopit was always jumping back to corner or moving at once place in circles
20:15.45thpbecause it has nice exposure control + high framerate
20:15.48ZogG_laptopi used mouse example C++ code
20:15.59ZogG_laptopand turned off buttons there
20:16.03ZogG_laptoponly movement
20:16.09ZogG_laptopand buttons and led used in qml
20:16.09thpthat should work well, though
20:16.35ZogG_laptopi had ps eye camera but it wasn't that good
20:17.11ZogG_laptopi had alsmost no time so i gave up and used mouse driver without buttons and buttons/logic/led in qml
20:17.42krnlyngi think i am done with the aliendalvik experiments anyways thp
20:17.44ZogG_laptopi wanted to flick for a second red/green on good shot/miss
20:17.56krnlyngthp: nitdroid alpha1 supported camera right? can we maybe use the camera driver together with libhybris to get the camera working on n9?
20:17.57ZogG_laptopkrnlyng: why do you want it so bad
20:18.11krnlyngZogG_laptop: because i am stupid :)
20:18.23ZogG_laptopkrnlyng: buy android :P
20:18.42ZogG_laptopkrnlyng: you can try to talk to e-eyes as well
20:18.56thpkrnlyng: not sure if it supported the camera
20:19.11thpkrnlyng: but should be easy to find out
20:19.31ZogG_laptopthp: btw e-eyes was one of devs of yota phone as i  understand it right
20:19.52ZogG_laptopthe russian one with eink second screen
20:19.57krnlyngZogG_laptop: my friends (non-tech-guys) always joke about me because i cannot run android apps^^, they were stunned when i showed them DrawSomething, The Sims 3 and PlantsVsZombies.. thats one reason i want it so badly
20:19.58thpnot sure, but i met him last year at fosdem
20:20.39ZogG_laptopkrnlyng: on n9 + sailfish?
20:20.54ZogG_laptopthp: oh, he does go to those :P
20:21.09ZogG_laptopi haven't met anyone in real life :(
20:21.23ZogG_laptopactually i did met 4 people
20:21.29ZogG_laptopmohammadAg
20:21.41ZogG_laptopdamagedspline (assaf)
20:21.44ZogG_laptopshturman
20:21.59krnlyngkrnlyng: that was with apkenv^^
20:22.02ZogG_laptopand sivan green who was nemo involved i think at some point
20:22.08krnlyngon harmattan
20:22.25ZogG_laptopkrnlyng: change friends :P
20:22.32ZogG_laptopphones are not for show off
20:23.24krnlyngZogG_laptop: they are pretty nice guys, we just give each other a hard time sometimes ;P
20:23.55ZogG_laptop:P
20:24.14ZogG_laptopthp: how is working with jolla?
20:24.50thpvery nice
20:25.45krnlyngi want to work for jolla :D lol
20:26.10thpkrnlyng: better than trying to get android apps running would probably be writing native apps ;)
20:26.26krnlyngthp: i've started to work on mupen64plus today
20:27.24thpkrnlyng: what toolkit does it use for window creation? qt? sdl?
20:27.40krnlyngthp: sdl unfortunately
20:27.46krnlyngnot even sdl2 :)
20:27.50thpkrnlyng: we have SDL2 in sailfish/nemo
20:28.08krnlyngthp: i saw that (saw SDL2 in the repos)
20:28.09thpand sdl1 -> sdl2 should be relatively easy to port, especially if rendering is done using gles and not sdl surfaces
20:28.22krnlyngrendering is done using gles :)
20:28.39krnlyngand the sdl stuff is all in one module
20:28.54krnlyngso it should be pretty easy
20:29.15thpkrnlyng: SDL2 in the repos is based on a pre-2.0.0 git version; but wayland support is now upstream, and the qt support patches are in the process of being upstreamed
20:29.27thp(qt support patches = qtwayland extensions)
20:29.38thpso eventually SDL2 will be supported in harbour
20:29.44krnlyngthats nice
20:33.11thpkrnlyng: btw, GLESv1 or GLESv2 for mupen64plus?
20:33.20krnlyngthp: glesv2
20:33.56thpyeah, then you could probably also rewrite the SDL parts with qt5 (qt5 only supports gles2 afaik, whereas with sdl you can do both)
20:34.07thpnot sure what's easier/more convenient
20:34.18thp(porting to sdl2 or to qt5)
20:35.16krnlyngi have almost no experience with qt5, so i preffer sdl2
20:35.23krnlyngwith qt in general
20:35.49krnlyngi hope somebody will implement a rom selection gui xD
20:36.38thpkrnlyng: https://github.com/thp/qt5-opengles2-test for some basic "set up a gles2 window and process multi-touch input" example
20:36.50krnlyngthp: thanks!
20:37.27thpkrnlyng: what does it use for audio?
20:37.34krnlyngthp: sdl
20:38.16krnlyngthp: mupen64plus is actually a command line application so you'd run a rom by executing: mupen64plus <pluginoptions> /path/to/rom
20:38.27krnlyngso i think using sdl is not a huge deal
20:38.32thpyou might need to use https://github.com/nemomobile/libaudioresource/ (basically the same as harmattan's libresource) to get audio output working
20:38.38krnlyngif there is a rom selection gui that executes the mupen64plus command
20:39.09thpyeah, i guess somebody will write a sailfish silica qml rom selection ui for that
20:39.14krnlyng(mupen64plus 1.5 had its own gui but they changed that in the conversion to mupen64plus2.0)
20:39.29krnlyngi hope, but if not i'll look further into it
20:39.33krnlyngthanks for the links :)
20:40.12thpgood luck :) if you get stuck or find an sdl bug, let me know ;)
20:41.00krnlyngi'll do :)
20:50.52krnlyngthp: i think 1-2 weeks is realistic, do you know what i would need to do to get it into the jolla store? provide an rpm?
21:00.18thpkrnlyng: yeah, plus all the requirements on http://harbour.jolla.com/faq
21:25.22krnlyngthp: thanks
21:26.28krnlynghas anybody ever head of copybit? i just copied gralloc.default.so from into /opt/alien/system/lib/hw and now it complains about copybit^^
21:31.28krnlynga forget it..
21:31.49valdur55did you found it?
21:36.26krnlyngno i am giving up now really (probably)
21:36.35krnlyngi found one for jolla hardware :S
21:42.39valdur55krnlyng: can you give  complete error message? :D  (when you want )
21:44.18krnlyngvaldur55: http://pastebin.com/2AgeeYAY
21:48.55valdur55got https://android.googlesource.com/platform/hardware/qcom/display/+/jb-mr1-dev/libcopybit/copybit.cpp and https://android.googlesource.com/platform/hardware/qcom/display/+/android-4.3.1_r1/libhwcomposer/hwc_copybit.cpp
21:50.47valdur55Internesting page... https://android.googlesource.com/
22:02.31*** join/#n950club searchsam (~sam@190.212.88.109)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.