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.

Disabling SGX in AM335x SDK

Other Parts Discussed in Thread: AM3352, AM3351

Hi Sir

how to disable SGX HW setting in AM3352 with SDK 01.00.00.03 ?

we built the sdk and put the image in EVM, there is no image output on the panel

please advise

BR
Yimin
  • Hi,

    What EVM do you mean? There is no EVM with AM3352.
  • Hi Yimin,

    The pvr-init script in /etc/init.d/ is responsible for starting the pvr driver & enabling the SGX in AM335x SDKs. If you want to prevent the PVR from loading & enabling your graphics accelerator, you could just remove the script from /etc/init.d/.

    However the script detects the cpu type and if the SGX hw is not present it does not load the pvr driver => does not enable the SGX. This should be the case with your board, because AM3352 does not have SGX.

    Best Regards,
    Yordan
  • Yordan,

    I'm having the same issue. In short, I'd like to use a TI EVM to demonstrate what performance would look like on an AM3352 or AM3351 (no GPU). I'm using Proc SDK 2.00.02 and I see /etc/init.d/rc.pvr though it doesn't look like it does any kind of specific decision making as to whether or not there is a GPU or not. I simply renamed pvrsrvkm.ko to pvrsrvkm.ko.noload so it didn't get loaded. However, after doing that nothing works! No Matrix GUI, etc. Is there something that needs to be done to enable matrix GUI with no GPU?

    Thanks,
    Brad
  • A few items I learned here:

    1. Many of the Qt apps are natively calling OpenGL ES functions. In that scenario, if you remove the GPU libraries, those particular apps cannot function.

    2. Of the apps remaining that aren't explicitly using OpenGL ES calls, by default they launch using Wayland windowing (as of Proc SDK 2.00.02). However, if you manually launch a Qt app from the command line and pass the arguments "-platform linuxfb" then it will instead use a simple frame buffer without GPU acceleration.

    3. Finally, even in this scenario of launching apps with "linuxfb", many of the apps don't properly set the resolution/size for all scenarios and so I've seen some cases where the app for example is not filling the entire screen!