Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UE4 Editor doesn't open on Linux - OpenGL 3.2 Context SDL Error

The building of the source code occurs without any problem. But when I run the command for the Editor it just crashes without even opening it. The terminal shows this output:

 Using binned.
 Increasing per-process limit of core file size to infinity.
 LogInit:Display: Running engine without a game
 LogInit: Version: 4.7.2-0+++depot+UE4-Releases+4.7
 LogInit: API Version: 0
 LogInit: Compiled (64-bit): Mar  5 2015 01:11:00
 LogInit: Compiled with Clang: 3.5.0 (tags/RELEASE_350/final)
 LogInit: Build Configuration: Development
 LogInit: Branch Name: ++depot+UE4-Releases+4.7
 LogInit: Command line: 
 LogInit: Base directory: /home/gferraz/UnrealEngine/Engine/Binaries/Linux/
 LogInit: Rocket: 0
 [2015.03.05-04.40.12:915][  0]LogTaskGraph: Started task graph with 3 named threads and 4 total threads.
 [2015.03.05-04.40.12:924][  0]LogOnline:Warning: No default platform service specified for OnlineSubsystem
 [2015.03.05-04.40.13:048][  0]LogInit: Presizing for 0 objects not considered by GC, pre-allocating 0 bytes.
 [2015.03.05-04.40.13:056][  0]LogInit: Object subsystem initialized
 [2015.03.05-04.40.13:058][  0]LogInit: Initializing SDL.
 libGL error: No matching fbConfigs or visuals found
 libGL error: failed to load driver: swrast
 [2015.03.05-04.40.13:280][  0]LogInit: Display metrics:
 [2015.03.05-04.40.13:280][  0]LogInit:   PrimaryDisplayWidth: 1366
 [2015.03.05-04.40.13:280][  0]LogInit:   PrimaryDisplayHeight: 768
 [2015.03.05-04.40.13:280][  0]LogInit:   PrimaryDisplayWorkAreaRect:
 [2015.03.05-04.40.13:280][  0]LogInit:     Left=0, Top=0, Right=1366, Bottom=768
 [2015.03.05-04.40.13:280][  0]LogInit:   VirtualDisplayRect:
 [2015.03.05-04.40.13:280][  0]LogInit:     Left=0, Top=0, Right=1366, Bottom=768
 [2015.03.05-04.40.13:280][  0]LogInit:   TitleSafePaddingSize: X=0.000 Y=0.000
 [2015.03.05-04.40.13:280][  0]LogInit:   ActionSafePaddingSize: X=0.000 Y=0.000
 [2015.03.05-04.40.13:280][  0]LogInit:   Number of monitors: 1
 [2015.03.05-04.40.13:280][  0]LogInit:     Monitor 0
 [2015.03.05-04.40.13:280][  0]LogInit:       Name: 1619w 16"
 [2015.03.05-04.40.13:280][  0]LogInit:       ID: display0
 [2015.03.05-04.40.13:281][  0]LogInit:       NativeWidth: 1366
 [2015.03.05-04.40.13:281][  0]LogInit:       NativeHeight: 768
 [2015.03.05-04.40.13:281][  0]LogInit:       bIsPrimary: true
 [2015.03.05-04.40.13:281][  0]LogInit: Selected Device Profile: [Linux]
 [2015.03.05-04.40.13:281][  0]LogInit: Applying CVar settings loaded from the selected device profile: [Linux]
 [2015.03.05-04.40.13:284][  0]LogInit: Linux hardware info:
 [2015.03.05-04.40.13:284][  0]LogInit:  - this process' id (pid) is 8189, parent process' id (ppid) is 32536
 [2015.03.05-04.40.13:284][  0]LogInit:  - we are not running under debugger
 [2015.03.05-04.40.13:284][  0]LogInit:  - machine network name is 'gferraz-mint'
 [2015.03.05-04.40.13:284][  0]LogInit:  - we're logged in locally
 [2015.03.05-04.40.13:284][  0]LogInit:  - Number of physical cores available for the process: 2
 [2015.03.05-04.40.13:284][  0]LogInit:  - Number of logical cores available for the process: 4
 [2015.03.05-04.40.13:284][  0]LogInit:  - Memory allocator used: binned
 [2015.03.05-04.40.13:284][  0]LogInit: Linux-specific commandline switches:
 [2015.03.05-04.40.13:284][  0]LogInit:  -nodwarf (currently OFF): suppress parsing of DWARF debug info (callstacks will be generated faster, but won't have line numbers)
 [2015.03.05-04.40.13:284][  0]LogInit:  -ansimalloc - use malloc()/free() from libc (useful for tools like valgrind and electric fence)
 [2015.03.05-04.40.13:284][  0]LogInit:  -jemalloc - use jemalloc for all memory allocation
 [2015.03.05-04.40.13:284][  0]LogInit:  -binnedmalloc - use binned malloc  for all memory allocation
 [2015.03.05-04.40.13:284][  0]LogInit:  -httpproxy=ADDRESS:PORT - redirects HTTP requests to a proxy (only supported if compiled with libcurl)
 [2015.03.05-04.40.13:284][  0]LogInit:  -reuseconn - allow libcurl to reuse HTTP connections (only matters if compiled with libcurl)
 [2015.03.05-04.40.13:284][  0]LogInit:  -virtmemkb=NUMBER - sets process virtual memory (address space) limit (overrides VirtualMemoryLimitInKB value from .ini)
 [2015.03.05-04.40.13:284][  0]LogInit:  - Physical RAM available (not considering process quota): 8 GB (7967 MB, 8159104 KB, 8354922496 bytes)
 **Fatal error: [File:/home/gferraz/UnrealEngine/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'
 [2015.03.05-04.40.13:359][  0]LogLinux:Error: appError called: _PlatformCreateOpenGLContextCore - Could not create OpenGL 3.2 context, SDL error: 'Could not create GL context'
 Signal 11 caught.
 EngineCrashHandler: Signal=11
 [2015.03.05-04.40.13:474][  0]LogLinux: === Critical error: ===
 Unhandled Exception: SIGSEGV: invalid attempt to access memory at address 0x00000003
 [2015.03.05-04.40.13:474][  0]LogLinux: _PlatformCreateOpenGLContextCore - Could not create OpenGL 3.2 context, SDL error: 'Could not create GL context'**
 [Callstack]  02  0x00007f2dcda68895  ReportCrash(FLinuxCrashContext const&)
 [Callstack]  03  0x0000000000429840  EngineCrashHandler(FGenericCrashContext const&)
 [Callstack]  04  0x00007f2dcda6b65b  PlatformCrashHandler(int, siginfo_t*, void*)
 [Callstack]  05  0x00007f2dce4a2340  /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f2dce4a2340]
 [Callstack]  06  0x00007f2dcda74567  FOutputDeviceLinuxError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&)
 [Callstack]  07  0x00007f2dcdb0b1e1  FMsg::Logf(char const*, int, FName const&, ELogVerbosity::Type, wchar_t const*, ...)
 [Callstack]  08  0x00007f2dab0af578  /home/gferraz/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-OpenGLDrv.so(+0x7a578) [0x7f2dab0af578]
 [Callstack]  09  0x00007f2dab089848  PlatformInitOpenGL()
 [Callstack]  10  0x00007f2dc88fdbdb  PlatformCreateDynamicRHI()
 [Callstack]  11[2015.03.05-04.40.13:475][  0]LogExit: Executing StaticShutdownAfterError
 Starting ../../../engine/binaries/linux/crashreportclient
 [2015.03.05-04.40.13:476][  0]LogGenericPlatformMisc: FPlatformMisc::RequestExit(1)
 Aborted (core dumped)
