[meta-ti] [EXTERNAL] Re: Weston Desktop Shell
Ruei, Eric
e-ruei1 at ti.com
Mon Feb 12 08:24:10 PST 2018
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.
0001-udev-seat-restrict-udev-enumeration-to-card0.patch.
You may need other patches under meta-arago.meta-arago-distro/recipes-graphics/wayland/weston including
0002-Weston-Allow-visual_id-to-be-0.patch
Best regards,
Eric
From: meta-ti-bounces at yoctoproject.org [mailto:meta-ti-bounces at yoctoproject.org] On Behalf Of Adam Lee
Sent: Monday, February 12, 2018 11:04 AM
To: meta-ti at yoctoproject.org
Subject: [EXTERNAL] Re: [meta-ti] Weston Desktop Shell
I spent a bit of time getting the logs:
root at am57xx-evm:~# weston --backend=drm-backend.so --tty=4
Date: 2018-01-08 UTC
[19:24:55.053] weston 2.0.0
http://wayland.freedesktop.org
Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=2.0.0
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.
Adam
On Fri, Feb 9, 2018 at 3:26 PM Adam Lee <adam.yh.lee at gmail.com<mailto:adam.yh.lee at 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.
BR,
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-ti/attachments/20180212/dc23344a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-udev-seat-restrict-udev-enumeration-to-card0.patch
Type: application/octet-stream
Size: 1343 bytes
Desc: 0001-udev-seat-restrict-udev-enumeration-to-card0.patch
URL: <http://lists.yoctoproject.org/pipermail/meta-ti/attachments/20180212/dc23344a/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Weston-Allow-visual_id-to-be-0.patch
Type: application/octet-stream
Size: 934 bytes
Desc: 0002-Weston-Allow-visual_id-to-be-0.patch
URL: <http://lists.yoctoproject.org/pipermail/meta-ti/attachments/20180212/dc23344a/attachment-0003.obj>
More information about the meta-ti
mailing list