Unable to play on M1 macOS
david675566 opened this issue ยท 5 comments
Version Information
Forge version: 40.2.14
Psi version: 2.0.0
Further Information
Link to crash log: mclo link
Steps to reproduce:
- Download and install on a M1 Mac system.
- Startup with Psi mod installed.
What I expected to happen:
Startup and initialized successfully. Able to play.
What happened instead:
Crashed on startup up/Forge initialization.
Currently installed Java 17, seems related to OpenGL context window declare issue stated in the provided log at Line 2068.
This whole file https://github.com/VazkiiMods/Psi/blob/master/src/main/java/vazkii/psi/client/core/handler/ShaderHandler.java
needs to be modernized to use the API's vanilla uses, it doesn't look like it's been updated since 2016. On M1, the ARB extensions that it's using probably don't exist.
Should be fixed in 1.19-101
, although I don't have a mac so expectations may not correspond to reality
That should be fixed as well, what version are you using?
Java 17
Minecraft 1.19.4
Psi 1.19-101 download from Modrinth
Hi, thanks for the fix and sorry been this late and I had to reopen this issue.
As I fired up today, the Minecraft on my M1 mac will not straight up crashed into oblivion,
confirmed the OpenGL context now solved,
but now still refuse to play as the other issue either SoundEvent or ResourceLocation method is at fault in this file: https://github.com/VazkiiMods/Psi/blob/master/src/main/java/vazkii/psi/common/core/handler/PsiSoundHandler.java
Log file: https://mclo.gs/hisYx9w (at Line 168)
I'm currently looking at the file as well, tho I'm not experienced in both M1 infrastructure & java/forge API so probably not able to come up a solution.