Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Using TI DMAI GStreamer Plugin on OMAP3530 Board

$
0
0

Hello,

I have custom board with OMAP3530 processor, that compatible with Beagleboard.

I download ti-dvsdk_omap3530-evm_4_01_00_09 and compile all needed components, with my kernel 2.6.32.

I cat load modules without any errors.

But when I  execute command:

> DMAI_DEBUG=1  gst-launch videotestsrc ! TIDmaiVideoSink videoStd=VGA videoOutput=DVI accelFrameCopy=FALSE sync=false --gst-debug-level=2 --gst-debug-no-color

I get the following output:

Setting pipeline to PAUSED ...
0:00:00.384033203   104    0xbc788 WARN         TIDmaiVideoSink gsttidmaivideosink.c:742:gst_tidmaivideosink_buffer_alloc: rotation not supported for pad allocation; disabling

Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
delay stream on ....
@0x0006ce01:[T:0x416b2470] ti.sdo.dmai - [Display] VIDIOC_DQBUF failed (Invalid argument)
0:00:00.667602540   104    0xbc788 WARN         TIDmaiVideoSink gsttidmaivideosink.c:1688:gst_tidmaivideosink_render:<tidmaivideosink0> error: Failed to get display buffer

ERROR: from element /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0: Failed to get display buffer

Additional debug info:
gsttidmaivideosink.c(1688): gst_tidmaivideosink_render (): /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0
Execution ended after 218078614 ns.
Setting pipeline to PAUSED ...
@0x0006d659:[T:0x416b2470] ti.sdo.dmai - [Display] Could not allocate video display buffers
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

I see into src and have discovered that the problem is in the file omap_vout.c :

    if (!vout->streaming)
    {
        return -EINVAL;
    }

This is occured because there is code executed in the file gsttidmaivideosink.c :

        if (sink->hDispBufTab) {
            #if defined(Platform_dm365) || defined(Platform_omap3530) || \
              defined(Platform_dm3730) || defined(Platform_dm368)
            sink->dAttrs.delayStreamon = TRUE;
            printf("delay stream on ....\n");
            #else
            GST_ERROR("delayed V4L2 streamon not supported\n");
            return FALSE;
            #endif
        }

The line sink->dAttrs.delayStreamon = TRUE caused, that  _Display_v4l2_streamon() function never calls.

Why does it happen?

Help me anyone.




Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>