[vlc-devel] Using VLC 4.0.0 on WSL2 Ubuntu 25.04 with wayland
Fatih Uzunoğlu
fuzun54 at outlook.com
Thu Jun 26 15:37:06 UTC 2025
> Maybe due to my hardware....
Unfortunately I have the same issue with `EGL_KHR_display_reference`,
but in my case gbm is functional, I don't get the `egl_gbm_wl gl: can't
find gbm device` error.
Maybe gbm is not functional on WSL2? If I know correctly WSL2 is a
virtual machine, and you may need proper GPU passthrough, Mesa's D3D12
driver itself may not be enough.
I have found this issue: https://github.com/microsoft/WSL/issues/882, it
says that there is no DRM support. That can explain this...
Note that another workaround would be using the environment variable
`QT_QPA_PLATFORM=xcb` to use xwayland. However, X11 window integration
is not so nice, such as you would not have v-sync for the interface. But
maybe that would be enough for your needs.
By the way, make sure that you are using Mesa D3D12 and not llvmpipe.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20250626/22815467/attachment.htm>
More information about the vlc-devel
mailing list