did the weston can use "mesa" for "opengles and egl" demands without libmali.so on MALI targets?

Pekka Paalanen ppaalanen at gmail.com
Tue Sep 25 08:52:21 UTC 2018


On Tue, 25 Sep 2018 09:28:27 +0800 (CST)
tugouxp <13824125580 at 163.com> wrote:

> hi folks:
> 
> 
>     my project take wayland as display server, weston working with
> libdrm-backend, the opegles and egl interface are provided by arm
> official provide "libmali.so" library.
> 
> 
> but now i want to test whether it can be worked that get rid of  mali
> library completely ,and use mesa library instead.  i am use the yocto
> build system and the compile process is very succefully, but when i
> tested the weston with  following command.
> 
> weston --backend=drm-backend.so --tty=1 --idle-time=0 &
> 
> it seems the weston crashed and cant  be launched,  this command
> works fine with "libmali" method, so it should not be the problem of
> mali .
> 
> 
> the output is very chaos by different threads log interrupted each
> other, thanks for your kindly help.
> 

Hi,

you can redirect stdout and stderr to a file. Printing to the terminal
stops working once Weston enters graphics mode. If you are launching
weston through a serial console, maybe it overflows and drops random
bytes - is your serial flow control correctly set up also for the
kernel console output?

It looks like you get kernel bug output too. A kernel bug is always a
kernel issue, so you would need to look into that first.

Also make sure that Weston is not somehow patched for Mali
specifically. I don't know if such patches exist, but if they do, we
can't support them.

This page seems to summarize the status of FOSS drivers:
https://wiki.debian.org/MaliGraphics

See also the upcoming XDC presentation about Panfrost this week:
https://www.x.org/wiki/Events/XDC2018/Talks/#lyude_alyssa


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180925/a01852fc/attachment.sig>


More information about the wayland-devel mailing list