[vlc-devel] Using VLC 4.0.0 on WSL2 Ubuntu 25.04 with wayland
Fatih Uzunoğlu
fuzun54 at outlook.com
Wed Jun 25 19:35:03 UTC 2025
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20250625/8e2f8229/attachment.htm>
More information about the vlc-devel
mailing list