UE4 on Linux shading incorrectly?

Wasn’t really sure where to post this, so it’s ended up here

I’ve just installed UE4 on my Ubuntu based system (actually Elementary OS Freya) and I’ve opened up the FirstPersonExample, this is how it looks…

If I turn on Scene Colour Buffer Visualisation it looks like this…

Does anyone know what’s going on here? I tried deleting the DerivedDataCache directories in the project and also the engine dir, it rebuilt the shaders etc but still everything is messed up.

Moved post to the Rendering thread … “For discussions about Materials, Textures, Lighting, Particle Systems, and Post Process Effects.”.

So turns out my Nvidia video card supports the shaders in DirectX mode but not in OpenGL (no use to me in Linux), if I switch to OpenGL ES it looks properly coloured albeit without a lot of effects. I’ll try with an AMD gpu I have later on.

Which drivers are you using? Mesa? Prop.? Driver Number?

OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Quadro FX 4800/PCIe/SSE2
OpenGL core profile version string: 3.3.0 NVIDIA 331.113
OpenGL core profile shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.3.0 NVIDIA 331.113
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:

It’s an old card, in an old computer, a Dell Precision T5400 with two Quad 3 Ghz Xeons and 16GB ram. Quite the supercomputer in it’s day, and still faster than most computers from 2015 I’ve used even though it’s Core2 era.

Actually, it looks like the card does support shader version 3.3 using the glxinfo command, but when I start UE4Editor it shows this:

[2015.07.16-08.33.23:579] 0]LogRHI: Initializing OpenGL RHI
[2015.07.16-08.33.23:579] 0]LogRHI: GL_VENDOR: NVIDIA Corporation
[2015.07.16-08.33.23:579] 0]LogRHI: GL_RENDERER: Quadro FX 4800/PCIe/SSE2
[2015.07.16-08.33.23:579] 0]LogRHI: GL_VERSION: 3.2.0 NVIDIA 331.113
[2015.07.16-08.33.23:579] 0]LogRHI: GL_SHADING_LANGUAGE_VERSION: 1.50 NVIDIA via Cg compiler