Hi, Adam:

The problem shows as the following line.

[19:24:55.055] initializing drm backend
[19:24:55.091] using /dev/dri/card1

The SGX DDK creates another dri-like device as card1, but it should not be used 
as DRM device.

Please apply the following patch to the Weston build.

You may need other patches under 
meta-arago.meta-arago-distro/recipes-graphics/wayland/weston including

Best regards,


From: meta-ti-boun...@yoctoproject.org 
[mailto:meta-ti-boun...@yoctoproject.org] On Behalf Of Adam Lee
Sent: Monday, February 12, 2018 11:04 AM
To: meta-ti@yoctoproject.org
Subject: [EXTERNAL] Re: [meta-ti] Weston Desktop Shell

I spent a bit of time getting the logs:

root@am57xx-evm:~# weston --backend=drm-backend.so --tty=4
Date: 2018-01-08 UTC
[19:24:55.053] weston 2.0.0
               Bug reports to: 
               Build: c26dbf3-dirty weston-launch: Provide a default version 
that doesn't require PAM (2018-02-09 11:58:14 -0500)
[19:24:55.053] Command line: weston --backend=drm-backend.so --tty=4
[19:24:55.053] OS: Linux, 4.9.69-g89d085d1a4, #10 SMP PREEMPT Thu Feb 8 
12:11:21 EST 2018, armv7l
[19:24:55.053] Using config file '/etc//weston.ini'
[19:24:55.054] Output repaint window is 7 ms maximum.
[19:24:55.054] Loading module '/usr/lib/libweston-2/drm-backend.so'
[19:24:55.055] initializing drm backend
[19:24:55.091] using /dev/dri/card1
[19:24:55.091] Loading module '/usr/lib/libweston-2/gl-renderer.so'
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): [ 1157-> 1157] <              gbm_pvr_create_device():592|ERROR> 
Failed to create DBM device: No such device [0, ]
[19:24:55.095] failed to initialize egl
[19:24:55.120] fatal: failed to create compositor backend

Any insight as to why this is happening, it would be much appreciated.


On Fri, Feb 9, 2018 at 3:26 PM Adam Lee 
<adam.yh....@gmail.com<mailto:adam.yh....@gmail.com>> wrote:
Has anyone successfully brought up Weston desktop shell on the current master 
on Beagleboard X15 or AM57xx-EVM? I am having EGL initialization error. I don't 
know if it is something I have mis-configured.



Attachment: 0001-udev-seat-restrict-udev-enumeration-to-card0.patch
Description: 0001-udev-seat-restrict-udev-enumeration-to-card0.patch

Attachment: 0002-Weston-Allow-visual_id-to-be-0.patch
Description: 0002-Weston-Allow-visual_id-to-be-0.patch

meta-ti mailing list

Reply via email to