WhitewaterFoundry / Fedora-Remix-for-WSL

Fedora Remix for Windows Subsystem for Linux.
Other
693 stars 51 forks source link

Fedora 40 - zink_dri.so missing #220

Open caedmon-kitty opened 1 month ago

caedmon-kitty commented 1 month ago

Describe the bug Starting an application which uses mesa results in the error - MESA-LOADER: failed to open zink: /usr/lib64/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri)

To Reproduce Steps to reproduce the behavior:

  1. Launch glxgears or glxinfo
  2. See the error message

Expected behavior No error message.

Do not know if zink_dri.so is required for WSL 2. The glx apps appear to function normally.

[ x] I have searched Google for the error message. [x ] I have checked official WSL troubleshooting documentation: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled. [x ] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues. [x ] I have searched the WLinux issues page: https://github.com/WhitewaterFoundry/WLinux/issues. [x ] I have reset WLinux: Settings->Apps->Apps & features->WLinux->Advanced Options->Reset. [ ] I have disabled and re-enabled WSL in Windows Features. [x ] I have run Windows 11 updates and restarted.

Fedora Remix for WSL Version Remix for Fedora 40 Version 39.0.2.0

Find: Settings->Apps->Apps & features->Fedora Remix for WSL Version->Advanced Options->Version. Also, cat /etc/os-release

Insert here: NAME="Fedora Remix for WSL" VERSION="40" ID=fedoraremixforwsl ID_LIKE=fedora VERSION_ID=40 PLATFORM_ID="platform:f40" PRETTY_NAME="Fedora Remix for WSL" ANSI_COLOR="0;34" CPE_NAME="cpe:/o:fedoraproject:fedora:40" HOME_URL="https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL" SUPPORT_URL="https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL" BUG_REPORT_URL="https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL/issues" PRIVACY_POLICY_URL="https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL/blob/master/PRIVACY.md" FEDORA_REMIX_VERSION=40.0.1

Windows Build

Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here: OS Name: Microsoft Windows 11 Pro OS Version: 10.0.22631 N/A Build 22631 OS Manufacturer: Microsoft Corporation OS Configuration: Standalone Workstation OS Build Type: Multiprocessor Free BIOS Version: LENOVO N3TET51W (1.51 ), 1/26/2024

crramirez commented 1 month ago

Hello,

Thank you for reporting it. Zink is a driver that translate Opengl calls into Vulkan ones. The version 24 of mesa enables it by default. We tried to remove it and in fact it is not installed but now it complains.

We will wait to the release 24.1 of mesa to see if we can disable it. If not, we will leave the default message that is a little nicer than the one is showing today.

As you noticed, it doesn't affect the performance because it is useless in a WSL environment.

Regards, Carlos