<div dir="ltr"><div>Thanks for the tips. I have updated mesa to the same version mentioned in your mail.</div><div><ul><li><a href="https://launchpad.net/ubuntu/+source/mesa">https://launchpad.net/ubuntu/+source/mesa</a></li></ul><div>weston-simple-egl works fine. So 
EGL is usable. But vlc still failed to use EGL. I see this log:</div><div><br></div><div>[00007ae40404cc40] xcb_egl gl debug: EGL client extensions: EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_explicit_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_EXT_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless<br>[00007ae40404cc40] egl_wl gl debug: EGL client extensions: EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_explicit_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_EXT_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless<br><b>[00007ae40404cc40] egl_wl gl warning: EGL display reference counting not supported</b><br>[00007ae40404cc40] egl_x11 gl debug: EGL client extensions: EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_explicit_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_EXT_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless<br>[00007ae40404cc40] egl_gbm_wl gl debug: EGL client extensions: EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_explicit_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_EXT_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless<br>[00007ae40404cc40] egl_gbm_wl gl: can't find gbm device<br>[00007ae468ff5888] main generic debug: no opengl modules matched with name any<br>[00007ae40404c8f0] main vout display debug: no vout display modules matched with name gl<br>[00007ae43c0458a0] main video output error: video output display creation failed</div><div><br></div><div> </div><div>This line 
[00007ae40404cc40] egl_wl gl warning: EGL display reference counting not supported may explain why. Code is in ./modules/video_output/opengl/egl.c</div><div><br></div><div>    if (!CheckClientExt("EGL_KHR_display_reference")) {<br>        msg_Warn(gl, "EGL display reference counting not supported");<br>        return EGL_NO_DISPLAY;<br>    }</div><div><br></div><div>Maybe due to my hardware....</div><div><br></div><div><br></div><div><br></div></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Le mer. 25 juin 2025 à 21:35, Fatih Uzunoğlu <<a href="mailto:fuzun54@outlook.com">fuzun54@outlook.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>

  
  <div style="padding-bottom:1px">
    <p>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...</p>
    <p>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:</p>
    <p>> If you are using Ubuntu, Debian tends to dissect monorepos
      for <br>
      > packaging. Maybe you can try again to not rely on SHM after
      installing <br>
      > these packages listed here:
      <a href="https://packages.debian.org/source/sid/mesa" target="_blank">https://packages.debian.org/source/sid/mesa</a>.<br>
      > Depending on the modules, it may also require
      re-configuration.</p>
    <p>If you have Weston, you can check running `weston-simple-egl` to
      see if EGL is usable.</p>
    <p>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.</p>
  </div>
  <u></u><u></u>

_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a><br>
</blockquote></div>