Changes between Version 19 and Version 20 of gstreamer


Ignore:
Timestamp:
12/17/2020 09:42:42 PM (20 months ago)
Author:
Tim Harvey
Comment:

added note about coda cma requirements

Legend:

Unmodified
Added
Removed
Modified
  • gstreamer

    v19 v20  
    746746}}}
    747747 * The CODA960 decoder outputs NV12/I420/YV12 YUV pixel formats
    748  * The CODA driver requires CMA memory for buffers when it is used. Make sure to provide the kernel with enough CMA memory with the kernel command-line (ie 'cma=64M' for 64MB which should be enough)
     748 * The CODA driver requires CMA memory for buffers when it is used. Make sure to provide the kernel with enough CMA memory with the kernel command-line (ie 'cma=64M' for 64MB which should be enough but you may need to bump this to 128MB for 1080p)
    749749 * V4L2 JPEG Decoder support has not yet been added to the CODA driver as of Linux 5.6 - patches have been posted and are in the Gateworks 5.4 kernel
    750750
     
    13651365For example, if you wanted to see DEBUG level messages for the {{{videotestsrc}}} element you can set GST_DEBUG=videotestsrc:4
    13661366
     1367== insufficient CMA memory when using CODA
     1368When using the CODA element ($GST_CONVERT) to perform video compression or decompression of high resolution images you may not have enough CMA memory allocated. By default the kernel allocates 64MiB but you can set this via the kernel command line by adding a 'cma=128M' for example to double it.
     1369
     1370Insufficient CMA memory for coda will show a 'Failed to allocate required memory' with kernel messages like:
     1371{{{#!bash
     1372cma: cma_alloc: alloc failed, req-size: 512 pages, ret: -12
     1373coda 2040000.vpu: dma_alloc_coherent of size 2097152 failed
     1374}}}
     1375
    13671376
    13681377[=#filter-graph]