Re: Using VLC 4.0.0 on WSL2 Ubuntu 25.04 with wayland

Fatih Uzunoğlu <[email protected]> Thu, 26 Jun 2025 18:37:06 +0300
Newsgroups gmane.comp.video.videolan.vlc.devel
Message-ID <DB3PR0202MB3370A86ED8EB41D6E79F6D10AF7AA@DB3PR0202MB3370.eurprd02.prod.outlook.com>
 > 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.

_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
https://mailman.videolan.org/listinfo/vlc-devel