I tried playing all the mods 9 yesterday and I came upon a popup saying "Failed to initialise graphics window with current settings". I tried looking for a solution and none of it worked. I tried reinstalling my drivers, reinstalling Minecraft and Java, installing JDK 17 & JDK 23. After all the attempts the same issue remained. I would appreciate any solutions. Thanks.
More info: I tried manually downloading forge without using curseforge or GDLauncher and the outcome is the same. This instance has 0 mods and the forge version is 1.20.1-forge-47.3.0.
This is the latest log from the empty forge instance: https://pastebin.com/yJG5P6cD
I removed the 1st line of the log as it contains sensitive information.