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.

Could not start matrix-gui/graphics on am335x board

Other Parts Discussed in Thread: AM3359

I'm trying to start GUI applications with TI Linux rootfs (tisdk-rootfs-image-am335x-evm) with my am335x based board.

my kernel is based on processor-sdk-linux-02.00.02.

I'v compiled the Graphics_SDK from Graphics_SDK_setuplinux_hardfp_5_01_01_02.bin and installed it on my rootfs.

Then I executed /opt/gfxsdkdemos/335x-demo to install kernel and userspace graphics modules, then rebooted my board and the matrix-gui also failed to run.

lsmod show pvrsrvkm is loaded, but not used

root@am335x-evm:~# lsmod | grep pvr
pvrsrvkm 179417 0
root@am335x-evm:~#

omaplfb is not loaded and when I try to load her I got error.

root@am335x-evm:~# modprobe -v omaplfb
insmod /lib/modules/4.1.18-260825-gd652361-dirty/extra/omaplfb.ko
[ 1516.799735] omaplfb: Unknown symbol register_vsync_cb (err 0)
[ 1516.805750] omaplfb: Unknown symbol unregister_vsync_cb (err 0)
modprobe: ERROR: could not insert 'omaplfb': Unknown symbol in module, or unknown parameter (see dmesg)
root@am335x-evm:~#

What do I miss?

Thank you.

  • Hi Oussama,

    The message "Unknown symbol in module, or unknown parameter " appears when the .ko file does not match the kernel tag (driver was not build against the kernel build tag).

    BR
    Tsvetolin Shulev
  • Hi Tsvetolin,

    I've built the SKD Graphics drivers against my kernel by setting KERNEL_INSTALL_DIR (Rules.make file) to my kernel source code directory.
    So shouldn't this be enough?

    Best Regards,
    Oussama
  • Hi Tsvetolin,

    There is no module that export/define the function register_vsync_cb on the TI kernel 4.1.18.

    BR,
    Oussama
  • Apparently, the graphics SDK is not compatible with newer kernel like 4.1.18. and it's not needed.
    So I've retested with a clean tisdk rootfs. but I've got the following error on the boot.

    VR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
    PVR:(Error): PVRSRVInitSrvConnect: PVRSRVConnect failed [0, ]
    PVR:(Error): SrvInit: PVRSRVInitSrvConnect failed (4) [0, ]
    /usr/bin/pvrsrvctl: SrvInit failed (already initialized?) (err=PVRSRV_ERROR_INIT_FAILURE)
    ....
    tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underfow
    [ 42.446000] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [ 42.446958] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
  • The command "modetest -s 20:800x480@XB24" succeeds and display rectangular colors. however rc.pvr fails ans show the follwing erros.

    /etc/init.d/rc.pvr start
    PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
    PVR:(Error): PVRSRVInitSrvConnect: PVRSRVConnect failed [0, ]
    PVR:(Error): SrvInit: PVRSRVInitSrvConnect failed (4) [0, ]
    /usr/bin/pvrsrvctl: SrvInit failed (already initialized?) (err=PVRSRV_ERROR_INIT_FAILURE)

    Is there any way to investigate on the pb?
  • The issue is solved by enabling sgx in the dtb. I'm using am3359.