Check out our Monthly Survey Page to see what our users are running.
DOOM 2016 doesn't work: FATAL ERROR: wglCreateContextAttribsARB failed
Nightwing Jul 22, 2017
Only pops up a blue window and says:

Configured log listener print-redirect tags
Added structured log listener print-redirect
Added structured log listener mp-cloud-gobbler
2017-07-22T09:03:51.254+08:00 LOG: Process started
idBNetLoggerRESTReferences: Failed to parse: /v3/collect_logdata
Added structured log listener bnet-logger
Winsock Initialized
------ Initializing File System ------
Current search path:
- C:/users/nightwing/Saved Games/id Software/DOOM/base/
- C:/Program Files (x86)/Steam/steamapps/common/DOOM/base/
------ File System initialized.
------ Command Line ------
"C:\Program Files (x86)\Steam\steamapps\common\DOOM\DOOMx64.exe"
2017-07-22T09:03:51.255+08:00 LOG: Command Line: "C:\Program Files (x86)\Steam\steamapps\common\DOOM\DOOMx64.exe"
------ CPU Information ------
1 CPU package, 4 physical cores, 4 logical cores
3400 MHz Intel CPU with MMX & SSE & SSE2 & SSE3 & SSSE3 & SSE41 & SSE42 & AVX
32768 kB 1st level cache, 262144 kB 2nd level cache, 6291456 kB 3rd level cache
7872 MB System Memory
initializing resource container gameresources.resources
idLib::SetProduction( PROD_PRODUCTION )
------- Initializing renderSystem --------
PreliminaryRenderSetup
---registered window class
---registered fake window class
---registered context window class
X..WGL_EXT_swap_control_tear not found
unknown error: 0x0
FATAL ERROR: wglCreateContextAttribsARB failed
Dumped console text to C:\users\nightwing\Saved Games\id Software\DOOM\base\ErrorLog_07-22-2017__09-03-51am.txt.

idRenderSystem::Shutdown()
Shutting down OpenGL subsystem

***************************
FATAL ERROR: wglCreateContextAttribsARB failed

***************************

I use wine 2.12-staging(64bit) on PlayOnLinux 4.2.12 to install a 64bit steam, I follow the steps in this video:
View video on youtube.com
Here is my PC's info:

MMMMMMMMMMMMMMMMMMMMMMMMMmds+. OS: Mint 18.2 sonya
MMm----::-://////////////oymNMd+` Kernel: x86_64 Linux 4.10.0-26-generic
MMd /++ -sNMd: Uptime: 8h 14m
MMNso/` dMM `.::-. .-::.` .hMN: Packages: 2469
ddddMMh dMM :hNMNMNhNMNMNh: `NMm Shell: bash 4.3.48
NMm dMM .NMN/-+MMM+-/NMN` dMM Resolution: 1680x1050
NMm dMM -MMm `MMM dMM. dMM DE: Cinnamon 3.4.4
NMm dMM -MMm `MMM dMM. dMM WM: Muffin
NMm dMM .mmd `mmm yMM. dMM WM Theme: Linux Mint (Mint-X)
NMm dMM` ..` ... ydm. dMM GTK Theme: Mint-X [GTK2/3]
hMM- +MMd/-------...-:sdds dMM Icon Theme: Mint-X
-NMm- :hNMNNNmdddddddddy/` dMM Font: Noto Sans 9
-dMNs-``-::::-------.`` dMM CPU: Intel Core i5-4460 CPU @ 3.4GHz
`/dMNmy+/:-------------:/yMMM GPU: AMD POLARIS10 (DRM 3.9.0 / 4.10.0-26-generic, LLVM 5.0.0)
./ydNMMMMMMMMMMMMMMMMMMMMM RAM: 2312MiB / 7869MiB
\.MMMMMMMMMMMMMMMMMMM

My Graphic card is RX480 8GB, and I use padoka ppa https://launchpad.net/~paulo-miguel-dias/+archive/ubuntu/mesa

I search the Internet, others also meet this problem, for example:
http://steamcommunity.com/app/379720/discussions/0/1368380934287407381/
http://steamcommunity.com/app/379720/discussions/0/365163686040571599/

Some people say this might be the GPU driver's problem, but I use the newest mesa driver, and my PC meets the DOOM's requirements, because when I use Win 10, my PC can run DOOM very well.
Ehvis Jul 22, 2017
I installed Steam on 2.12-staging with PlayOnLinux (not through it's own script though). Installed DOOM and it worked after that on both OpenGL and Vulkan. Performance is amazing!
ziabice Jul 22, 2017
I don't have DOOM, but the error "FATAL ERROR: wglCreateContextAttribsARB failed" is the same I got trying to run Wolfenstein with MESA: look here for the bug https://bugs.winehq.org/show_bug.cgi?id=43176

You are trying to run the game using OpenGL, but MESA doesn't support the required OpenGL context. I don't know what you need to do to let the game start using Vulkan (the only supported API with MESA).
waitaha Jul 22, 2017
Hello,
I am not sure if it helps you running the game, but if you change r_renderAPI "0" to r_renderAPI "1" in the config file you'll use Vulkan instead of OpenGl.

The config file (DOOMConfig.local) is located in WINEPREFIX/drive_c/users/username/Saved Games/id Software/DOOM/base/DOOMConfig.local (this might be different on your system)
Nightwing Jul 22, 2017
Quoting: EhvisI installed Steam on 2.12-staging with PlayOnLinux (not through it's own script though). Installed DOOM and it worked after that on both OpenGL and Vulkan. Performance is amazing!
I think it's driver's problem, because OpenGL's version in mesa-17 is just 3.0, but DOOM 2016 needs OpenGL 4.5. I add "r_renderAPI 1" in steam, then I can start DOOM, but I can't see the menu, just hear the music.
tuxisagamer Jul 22, 2017
Anyone not getting any in game sound?
tuxisagamer Jul 23, 2017
I changed the audio backend from pulse to alsa and voila I had sound.
Nightwing Jul 23, 2017
Quoting: waitahaHello,
I am not sure if it helps you running the game, but if you change r_renderAPI "0" to r_renderAPI "1" in the config file you'll use Vulkan instead of OpenGl.

The config file (DOOMConfig.local) is located in WINEPREFIX/drive_c/users/username/Saved Games/id Software/DOOM/base/DOOMConfig.local (this might be different on your system)

Thx~
In the first time, I forgot to add r_renderAPI 1 in steam, so DOOM started with OpenGL, but the version of OpenGL in padoka ppa is 3.0, not 4.5, DOOM needs 4.5. So I saw the blue screen.

Then I add r_renderAPI 1, I can enter the game, but after the id movie, I can't see the game menu, just hear the sound.
libgradev Jul 24, 2017
If it helps I'm launching with (Arch):

MESA_GL_VERSION_OVERRIDE=4.3COMPAT wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/steamapps/common/DOOM/DOOMx64vk.exe

Runs great :)
Dukenukemx Aug 13, 2017
I have the same error on Linux Mint 18.2 using Padoka PPA. Trying to run Doom and in regedit I set MaxGLVersion to 40005 which makes it think it's OpenGL 4.5. It's certainly a driver issue cause wglCreateContextAttribsARB doesn't seem supported yet, at least with Padoka PPA. I've tried Vulkan but I get this error output instead.

Configured log listener print-redirect tags
Added structured log listener print-redirect
Added structured log listener mp-cloud-gobbler
2017-08-13T09:52:34.442-04:00 LOG: Process started
Winsock Initialized
------ Initializing File System ------
Current search path:
- C:/users/demetrius/Saved Games/id Software/DOOM/base/
- C:/Program Files (x86)/Doom/base/
------ File System initialized.
------ Command Line ------
"C:\Program Files (x86)\Doom\DOOMx64vk.exe"
2017-08-13T09:52:34.453-04:00 LOG: Command Line: "C:\Program Files (x86)\Doom\DOOMx64vk.exe"
------ CPU Information ------
1 CPU package, 4 physical cores, 4 logical cores
4200 MHz AMD CPU with MMX & SSE & SSE2 & SSE3 & SSSE3 & SSE41 & SSE42 & AVX
16384 kB 1st level cache, 2097152 kB 2nd level cache, 0 kB 3rd level cache
7920 MB System Memory
initializing resource container gameresources.resources
initializing resource container gameresources.patch
initializing resource container gameresources_002.patch
idLib::SetProduction( PROD_PRODUCTION )
------- Initializing renderSystem --------
PreliminaryRenderSetup
...registered window class
-------------------------
Application Info
-------------------------
App : DOOM - 1.0.2
Engine : idTech - 6.1.1
-------------------------
Instance Extensions
-------------------------
+ VK_KHR_surface
+ VK_KHR_win32_surface
FATAL ERROR: vkEnumeratePhysicalDevices failed with error (VK_ERROR_INITIALIZATION_FAILED)
Dumped console text to C:\users\demetrius\Saved Games\id Software\DOOM\base\ErrorLog_08-13-2017__09-52-37am.txt.

idRenderSystem::Shutdown()
log file 'qconsole.log' opened on Sun Aug 13 09:52:37 2017

CrashHandler: Storing data and writing local report.
idStackTracer::GetSource: Failed
idStackTracer::GetSource: Failed
No address, error: 2
idStackTracer::GetSource: Failed
No address, error: 2
idStackTracer::GetSource: Failed
No address, error: 2
idStackTracer::GetSource: Failed
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.