So i am trying to run UE4 on my linux machine. After folowing this unreal doc on how to make UE4 work on linux, i encounter this error when starting up the UE4Editor.
r: ‘Could not create GL context: GLXBadFBConfig’
[2015.11.28-15.10.06:549][ 0]LogLinux:Error: appError called: Assertion failed: Assertion failed: [File:/home/syyfilis/unrealDownload/UnrealEngine-release/Engine/Source/Runtime/OpenGLDrv/Private/Linux/OpenGLLinux.cpp] [Line: 183]
_PlatformCreateOpenGLContextCore - Could not create OpenGL 3.2 context, SDL error: ‘Could not create GL context: GLXBadFBConfig’
Signal 11 caught.
EngineCrashHandler: Signal=11
[2015.11.28-15.10.06:608][ 0]LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to access memory at address 0x00000003
I had exactly the same problem after doing a routine security update. I finally tried rebooting, and that did the trick for me. That was a couple three days ago, and it has been fine since.
The update I did replaced all the NVIDIA 346 stuff with NVIDIA 352 stuff. Researching the error suggests that it “is typically due to incompatible or obsolete video drivers being used by the X11 desktop.”
I have the following installed. Compare, and maybe there is a clue here:
ii libcuda1-352 352.63-0ubuntu0.14.04.1 amd64 NVIDIA CUDA runtime library
ii nvidia-352 352.63-0ubuntu0.14.04.1 amd64 NVIDIA binary driver - version 352.63
ii nvidia-opencl-icd-352 352.63-0ubuntu0.14.04.1 amd64 NVIDIA OpenCL ICD
ii nvidia-prime 0.6.2 amd64 Tools to enable NVIDIA's Prime
ii nvidia-settings 331.20-0ubuntu8 amd64 Tool for configuring the NVIDIA graphics driver
Excuse me. Wrong list. What I mean to show is that I have a bunch of 346 → 352 transitional packages that all have 352 version numbers. Maybe this is a clue somehow:
ii libcuda1-352 352.63-0ubuntu0.14.04.1 amd64 NVIDIA CUDA runtime library
ii nvidia-346 352.63-0ubuntu0.14.04.1 amd64 Transitional package for nvidia-346
ii nvidia-352 352.63-0ubuntu0.14.04.1 amd64 NVIDIA binary driver - version 352.63
ii nvidia-opencl-icd-346 352.63-0ubuntu0.14.04.1 amd64 Transitional package for nvidia-opencl-icd-352
ii nvidia-opencl-icd-352 352.63-0ubuntu0.14.04.1 amd64 NVIDIA OpenCL ICD