Salut à tous,
Me revoilà (encore) avec un nouveau problème que j’ai depuis maintenant 2 mois mais je pense que je vois la lumière au bout du tunnel 
Je vous explique:
En ayant compilé Unreal Engine 4.8 depuis Github la compilation se passe très bien sans erreur, mais lorsque je lance UE4Editor pour ouvrir l’éditeur
il crash sans rien ouvrir.
voici les logs lorsque je l’ouvre à partir d’un terminal:
[code] Using binned.
Increasing per-process limit of core file size to infinity.
[2015.08.21-08.26.55:161][ 0]LogInit:Display: Running engine without a game
[2015.08.21-08.26.55:161][ 0]LogInit:Display: RandInit(1382129551) SRandInit(1382129556).
[2015.08.21-08.26.55:161][ 0]LogTaskGraph: Started task graph with 4 named threads and 7 total threads.
[2015.08.21-08.26.55:161][ 0]LogStats: Stats thread started
[2015.08.21-08.26.55:161][ 0]LogInit: Version: 4.8.3-0+++depot+UE4-Releases+4.8
[2015.08.21-08.26.55:161][ 0]LogInit: API Version: 0
[2015.08.21-08.26.55:161][ 0]LogInit: Compiled (64-bit): Aug 18 2015 10:28:12
[2015.08.21-08.26.55:161][ 0]LogInit: Compiled with Clang: 3.5.0 (tags/RELEASE_350/final)
[2015.08.21-08.26.55:161][ 0]LogInit: Build Configuration: Debug
[2015.08.21-08.26.55:161][ 0]LogInit: Branch Name: ++depot+UE4-Releases+4.8
[2015.08.21-08.26.55:161][ 0]LogInit: Command line:
[2015.08.21-08.26.55:161][ 0]LogInit: Base directory: /ramdisk/UnrealEngine/Engine/Binaries/Linux/
[2015.08.21-08.26.55:161][ 0]LogInit: Rocket: 0
[2015.08.21-08.26.55:191][ 0]LogInit: Using libcurl 7.38.0
[2015.08.21-08.26.55:191][ 0]LogInit: - built for x86_64-unknown-linux-gnu
[2015.08.21-08.26.55:191][ 0]LogInit: - supports SSL with OpenSSL/1.0.1i
[2015.08.21-08.26.55:191][ 0]LogInit: - supports HTTP deflate (compression) using libz 1.2.5
[2015.08.21-08.26.55:191][ 0]LogInit: - other features:
[2015.08.21-08.26.55:191][ 0]LogInit: CURL_VERSION_SSL
[2015.08.21-08.26.55:191][ 0]LogInit: CURL_VERSION_LIBZ
[2015.08.21-08.26.55:191][ 0]LogInit: CURL_VERSION_IPV6
[2015.08.21-08.26.55:191][ 0]LogInit: CURL_VERSION_ASYNCHDNS
[2015.08.21-08.26.55:191][ 0]LogInit: CURL_VERSION_LARGEFILE
[2015.08.21-08.26.55:191][ 0]LogInit: CURL_VERSION_TLSAUTH_SRP
[2015.08.21-08.26.55:192][ 0]LogInit: Libcurl: checking if ‘/etc/pki/tls/certs/ca-bundle.crt’ exists
[2015.08.21-08.26.55:192][ 0]LogInit: Libcurl: checking if ‘/etc/ssl/certs/ca-certificates.crt’ exists
[2015.08.21-08.26.55:193][ 0]LogInit: CurlRequestOptions (configurable via config and command line):
[2015.08.21-08.26.55:193][ 0]LogInit: - bVerifyPeer = true - Libcurl will verify peer certificate
[2015.08.21-08.26.55:193][ 0]LogInit: - bUseHttpProxy = false - Libcurl will NOT use HTTP proxy
[2015.08.21-08.26.55:193][ 0]LogInit: - bDontReuseConnections = false - Libcurl will reuse connections
[2015.08.21-08.26.55:193][ 0]LogInit: - CertBundlePath = /etc/ssl/certs/ca-certificates.crt - Libcurl will set CURLOPT_CAINFO to it
[2015.08.21-08.26.55:213][ 0]LogOnline:Warning: No default platform service specified for OnlineSubsystem
[2015.08.21-08.26.55:335][ 0]LogInit: Presizing for 0 objects not considered by GC, pre-allocating 0 bytes.
[2015.08.21-08.26.55:374][ 0]LogInit: Object subsystem initialized
[2015.08.21-08.26.55:381][ 0]LogInit: Initializing SDL.
No protocol specified
[2015.08.21-08.26.55:389][ 0]LogInit:Warning: Could not initialize SDL: No available video device
[2015.08.21-08.26.55:389][ 0]LogInit:Warning: FDisplayMetrics::GetDisplayMetrics: PlatformInitMultimedia() failed, cannot get display metrics
[2015.08.21-08.26.55:392][ 0]LogInit: Selected Device Profile: [Linux]
[2015.08.21-08.26.55:392][ 0]LogInit: Applying CVar settings loaded from the selected device profile: [Linux]
[2015.08.21-08.26.55:420][ 0]LogInit: Linux hardware info:
[2015.08.21-08.26.55:420][ 0]LogInit: - this process’ id (pid) is 2541, parent process’ id (ppid) is 2496
[2015.08.21-08.26.55:420][ 0]LogInit: - we are not running under debugger
[2015.08.21-08.26.55:420][ 0]LogInit: - machine network name is ‘DebianAdmin-PC’
[2015.08.21-08.26.55:420][ 0]LogInit: - we’re logged in locally
[2015.08.21-08.26.55:420][ 0]LogInit: - Number of physical cores available for the process: 4
[2015.08.21-08.26.55:420][ 0]LogInit: - Number of logical cores available for the process: 8
[2015.08.21-08.26.55:421][ 0]LogInit: - Memory allocator used: binned
[2015.08.21-08.26.55:421][ 0]LogInit: Linux-specific commandline switches:
[2015.08.21-08.26.55:421][ 0]LogInit: -nodwarf (currently OFF): suppress parsing of DWARF debug info (callstacks will be generated faster, but won’t have line numbers)
[2015.08.21-08.26.55:421][ 0]LogInit: -ansimalloc - use malloc()/free() from libc (useful for tools like valgrind and electric fence)
[2015.08.21-08.26.55:421][ 0]LogInit: -jemalloc - use jemalloc for all memory allocation
[2015.08.21-08.26.55:421][ 0]LogInit: -binnedmalloc - use binned malloc for all memory allocation
[2015.08.21-08.26.55:421][ 0]LogInit: -httpproxy=ADDRESS:PORT - redirects HTTP requests to a proxy (only supported if compiled with libcurl)
[2015.08.21-08.26.55:421][ 0]LogInit: -reuseconn - allow libcurl to reuse HTTP connections (only matters if compiled with libcurl)
[2015.08.21-08.26.55:421][ 0]LogInit: -virtmemkb=NUMBER - sets process virtual memory (address space) limit (overrides VirtualMemoryLimitInKB value from .ini)
[2015.08.21-08.26.55:421][ 0]LogInit: Setting LC_NUMERIC to en_US
[2015.08.21-08.26.55:421][ 0]LogInit: Initializing SDL.
No protocol specified
[2015.08.21-08.26.55:427][ 0]LogInit:Warning: Could not initialize SDL: No available video device
[2015.08.21-08.26.55:427][ 0]LogInit: - Physical RAM available (not considering process quota): 20 GB (20074 MB, 20556104 KB, 21049450496 bytes)
[2015.08.21-08.26.55:457][ 0]LogTextLocalizationManager: The requested culture (‘fr_FR’) has no localization data; falling back to ‘en’ for localization and internationalization data.
[2015.08.21-08.26.55:876][ 0]LogTextLocalizationManager:Warning: Loaded localization resources contain conflicting entries for (Namespace:ContentBrowser, Key:ImportAssetToolTip):
Localization Resource: (/ramdisk/UnrealEngine/Engine/Content/Localization/Editor/en/Editor.locres) Source String Hash: (-630476809) Localized String: (Import to {0}…)
Localization Resource: (/ramdisk/UnrealEngine/Engine/Content/Localization/Editor/en/Editor.locres) Source String Hash: (1271782899) Localized String: (Imports an asset from file to this folder.)
[2015.08.21-08.26.56:156][ 0]LogInit: Initializing SDL.
No protocol specified
[2015.08.21-08.26.56:166][ 0]LogInit:Warning: Could not initialize SDL: No available video device
[2015.08.21-08.26.56:166][ 0]LogInit:Warning: LinuxSplash_InitSplashResources() : PlatformInitMultimedia() failed, there will be no splash.
[2015.08.21-08.26.56:166][ 0]LogInit: Initializing SDL.
No protocol specified
[2015.08.21-08.26.56:175][ 0]LogInit:Warning: Could not initialize SDL: No available video device
Fatal error: [File:/ramdisk/UnrealEngine/Engine/Source/Runtime/Core/Private/Linux/LinuxApplication.cpp] [Line: 36]
FLinuxApplication::CreateLinuxApplication() : PlatformInitMultimedia() failed, cannot create application instance.
[2015.08.21-08.26.56:175][ 0]LogLinux:Error: appError called: Assertion failed: Assertion failed: [File:/ramdisk/UnrealEngine/Engine/Source/Runtime/Core/Private/Linux/LinuxApplication.cpp] [Line: 36]
FLinuxApplication::CreateLinuxApplication() : PlatformInitMultimedia() failed, cannot create application instance.
Signal 11 caught.
EngineCrashHandler: Signal=11
[2015.08.21-08.26.56:391][ 0]LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to access memory at address 0x00000003
[2015.08.21-08.26.56:391][ 0]LogLinux: Assertion failed: Assertion failed: [File:/ramdisk/UnrealEngine/Engine/Source/Runtime/Core/Private/Linux/LinuxApplication.cpp] [Line: 36]
FLinuxApplication::CreateLinuxApplication() : PlatformInitMultimedia() failed, cannot create application instance.
[Callstack] 02 0x00007f9966baad03 ReportCrash(FLinuxCrashContext const&)
[Callstack] 03 0x00000000004af00b EngineCrashHandler(FGenericCrashContext const&) [Runtime/Core/Public/Math/UnrealMathSSE.h, line 0]
[Callstack] 04 0x00007f9966bb4638 PlatformCrashHandler(int, siginfo_t*, void*)
[Callstack] 05 0x00007f9967a348d0 /lib/x86_64-linux-gnu/libpthread.so.0(+0xf8d0) [0x7f9967a348d0]
[Callstack] 06 0x00007f9966bc78bf FOutputDeviceLinuxError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&)
[Callstack] 07 0x00007f9966e1e62c FOutputDevice::Logf(wchar_t const*, ...)
[Callstack] 08 0x00007f9966db22eb FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...)
[Callstack] 09 [2015.08.21-08.26.56:391][ 0]LogExit: Executing StaticShutdownAfterError
Starting ../../../engine/binaries/linux/crashreportclient
[2015.08.21-08.26.56:398][ 0]LogGenericPlatformMisc: FPlatformMisc::RequestExit(1)
Abandon (core dumped)
[/code]
Voici ma config:
GTX 770 pour 1 écran,GT 530 pur deux autres;
I7 3770K;
20GB RAM;
Carte mère: P8Z 77 V leplus ;
Alim CX750 Corsair;
SSD Samsung 840 PRO 256Go
Au niveau des drivers nvidia j’utilise actuellement le 355.06 mais j’ai auparavant eu l’occasion de tester avec les
drivers 340.65 et352.30.
En deux mois vous imaginer bien que j’ai eu le temps de chercher sur le net, de demander de l’aide sur le forum “answers”
de Epic Games ainsi que sur reddit et de faire beaucoup,
beaucoup de test dans différentes conditions (je pense que je dois approcher les 60 heures à essayer de résoudre
le problème ![]()
J’ai deux post où j’expose mon problème:
answers.unrealengine.com/questi … e-sdl.html
reddit.com/r/unrealengine/c … initialize
J’ai testé avec un seul écran plus 1 seul GPU, j’ai testé avec des drivers différents, j’ai testé avec ou sans Xinemara,
j’ai testé en compilant SDL depuis les sources (et à chaque fois je recompilais UE4 et ré-démarrais pour être sur que le test était bien valide);
j’ai aussi testé en désinstallant libsdl1.2debian qui du coup désinstallait kde et quelques programmes (blender, amarok…).
J’ai testé avec ou sans les effets de bureau activé dans KDE,
j’ai testé en changeant le mode d’affichage composite en le passant de OpenGL3.1 à 2.0, 1.2 ou Xrender.
C’est en installant un autre environnement de bureau que c’est devenu intéressant.
J’ai installé Gnome et testé mais ça n’a pas fonctionner: toujours le même problème.
Mais en désinstallant libsdl1.2debian, j’ai désinstallé KDE sans vraiment le vouloir.
Avant de le réinstaller, j’ai eu l’idée de retester sur Gnome et UE4Editor s’est lancé à merveille et fonctionnait impeccablement.
Lorsque j’ai réinstallé KDE, il ne marchait plus ni sur ce dernier ni sur gnome. En ayant KDE désinstallé mais libsdl1.2debian installé,
j’ai pu exclure la théorie que c’était ce dernier paquet qui créait le problème, vu que UE4Editor se lançait très bien sur gnome.
Voilà un peu où j’en suis: UE4Editor se lance sur Gnome lorsque KDE n’est pas installé,
et ne se lance pas sur KDE que Gnome soit installé ou non.
Donc je me demande si KDE posséderai un paquet qui empêcherait le lancement d’UE4Editor.
Mais il se peut aussi que ce soit un paramètre propre à KDE qu’il suffirait juste de désactiver dans “Configuration du système” ou quelque chose comme ça.
Si vous avez des idées je suis à l’écoute.
Si vous n’avez pas d’idée vous pouvez essayer d’installer Unreal Engine 4 (gratuit et open source mais pas libre,
voir unrealengine.com pour plus d’info ) si vous ne l’avez pas et de le tester sur KDE ou même un autre environnement de bureau,
tout en indiquant votre configuration, bien sur si vous obtenez la même erreur et les informations que vous pensez être utile de rajouter.
Ça me serait d’une grande aide et m’aiderais à mieux comprendre si c’est ou non la faute de KDE et peut-être comment corriger ce problème.
La solution simpliste serait que je passe sous gnome ou un autre environnement qui marcherait aussi mais ça fait maintenant 3 mois que j’utilise KDE,
que je commence à beaucoup mieux le connaître et que je l’ai personnalisé pour le rendre bien classe et glorieux
.
Donc ça ne m’arrange pas, surtout qu’il me faudrait à peu près autant de temps pour me ré-habituer,
et puis ça serait un peu comme fuir le problème alors qu’il y a forcément une solution 