Open shoaibmerchant opened 2 years ago
Necromancing an old issue: could #5505 be related/duplicate? It looks like the panic code changed somewhat since the trace was posted in 2022, making it hard to relate.
I will note though, that OpenGL ES 2.0 is below our minspec, which is ES 3.0, Desktop 3.3
Description I am testing a bevy example application (with wayland enabled) compiled to a IMX8 (ARM64) target running Vivante GPU driver and OpenGL ES 2.0. Below is the command I am using to execute the application
The primary error returned is
Below are the trace logs leading to the error
I tried to read through the code in
gpu-hal/src/gles/egl.rs
and could understand thatEGL_DEFAULT_DISPLAY
is returning None/null, even thoughtest_wayland_display()
is returning true. I am guessing that the default display is getting resolved viawl_display_connect
but it is just not referenced byEGL_DEFAULT_DISPLAY
by the GPU driver.I will try to run
wgpu
locally on the device and see if I can conclude the above for sure.PS - I am new to GPU development, and still learning rust, I will try to help as much as possible. Thank you for all the great work put into
wgpu
.Repro steps This can be hard to reproduce as it is a hardware specific bug
Expected vs observed behavior The expected behaviour is that the
EGL_DEFAULT_DISPLAY
should get pointed to the default wayland display instead it returns None.Extra materials
wl_display_connect
to fetch the display - https://github.com/krh/weston/blob/master/clients/simple-egl.c#L643Platform OS=Yocto Linux Arch=ARM64 Kernel=5.4.47 GPU=Vivante Backend=OpenGL ES 2.0