I’m trying to run ue 4.19 on a headless ubuntu 16.04 without success. My card: 1080ti, nvidia driver: 390.67
I’ve installed ‘xserver-xorg-video-dummy’ and my xorg looks like this:
Section "Module"
Load "RANDR"
Load "dbe"
Load "glx"
Load "extmod"
Load "type1"
Load "freetype"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0 #Virtual monitor needs this
VertRefresh 43.0 - 72.0 #this, too
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia" #change for AMD or Intel
VendorName "NVIDIA Corporation" #this, too
Option "NoLogo" "1" #also this
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Virtual 1920 1080
Option "AllowEmptyInitialConfiguration" "True"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
Option "RANDR" "Enable"
EndSection
It works fine, I can connect to the ubuntu via vnc / teamviewer. When I am trying to run ue4 from console I got following erorr:
[2018.06.18-08.36.41:927][ 0]LogInit: Initializing SDL.
[2018.06.18-08.36.41:964][ 0]LogInit: Warning: Could not initialize SDL: XRandR support is required but not available
[2018.06.18-08.36.41:964][ 0]LogInit: Warning: FLinuxSplashState::InitSplashResources() : InitSDL() failed, there will be no splash.
[2018.06.18-08.36.41:964][ 0]LogInit: Initializing SDL.
[2018.06.18-08.36.41:992][ 0]LogInit: Warning: Could not initialize SDL: XRandR support is required but not available
[2018.06.18-08.36.41:992][ 0]LogInit: Error: FLinuxApplication::CreateLinuxApplication() : InitSDL() failed, cannot create application instance.
[2018.06.18-08.36.41:992][ 0]LogLinux: FLinuxPlatformMisc::RequestExit(bForce=true, ReturnCode=1)
[2018.06.18-08.36.41:992][ 0]LogLinux: FLinuxPlatformMisc::RequestExit(1)
But “xrandr” works from console. I also found following lines in xorg log:
[ 19.404] (II) LoadModule: "randr"
[ 19.417] (WW) Warning, couldn't open module randr
[ 19.417] (II) UnloadModule: "randr"
[ 19.417] (II) Unloading randr
[ 19.417] (EE) Failed to load module "randr" (module does not exist, 0)
[ 20.510] (--) RandR disabled