Part Number: BEAGLEBOARD-X15
Tool/software: Linux
Hi,
I'm using 4.4 kernel from ti (ti-linux-4.4.y branch starting from tag ti2016.05-rc4)
We use buidsystem yocto and included the sgx drivers from powervr using meta-ti layer (also tag ti2016.05-rc4) and recipes for ddk-um and
ti-sgx-ddk-um_1.14.3699939.bb -> using revision: SRCREV = "fccafce7d0a023e36c064ccbaa7d33e89252ea00"
ti-sgx-ddk-km_1.14.3699939.bb -> using revision: SRCREV = "e68719ba7c54602c710b6615cd665f5b7f47f85e"
When starting an QT application natively using -platform eglfs, the following happens:
failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file: No such file or directory
failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared object file: No such file or directory
loaded module : gbm_pvr.so
found valid GBM backend : gbm_pvr.so
PVR:(Error): [ 416-> 416] < gbm_pvr_create_device():487|ERROR> Failed to create DBM device: No such device [0, ]
Could not create GBM device (No such device)
Could not open device /dev/dri/card1 - aborting!
Aborted (core dumped)
It tries to open card1; which is according to dmesg mapped to PVR / SGX.. (See DMESG below)
root@wa55-am57xx:~# ls /dev/dri/
card0 card1 controlD64 renderD128 renderD129
when i remove card1, and create a link from card0 and name it card1, it works with -platform eglfs, but this is not the SGX core beeing used..
Do you know what this error means and what i'm doing wrong?
i found some other posts but they didn't help me with this (e.g. https://e2e.ti.com/support/arm/sitara_arm/f/791/p/495108/1789340 )
This is dmesg outputting (what i think is relevant for this item);
root@wa55-am57xx:~# dmesg | grep drm
[ 1.805660] [drm] Initialized drm 1.1.0 20060810
[ 2.271767] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 2.278736] [drm] No driver support for vblank timestamp query.
[ 2.324275] [drm] Enabling DMM ywrap scrolling
[ 2.351610] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[ 2.384780] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
[ 10.968839] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
root@wa55-am57xx:~# dmesg | grep PVR
[ 12.267833] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
[ 1.825456] omapdss_dispc 58001000.dispc: OMAP DISPC rev 5.1
[ 1.825696] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
LSMOD:
root@wa55-am57xx:~# lsmod
Module Size Used by
usbhid 29115 0
usb_storage 48073 0
bc_example 7417 0
xhci_plat_hcd 5368 0
xhci_hcd 126133 1 xhci_plat_hcd
leds_gpio 4138 0
led_class 6306 1 leds_gpio
pvrsrvkm 410719 1 bc_example
phy_omap_usb2 5644 2
dwc3 91269 0
udc_core 13451 1 dwc3
rtc_palmas 5436 0
extcon_palmas 6754 0
dwc3_omap 5175 0
ti_soc_thermal 23827 0
extcon 14430 3 dwc3,extcon_palmas,dwc3_omap
rtc_omap 8521 0
rtc_ds1307 9322 0
Info:
Full DMESG log: pastebin.com/GeKK3uNf
