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

Resizing the window on macOS with M1 crashes the app #327

Open
fallen-icarus opened this issue Nov 7, 2024 · 0 comments
Open

Resizing the window on macOS with M1 crashes the app #327

fallen-icarus opened this issue Nov 7, 2024 · 0 comments

Comments

@fallen-icarus
Copy link

I created a haskell desktop app using monomer (source). When users run the freshly compiled app on apple's M1 chip, resizing the window (or changing the display resolution while the app is running) causes the app to crash with:

Renderer: Apple M1 Pro
Version: 4.1 Metal - 88.1
UNSUPPORTED (log once): GLRTextureViewResource *makeTextureViewRscIfNeeded(GLRTextureResource *, const MTLPixelFormat, const MTLTextureType, const NSRange, const NSRange, const MTLTextureSwizzleKey): unhandled newTextureViewWithPixelFormat and diffSwizzleKey !!! THIS WILL BE WRONG !!!
[1]    98896 segmentation fault  ./p2p-wallet

I read in this issue about possibly using appRenderOnMainThread so I had the users try adding that option to the AppConfig, and it solved the problem. But the haddocks say this config is no longer needed and is scheduled to be deprecated. Due to this bug, I think this config option is still needed.

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

1 participant