Description

I ran into this while looking to verify [Link Removed] at CL 3355923. I logged the issue I was verifying the fix for last night and have not updated anything locally, so the "OpenGL 4.3 not supported by driver" is odd. I wonder is it should be 4.3.X?

Additionally, the splash appears, but is transparent to the point it's almost invisible. You can make out the edges of the rectangular shape.

I'm attaching the backtrace I gathered with GDB as well as the backtrace for all threads.

Steps to Reproduce

Repro:

  1. Run GPF
  2. In the root UE4 folder, open a terminal and run the command
    make all ARGS=-clean && make all
  3. From the same location run the command
    ./Engine/Binaries/Linux/UE4Editor

Result:
UE4Editor hits an assertion when the Unreal Editor splash starts to appear.

Expected:
UE4Editor opens to the Unreal Project Browser.

Callstack
LogHAL:Error: Splash screen SDL_GL_CreateContext failed: Could not create GL context: BadValue (integer parameter out of range for operation)
LogInit:Error: _PlatformCreateOpenGLContextCore - Could not create OpenGL 4.3 context, SDL error: 'Could not create GL context: BadValue (integer parameter out of range for operation)'
LogRHI:Error: OpenGL 4.3 not supported by driver
[LogInit:Error: _PlatformCreateOpenGLContextCore - Could not create OpenGL 4.3 context, SDL error: 'Could not create GL context: BadValue (integer parameter out of range for operation)'
Assertion failed: SharedContext.hGLContext [File:/media/michael/6c3df5c9-5c43-4787-8f34-4311a64c01a9/Main/Engine/Source/Runtime/OpenGLDrv/Private/Linux/OpenGLLinux.cpp] [Line: 249] 
 00  0x00007f9ac211966c  FLinuxPlatformStackWalk::CaptureStackBackTrace(unsigned long long*, unsigned int, void*)
 01  0x00007f9ac1f6aa4e  FGenericPlatformStackWalk::StackWalkAndDump(char*, unsigned long, int, void*)
 02  0x00007f9ac2119374  FLinuxPlatformStackWalk::StackWalkAndDump(char*, unsigned long, int, void*)
 03  0x00007f9ac2181d60  FDebug::LogAssertFailedMessage(char const*, char const*, int, wchar_t const*, ...)
 04  0x00007f9a7d0043b2  FPlatformOpenGLDevice::FPlatformOpenGLDevice()
 05  0x00007f9a7cfd690a  PlatformCreateOpenGLDevice()
 06  0x00007f9a7cfff499  FOpenGLDynamicRHI::FOpenGLDynamicRHI()
 07  0x00007f9a7cffef1a  FOpenGLDynamicRHIModule::CreateRHI(ERHIFeatureLevel::Type)
 08  0x00007f9ab8f4f627  PlatformCreateDynamicRHI()
 09  0x00007f9ab8f4eeb9  RHIInit(bool)
 10  0x000000000043e53b  FEngineLoop::PreInit(wchar_t const*) [/media/michael/6c3df5c9-5c43-4787-8f34-4311a64c01a9/Main/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Debug/Launch/Module.Launch.cpp, line 0]
 11  0x000000000043a802  EnginePreInit(wchar_t const*) [/media/michael/6c3df5c9-5c43-4787-8f34-4311a64c01a9/Main/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Debug/Launch/Module.Launch.cpp, line 0]
 12  0x0000000000446805  GuardedMain(wchar_t const*) [/media/michael/6c3df5c9-5c43-4787-8f34-4311a64c01a9/Main/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Debug/Launch/Module.Launch.cpp, line 0]
 13  0x00007f9ab12e7115  CommonLinuxMain(int, char**, int (*)(wchar_t const*))
 14  0x000000000045063c  main [/media/michael/6c3df5c9-5c43-4787-8f34-4311a64c01a9/Main/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Debug/Launch/Module.Launch.cpp, line 0]
 15  0x00007f9ab07ae830  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f9ab07ae830]
 16  0x000000000043a519  ./UE4Editor-Linux-Debug(_start+0x29) [0x43a519]

