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.
Hi marianmi,
I'm the community manager for Graphics and Multimedia community and I see this is an issue you have had before. We try and answer as many questions as possible on here so apologies if there has been a delay in response or none at all. I have asked around and unfortunately the drivers available today do not have support for nested wayland compositors. This might explain why some of our community regulars haven't been able to answer your questions.
Kind regards,
Ben
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 :)
Hi Ben Walshe
Is there any news on this?
It would be great to have some more up-to-date and less buggy drivers for odroid available.
Here's some of the things I'm running with the current version, which would benefit greatly from bug fixes (and dmabuf import too, which is missing!):
- gnome3 https://www.youtube.com/watch?v=CXcoha4eNoo
- webgl in wayland chrome experimental build (ubuntu 17.10)https://www.youtube.com/watch?v=euB1ZRPpFgs and https://www.youtube.com/watch?v=nT5XLdSAylU
- game emulators https://www.youtube.com/watch?v=zfPvL-QkBTg
All would get a boost from some updated drivers....
I think the plan is to update these drivers in the future but at the moment they don't have any plans to release any updates in the short term. Sorry about this. I have passed on your comments to the engineering teams.
Thanks,