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

Asahi Linux compatibility (Linux on Apple M1) #9

Open
tombh opened this issue Nov 20, 2023 · 1 comment
Open

Asahi Linux compatibility (Linux on Apple M1) #9

tombh opened this issue Nov 20, 2023 · 1 comment

Comments

@tombh
Copy link

tombh commented Nov 20, 2023

I'm already certain this issue is because of the current state of the Asahi graphics driver, so I don't expect anything to be fixed by you. I'm just mentioning it in case anybody else is trying this and if maybe there's an easy workaround.

The main error is: Features(TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES | VERTEX_WRITABLE_STORAGE) are required but not enabled on the device.

The current driver has full support for OpenGL 3.3, but also has support for a lot of features in higher versions. See the "Drivers Details" section in https://mesamatrix.net. But even overriding the MESA_* versions produces the same error:
MESA_GL_VERSION_OVERRIDE=4.6 MESA_GLSL_VERSION_OVERRIDE=460 MESA_GLES_VERSION_OVERRIDE=3.2 cargo run --release --example demo

New features are being added on a regular basis and even Vulkan support is being worked on. So I'm sure this'll just get fixed on its own soon anyway.

@Patryk27
Copy link
Owner

Yes, I'm pretty sure it's missing support in their driver (understandably so, it's a complex topic).

It would be amazing to get better GPU support on Asahi - it's the last thing holding me back from jumping the ship 😄

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

2 participants