*** mugna has quit IRC | 00:17 | |
*** mou2 has quit IRC | 01:01 | |
*** Umeaboy has joined #sailfishos-porters | 01:16 | |
*** Umeaboy has quit IRC | 01:29 | |
*** uvatbc has quit IRC | 04:01 | |
*** Umeaboy has joined #sailfishos-porters | 04:21 | |
Umeaboy | Hi! | 04:21 |
---|---|---|
Umeaboy | As I come to the point when I type hadk in the new terminal-window and everything has worked out so far, I'm about to type ubu-chroot -r /parentroot/$MER_ROOT/sdks/ubuntu | 04:23 |
Umeaboy | That command isn't working. | 04:23 |
hurrian | do you have ubu-chroot? | 04:24 |
Umeaboy | hurrian: Where am I supposed to find that? | 04:25 |
hurrian | the android-tools package | 04:26 |
*** sletta has joined #sailfishos-porters | 04:27 | |
Umeaboy | hurrian: http://pastebin.com/8CxKiCwN | 04:28 |
Umeaboy | No such package as you can see. | 04:28 |
Umeaboy | I use Trysty Tahr. | 04:29 |
hurrian | install it manually from OBS | 04:29 |
Umeaboy | Trusty Tahr. | 04:29 |
Umeaboy | Oh. | 04:29 |
Umeaboy | Sorry. | 04:29 |
Umeaboy | hurrian: Still can't seem to find it. | 04:31 |
Umeaboy | Should I add a repo? | 04:36 |
hurrian | no, it's part of the stock repos and rpm just isn't fetching it | 04:37 |
Umeaboy | Found the solution now. | 04:37 |
Umeaboy | :) | 04:37 |
junnuvi | let me quess, you were not in mer sdk when trying to install? | 04:39 |
junnuvi | :) | 04:39 |
Umeaboy | junnuvi: I was. I just didn't realize that I had to use the zypper-command from setup_HADK.sh from a different guide. :) | 04:42 |
Umeaboy | Moving on now. :) | 04:42 |
Umeaboy | I'm writing a step-by-step guide to make this work. :) | 04:43 |
Umeaboy | Almost foolproof. ;) | 04:43 |
Umeaboy | When can I expect that the issue I reported about the missing folder is fixed? | 04:45 |
Umeaboy | Now I seem to be missing repo for some reason. | 04:50 |
*** uvatbc has joined #sailfishos-porters | 04:53 | |
Umeaboy | junnuvi: Can you tell me what I should do? | 04:54 |
junnuvi | are you using some scripts or just following HADK manual? | 04:55 |
Umeaboy | junnuvi: Neither. :) | 04:55 |
Umeaboy | http://forum.xda-developers.com/galaxy-s3/orig-development/rom-samsung-s3-intl-sailfishos-t2825420 | 04:55 |
Umeaboy | I just took the zypper command to install android-tools for the above mentioned setup_HADK.sh | 04:56 |
junnuvi | ah, ok | 04:56 |
Umeaboy | I googled the issue and found that script. | 04:56 |
junnuvi | and what output/error it will give? | 04:57 |
Umeaboy | repo init -u git://github.com/mer-hybris/android.git -b hybris-10.1 says bash: repo: command not found | 04:57 |
junnuvi | hmm | 05:00 |
Umeaboy | Should I cd to $HOME//mer/android/droid and execute it from there? | 05:00 |
junnuvi | http://source.android.com/source/downloading.html#installing-repo | 05:00 |
*** lbt_away has quit IRC | 05:02 | |
junnuvi | Umeaboy: hadk manual, section 5.1 (page 17) :-) | 05:04 |
Umeaboy | junnuvi: I'm NOT a developer. I'm a learner. I learn by doing misstakes. | 05:07 |
Umeaboy | Not when it comes to drugs, alcohol or violence thou. :) | 05:08 |
Umeaboy | I got a UnicodeEncodeError doing repo init -u git://github.com/mer-hybris/android.git -b hybris-10.1 | 05:09 |
Umeaboy | It started to fetch thou. | 05:09 |
junnuvi | Umeaboy: I'm not either.. i'm mistaker as well :) | 05:10 |
junnuvi | If i remeber correctly I had those unicode errors as well, and it didn't cause problems | 05:15 |
Umeaboy | OK. | 05:19 |
Umeaboy | But repo status shows that no repo exists. | 05:19 |
Umeaboy | junnuvi: ^^ | 05:20 |
Umeaboy | Shouldn't I see hybris-10.1 with that command? | 05:23 |
Umeaboy | Seems like repo sync works anyway. | 05:28 |
Umeaboy | I may be wrong, but it seems to be fetching more than I expected. | 05:28 |
Umeaboy | I'll check when it's finished. | 05:29 |
Umeaboy | 77 parts to fetch anyhow. | 05:29 |
*** olafh_ has joined #sailfishos-porters | 05:32 | |
junnuvi | it will fetch guite lot of stuff and also unneeded things. Totally aroung 10GB | 05:36 |
junnuvi | around | 05:36 |
junnuvi | but I have to go now, good luck :) | 05:37 |
*** sletta has quit IRC | 05:46 | |
*** iTune has joined #sailfishos-porters | 05:46 | |
Umeaboy | Hmmmmmmmm. Now that the repo is synced, what's my next step? | 05:52 |
Umeaboy | Typing export $DEVICE ? | 05:52 |
Umeaboy | hurrian: Do you know? | 05:53 |
hurrian | uhh, breakfast $DEVICE? | 05:54 |
*** furikku has joined #sailfishos-porters | 05:55 | |
Umeaboy | OK. | 06:03 |
Umeaboy | Gotta go. I haven't slept yet. | 06:03 |
Umeaboy | :) | 06:03 |
Umeaboy | Thanks for the help. ;) | 06:03 |
*** Umeaboy has quit IRC | 06:03 | |
*** alin has quit IRC | 06:17 | |
*** alin has joined #sailfishos-porters | 06:18 | |
*** _dinsdale has joined #sailfishos-porters | 06:36 | |
*** sletta has joined #sailfishos-porters | 07:14 | |
*** carepack has quit IRC | 07:23 | |
*** _dinsdale has quit IRC | 07:23 | |
*** ernesti has joined #sailfishos-porters | 07:33 | |
*** _dinsdale has joined #sailfishos-porters | 07:48 | |
*** iTune has quit IRC | 07:57 | |
*** sletta has quit IRC | 07:58 | |
*** sletta has joined #sailfishos-porters | 07:59 | |
*** ernesti has quit IRC | 08:02 | |
*** sletta has quit IRC | 08:09 | |
*** sletta has joined #sailfishos-porters | 08:10 | |
*** _dinsdale has quit IRC | 08:10 | |
*** dmt__ has quit IRC | 08:15 | |
*** iTune has joined #sailfishos-porters | 08:21 | |
*** rusty88 has joined #sailfishos-porters | 08:30 | |
*** mou2 has joined #sailfishos-porters | 08:31 | |
*** mou2 has quit IRC | 08:33 | |
*** tohtoris has joined #sailfishos-porters | 08:39 | |
*** lbt_away has joined #sailfishos-porters | 08:59 | |
*** lbt_away has quit IRC | 08:59 | |
*** lbt_away has joined #sailfishos-porters | 08:59 | |
*** mou2 has joined #sailfishos-porters | 09:02 | |
*** hurrian has quit IRC | 09:13 | |
*** mou2 has quit IRC | 09:33 | |
*** dragonkeeper has joined #sailfishos-porters | 09:42 | |
*** hurrian has joined #sailfishos-porters | 09:42 | |
*** hurrian has joined #sailfishos-porters | 09:42 | |
*** dmt__ has joined #sailfishos-porters | 09:46 | |
*** mou2 has joined #sailfishos-porters | 09:51 | |
*** mou3 has joined #sailfishos-porters | 09:59 | |
*** mou2 has quit IRC | 10:02 | |
*** mou3 has quit IRC | 10:06 | |
*** mou2 has joined #sailfishos-porters | 10:07 | |
*** Nokius has joined #sailfishos-porters | 10:09 | |
*** Nokius1 has quit IRC | 10:12 | |
*** narchie2 is now known as narchie | 10:12 | |
*** mou2 has quit IRC | 10:20 | |
*** dmt_ has quit IRC | 10:30 | |
*** dmt_ has joined #sailfishos-porters | 10:34 | |
*** alin has quit IRC | 10:39 | |
*** rusty88 has quit IRC | 10:39 | |
*** carepack_ has joined #sailfishos-porters | 10:43 | |
*** carepack_ is now known as carepack__ | 10:43 | |
*** dev_ has joined #sailfishos-porters | 10:55 | |
*** sletta has quit IRC | 10:59 | |
*** Sfiet_Konstantin has joined #sailfishos-porters | 11:00 | |
*** lbt_away is now known as lbt | 11:04 | |
*** dmt_ has quit IRC | 11:04 | |
*** rusty88 has joined #sailfishos-porters | 11:26 | |
*** hexo has quit IRC | 11:26 | |
*** hexo has joined #sailfishos-porters | 11:27 | |
*** SfietKonstantin has joined #sailfishos-porters | 11:28 | |
*** Sfiet_Konstantin has quit IRC | 11:30 | |
*** rusty88 has quit IRC | 11:46 | |
*** Tassadar has joined #sailfishos-porters | 12:00 | |
*** piggz has joined #sailfishos-porters | 12:02 | |
piggz | sledges: vgrade: hi .. sailfish ace may be in jeopardy :( | 12:05 |
sledges | o.O | 12:05 |
piggz | sledges: having memory problems ... the only app that opens is the phone app ... all others get an 'unable to allocate memory' type error in dmesg from pmem-mmap | 12:06 |
piggz | there is >200mb free ram so i dont know why | 12:06 |
piggz | i tried adding swap but that didnt help | 12:06 |
sledges | o yej.. 576 MB RAM | 12:06 |
sledges | *yeh | 12:06 |
sledges | piggz: try without invoker (i.e. via cmdline) | 12:07 |
piggz | sledges: i tried logging in as nemo thru ssh and running jolla-gallery | 12:07 |
sledges | and? | 12:07 |
piggz | but it failed | 12:07 |
sledges | hmmm | 12:08 |
piggz | i think pmem is used by th graphics hardware, so maybe its gl/hybris/wayland related | 12:08 |
sledges | i can suggest installing qml-compositor and playing through there | 12:08 |
sledges | ah, you mean GPU mem allocation problems? | 12:08 |
piggz | seems that way ... pmem wont be used by apps | 12:08 |
sledges | right | 12:08 |
sledges | i guess similar could be observed in vgrade's passion (Nexus One) | 12:09 |
Stskeeps | old adreno gpus are likely not to be happy about the way we do apps | 12:09 |
sledges | you could disable lipstick and run other apps as single-instance compositors | 12:09 |
sledges | just to play about | 12:09 |
sledges | oh yes btw, piggz how did you make it output to fbdev successfully? | 12:10 |
sledges | we're suffering with other adrenos: https://wiki.merproject.org/wiki/Adaptations/libhybris/gpu | 12:10 |
sledges | (so were you) | 12:10 |
vakkov | those new galaxy notes with 64-bit cores (with the exynos chipset) | 12:15 |
piggz | sledges: minimer always worked, just lipstick was failing, and that was th servicemanager problem | 12:16 |
*** Sfiet_Konstantin has joined #sailfishos-porters | 12:17 | |
*** Sfiet_Konstantin has quit IRC | 12:21 | |
piggz | sledges: i wonder why the boot cmdline contains mem=88M | 12:23 |
*** tohtoris has quit IRC | 12:23 | |
tbr | that's likely a memory reservation for something | 12:30 |
tbr | but yeah, better to check | 12:30 |
*** tohtoris has joined #sailfishos-porters | 12:30 | |
*** rusty88 has joined #sailfishos-porters | 12:32 | |
piggz | tbr: false alarm ... its set in the kernel config, but the kernel takes its cmbline from the bootloader | 12:38 |
tbr | ah | 12:38 |
piggz | i wonder why the lock-ls-mem.service failed | 12:38 |
piggz | i need a kernel config to allocate more gpu ram.... | 12:39 |
*** mispp has quit IRC | 12:46 | |
sledges | note that mem is not vmem, and on TI chips they share the same space (there's some quirky setter doing devs heads in..) wonder if it's similar on your chip | 12:47 |
sledges | piggz: ^ | 12:47 |
*** dragonkeeper has quit IRC | 12:50 | |
*** dragonkeeper has joined #sailfishos-porters | 12:50 | |
*** kimmoli has quit IRC | 12:54 | |
*** ernesti has joined #sailfishos-porters | 12:56 | |
*** dmt_ has joined #sailfishos-porters | 12:57 | |
*** TheToad has joined #sailfishos-porters | 12:57 | |
*** TheToad has left #sailfishos-porters | 12:58 | |
*** piggz has quit IRC | 12:59 | |
*** sletta has joined #sailfishos-porters | 13:00 | |
*** piggz has joined #sailfishos-porters | 13:00 | |
piggz | sledges: | 13:01 |
piggz | MemTotal: 605860 kB | 13:01 |
piggz | MemFree: 378912 kB | 13:01 |
piggz | SwapTotal: 262140 kB | 13:01 |
piggz | SwapFree: 262140 kB | 13:01 |
sledges | piggz: im talking about the setter in cmdline | 13:02 |
piggz | sledges: ignore that setting, its not used | 13:02 |
sledges | your gpu mem might not be shared in main mem at all | 13:02 |
piggz | ah | 13:03 |
sledges | just saying how TI does it on OMAP/DM with cmem | 13:03 |
*** mispp has joined #sailfishos-porters | 13:04 | |
piggz | sledges: ooo, see this kernel http://forum.xda-developers.com/showthread.php?t=1085725 | 13:04 |
*** sletta has quit IRC | 13:04 | |
piggz | Allocated more GPU memory | 13:04 |
sledges | noice find;) | 13:05 |
* dragonkeeper is back to phone flashing | 13:08 | |
dragonkeeper | might as well be a tablet fir just texting and basic web browsing , in its current state | 13:11 |
sledges | tablet? | 13:19 |
dragonkeeper | might as well be * | 13:20 |
dragonkeeper | video + sound dont work and it crashes on making a phone call, camera works but video mode doesnt . so downloading another stock rom to flash but nothing seems to be working as of yet | 13:21 |
sledges | i see, poor android | 13:22 |
dragonkeeper | yeah ... i hate it lol | 13:22 |
sledges | http://www.youtube.com/watch?v=Y4_96f0Ooqg | 13:23 |
sledges | tablet you say.. | 13:23 |
dragonkeeper | love it | 13:25 |
Stskeeps | haha | 13:27 |
*** ernesti has quit IRC | 13:28 | |
*** kimmoli has joined #sailfishos-porters | 13:55 | |
*** piggz has quit IRC | 13:57 | |
*** piggz has joined #sailfishos-porters | 14:04 | |
*** kimmoli has quit IRC | 14:08 | |
*** kimmoli has joined #sailfishos-porters | 14:09 | |
*** dmt__ has quit IRC | 14:10 | |
*** piggz has quit IRC | 14:24 | |
*** piggz has joined #sailfishos-porters | 14:36 | |
*** SfietKonstantin has quit IRC | 14:41 | |
*** lbt has quit IRC | 14:56 | |
*** lbt_ has joined #sailfishos-porters | 14:56 | |
*** vakkov has quit IRC | 15:03 | |
*** piggz has quit IRC | 15:04 | |
*** piggz has joined #sailfishos-porters | 15:05 | |
*** vakkov has joined #sailfishos-porters | 15:17 | |
*** piggz has quit IRC | 15:22 | |
*** _Serial has joined #sailfishos-porters | 15:33 | |
*** rusty88 has quit IRC | 15:45 | |
*** piggz has joined #sailfishos-porters | 15:58 | |
piggz | sledges: so, with some looking at kernel messages: | 16:08 |
piggz | 0.000000] reserve_memory_for: reserve 56623104 bytes from memory 2 for pmem_adsp. | 16:08 |
piggz | [ 0.000000] reserve_memory_for: reserve 31457280 bytes from memory 2 for pmem. | 16:08 |
piggz | [ 3.919464] pmem: Initializing pmem (user-space) as cached | 16:08 |
piggz | [ 3.919921] pmem_setup: allocating PMEM region from system memory. | 16:08 |
piggz | [ 3.919982] allocating 31457280 bytes at (null) (2a500000 physical) for pmem | 16:08 |
piggz | [ 3.920104] pmem: Initializing pmem_adsp (user-space) as non-cached | 16:08 |
piggz | [ 3.920501] pmem_setup: allocating PMEM region from system memory. | 16:08 |
piggz | [ 3.920593] allocating 56623104 bytes at (null) (2c300000 physical) for pmem_adsp | 16:08 |
*** arcean has joined #sailfishos-porters | 16:29 | |
*** alin has joined #sailfishos-porters | 16:34 | |
*** alin has joined #sailfishos-porters | 16:34 | |
*** alin has quit IRC | 17:05 | |
*** alin has joined #sailfishos-porters | 17:07 | |
*** alin has joined #sailfishos-porters | 17:07 | |
*** iTune has quit IRC | 17:14 | |
*** carepack__ has quit IRC | 17:25 | |
*** carepack has joined #sailfishos-porters | 17:29 | |
*** sletta has joined #sailfishos-porters | 17:41 | |
*** carepack has quit IRC | 17:44 | |
*** sletta has quit IRC | 17:47 | |
*** swex has joined #sailfishos-porters | 17:52 | |
*** lbt_ is now known as lbt | 17:57 | |
beidl_ | MSameer: got some time for me and more gstreamer debugging? :) | 17:57 |
*** beidl_ is now known as beidl | 17:57 | |
beidl | and hello hello to everybody | 17:58 |
beidl | the channel seems to have gotten silent in the last few days | 17:58 |
MSameer | beidl: what do you feel like debugging ? :) | 17:58 |
*** mispp has quit IRC | 17:58 | |
beidl | MSameer: browser crashing due to gstreamer errors | 17:59 |
*** sletta has joined #sailfishos-porters | 18:00 | |
MSameer | do you have a bt? | 18:00 |
MSameer | might be the null pointer dereference (cc sledges ) | 18:00 |
*** sletta has quit IRC | 18:00 | |
*** mispp has joined #sailfishos-porters | 18:01 | |
beidl | MSameer: time for some gdb action I guess. lets see... | 18:01 |
MSameer | beidl: do you have colorconv installed? | 18:02 |
beidl | MSameer: yup, pulled git changes 10 minutes ago | 18:02 |
MSameer | gdb it then | 18:03 |
beidl | (gdb) bt | 18:04 |
beidl | #0 0x00000000 in ?? () | 18:04 |
beidl | #1 0x6374d718 in qcom_start (handle=0x505e25c0) at gstcolorconvqcom.c:54 | 18:04 |
beidl | #2 0x63671ef8 in gst_color_conv_start (trans=<optimized out>) at gstcolorconv.c:277 | 18:04 |
beidl | #3 0x636726b0 in gst_color_conv_accept_caps (trans=0x55c0a0c0, direction=GST_PAD_SINK, caps=0x5236b640) at gstcolorconv.c:405 | 18:04 |
beidl | #4 0x5484c0cc in ?? () from /usr/lib/libgstbase-0.10.so.0 | 18:04 |
beidl | #5 0x5484c0cc in ?? () from /usr/lib/libgstbase-0.10.so.0 | 18:04 |
beidl | Backtrace stopped: previous frame identical to this frame (corrupt stack?) | 18:04 |
beidl | MSameer: ^ | 18:04 |
MSameer | odd | 18:04 |
MSameer | frame 1 | 18:06 |
MSameer | print backend | 18:06 |
MSameer | then | 18:06 |
MSameer | print backend->conv | 18:06 |
MSameer | beidl: ^ | 18:06 |
*** uvatbc has quit IRC | 18:06 | |
*** mispp has quit IRC | 18:07 | |
*** uvatbc has joined #sailfishos-porters | 18:08 | |
beidl | MSameer: compiling... wondering which one is a NULL pointer... | 18:09 |
MSameer | why do you compile? | 18:10 |
*** ernesti has joined #sailfishos-porters | 18:10 | |
beidl | MSameer: no no, I'm compiling something else right now :) | 18:10 |
beidl | (gdb) frame 1 | 18:12 |
beidl | #1 0x61fe9718 in qcom_start (handle=0x50feaf00) at gstcolorconvqcom.c:54 | 18:12 |
beidl | 54gstcolorconvqcom.c: No such file or directory. | 18:12 |
beidl | (gdb) print backend | 18:12 |
beidl | $1 = (GstColorConvQcom *) 0x50feaf00 | 18:12 |
beidl | (gdb) print backend->conv | 18:12 |
beidl | $2 = {getDecoderOutputFormat = 0x60b6c33d, convertDecoderOutputToI420 = 0x60b6c377, getEncoderInputFormat = 0x60b6c345, convertI420ToEncoderInput = 0x60b6c437, | 18:12 |
beidl | getEncoderInputBufferInfo = 0x60b6c34d, openColorConverterLib = 0x0, closeColorConverterLib = 0x0} | 18:12 |
beidl | MSameer: ^ | 18:12 |
MSameer | odd | 18:13 |
MSameer | are you sure it's line 54? | 18:13 |
MSameer | aha | 18:13 |
MSameer | OK | 18:13 |
beidl | open/closeColorConverterLib | 18:13 |
MSameer | I know what happened | 18:13 |
MSameer | backend->conv.openColorConverterLib (); | 18:13 |
beidl | yeah | 18:14 |
MSameer | beidl: try this patch: http://pastebin.com/F4Y2Ku6C | 18:15 |
MSameer | if it works, I will push it to git | 18:16 |
beidl | MSameer: building gst-colorconf now :) | 18:17 |
* MSameer is waiting... | 18:17 | |
beidl | MSameer: but will it actually "do" color convert now? or just do nothing actually? | 18:18 |
MSameer | we will see :D | 18:18 |
MSameer | it should in theory work | 18:18 |
MSameer | I was not sure if it's qcom specific or android specific. Seems it is available on all androids | 18:18 |
MSameer | wait | 18:18 |
MSameer | omx does not even work for you | 18:19 |
beidl | MSameer: tested, doesn't crash anymore but of course, the video is scrambled as hell, only showing moving stripes, but yeah :) | 18:20 |
MSameer | yeah | 18:20 |
MSameer | omx has to be fixed :/ | 18:20 |
beidl | MSameer: yeah. if you could point me to where to start, I might take a look at it. and thanks for the patch :D | 18:21 |
MSameer | trust me. I don't know | 18:22 |
MSameer | we need to find how stagefright implements that extension and do the same | 18:22 |
Stskeeps | beidl: stride? | 18:23 |
beidl | MSameer: IIRC stagefright has some quirks for galaxy nexus/ducati, will look at it | 18:23 |
beidl | Stskeeps: ? | 18:23 |
MSameer | beidl: pushed the patch to git | 18:24 |
beidl | MSameer: awesome :) | 18:24 |
MSameer | beidl: thanks for testing | 18:24 |
beidl | MSameer: my pleasure :) | 18:24 |
MSameer | beidl: https://android.googlesource.com/platform/frameworks/native/+/jb-mr1.1-dev/include/media/hardware/HardwareAPI.h | 18:25 |
MSameer | The node should then expect to receive | 18:25 |
MSameer | / UseAndroidNativeBuffer calls (via OMX_SetParameter) rather than UseBuffer | 18:25 |
MSameer | / calls for that port. | 18:25 |
MSameer | so we need to check what UseAndroidNativeBuffer() does | 18:26 |
MSameer | I am not even sure what UseBuffer() is | 18:26 |
MSameer | might be OMX_UseBuffer() | 18:26 |
MSameer | so we need to use OMX_SetParameter() | 18:26 |
MSameer | so we need to use OMX_SetParameter() instead | 18:27 |
MSameer | Stskeeps: he's using a different extension for omx (older than what we use for jolla phone) so it needs to be supported | 18:27 |
MSameer | beidl: found it :D | 18:29 |
MSameer | frameworks/base/av/media/libstagefright/omx/OMXNodeInstance.cpp | 18:29 |
MSameer | beidl: until when are you going to be available tonight? | 18:30 |
beidl | MSameer: nice :D lets see | 18:30 |
MSameer | I might try to cook something for you after a while | 18:31 |
beidl | for around 30 minutes. might check in every few minutes | 18:31 |
MSameer | nah | 18:31 |
MSameer | need to put child to bed and stuff | 18:31 |
MSameer | my git sha is 66809dc49bec6cb6345c74d48d319c2a63c17ac6 | 18:31 |
MSameer | OMXNodeInstance.cpp:584 <-- fun starts | 18:32 |
MSameer | beidl: git clone https://android.googlesource.com/platform/frameworks/av | 18:32 |
MSameer | so not frameworks/base | 18:32 |
beidl | MSameer: setting additional parameters? | 18:35 |
Stskeeps | MSameer: ah | 18:36 |
MSameer | beidl: useGraphicBuffer2_l() is used for the new extension while useGraphicBuffer() is used for the old one | 18:45 |
MSameer | beidl: crash course about omx buffers: | 18:45 |
MSameer | either let the component allocate the buffers via AllocateBuffer() or let it use an external buffer via UseBuffer() | 18:46 |
MSameer | this is the normal way | 18:46 |
beidl | ok | 18:46 |
MSameer | android new extension uses UseBuffer() | 18:46 |
MSameer | old extension does not use the correct method. It uses SetParameter() instead | 18:47 |
MSameer | i can try to patch the code but not ATM | 18:47 |
*** alin has quit IRC | 18:47 | |
*** Umeaboy has joined #sailfishos-porters | 18:53 | |
beidl | MSameer: add codepath for OMX extension < 2 in gstomx.c:gst_omx_port_allocate_buffers_unlocked? | 18:53 |
MSameer | around line 805 | 18:55 |
MSameer | just trying to build the thing but freedesktop git has vanished :@ | 18:55 |
*** SfietKonstantin has joined #sailfishos-porters | 18:58 | |
beidl | good admins (tm) | 18:58 |
*** Umeaboy has quit IRC | 19:00 | |
*** furikku has quit IRC | 19:01 | |
*** SfietKonstantin has quit IRC | 19:01 | |
MSameer | oh crap | 19:05 |
MSameer | the struct contains an sp<ANativeWindowBuffer> | 19:06 |
MSameer | I wonder if I can replace that with ANativeWindowBuffer | 19:06 |
Stskeeps | well, can't you just treat it as a pointer to a ANativeWindowBuffer? | 19:08 |
Stskeeps | sp is a refcounted pointer afaik afaik | 19:08 |
*** swex has quit IRC | 19:12 | |
*** hurrian has quit IRC | 19:12 | |
MSameer | beidl: http://pastebin.com/c4RfUpz8 | 19:12 |
MSameer | Stskeeps: I am trying that now with the above patch | 19:13 |
* Stskeeps looks | 19:13 | |
MSameer | let's see if beidl's phone does not explode :D | 19:13 |
Stskeeps | i've yet to make a battery explode in my porting efforts.. :P | 19:13 |
*** dragonkeeper has quit IRC | 19:13 | |
Stskeeps | don't be surprised at a crash looking for incRef/decRef | 19:13 |
*** dragonkeeper has joined #sailfishos-porters | 19:14 | |
MSameer | yup | 19:14 |
MSameer | let's see | 19:14 |
* MSameer hides away from Stskeeps | 19:14 | |
beidl | MSameer: thanks, I'll try it in 5 minutes :) | 19:14 |
*** VDVsx has quit IRC | 19:16 | |
*** zhxt has quit IRC | 19:16 | |
*** catern has quit IRC | 19:16 | |
MSameer | there is a leak in the patch upon error but that's minor ;) | 19:23 |
MSameer | beidl: ? | 19:27 |
*** Anarky_ has quit IRC | 19:27 | |
beidl | MSameer: playing a video from the Gallery: Sep 06 21:27:03 Jolla [2241]: [W] QGstreamerPlayerSession::processBusMessage:1223 - Error: "GStreamer encountered a general stream error." | 19:28 |
beidl | will add GST_DEBUG, lets see | 19:28 |
MSameer | beidl: GST_DEBUG='*:2' | 19:29 |
MSameer | beidl: wait | 19:29 |
*** VDVsx has joined #sailfishos-porters | 19:29 | |
*** zhxt has joined #sailfishos-porters | 19:29 | |
*** catern has joined #sailfishos-porters | 19:29 | |
MSameer | there was a variable you need to export | 19:29 |
MSameer | beidl: export QT_GSTREAMER_PLAYBIN_FLAGS=0 | 19:30 |
beidl | MSameer: http://pastebin.com/wgiCDC9U | 19:31 |
MSameer | WTH | 19:31 |
*** Anarky has joined #sailfishos-porters | 19:33 | |
Stskeeps | MSameer: sailfish's modded gst good/bad packages are practically just 'enable some codecs that are not usually okay in open source' right? | 19:34 |
MSameer | beidl: open gstomx.c | 19:34 |
Stskeeps | pondering to submit some bcond stuff for those so it becomes more of a build condition | 19:34 |
MSameer | Stskeeps: patented | 19:34 |
Stskeeps | nod | 19:34 |
MSameer | Stskeeps: mainly bad + bad has 2 sailfish specific patches for camerabin2 (not sure they are needed for mer or not) | 19:35 |
MSameer | beidl: ping | 19:35 |
beidl | MSameer: pong | 19:35 |
MSameer | beidl: edit gstomx.c | 19:35 |
MSameer | beidl: line 978 | 19:35 |
MSameer | remove comp->android_extension = index; | 19:36 |
MSameer | add comp->android_extension = extension; | 19:36 |
MSameer | beidl: save and rebuild | 19:36 |
MSameer | Stskeeps: wait wait | 19:36 |
MSameer | Stskeeps: plugins-bad is for sailfish. plugins-bad-free is for mer | 19:37 |
MSameer | IIRC | 19:37 |
MSameer | gah. too tired to remember :/ | 19:37 |
beidl | MSameer strange, thats not in gstomx.c:978 | 19:37 |
Stskeeps | MSameer: nod | 19:37 |
beidl | ah wait | 19:38 |
MSameer | beidl: search for it. I edited the file | 19:38 |
MSameer | edited my file so might have moved a bit below | 19:38 |
beidl | MSameer: ok, building :) | 19:38 |
MSameer | Stskeeps: ping me tomorrow please. have not slept well the past 3 nights | 19:38 |
Stskeeps | MSameer: yeah, no rush, it's weekend :) | 19:39 |
MSameer | Stskeeps: tell that to beidl :D | 19:39 |
MSameer | Stskeeps: sailfishos uses plugins-bad (non-stripped) but mer uses a stripped plugins-bad and it's called plugins-bad-free | 19:42 |
MSameer | Stskeeps: the rest should be the same IIRC | 19:42 |
*** Aquilum has quit IRC | 19:42 | |
Stskeeps | nod | 19:42 |
MSameer | sailfish needs h264 parser too so it's one reason | 19:42 |
beidl | MSameer: sigsegv | 19:42 |
beidl | MSameer: (gdb) bt | 19:42 |
beidl | #0 0x4d6c459c in gst_omx_port_allocate_buffers_unlocked (port=0x4511d098) at gstomx.c:1864 | 19:42 |
beidl | #1 0x4d6c49b8 in gst_omx_port_allocate_buffers (port=0x4511d098) at gstomx.c:1896 | 19:42 |
beidl | #2 0x4d6ccea8 in gst_omx_video_dec_set_format (decoder=0x45118248, state=<optimized out>) at gstomxvideodec.c:1342 | 19:42 |
beidl | #3 0x4d6dd7f0 in gst_base_video_decoder_sink_setcaps (pad=<optimized out>, caps=<optimized out>) at gstbasevideodecoder.c:319 | 19:42 |
beidl | #4 0x4c365e6c in gst_pad_set_caps () from /usr/lib/libgstreamer-0.10.so.0 | 19:42 |
beidl | #5 0x4c3661b0 in ?? () from /usr/lib/libgstreamer-0.10.so.0 | 19:42 |
beidl | #6 0x4c3661b0 in ?? () from /usr/lib/libgstreamer-0.10.so.0 | 19:42 |
beidl | Backtrace stopped: previous frame identical to this frame (corrupt stack?) | 19:42 |
MSameer | huh | 19:44 |
MSameer | 1864 is an empty line | 19:44 |
MSameer | unless it's g_assert (buf->omx_buf->pAppPrivate == buf); | 19:45 |
beidl | MSameer: the line before, I just commented the android_extension = index; | 19:45 |
MSameer | aha | 19:46 |
* MSameer slaps beidl :D | 19:46 | |
* beidl hides :P | 19:46 | |
MSameer | beidl: http://pastebin.com/2KQZ6Atq | 19:47 |
MSameer | updated patch | 19:47 |
MSameer | OR edit the file and: | 19:48 |
MSameer | add buf->omx_buf->pAppPrivate = buf; | 19:48 |
MSameer | after err = OMX_SetParameter(comp->handle, comp->android_extension, ¶m); | 19:48 |
MSameer | beidl: keep holding. We are progressing! | 19:48 |
beidl | MSameer: are you around in 1:30 hours? girlfriend is getting mad :P | 19:49 |
MSameer | no comment :) | 19:49 |
MSameer | i can't guarantee it really | 19:49 |
MSameer | might or might not | 19:49 |
MSameer | maybe we can try this last time? | 19:50 |
beidl | building :) | 19:51 |
beidl | MSameer: added line manually, now getting: | 19:54 |
beidl | #0 0x4f2e3738 in gst_omx_port_allocate_buffers_unlocked (port=0x4531b8a0) at gstomx.c:1827 | 19:54 |
beidl | #1 0x4f2e39c0 in gst_omx_port_allocate_buffers (port=0x4531b8a0) at gstomx.c:1897 | 19:54 |
beidl | #2 0x4f2ebeb0 in gst_omx_video_dec_set_format (decoder=0x453180d0, state=<optimized out>) at gstomxvideodec.c:1342 | 19:54 |
beidl | #3 0x4f2fc7f8 in gst_base_video_decoder_sink_setcaps (pad=<optimized out>, caps=<optimized out>) at gstbasevideodecoder.c:319 | 19:54 |
beidl | #4 0x4d8e0e6c in gst_pad_set_caps () from /usr/lib/libgstreamer-0.10.so.0 | 19:54 |
beidl | #5 0x4d8e11b0 in ?? () from /usr/lib/libgstreamer-0.10.so.0 | 19:54 |
beidl | #6 0x4d8e11b0 in ?? () from /usr/lib/libgstreamer-0.10.so.0 | 19:54 |
beidl | Backtrace stopped: previous frame identical to this frame (corrupt stack?) | 19:54 |
MSameer | beidl: now go to your gf and we can try to continue later | 19:55 |
MSameer | something is really fishy | 19:55 |
beidl | MSameer: deal :) | 19:55 |
MSameer | beidl: or get me an ssh tunnel :D | 19:55 |
beidl | MSameer: wait :P | 19:56 |
*** alin has joined #sailfishos-porters | 19:59 | |
*** alin has joined #sailfishos-porters | 19:59 | |
alin | beidl: seems soon will be no difference between army and civil life | 20:03 |
MSameer | i thought he was in army | 20:05 |
*** ernesti has quit IRC | 20:05 | |
*** beidl_ has joined #sailfishos-porters | 20:05 | |
*** vrutkovs has joined #sailfishos-porters | 20:06 | |
*** beidl has quit IRC | 20:08 | |
*** gogeta has joined #sailfishos-porters | 20:12 | |
*** gogeta has quit IRC | 20:14 | |
MSameer | mmm | 20:21 |
MSameer | can't even find UseAndroidNativeBufferParams anywhere | 20:21 |
*** swex has joined #sailfishos-porters | 20:23 | |
*** gogeta has joined #sailfishos-porters | 20:30 | |
*** gogeta is now known as dr_gogeta | 20:30 | |
*** swex has quit IRC | 20:34 | |
*** swex has joined #sailfishos-porters | 20:35 | |
*** ahjolinna has joined #sailfishos-porters | 20:38 | |
*** swex has quit IRC | 20:45 | |
*** _Serial has quit IRC | 20:47 | |
MSameer | beidl_: something is fishy with those extensions. I will wait for tomorrow to get a fresh mind and try to clean up the mess | 20:57 |
dr_gogeta | good evening peeps | 21:08 |
*** dr_gogeta has quit IRC | 21:16 | |
beidl_ | MSameer: alright :) | 21:26 |
*** uvatbc has quit IRC | 21:28 | |
MSameer | beidl_: I don't even know how the existing stuff worked :p | 21:37 |
beidl_ | MSameer: your mind seems to be out of memory :P | 21:43 |
*** ingi has joined #sailfishos-porters | 21:46 | |
*** dragonkeeper has quit IRC | 22:03 | |
*** Dragonkeeper has joined #sailfishos-porters | 22:16 | |
*** dmt__ has joined #sailfishos-porters | 22:43 | |
*** lbt has quit IRC | 22:47 | |
*** hurrian has joined #sailfishos-porters | 22:47 | |
*** hurrian has joined #sailfishos-porters | 22:47 | |
*** vrutkovs has quit IRC | 23:01 | |
*** Tassadar has quit IRC | 23:02 | |
*** Sail0r2 has joined #sailfishos-porters | 23:02 | |
*** lbt has joined #sailfishos-porters | 23:10 | |
*** ingi has quit IRC | 23:16 | |
*** phlixi_ is now known as phlixi | 23:18 | |
*** arcean has quit IRC | 23:20 | |
*** Sail0r2 has quit IRC | 23:22 | |
*** olafh_ has quit IRC | 23:35 | |
*** uvatbc has joined #sailfishos-porters | 23:39 | |
*** uvatbc1 has joined #sailfishos-porters | 23:57 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!