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

GraphicsLibraryFramework.GLFWException: WGL: Failed to make context current #5402

Open
JMcGrew001 opened this issue Feb 26, 2025 · 0 comments
Labels
3rd party issue Issues caused by your drivers, OS setup, or mods

Comments

@JMcGrew001
Copy link

JMcGrew001 commented Feb 26, 2025

Updated graphics driver to Adrenalin v24.12.1, which is when issue began. Rolled driver back to previous version, which game worked on previously to v24.10.1. Graphics Card is 5700xt. Tried clean install of base game, by uninstalling and removing app data and then reinstalling and updating version of dependent application. Below is readout of initial crash:

Running on 64 bit Windows 10.0.19045.0 with 16318 MB RAM
Game Version: v1.20.4 (Stable)
2/26/2025 9:44:48 AM: Critical error occurred
Loaded Mods: 
OpenTK.Windowing.GraphicsLibraryFramework.GLFWException: WGL: Failed to make context current: The handle is invalid. 
   at OpenTK.Windowing.Desktop.GLFWProvider.DefaultErrorCallback(ErrorCode errorCode, String description)
   at OpenTK.Windowing.GraphicsLibraryFramework.GLFWNative.glfwCreateWindow(Int32 width, Int32 height, Byte* title, Monitor* monitor, Window* share)
   at OpenTK.Windowing.GraphicsLibraryFramework.GLFW.CreateWindow(Int32 width, Int32 height, String title, Monitor* monitor, Window* share)
   at OpenTK.Windowing.Desktop.NativeWindow..ctor(NativeWindowSettings settings)
   at OpenTK.Windowing.Desktop.GameWindow..ctor(GameWindowSettings gameWindowSettings, NativeWindowSettings nativeWindowSettings)
   at Vintagestory.Client.NoObf.GameWindowNative..ctor(GameWindowSettings gameWindowSettings, NativeWindowSettings nativeWindowSettings) in VintagestoryLib\Client\ClientPlatform\GameWindowNative.cs:line 14
   at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 291
   at Vintagestory.Client.ClientProgram.<>c__DisplayClass10_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 130
   at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93

client-audit.log
client-chat.log
client-crash.log
client-debug.log
client-main.log

@Craluminum2413 Craluminum2413 changed the title Vintage Story v1.20.4 crashes on launch GraphicsLibraryFramework.GLFWException: WGL: Failed to make context current Feb 26, 2025
@Craluminum2413 Craluminum2413 added the 3rd party issue Issues caused by your drivers, OS setup, or mods label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3rd party issue Issues caused by your drivers, OS setup, or mods
Projects
None yet
Development

No branches or pull requests

2 participants