[2017.03.21-15.51.29:830][  0]LogLinux:Error: appError called: Assertion failed: Assertion failed: SharedContext.hGLContext [File:/media/michael/6c3df5c9-5c43-4787-8f34-4311a64c01a9/Main/Engine/Source/Runtime/OpenGLDrv/Private/Linux/OpenGLLinux.cpp] [Line: 249] 


Signal 11 caught.
Malloc Size=131076 LargeMemoryPoolOffset=131092 
CommonLinuxCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=196655 
[2017.03.21-15.51.29:920][  0]LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to write memory at address 0x0000000000000003

[2017.03.21-15.51.29:920][  0]LogLinux: Assertion failed: Assertion failed: SharedContext.hGLContext [File:/media/michael/6c3df5c9-5c43-4787-8f34-4311a64c01a9/Main/Engine/Source/Runtime/OpenGLDrv/Private/Linux/OpenGLLinux.cpp] [Line: 249] 



 00  0x00007f9ac211966c  FLinuxPlatformStackWalk::CaptureStackBackTrace(unsigned long long*, unsigned int, void*)
 01  0x00007f9ac1f6aa4e  FGenericPlatformStackWalk::StackWalkAndDump(char*, unsigned long, int, void*)
 02  0x00007f9ac21193ca  FLinuxPlatformStackWalk::StackWalkAndDump(char*, unsigned long, int, void*)
 03  0x00007f9ac2094630  FLinuxCrashContext::CaptureStackTrace()
 04  0x00007f9ab12e69d8  CommonLinuxCrashHandler(FGenericCrashContext const&)
 05  0x00007f9ac2095c01  PlatformCrashHandler(int, siginfo_t*, void*)
 06  0x00007f9ac8210390  /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7f9ac8210390]
 07  0x00007f9ac1f61663  FGenericPlatformMisc::RaiseException(unsigned int)
 08  0x00007f9ac20a0053  FOutputDeviceLinuxError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&)
 09  0x00007f9ac21eaaec  FOutputDevice::Logf(wchar_t const*, ...)
 10  0x00007f9ac2182bf7  FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...)
 11  0x00007f9a7d0043ec  FPlatformOpenGLDevice::FPlatformOpenGLDevice()
 12  0x00007f9a7cfd690a  PlatformCreateOpenGLDevice()
 13  0x00007f9a7cfff499  FOpenGLDynamicRHI::FOpenGLDynamicRHI()
 14  0x00007f9a7cffef1a  FOpenGLDynamicRHIModule::CreateRHI(ERHIFeatureLevel::Type)
 15  0x00007f9ab8f4f627  PlatformCreateDynamicRHI()
 16  0x00007f9ab8f4eeb9  RHIInit(bool)
 17  0x000000000043e53b  FEngineLoop::PreInit(wchar_t const*) [/media/michael/6c3df5c9-5c43-4787-8f34-4311a64c01a9/Main/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Debug/Launch/Module.Launch.cpp, line 0]
 18  0x000000000043a802  EnginePreInit(wchar_t const*) [/media/michael/6c3df5c9-5c43-4787-8f34-4311a64c01a9/Main/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Debug/Launch/Module.Launch.cpp, line 0]
 19  0x0000000000446805  GuardedMain(wchar_t const*) [/media/michael/6c3df5c9-5c43-4787-8f34-4311a64c01a9/Main/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Debug/Launch/Module.Launch.cpp, line 0]
 20  0x00007f9ab12e7115  CommonLinuxMain(int, char**, int (*)(wchar_t const*))
 21  0x000000000045063c  main [/media/michael/6c3df5c9-5c43-4787-8f34-4311a64c01a9/Main/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Debug/Launch/Module.Launch.cpp, line 0]
 22  0x00007f9ab07ae830  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f9ab07ae830]
 23  0x000000000043a519  ./UE4Editor-Linux-Debug(_start+0x29) [0x43a519]

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-43136 in the post.

0
Login to Vote

Non-Issue
ComponentUE - Platform - Linux
Affects Versions4.16
CreatedMar 21, 2017
ResolvedMar 21, 2017
UpdatedApr 27, 2018
View Jira Issue