Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is required for Zink driver? (re: not working under WINE and MoltenVK) #165

Open
sofakng opened this issue Dec 19, 2023 · 2 comments
Open

Comments

@sofakng
Copy link

sofakng commented Dec 19, 2023

I'm trying to use Zink (mesa 23.3.1 msvc) under WINE on macOS but I can't get it working. Games crash, display a black screen, or display errors like this:

8.2620s ERROR| Unable to set video mode: SDL_GL_CreateWindow failed: No matching GL pixel format available.
8.2624s ERROR| Video driver does not support OpenGL version 2 or greater; all OpenGL modes are unavailable.

However, if I set GALLIUM_DRIVER to llvmpipe it does work:

2.5073s  GFX| Setting video mode 2560x1600 (32-bpp windowed).
2.5811s  GFX| OpenGL driver: llvmpipe (LLVM 17.0.6, 128 bits) 4.5 (Compatibility Profile) Mesa 23.3.1 (git-1a2e6abe56)
2.5812s  GFX| OpenGL context: version 4.5

However, if I run OpenGLChecker using Zink the following is displayed in the console:

Unable to find a suitable pixel format.

WARNING: Some incorrect rendering might occur because the selected Vulkan device (Apple M3 Max) doesn’t support base Zink requirements: feats.features.logicOp have_EXT_custom_border_color have_EXT_line_rasterization

I believe this explains the problem (lack of supported features in MoltenVK) but what are the requirements for Zink and do earlier versions have lighter requirements?

Vulkan is supported under WINE (macOS) using MoltenVK which is an "almost-complete subset of the Vulkan 1.2 API".

Here is the output from vulkaninfo.exe under WINE and MoltenVK:
vulkaninfo.txt

Thanks for any help!

@sofakng sofakng changed the title What is required for Zink driver? (re: not working under WINE) What is required for Zink driver? (re: not working under WINE and MoltenVK) Dec 19, 2023
@NickStrupat
Copy link

Any luck with this?

@pal1000
Copy link
Owner

pal1000 commented Nov 11, 2024

Ask upstream or better yet on irc dri-devel channel since you formulated this as a support request.

A good log for this irc channel is available here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants