Re: Using VLC 4.0.0 on WSL2 Ubuntu 25.04 with wayland

Fatih Uzunoğlu <[email protected]> Wed, 25 Jun 2025 22:35:03 +0300
Newsgroups gmane.comp.video.videolan.vlc.devel
Message-ID <DB3PR0202MB337069E6739E4F1498D4EA4AAF7BA@DB3PR0202MB3370.eurprd02.prod.outlook.com>
The problem is within VLC, mainly two components are using something 
that seemingly can only be used by one. This is only the case with 
fractional scale, because Wayland does not support fractional scale by 
default and fractional scale requires adjusting viewport...

In your case, as I said, if you are looking for a workaround, OpenGL 
should be functional in WSL and you may want to try again after making 
sure it is working so that SHM module, which is lower priority, is not used:

 > If you are using Ubuntu, Debian tends to dissect monorepos for
 > packaging. Maybe you can try again to not rely on SHM after installing
 > these packages listed here: https://packages.debian.org/source/sid/mesa.
 > Depending on the modules, it may also require re-configuration.

If you have Weston, you can check running `weston-simple-egl` to see if 
EGL is usable.

That being said, it is still not clear to me how this is going to be 
fixed. Reporting size as `size * scale` is neither conventional (in 
Wayland conventions at least, not VLC conventions) nor would work as 
intended. Wayland applications use `wl_surface_set_buffer_scale()` for 
integer scale, and viewporter for fractional scale. This is what we are 
doing in the interface window provider.

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