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.

Linux/DRA745: VSDK: vdrm run error

Part Number: DRA745

Tool/software: Linux

Hi,expert

I use vsdk0305 to run vdrm.

In customer board:

stop kmscube and run kmscube, found below error: could you please help to check?

root@dra7xx-evm:/opt/vision_sdk# 
root@dra7xx-evm:/opt/vision_sdk# /etc/init.d/weston stop
Stopping Weston
Terminated
root@dra7xx-evm:/opt/vision_sdk# /etc/init.d/[ 59.798957] random: nonblocking pool is initialized

root@dra7xx-evm:/opt/vision_sdk# 
root@dra7xx-evm:/opt/vision_sdk# 
root@dra7xx-evm:/opt/vision_sdk# 
root@dra7xx-evm:/opt/vision_sdk# 
root@dra7xx-evm:/opt/vision_sdk# kmscube -d /dev/dri/card0
### Display [0]: CRTC = 26, Connector = 24, format = 0x34325258
Mode chosen [640x1440] : Clock => 57096, Vertical refresh => 60, Type => 72
Horizontal => 640, 646, 647, 650, 0
Vertical => 1440, 1454, 1457, 1464, 0
### Primary display => ConnectorId = 24, Resolution = 640x1440
loaded module : gbm_pvr.so
found valid GBM backend : gbm_pvr.so
PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]
PVR:(Error): Couldn't connect to services [0, ]
failed to initialize
failed to initialize EGL

Best regards,

Fredy

  • Hi Fredy,

    I hope you have applied this patch on kmscube and rebuilt kmscube application.
    git.ti.com/.../456cabc661caac5c60729751d45efd668faa8e97


    Make this change in /etc/powervr.ini on the target.


    [kmscube]
    DbmDriverName=vdrm

    Since kmscube is a drm application, weston should not be launched during bootup. You can avoid weston launch by relocating /usr/bin/weston to a different path and reboot

    After loading, apps.out , and selecting

    [HOST] [HOST ] 1: Single Camera Usecases followed by
    [HOST] [HOST ] 8: DispDistSrc (weston) + Display (1920x1080 HDMI)
    You should be able to see Green image on HDMI display as there is no weston now.

    Now execute kmscube from a different terminal using telnet, you will observe kmscube rendering on HDMI display.

    Thanks
    Ramprasad

  • Hi,Ramprasad,

    Understand, I have finished this issue. Thanks.

    Fredy