Changes between Version 19 and Version 20 of gstreamer
- Timestamp:
- 12/17/2020 09:42:42 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
gstreamer
v19 v20 746 746 }}} 747 747 * 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) 749 749 * 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 750 750 … … 1365 1365 For example, if you wanted to see DEBUG level messages for the {{{videotestsrc}}} element you can set GST_DEBUG=videotestsrc:4 1366 1366 1367 == insufficient CMA memory when using CODA 1368 When 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 1370 Insufficient CMA memory for coda will show a 'Failed to allocate required memory' with kernel messages like: 1371 {{{#!bash 1372 cma: cma_alloc: alloc failed, req-size: 512 pages, ret: -12 1373 coda 2040000.vpu: dma_alloc_coherent of size 2097152 failed 1374 }}} 1375 1367 1376 1368 1377 [=#filter-graph]