Jump to content

imxg2dvideosink does not work


emustafa

Recommended Posts

Hi everyone.

I am using Debian Jessie image for hummingboard IMX6. I compiled version 0.12.0 of https://github.com/Freescale/gstreamer-imxand installed it. I can use imxipuvideosink just fine. However, I can't get imxg2dvideosink working.

When I try the following pipeline:
gst-launch-1.0 videotestsrc ! imxg2dvideosink

I get
$ sudo gst-launch-1.0 videotestsrc ! imxg2dvideosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922228] Internal error: Oops: 5 [#4] SMP ARM

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922381] Process videotestsrc0:s (pid: 2506, stack limit = 0xad26a238)

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922387] Stack: (0xad26bd68 to 0xad26c000)

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922397] bd60: 00000000 00000000 00000001 800fe7a0 ffffffff 00000000

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922406] bd80: 00000000 00000000 00000000 00000000 000009c9 00000000 0000000e ad174d88

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922416] bda0: 00000000 ad26be60 ad26be20 800bbf00 00000001 800f69fc ac9cb180 ac396c00

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922425] bdc0: ad07f000 ad26a020 00007530 ad26a000 00000006 ac0d04d8 6e42b3f0 804e4b7c

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922435] bde0: 6e42b438 00000000 000000f8 00000000 6e42b438 00000000 000000f8 00000000

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922444] be00: 00000023 00000002 6e42b840 00000001 76f63000 01d7a550 00000002 00000001

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922453] be20: 00000001 76ee5021 01d6f2f0 76f63000 80000000 00000000 7688363f 00000000

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922463] be40: 6dc00000 0001c200 6e42b840 00000002 6e42b840 76ee5235 76e53c88 add7c100

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922472] be60: 76992d44 01d87730 76f63000 6e42b840 01d87730 76f63000 6e42b840 00000001

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922481] be80: 00000000 76ec43f9 000000f0 00000003 6db2c0fc 6db2c10c 00000000 00000000

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922491] bea0: 76f63000 01d6f568 00026230 76f64430 6e42b530 00000002 76990000 00017700

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922500] bec0: 00000002 6db01424 6e42b840 6e42b7d0 01d87730 76963121 00000002 6e42b538

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922510] bee0: 6e42b5d4 00000000 76f64218 76ec5ce5 00026230 6e42b7a0 ad094601 ad094600

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922519] bf00: 6e42b3f0 00007530 00000000 00000006 ac0d04d8 80115a90 aaa2b990 ad174ca8

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922529] bf20: 80a3b188 00000000 ad174ca8 00000000 ac07bb50 76992d44 7fffffff 76dd019d

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922538] bf40: 000000f0 00000001 00000000 00000001 76e53ca0 80084cf8 76992d44 00000000

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922547] bf60: ffffffff ad094601 ad094600 6e42b3f0 00007530 00000000 00000006 00000000

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922557] bf80: 7694f630 80115cbc 01d78420 00002710 76788e80 00007530 00000036 8000e224

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922566] bfa0: ad26a000 8000e0a0 00002710 76788e80 00000006 00007530 6e42b3f0 01d78420

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922576] bfc0: 00002710 76788e80 00007530 00000036 000000f8 6e42b748 76f64430 7694f630

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922585] bfe0: 76785100 6e42b3dc 7676aab0 76cfa206 200f0030 00000006 3ff7e821 3ff7ec21

Message from syslogd@localhost at Jun 1 15:40:46 ...
kernel:[ 1815.922664] Code: e3042d56 e3442d45 e598c030 e598e038 (e5911000) 

After it just hangs. The same pipeline works fine in Solidrun's debian jessie image. I am looking for suggestions on how to fix this issue.

I don't know what information to paste here. Here is the output of uname -a
$ uname -a
Linux cubox-i 3.14.67-cubox #2 SMP Fri Apr 29 03:34:19 CEST 2016 armv7l GNU/Linux

