-
Notifications
You must be signed in to change notification settings - Fork 5k
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
allow MacOS OpenGL software renderer? #2080
Comments
Was it throwing a specific error? |
when calling |
I agree that this would be a great feature, I need it for the same reason (testing an app on a MacOS virtual machine) |
Is that something that is working today ? Is it possible to of this project in order to run openGL application on MacOS running within a VM ? |
Idk on upstream, but if you check my linked PR (WerWolv/ImHex#708) we've been using it in ImHex for a while now |
I can answer the last question - when the software renderer is in use, |
My interests in this is github's own CI testing (which is headless), and I have no apple hardware nor VM. Looking at the code, I think it is possible to add automatic fall-back? The is no simple way of doing |
I have added automatic software renderer retry if the accelerated request fails: #2571 - can somebody with genuine mac hardware gives it a try to check that accelerated opengl still works? |
Seems to work by simply replacing:
with
in src/nsgl_context.m.
An automatic (optional?) fallback would be the best option.
Would be useful for debugging OpenGL apps inside a VM. Or as a fallback for incompatible hardware. For that purpose it would then also be great to have a way to check whether hardware acceleration is in use or not.
The text was updated successfully, but these errors were encountered: