Unable to start the demo - Windows 7/10: failed to initialize DirectX - Linux: Failed to create OpenGL context

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Jokoba17
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Dec 05, 2021 4:46 pm
Contact:

Unable to start the demo - Windows 7/10: failed to initialize DirectX - Linux: Failed to create OpenGL context

Post by Jokoba17 »

Hello dear Community,

I recently tried to run the demo version 1.1.46 on my laptop but I never got it to start.

I tried it to run under Linux (Fedora), Windows 7 and 10, but neither worked.

The error I got on Linux:

Code: Select all

   0.000 2021-12-04 14:54:43; Factorio 1.1.46 (build 59110, linux64, demo)
   0.000 Operating system: Linux
   0.000 Program arguments: "/home/'userName'/Downloads/factorio_demo/factorio/bin/x64/factorio" 
   0.000 Read data path: /home/'userName'/Downloads/factorio_demo/factorio/data
   0.000 Write data path: /home/'userName'/Downloads/factorio_demo/factorio [10835/127467MB]
   0.000 Binaries path: /home/'userName'/Downloads/factorio_demo/factorio/bin
   0.012 System info: [CPU: Intel(R) Core(TM)2 Duo CPU     T7300  @ 2.00GHz, 2 cores, RAM: 3912 MB]
   0.012 Environment: DISPLAY=:0.0 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=xfce XDG_SESSION_DESKTOP=xfce XDG_CURRENT_DESKTOP=XFCE __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.012 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.175 Available displays: 1
   0.175  [0]: 0 - {[0,0], 1280x800, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.300 Error Util.cpp:83: Failed to create OpenGL context: Could not create GL context: BadValue (integer parameter out of range for operation)
   1.429 Goodbye

Also this info might be helpful:

Code: Select all

glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 8600M GT/PCIe/SSE2
OpenGL core profile version string: 3.3.0 NVIDIA 340.108
OpenGL core profile shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.3.0 NVIDIA 340.108
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 NVIDIA 340.108 340.108
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.00
OpenGL ES profile extensions:

On Windows 7 and 10 I got the following error:
errorWin10.PNG
errorWin10.PNG (5.64 KiB) Viewed 1094 times

If I interpret dxdiag right then on Windows 7 the installed version is DirectX 11, but the card supports only DirectX 10 (the DDI-Version).
But on the other side on Windows 10 the installed DirectX version is 12 and the GPU does support there DirectX 11.1??

Here in pictures:



Windows 7:
dxdiag_Win7_01.png
dxdiag_Win7_01.png (9.48 KiB) Viewed 1094 times
and
dxdiag_Win7_02.png
dxdiag_Win7_02.png (9.03 KiB) Viewed 1094 times



Windows 10:
dxdiag_Win10_01.PNG
dxdiag_Win10_01.PNG (9 KiB) Viewed 1094 times
and
dxdiag_Win10_02.PNG
dxdiag_Win10_02.PNG (18.33 KiB) Viewed 1094 times







Edit:

Maybe that is the problem(although it's the description for the desktop-pc variant)?:
The GeForce 8600 GT was a mid-range graphics card by NVIDIA, launched on April 17th, 2007. Built on the 80 nm process, and based on the G84 graphics processor, in its G84-303-A2 variant, the card supports DirectX 11.1. Even though it supports DirectX 11, the feature level is only 10_0, which can be problematic with many DirectX 11 & DirectX 12 titles.
(source: https://www.techpowerup.com/gpu-specs/g ... 00-gt.c198)





So there is nothing I can do to play the game?
Or is there still a possibility on Linux?


Of course I searched the net for the problem, but sadly I didn't find anything useful...
posila
Factorio Staff
Factorio Staff
Posts: 5409
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Unable to start the demo - Windows 7/10: failed to initialize DirectX - Linux: Failed to create OpenGL context

Post by posila »

Jokoba17 wrote: Sun Dec 05, 2021 5:57 pmSo there is nothing I can do to play the game?
Or is there still a possibility on Linux?
Hello, you can buy new(er) computer. Almost anything from the past 10 years will at least launch the game.
Post Reply

Return to “Technical Help”