04:43.08 | *** join/#n950club vakkov (~vakko@217.174.51.163) |
07:35.17 | krnlyng | i am pretty sure myriad copied code from android :D |
07:38.53 | krnlyng | thp: 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.31 | krnlyng | thp: any ideas? http://pastebin.com/AeCytwXd |
13:02.56 | krnlyng | thp: i hacked a bit around and now i get http://pastebin.com/LvN1XaUB |
13:21.37 | krnlyng | fixed that now i only have hw_get_module reference left |
13:22.51 | krnlyng | but i cannot get the libhybris-sbj-libhardware-devel package :( |
14:48.41 | krnlyng | has 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.40 | krnlyng | thp: i have managed build and installe the hwcomposer module :) |
19:28.52 | krnlyng | but 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.35 | krnlyng | i'll start porting mupen64plus i think |
19:30.11 | krnlyng | thats easier with my limited skills :D |
19:55.41 | smokex | krnlyng: out of curiosity how much of the 3.x kernel were you able to get compiling? |
19:55.54 | krnlyng | all of it |
19:56.00 | krnlyng | but it doesn't boot |
19:56.22 | smokex | any idea why? |
19:58.25 | ZogG_laptop | krnlyng: how do you know it doesn't boot? |
19:58.47 | krnlyng | ZogG_laptop: it doesn't boot into the os |
19:58.48 | ZogG_laptop | thp hey o/ |
19:58.52 | krnlyng | no sailfish logo^^ |
19:58.58 | krnlyng | just crashes |
19:59.01 | krnlyng | no idea why |
19:59.08 | ZogG_laptop | krnlyng: have you seen log? |
19:59.10 | krnlyng | hadn't too much time to figure it out yet |
19:59.14 | krnlyng | ZogG_laptop: which log? |
19:59.25 | ZogG_laptop | of crash/boot/something |
19:59.38 | krnlyng | if only i knew which logs i'd have to look at :D |
19:59.43 | ZogG_laptop | the point is that n950 and n9 have very specific screen |
19:59.53 | ZogG_laptop | where it wouldn't autorefresh itself |
20:00.02 | ZogG_laptop | and maybe you miss related driver for it |
20:03.04 | ZogG_laptop | i mean you may bot but screen wouldn't work |
20:03.36 | ZogG_laptop | krnlyng: did you compile from device from sailfish? |
20:04.44 | krnlyng | ZogG_laptop: i don't have a jolla device yet |
20:05.00 | ZogG_laptop | did i say jolla? |
20:05.15 | krnlyng | ZogG_laptop: i didn't understand your question then |
20:05.22 | krnlyng | smokex: did you mean the kernel max uploaded? |
20:05.32 | krnlyng | i can compile that for jolla devices, but for n9 it's broken |
20:05.43 | thp | ZogG_laptop: o/ |
20:05.53 | thp | krnlyng: so no luck beyond compiling the hwc module? |
20:05.59 | ZogG_laptop | thp: you have disappeared |
20:06.09 | krnlyng | thp: nope but i don't know if i set everything up correctly |
20:06.16 | ZogG_laptop | thp: i used your ps move project with qt :P |
20:06.20 | krnlyng | thp: i compiled it and installed it |
20:06.27 | krnlyng | but aliendalvik still reports gralloc is missing |
20:06.42 | krnlyng | i have libgstblablagrallocblabla installed |
20:06.48 | ZogG_laptop | thp: made flying phones game and when you shoot they explode and triggers calls on real one in front of tv :) |
20:07.01 | thp | ZogG_laptop: cool! source or demo video available somewhere? |
20:07.36 | thp | krnlyng: maybe it's about the gralloc in /system/lib/hw/? |
20:07.36 | thp | i.e. the libhardware support module |
20:07.44 | ZogG_laptop | thp: it was work related so i don't think i can share all source. but i might have video preview :) |
20:08.24 | thp | ZogG_laptop: demo video would be cool, could link to it from the psmoveapi website :) |
20:08.46 | krnlyng | don't know how to fix that then thp |
20:08.57 | krnlyng | but i had this idea too |
20:09.31 | ZogG_laptop | nice. i'll try to find it or reconnect the whole thing to have video and ask if i can share :) |
20:10.16 | ZogG_laptop | thp: though i had problems with colours of it |
20:10.34 | ZogG_laptop | and calibration and camera assembly |
20:10.45 | thp | krnlyng: 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.55 | thp | ZogG_laptop: are you using the 3.0.0 release or from git? |
20:11.04 | thp | ZogG_laptop: git might have some improvements wrt color calibration |
20:11.42 | ZogG_laptop | color was problematic as i could flick it but i couldn't run it on - off |
20:12.12 | ZogG_laptop | i mean if i create qml object with timer and make it go from blue to yellow in loop it would work |
20:12.35 | ZogG_laptop | the problem was when i wanted green on success and red on miss it wouldnt work |
20:12.42 | ZogG_laptop | it would turn on and off once and that's it |
20:13.03 | ZogG_laptop | it was small project i made in few days |
20:13.17 | ZogG_laptop | i'm noob and beginner so :P |
20:14.32 | thp | ZogG_laptop: did you use the camera tracking? |
20:14.41 | ZogG_laptop | but designer made awesome graphics so it looked cool |
20:14.58 | ZogG_laptop | thp: i tried to with and without camera |
20:15.08 | ZogG_laptop | it was terrible |
20:15.13 | ZogG_laptop | i couldnt fix it |
20:15.18 | thp | because if you use camera tracking, changing the color isn't that good of an idea ;) |
20:15.33 | thp | also, using the pseye camera (the usb camera that is used on the ps3) usually gives better results than a normal cam |
20:15.35 | ZogG_laptop | it was always jumping back to corner or moving at once place in circles |
20:15.45 | thp | because it has nice exposure control + high framerate |
20:15.48 | ZogG_laptop | i used mouse example C++ code |
20:15.59 | ZogG_laptop | and turned off buttons there |
20:16.03 | ZogG_laptop | only movement |
20:16.09 | ZogG_laptop | and buttons and led used in qml |
20:16.09 | thp | that should work well, though |
20:16.35 | ZogG_laptop | i had ps eye camera but it wasn't that good |
20:17.11 | ZogG_laptop | i had alsmost no time so i gave up and used mouse driver without buttons and buttons/logic/led in qml |
20:17.42 | krnlyng | i think i am done with the aliendalvik experiments anyways thp |
20:17.44 | ZogG_laptop | i wanted to flick for a second red/green on good shot/miss |
20:17.56 | krnlyng | thp: nitdroid alpha1 supported camera right? can we maybe use the camera driver together with libhybris to get the camera working on n9? |
20:17.57 | ZogG_laptop | krnlyng: why do you want it so bad |
20:18.11 | krnlyng | ZogG_laptop: because i am stupid :) |
20:18.23 | ZogG_laptop | krnlyng: buy android :P |
20:18.42 | ZogG_laptop | krnlyng: you can try to talk to e-eyes as well |
20:18.56 | thp | krnlyng: not sure if it supported the camera |
20:19.11 | thp | krnlyng: but should be easy to find out |
20:19.31 | ZogG_laptop | thp: btw e-eyes was one of devs of yota phone as i understand it right |
20:19.52 | ZogG_laptop | the russian one with eink second screen |
20:19.57 | krnlyng | ZogG_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.58 | thp | not sure, but i met him last year at fosdem |
20:20.39 | ZogG_laptop | krnlyng: on n9 + sailfish? |
20:20.54 | ZogG_laptop | thp: oh, he does go to those :P |
20:21.09 | ZogG_laptop | i haven't met anyone in real life :( |
20:21.23 | ZogG_laptop | actually i did met 4 people |
20:21.29 | ZogG_laptop | mohammadAg |
20:21.41 | ZogG_laptop | damagedspline (assaf) |
20:21.44 | ZogG_laptop | shturman |
20:21.59 | krnlyng | krnlyng: that was with apkenv^^ |
20:22.02 | ZogG_laptop | and sivan green who was nemo involved i think at some point |
20:22.08 | krnlyng | on harmattan |
20:22.25 | ZogG_laptop | krnlyng: change friends :P |
20:22.32 | ZogG_laptop | phones are not for show off |
20:23.24 | krnlyng | ZogG_laptop: they are pretty nice guys, we just give each other a hard time sometimes ;P |
20:23.55 | ZogG_laptop | :P |
20:24.14 | ZogG_laptop | thp: how is working with jolla? |
20:24.50 | thp | very nice |
20:25.45 | krnlyng | i want to work for jolla :D lol |
20:26.10 | thp | krnlyng: better than trying to get android apps running would probably be writing native apps ;) |
20:26.26 | krnlyng | thp: i've started to work on mupen64plus today |
20:27.24 | thp | krnlyng: what toolkit does it use for window creation? qt? sdl? |
20:27.40 | krnlyng | thp: sdl unfortunately |
20:27.46 | krnlyng | not even sdl2 :) |
20:27.50 | thp | krnlyng: we have SDL2 in sailfish/nemo |
20:28.08 | krnlyng | thp: i saw that (saw SDL2 in the repos) |
20:28.09 | thp | and sdl1 -> sdl2 should be relatively easy to port, especially if rendering is done using gles and not sdl surfaces |
20:28.22 | krnlyng | rendering is done using gles :) |
20:28.39 | krnlyng | and the sdl stuff is all in one module |
20:28.54 | krnlyng | so it should be pretty easy |
20:29.15 | thp | krnlyng: 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.27 | thp | (qt support patches = qtwayland extensions) |
20:29.38 | thp | so eventually SDL2 will be supported in harbour |
20:29.44 | krnlyng | thats nice |
20:33.11 | thp | krnlyng: btw, GLESv1 or GLESv2 for mupen64plus? |
20:33.20 | krnlyng | thp: glesv2 |
20:33.56 | thp | yeah, 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.07 | thp | not sure what's easier/more convenient |
20:34.18 | thp | (porting to sdl2 or to qt5) |
20:35.16 | krnlyng | i have almost no experience with qt5, so i preffer sdl2 |
20:35.23 | krnlyng | with qt in general |
20:35.49 | krnlyng | i hope somebody will implement a rom selection gui xD |
20:36.38 | thp | krnlyng: https://github.com/thp/qt5-opengles2-test for some basic "set up a gles2 window and process multi-touch input" example |
20:36.50 | krnlyng | thp: thanks! |
20:37.27 | thp | krnlyng: what does it use for audio? |
20:37.34 | krnlyng | thp: sdl |
20:38.16 | krnlyng | thp: mupen64plus is actually a command line application so you'd run a rom by executing: mupen64plus <pluginoptions> /path/to/rom |
20:38.27 | krnlyng | so i think using sdl is not a huge deal |
20:38.32 | thp | you might need to use https://github.com/nemomobile/libaudioresource/ (basically the same as harmattan's libresource) to get audio output working |
20:38.38 | krnlyng | if there is a rom selection gui that executes the mupen64plus command |
20:39.09 | thp | yeah, i guess somebody will write a sailfish silica qml rom selection ui for that |
20:39.14 | krnlyng | (mupen64plus 1.5 had its own gui but they changed that in the conversion to mupen64plus2.0) |
20:39.29 | krnlyng | i hope, but if not i'll look further into it |
20:39.33 | krnlyng | thanks for the links :) |
20:40.12 | thp | good luck :) if you get stuck or find an sdl bug, let me know ;) |
20:41.00 | krnlyng | i'll do :) |
20:50.52 | krnlyng | thp: 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.18 | thp | krnlyng: yeah, plus all the requirements on http://harbour.jolla.com/faq |
21:25.22 | krnlyng | thp: thanks |
21:26.28 | krnlyng | has 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.28 | krnlyng | a forget it.. |
21:31.49 | valdur55 | did you found it? |
21:36.26 | krnlyng | no i am giving up now really (probably) |
21:36.35 | krnlyng | i found one for jolla hardware :S |
21:42.39 | valdur55 | krnlyng: can you give complete error message? :D (when you want ) |
21:44.18 | krnlyng | valdur55: http://pastebin.com/2AgeeYAY |
21:48.55 | valdur55 | got 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.47 | valdur55 | Internesting page... https://android.googlesource.com/ |
22:02.31 | *** join/#n950club searchsam (~sam@190.212.88.109) |