The dmesg output when the pipeline runs is:
[ 1815.922228] Internal error: Oops: 5 [#4] SMP ARM
[ 1815.922234] Modules linked in: xt_multiport nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack cpufreq_stats bluetooth 6lowpan_iphc arc4 iwldvm mac80211 iwlwifi cfg80211 rfkill ir_lirc_codec ir_mce_kbd_decoder lirc_dev ir_sanyo_decoder ir_sony_decoder ir_rc6_decoder ir_rc5_decoder ir_nec_decoder ir_jvc_decoder gpio_ir_recv bonding
[ 1815.922295] CPU: 1 PID: 2506 Comm: videotestsrc0:s Tainted: G D 3.14.67-cubox #2
[ 1815.922304] task: aca88b00 ti: ad26a000 task.ti: ad26a000
[ 1815.922319] PC is at gckKERNEL_Dispatch+0x568/0x1488
[ 1815.922330] LR is at 0x7688363f
[ 1815.922339] pc : [<804ebe90>] lr : [<7688363f>] psr: 200f0013
sp : ad26bd68 ip : 80000000 fp : 6e42b3f0
[ 1815.922347] r10: ac0d04d8 r9 : ac37e700 r8 : ad26be00
[ 1815.922353] r7 : 00000000 r6 : ad26a020 r5 : 00000001 r4 : 00000000
[ 1815.922359] r3 : 6dc00000 r2 : 4d454d56 r1 : ebebebeb r0 : 00000000
[ 1815.922367] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 1815.922374] Control: 10c53c7d Table: 3d25804a DAC: 00000015
[ 1815.922381] Process videotestsrc0:s (pid: 2506, stack limit = 0xad26a238)
[ 1815.922387] Stack: (0xad26bd68 to 0xad26c000)
[ 1815.922397] bd60: 00000000 00000000 00000001 800fe7a0 ffffffff 00000000
[ 1815.922406] bd80: 00000000 00000000 00000000 00000000 000009c9 00000000 0000000e ad174d88
[ 1815.922416] bda0: 00000000 ad26be60 ad26be20 800bbf00 00000001 800f69fc ac9cb180 ac396c00
[ 1815.922425] bdc0: ad07f000 ad26a020 00007530 ad26a000 00000006 ac0d04d8 6e42b3f0 804e4b7c
[ 1815.922435] bde0: 6e42b438 00000000 000000f8 00000000 6e42b438 00000000 000000f8 00000000
[ 1815.922444] be00: 00000023 00000002 6e42b840 00000001 76f63000 01d7a550 00000002 00000001
[ 1815.922453] be20: 00000001 76ee5021 01d6f2f0 76f63000 80000000 00000000 7688363f 00000000
[ 1815.922463] be40: 6dc00000 0001c200 6e42b840 00000002 6e42b840 76ee5235 76e53c88 add7c100
[ 1815.922472] be60: 76992d44 01d87730 76f63000 6e42b840 01d87730 76f63000 6e42b840 00000001
[ 1815.922481] be80: 00000000 76ec43f9 000000f0 00000003 6db2c0fc 6db2c10c 00000000 00000000
[ 1815.922491] bea0: 76f63000 01d6f568 00026230 76f64430 6e42b530 00000002 76990000 00017700
[ 1815.922500] bec0: 00000002 6db01424 6e42b840 6e42b7d0 01d87730 76963121 00000002 6e42b538
[ 1815.922510] bee0: 6e42b5d4 00000000 76f64218 76ec5ce5 00026230 6e42b7a0 ad094601 ad094600
[ 1815.922519] bf00: 6e42b3f0 00007530 00000000 00000006 ac0d04d8 80115a90 aaa2b990 ad174ca8
[ 1815.922529] bf20: 80a3b188 00000000 ad174ca8 00000000 ac07bb50 76992d44 7fffffff 76dd019d
[ 1815.922538] bf40: 000000f0 00000001 00000000 00000001 76e53ca0 80084cf8 76992d44 00000000
[ 1815.922547] bf60: ffffffff ad094601 ad094600 6e42b3f0 00007530 00000000 00000006 00000000
[ 1815.922557] bf80: 7694f630 80115cbc 01d78420 00002710 76788e80 00007530 00000036 8000e224
[ 1815.922566] bfa0: ad26a000 8000e0a0 00002710 76788e80 00000006 00007530 6e42b3f0 01d78420
[ 1815.922576] bfc0: 00002710 76788e80 00007530 00000036 000000f8 6e42b748 76f64430 7694f630
[ 1815.922585] bfe0: 76785100 6e42b3dc 7676aab0 76cfa206 200f0030 00000006 3ff7e821 3ff7ec21
[ 1815.922606] [<804ebe90>] (gckKERNEL_Dispatch) from [<804e4b7c>] (drv_ioctl+0x120/0x28c)
[ 1815.922623] [<804e4b7c>] (drv_ioctl) from [<80115a90>] (do_vfs_ioctl+0x3fc/0x5bc)
[ 1815.922636] [<80115a90>] (do_vfs_ioctl) from [<80115cbc>] (SyS_ioctl+0x6c/0x7c)
[ 1815.922653] [<80115cbc>] (SyS_ioctl) from [<8000e0a0>] (ret_fast_syscall+0x0/0x38)
[ 1815.922664] Code: e3042d56 e3442d45 e598c030 e598e038 (e5911000) 
[ 1815.922674] ---[ end trace 282cadbe45798cf3 ]---

Thanks.

Link to comment
Share on other sites

There are two kernel sources, both has issues on their own. Our default kernel works but has problems in video / camera area, while new kernel (our imx DEV branch) works good in video area and lacks of PCI support.

 

Our core mission is to have basic good working image and sometimes we go extra mile to provide video acceleration or similar. I already spent waste amount of time to fix this but failed.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines