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

(BUG) Segmentation Fault on Apple Silicon when Compiling Shaders #13

Open
springyuniverse opened this issue Apr 10, 2024 · 2 comments
Open
Assignees
Labels
Bug Unexpected behavior Help Wanted Unavailable knowledge or resources

Comments

@springyuniverse
Copy link

Hi I am running Depthflow on Mac Silicon and currently whenever I run depthflow I got

zsh: segmentation fault depthflow any ideas?

@Tremeschin
Copy link
Member

Tremeschin commented Apr 10, 2024

Hello! It's a recently known and broader issue that affects ShaderFlow entirely atm :(

I don't have the hardware to test, but have bounced some ideas and tried a few things with a friend of mine Python developer from the USA that have it, but we couldn't find the root cause

Thanks for opening the issue, I should've done it earlier this week 👍🏻

@Tremeschin
Copy link
Member

Tremeschin commented Apr 10, 2024

(my best idea and help needed)

After some inspection, it was quite clear that it happens right when compiling the shaders in this line, could well be unsupported types or extensions from Apple's implementation of OpenGL, as well as a bug in ModernGL Python wrapper, GLFW window, or macOS trying to use native ARM than x86_64 in compatibility mode with Rosetta (mayhaps even rye package manager installing x86 when it should do ARM?)

I'm not familiar with macOS to point at anything specific, but I will spin up a vm and debug myself eventually !

@Tremeschin Tremeschin added Bug Unexpected behavior Help Wanted Unavailable knowledge or resources labels Apr 10, 2024
@Tremeschin Tremeschin changed the title (BUG) segmentation fault depthflow (BUG) Segmentation Fault on Apple Silicon when Compiling Shaders Apr 10, 2024
@Tremeschin Tremeschin pinned this issue Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Unexpected behavior Help Wanted Unavailable knowledge or resources
Projects
None yet
Development

No branches or pull requests

2 participants