Product Version: Not Selected
more ▼

asked Mar 05 '15 at 04:50 AM in Bug Reports

avatar image

6 1 2 2

avatar image SKorolchuk Mar 11 '15 at 02:16 PM

I can advice you to install SDL library from sources https://www.libsdl.org/ or from third-party libraries that located in Unreal Engine repository. It may be helps you.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Hey GFerraz-

This crash is being investigated (UE-11671) to determine the exact cause. Please let us know if you are also having this error when using a another version of the engine?


Doug Wilson

more ▼

answered Mar 11 '15 at 07:12 PM

avatar image GFerraz Mar 19 '15 at 02:09 AM

I was busy for a while. But I will have a try with other versions and see the results.

Cheers, GFerraz

avatar image qdelpeche Apr 13 '15 at 12:12 PM

I am getting this error on 4.7.4 off Ubuntu 14.04 64 Bit. Just ran it this morning and I am still getting it.

avatar image Doug E ♦♦ STAFF Apr 13 '15 at 01:57 PM

Hey qdelpeche-

What graphics card and drivers are you using? Did you try creating the 3.2 context with a standalone program as RCL suggested below?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

What are you drivers and graphics card?

more ▼

answered Mar 18 '15 at 08:21 PM

avatar image

2.7k 59 6 88

avatar image GFerraz Mar 19 '15 at 02:06 AM

My graphics card is a ATI Radeon HD6770 GDDR5 1GB. The driver it's the AMD proprietary version 14.12.

avatar image RCL STAFF Apr 01 '15 at 07:30 PM

If your drivers cannot create 3.2 OpenGL context that is a showstopper for the editor. Try creating 3.2 context with a standalone program (like this one - https://www.opengl.org/wiki/Tutorial1:_Creating_a_Cross_Platform_OpenGL_3.2_Context_in_SDL_%28C_/_SDL%29) to double check that this is not Unreal Engine-related.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question