[vlc-devel] Using VLC 4.0.0 on WSL2 Ubuntu 25.04 with wayland

Fatih Uzunoğlu fuzun54 at outlook.com
Sun Jun 22 15:59:43 UTC 2025


 > That's plain wrong. The window provider is responsible for input 
event and lifetime of the surface. Rendering is the job of the display.

I don't get what's wrong. It is not me who proposed Wayland to not have 
fractional scale support with the buffer scale. We are only doing what 
the fractional scale protocol says, which involves using viewporter. 
Tell this to Wayland people, not me.

 > WTH are you on about?! You don't get to choose what display module is 
used. If you provide a Wayland type surface you have to follow the 
general conventions and the specific conventions for the Wayland type.

If the display module is using viewporter, it should also take care of 
the fractional scale (as that is the only way to support it as per the 
fractional scale protocol), which probably means a new entry in the 
window structure so that the window provider can forward the desired 
scale instead of handling it itself. Note that some may argue that it 
should be the responsibility of the window provider.

Qt interface would be more than happy to simply forward the scale and 
not care about anything else including using viewporter. I would have 
not spent time on the said merge requests.

 > Breaking any display module is not allowed, and certainly not the 
reference implementation (SHM in the case of Wayland).

Qt interface did not "break a display module", it is only for window 
embedding case, and the interface can definitely have some additional 
requirements there when necessary. But this does not mean that we should 
be lazy and only support a subset of configurations without 
justification. If the viewporter only issue of embedding with SHM, then 
it can be resolved once fractional scale handling is resolved.



More information about the vlc-devel mailing list