This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Using IVAHD (h264 decode) decoder on QNX on Jacinto-6 EVM (Rev E1)

Hi,

I am planning to use IVAHD decoder for h264 decode on QNX on Jacinto-6 (Rev E1).

(OS: QNX;  Release: 6.6.0; TI-DRA74X-EVM armle)

Can some one please direct me for building and running viddec3test on y tatgert machine.

viddec3test: https://github.com/robclark/omapdrmtest/blob/master/viddec3test.c

viddec3test (runs linux because it is drm based): Could someone help me with a similar test application to use HW decoder on QNX (on J6).
specifically, how to use libdce on QNX and how VIDDEC3 input and output buffers are allocated and used on QNX.

Thanks in advance.

-Srinivas.

  • Hi,

    i found a sample application in GLSDK 6.04 under libdce/test_qnx/dce_test. I have compiled it and trying to run on my target evm.

    both tiler and ipc are running, and then i try to run dce_test application and it is not running succesfully.

    from logs i can see that it is failing in memory allocation. Could someone please let me know how can i make it work.

    the logs are attached.

    From the logs i observe that in both tiler and nontiler mode, memory allocation is failing.

    tiler Mode: MemMgr_Alloc

    nontiler Mode: SHM_alloc

    Both the above functions are failing.

    Could someone please let me know how to solve this issue.

    3288.dce_test_on_QNX.txt

    -Srinivas.

  • Hi Srinivas,

    The QNX 6Q65.1.x SDK from TI is not an open source package. You will need to sign an NDA to get the package from CDDS. If an NDA is already in place, then I think the CPM can give you access to it.


    From the log, I can only see as you have mentioned that the allocation to TILER is failing.

    That can be see on "tiler" case:

    dce_test.c:181: tiler_alloc     debug: tiler alloc return bufPtr 0 PA 0x0
    dce_test.c:1130:        main    debug: inBufs->descs[0].buf 0 input 0


    and "nontiler" case:

    dce_test.c:156: tiler_alloc     debug: tiler alloc 1D allocation width=384000
    dce_test.c:181: tiler_alloc     debug: tiler alloc return bufPtr 0 PA 0x0
    dce_test.c:1130:        main    debug: inBufs->descs[0].buf 0 input 0

    Both "tiler" and "nontiler" are still using TILER for parameter. The option is only for output buffer to be TILER or non-TILER.

    You can try by modifying the dce_test.c to allocate nonTiler like in output_allocate_nonTiler when calling tiler_alloc. Same case for dce_alloc() as it will allocate TILER 1D.


    You said that you have tiler and shmemallocator running.

    Which tiler is this? Is this from TI 6Q65.1.x QNX SDK package (for multimedia part, we call it QNX DCE RLS package) or from open source?

    Can you run:

    pidin a

    pidin syspage=asinfo

    Thanks.

    //Buddy