Hi,

I'm not sure if Yocto 2.3 has new enough version of Mesa and kernel for that. 
Seems that it defaults to Weston 1.11 so I'd assume no. Also I got impression 
that NXP versions of drivers support HW better (graphics work faster etc. 
maybe?). That I don't have my own experience so just relying what I've read.

But anyway thanks. Now I have something to go forward.

-Teemu Keskinarkaus

-----Original Message-----
From: wayland-devel [mailto:wayland-devel-boun...@lists.freedesktop.org] On 
Behalf Of Daniel Stone
Sent: 23. toukokuuta 2017 10:04
To: Keskinarkaus, Teemu
Cc: wayland-devel@lists.freedesktop.org
Subject: Re: Using EGL drivers in Weston without FBDev

Hi Teemu,

On 23 May 2017 at 05:33, Keskinarkaus, Teemu 
<teemu.keskinark...@crosscontrol.com> wrote:
> I just ran into this although support was dropped almost a year ago.
>
> Since FBDEV no longer has EGL ‘hackery’ support, what is then the ‘proper’
> way to use EGL drivers?  ie. What way they _should_ be used?
>
> I’m in no way expert in this whole Wayland/Weston/driver thing so
> that’s why I’m asking.
>
> We are currently using Weston in iMX6 based HW and NXP currently has
> only EGL/FBdev drivers available that’s why I ran to problems with
> Wayland/Weston when trying to upgrade to Weston 2.0.

The recommended way is to use EGL on top of KMS (kernel modesetting), the 
combination of which is called GBM. This is what's implemented by Mesa, and 
also several other drivers including ARM Mali.

The last time I saw NXP i.MX code for Weston, it was a fork of Weston using 
their own API for rendering and buffer management. I don't know if this ever 
got ported forward to newer versions, so you'd probably be needing to use their 
tree anyway. I know this isn't the advice you were hoping to get, but I would 
strongly recommend contacting NXP and asking them to support KMS and GBM like 
everyone else.

The good news is that the 'Etnaviv' and imx-drm drivers inside Mesa and the 
mainline Linux kernel work just fine, so if you use very new versions of Mesa 
and the kernel, there should be no need to run NXP's fork of Weston and their 
EGL drivers.

Cheers,
Daniel
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fwayland-devel&data=02%7C01%7Cteemu.keskinarkaus%40crosscontrol.com%7C2954ee0ac4564fe0ab6b08d4a1a9ee21%7C1602ae82026640d6910b11680fe0f6a5%7C0%7C0%7C636311198587709141&sdata=bwzA1B1u2Bk88SdS2AJJtcqYk05ChzyETPIwAHXarvo%3D&reserved=0

________________________________

Actuant Corporation Email Notice

This message is intended only for the use of the Addressee and may contain 
information that is PRIVILEGED and/or CONFIDENTIAL.
This email is intended only for the personal and confidential use of the 
recipient(s) named above. If the reader of this email is not an intended 
recipient, you have received this email in error and any review, dissemination, 
distribution or copying is strictly prohibited.
If you have received this email in error, please notify the sender immediately 
by return mail and permanently delete the copy you received.

Thank you.
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to