Hello,
the eglInitialize() function fails on the wayland odroid xu3 latest r12p0 driver.
Here's how to reproduce the issue:
* start weston (using the drm backend) => it will get assigned to socket "wayland-0"
* from weston-terminal, start another weston instance (using the wayland backend) => it will get assigned to socket "wayland-1"
* in the second weston instance, start weston-simple-egl with WAYLAND_DISPLAY=wayland-0 => it will work and weston-simple-egl will run on the main weston instance
* in the second weston instance, start weston-simple-egl with WAYLAND_DISPLAY=wayland-1 => after binding the display, getting a correct screen, the code will fail at eglInitialize()
Is there any fix I can try?
Thanks.
Thanks for the reply Ben Walshe
Nested compositor has been used for the past year in webkit (and browsers based on webkit), and will gain more adoption as Wayland becomes default (Wayland already is default in Fedora, Ubuntu, etc). So it would be pretty good to have this feature for modern browser support under Wayland.
There are also some bugs I mentioned on the discussion forum I run into with the current drivers.
Lastly, the wayland drivers don't have dmabuf import support, but the newer X11/fbdev drivers (same T628 GPU) have it. Also, drivers for Mali T76x and Mali T8xx (released for RK boards) also support dmabuf import. Having dmabuf import greatly increases performance in video applications.
Any of these 3 improvements (nested compositor, bug fixes, dmabuf import support) are welcomed and would impact the usage if mali GPU drastically with T628 under wayland. And wayland is getting default in more and more linux distributions.
Is there any plan to update the driver to provide any of these great features/fixes? I run kernel driver version r20p0 but binary driver only r12p0, it's a shame...
Unfortunately, I have very limited access to what is being planned in future releases. I have done some detective work and found some internal discussions around these topics and have passed on the issues you raise here to the relevant people within Arm. Hopefully some positive results will come of it! Apologies for not being much help.
Thanks, Ben, also hope to see positive results :)