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

Can not create OpenGL context. (Error: Invalid window) #16327

Open
eliascasta opened this Issue Mar 19, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@eliascasta
Copy link

eliascasta commented Mar 19, 2019

Issue Summary

OpenRA crashes at startup showing the following error:

`Exception of type `System.InvalidOperationException`: Can not create OpenGL context. (Error: Invalid window)
  at OpenRA.Platforms.Default.Sdl2GraphicsContext.InitializeOpenGL () [0x00066] in <a4debf887ee14158b13d4169d50b2963>:0 
  at OpenRA.Platforms.Default.ThreadedGraphicsContext.RenderThread (System.Object contextObject) [0x0002d] in <a4debf887ee14158b13d4169d50b2963>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x0002c] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00031] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Threading.ThreadHelper.ThreadStart (System.Object obj) [0x00012] in <8f2c484307284b51944a1a13a14c0266>:0 `

===========================================================================
OpenRA engine version release-20190314
Date: 2019-03-19 14:12:18Z
Operating System: Linux (Unix 4.15.0.46)
Runtime Version: Mono 4.6.2 (Debian 4.6.2.7+dfsg-1ubuntu1) CLR 4.0.30319.42000
Mod: [Red Alert]
===========================================================================

@Mailaender Mailaender changed the title Can not create OpenGL context. (Error: Invalid window) at OpenRA.Platforms.Default.Sdl2GraphicsContext.InitializeOpenGL () [0x00066 Can not create OpenGL context. (Error: Invalid window) Mar 24, 2019

@Mailaender

This comment has been minimized.

Copy link
Member

Mailaender commented Mar 24, 2019

What graphics card do you have?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.