AM62P: GPU Function is not work

Part Number: AM62P

Tool/software:

When I use Yocto to Generate a SDK. The GPU function is not work(When I use command "insmod pvrsrvkm.ko", There is no information displayed).

The Configuration Steps as follows:

/******Configuration*****/

git clone git.ti.com/.../oe-layersetup.git tisdk
cd tisdk
./oe-layertool-setup.sh -f configs/processor-sdk/<oeconfig-file>
cd build
.conf/setenv
MACHINE=<machine> bitbake -k tisdk-default-image

Note: "oeconfig-file" is "processor-sdk-scarthgap-chromium-11.01.05.03-config.txt", "machine" is "am62xx-evm".
/******Configuration*****/


The Error Information are as follows:
/******Error Info*****/
root@am62xx-evm:insmod pvrsrvkm.ko
root@am62xx-evm:/usr/lib/modules/6.12.35-ti-00915-ge3e551586dfa/updates# rgx_triangle_test
Connecting to first (0) default pvr device FAIL - PVRSRV_ERROR_INIT_FAILURE(4)
[ 201.375299] kauditd_printk_skb: 5 callbacks suppressed sutu_fail_if_error_quietI: unittests/services/common/libsrvut/sr
[ 201.375314] audit: type=1701 audit(1748544832.520:20): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=738 comm="rgx_triangle_te" exe="/usr/bin/rgx_triangle_test" sig=6 res=1 v_unittest_utils.c:271 ERROR EXIT
[ 201.435322] audit: type=1334 audit(1748544832.580:21): prog-id=20 op=LOAD
[ 201.442237] audit: type=1334 audit(1748544832.588:22): prog-id=21 op=LOAD
[ 201.449098] audit: type=1334 audit(1748544832.600:23): prog-id=22 op=LOAD Aborted (core dumped)
/******Error Info*****/

Looking forward to your reply !
  • Hi Yongyan,

    Do you see the same problem if you use the SDK prebuilt SD card WIC image?

  • Hello Bin, 

    In my Yocto project, it generates some rootfs, but I have never used the WIC image. I only the .tar.xz rootfs.

  • Hi Yongyan,


    Note: "oeconfig-file" is "processor-sdk-scarthgap-chromium-11.01.05.03-config.txt", "machine" is "am62xx-evm".

    For AM62P, the "machine" should be "am62pxx-evm" but not "am62xx-evm".

    root@am62xx-evm:insmod pvrsrvkm.ko

    You should not need to manually load this module, it should be already loaded during kernel boot.

    root@am62pxx-evm:~# lsmod | grep pvrsrvkm
    pvrsrvkm             1323008  25
    drm                   552960  22 sii902x,drm_kms_helper,drm_dma_helper,display_connector,pvrsrvkm,drm_display_helper,tidss

    root@am62xx-evm:/usr/lib/modules/6.12.35-ti-00915-ge3e551586dfa/updates# rgx_triangle_test

    I am not a GPU expert, but I am unable to run this command either in the SDK prebuilt Linux too, with a similar error message. I think the failure is expected. You might use different way to evaluate the GPU.

  • Ok

    I change the machine type from Ap62xx to Am62px. Then It is ok. Thanks.

    I will close this thread.