Other Parts Discussed in Thread: OMAP3530, DM3730
Hi.
I trying run h264 video network streaming on Beagleboard-xM Rev.C
I build DVSDK-4.3.0.6.
I lunch stream:
root@BBXM-DVSDK:~# gst-launch videotestsrc ! 'video/x-raw-yuv,width=1280,height=
720,format=(fourcc)UYVY',framerate=30/1 ! TIVidenc1 codecName=h264enc engineName
=codecServer framerate=30/1 resolution=1280x720 rateControlPreset=1 ! dmaiperf p
rint-arm-load=true engine-name=codecServer ! rtph264pay pt=96 ! multiudpsink cli
ents=\"192.168.0.44:5000\"
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
INFO:
gsttidmaiperf.c(302): gst_dmaiperf_start (): /GstPipeline:pipeline0/GstDmaiperf:dmaiperf0:
Printing DSP load every 1 second...
INFO:
Timestamp: 0:41:04.119171225; bps: 0; fps: 0; CPU: 0; DSP: 60; mem_seg: DDR2; base: 0x87c42e80; size: 0x20000; maxblocklen: 0x13b60; used: 0xc4a0; mem_seg: DDRALGHEAP; base: 0x85a00000; size: 0x2000000; maxblocklen: 0x1a7e090; used: 0x5
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
INFO:
Timestamp: 0:41:05.127410965; bps: 332512; fps: 8; CPU: 54; DSP: 42; mem_seg: DDR2; base: 0x87c42e80; size: 0x20000; maxblocklen: 0x13b60; used: 0xc4a0; mem_seg: DDRALGHEAP; base: 0x85a00000; size: 0x2000000; maxblocklen: 0x1a7e090; use
INFO:
Timestamp: 0:41:06.235351639; bps: 327075; fps: 9; CPU: 54; DSP: 42; mem_seg: DDR2; base: 0x87c42e80; size: 0x20000; maxblocklen: 0x13b60; used: 0xc4a0; mem_seg: DDRALGHEAP; base: 0x85a00000; size: 0x2000000; maxblocklen: 0x1a7e090; use
Ctrl+C
2467.201568] Unable to handle kernel paging request at virtual address e1ebc008
[ 2467.209167] pgd = dd954000
[ 2467.212005] [e1ebc008] *pgd=9bf1e011, *pte=00000000, *ppte=00000000
[ 2467.218627] Internal error: Oops: 7 [#2]
[ 2467.222717] last sysfs file: /sys/module/dsplinkk/initstate
[ 2467.228576] Modules linked in: sdmak lpm_omap3530 dsplinkk cmemk ipv6
[ 2467.235382] CPU: 0 Tainted: G D (2.6.37 #3)
[ 2467.240966] PC is at do_raw_spin_trylock+0x4/0x4c
[ 2467.245910] LR is at _raw_spin_lock_irqsave+0x50/0x84
[ 2467.251220] pc : [<c021db90>] lr : [<c047d8c8>] psr: 60000093
[ 2467.251251] sp : dbe75e18 ip : dbe74000 fp : c0075a14
[ 2467.263275] r10: ffffffff r9 : e1ebc008 r8 : fffffe00
[ 2467.268768] r7 : 20000013 r6 : c0095ab4 r5 : e1ebc008 r4 : e1ebc018
[ 2467.275634] r3 : ddbbd0c0 r2 : 00000000 r1 : 00000000 r0 : e1ebc008
[ 2467.282470] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
[ 2467.290069] Control: 10c5387d Table: 9d954019 DAC: 00000015
[ 2467.296081] Process videotestsrc0:s (pid: 2019, stack limit = 0xdbe742f0)
[ 2467.303222] Stack: (0xdbe75e18 to 0xdbe76000)
[ 2467.307800] 5e00: e1ebc018 c047d8c8
[ 2467.316375] 5e20: 00000002 00000000 c0095ab4 e1ebc008 40000013 dbe75e5c e1ebc008 dbe74000
[ 2467.324981] 5e40: dbe75e5c c0095ab4 dbe74000 00000001 e1ebc000 bf07015c 22222222 00000001
[ 2467.333557] 5e60: ddbbd0c0 c0075a14 e1ebc030 e1ebc030 e08af000 00000000 00008000 dbe75f04
[ 2467.342163] 5e80: e1eb6000 ffffffff 80008051 bf0770cc 80040800 bf066134 bf0770cc c018e03a
[ 2467.350738] 5ea0: ddac6480 c018e03a 00000008 42197694 dbe74000 42197694 4219767c bf073444
[ 2467.359313] 5ec0: dd95d488 dd955088 4235c000 4235c000 c0d6fab8 00000000 00000000 00000000
[ 2467.367919] 5ee0: 00000000 dd93de08 00000002 00008000 406c30cc 00010002 ffffffff 00000000
[ 2467.376495] 5f00: 4271b000 00000000 00000000 00000000 ddac6480 c018e03a 00000008 42197694
[ 2467.385101] 5f20: 00000000 c01170b8 00000000 c0109bf8 00000000 c047d8f0 00000002 de01dc80
[ 2467.393676] 5f40: 00000008 ddac6480 00000008 00000000 dbe75f8c c0049e88 00000000 c0109c8c
[ 2467.402282] 5f60: 00000001 00000000 00000000 42197694 c018e03a 00000008 ddac6480 dbe74000
[ 2467.410858] 5f80: 00000000 c0117174 dd93ddf4 00000001 406c0b80 ffffffff 4219773c 00000036
[ 2467.419464] 5fa0: c0049e88 c0049cc0 406c0b80 ffffffff 00000008 c018e03a 42197694 00000008
[ 2467.428039] 5fc0: 406c0b80 ffffffff 4219773c 00000036 00010002 00002504 406c1a48 4219767c
[ 2467.436645] 5fe0: 406c3084 42197560 40677e28 4052045c 80000010 00000008 cfa00fd8 0e801729
[ 2467.445251] [<c021db90>] (do_raw_spin_trylock+0x4/0x4c) from [<c047d8c8>] (_raw_spin_lock_irqsave+0x50/0x84)
[ 2467.455596] [<c047d8c8>] (_raw_spin_lock_irqsave+0x50/0x84) from [<c0095ab4>] (remove_wait_queue+0x14/0x50)
[ 2467.465972] [<c0095ab4>] (remove_wait_queue+0x14/0x50) from [<bf07015c>] (SYNC_WaitSEM+0x1c0/0x1f8 [dsplinkk])
[ 2467.476654] [<bf07015c>] (SYNC_WaitSEM+0x1c0/0x1f8 [dsplinkk]) from [<bf066134>] (LDRV_MSGQ_get+0x8c/0xcc [dsplinkk])
[ 2467.487976] [<bf066134>] (LDRV_MSGQ_get+0x8c/0xcc [dsplinkk]) from [<bf073444>] (DRV_Ioctl+0x1cc/0x7ac [dsplinkk])
[ 2467.498931] [<bf073444>] (DRV_Ioctl+0x1cc/0x7ac [dsplinkk]) from [<c01170b8>] (do_vfs_ioctl+0x4e0/0x54c)
[ 2467.508911] [<c01170b8>] (do_vfs_ioctl+0x4e0/0x54c) from [<c0117174>] (sys_ioctl+0x50/0x74)
[ 2467.517700] [<c0117174>] (sys_ioctl+0x50/0x74) from [<c0049cc0>] (ret_fast_syscall+0x0/0x3c)
[ 2467.526580] Code: c05a1573 c05a14ee c05a14fa e92d4010 (e5903000)
[ 2467.533996] ---[ end trace 9433724d1601373a ]---
if I reduce the resolution (640*480), FPS remains the same low.
Why is fps so low?
memory config: mem=55M@0x80000000 mem=384M@0x88000000
cmemk parameter:
modprobe cmemk phys_start=0x83700000 phys_end=0x85900000 allowOverlap=1 pools=1x10485760,6x2097152,1x691200,1x1048576,1x1
Is DM3730 can encode video 720p@30FPS?
BR