when ever I try to load up a new Minecraft mod pack on my MacBook pro M1 this message shows up. here's the code. I'm not very informed when it comes to computers and couldn't figure out a solution and its been a couple days
---- Minecraft Crash Report ----
// Daisy, daisy...
Time: 10/27/21 9:33 AM
Description: Initializing game
java.lang.IllegalStateException: GLFW error before init: [0x10008]Cocoa: Failed to find service port for display
at com.mojang.blaze3d.platform.GLX.lambda$_initGlfw$1(GLX.java:81) ~[?:?] {re:classloading,xf:OptiFine:default}
at net.minecraft.client.MainWindow.func_211162_a(MainWindow.java:167) ~[?:?] {re:classloading,xf:OptiFine:default}
at com.mojang.blaze3d.platform.GLX._initGlfw(GLX.java:79) ~[?:?] {re:classloading,xf:OptiFine:default}
at com.mojang.blaze3d.systems.RenderSystem.initBackendSystem(SourceFile:996) ~[?:?] {re:classloading}
at net.minecraft.client.Minecraft.<init>(Minecraft.java:371) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(SourceFile:166) ~[1.15.2.jar:?] {re:classloading,re:mixin,pl:mixin:APP:smoothboot.mixins.json:client.MainMixin,pl:mixin:A}
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_74] {}
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_74] {}
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_74] {}
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_74] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) ~[forge-1.15.2-31.2.52.jar:31.2] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.1.2.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.1.2.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.1.2.jar:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.1.2.jar:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.1.2.jar:?] {}
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
at com.mojang.blaze3d.platform.GLX.lambda$_initGlfw$1(GLX.java:81)
at net.minecraft.client.MainWindow.func_211162_a(MainWindow.java:167)
at com.mojang.blaze3d.platform.GLX._initGlfw(GLX.java:79)
at com.mojang.blaze3d.systems.RenderSystem.initBackendSystem(SourceFile:996)
at net.minecraft.client.Minecraft.<init>(Minecraft.java:371)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.main.Main.main(SourceFile:166)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51)
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
at cpw.mods.modlauncher.Launcher.run(Launcher.java:81)
at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
-- System Details --
Details:
Minecraft Version: 1.15.2
Minecraft Version ID: 1.15.2
Operating System: Mac OS X (x86_64) version 10.16
Java Version: 1.8.0_74, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 699109136 bytes (666 MB) / 1705508864 bytes (1626 MB) up to 3817865216 bytes (3641 MB)
CPUs: 8
JVM Flags: 4 total; -Xss1M -Xmx4096m -Xms256m -XX:PermSize=256m
Launched Version: forge-31.2.52
Backend library: LWJGL version 3.2.1 build 12
Backend API: NO CONTEXT
GL Caps:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'forge'
Type: Client (map_client.txt)
CPU: <unknown>
OptiFine Version: OptiFine_1.15.2_HD_U_G6
OptiFine Build: 20210124-205244
Render Distance Chunks: 8
Mipmaps: 4
Anisotropic Filtering: 1
Antialiasing: 0
Multitexture: false
Shaders: null
OpenGlVersion: null
OpenGlRenderer: null
OpenGlVendor: null
CpuCount: 8