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.

DRA77P: Running Opengl ES example codes on A15

Part Number: DRA77P

Hi team,

I working with Processor SDK Vision 3.07 on DRA77P soc. So i have a task to run Opengl ES code in linux side (A15). But according to my knowledge Linux has no access over hdmi, dss etc. So is there any example code without links and chains method to display Opengl ES code output to the display?

Regards,

Sam

  • Hi Sam,

    Yes, you will be able to run OpenGL application on A15 with VisionSDK with vDRM support

    TI has tested kmscube on visionSDK. You can follow these steps.

    1) Please check if you have this patch applied on kmscube

        https://git.ti.com/cgit/glsdk/kmscube/commit/?id=456cabc661caac5c60729751d45efd668faa8e97

    VisionSDK 3.07's filesystem is built with PSDKLA3.04 filesystem and PSDKLA3.04's kmscube doesn't have this commit.

    Copy the kmscube binary to /usr/bin/ of the visionSDK filesystem.

    2) Add these two lines in /etc/powervr.ini

    [kmscube]
    DbmDriverName=vdrm

    3) Remove weston binary from /usr/bin of the rootfs so that weston is not loaded

    4) On booting the system, execute this option from Menu 1. Single Channel Capture ----> 8. DispDistSrc(weston)

        to get the vDRM. Now you will observe green color screen as there is no weston.

    5) Now You can open one more terminal and launch kmscube. You should be able to see kmscube rendering on HDMI display.

    Thanks

    RamPrasad