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) #10597
Comments
Is this still a problem with the latest playtest? |
Please reopen once you have tested the latest release and it still persists. |
I had the same issue, setting desktop resolution to 32-bit color depth resolved it. |
No activity since a while. I don't think there is much to do here without further leads (at least we know that 32-bit color depth might resolve this issue). |
Duplicate of #16327 |
I run into the similar issue on Windows 10, pretty vanilla with nvidia GTX 2080. This is the exception from graphics.log:
|
Do you have an internal graphics card? Does it have vendor drivers? |
I am not sure. I managed to 'fix' this. I have display scaling turned on to 125%. After I moved back to 100% it worked fine. |
On starting up OpenRA release-20151224., I get a crash message. I've looked at the exception log and it seems to be a problem with graphical errors.
Exception Log:
Operating System: Windows (Microsoft Windows NT 6.1.7601 Service Pack 1)
Runtime Version: .NET CLR 4.0.30319.42000
Exception of type
System.InvalidOperationException
: No suitable renderers were found. Check graphics.log for details.at OpenRA.Game.Initialize(Arguments args)
at OpenRA.Program.Run(String[] args)
at OpenRA.Program.Main(String[] args)
Graphical Log:
System.InvalidOperationException: Can not create OpenGL context. (Error: Invalid window)
at OpenRA.Platforms.Default.Sdl2GraphicsDevice..ctor(Size windowSize, WindowMode windowMode)
at OpenRA.Platforms.Default.DeviceFactory.CreateGraphics(Size size, WindowMode windowMode)
at OpenRA.Renderer.CreateDevice(Assembly platformDll, Int32 width, Int32 height, WindowMode window)
at OpenRA.Renderer..ctor(GraphicSettings graphicSettings, ServerSettings serverSettings)
at OpenRA.Game.Initialize(Arguments args)
System.InvalidOperationException: Can not create OpenGL context. (Error: Invalid window)
at OpenRA.Platforms.Default.Sdl2GraphicsDevice..ctor(Size windowSize, WindowMode windowMode)
at OpenRA.Platforms.Default.DeviceFactory.CreateGraphics(Size size, WindowMode windowMode)
at OpenRA.Renderer.CreateDevice(Assembly platformDll, Int32 width, Int32 height, WindowMode window)
at OpenRA.Renderer..ctor(GraphicSettings graphicSettings, ServerSettings serverSettings)
at OpenRA.Game.Initialize(Arguments args)
The text was updated successfully, but these errors were encountered: