[vlc-devel] Using VLC 4.0.0 on WSL2 Ubuntu 25.04 with wayland
Fatih Uzunoğlu
fuzun54 at outlook.com
Fri Jun 20 16:47:00 UTC 2025
Hello,
Qt interface uses viewporter [1] [2] [3] for the video surface to handle
fractional scaling. We have to do this for proper embedding, because Qt
(starting with 6.5) uses viewporter itself to handle fractional scaling
for the interface surface, and the video surface has to fit properly. In
this case it seems that you are using SHM display module, which also
seems to be using viewporter, hence the error.
As far as I know, SHM is not tested with embedding into Qt interface,
but EGL should be working fine (I was only able to test using EGL GBM
unfortunately, because of lack of `EGL_KHR_display_reference` support,
which may be because I'm using Nvidia graphics).
Is there a specific reason opting in for SHM? I'm asking this because as
far as I know it has lower priority.
Sincerely,
Fatih
[1] https://code.videolan.org/videolan/vlc/-/merge_requests/5721
[2] https://code.videolan.org/videolan/vlc/-/merge_requests/6600
[3] https://code.videolan.org/videolan/vlc/-/merge_requests/6601
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20250620/37d63238/attachment.htm>
More information about the vlc-devel
mailing list