UE 5.1 preview 2 poor performance in Vulkan (Arch Linux)

I’m using Arch Linux
Kernel 6.0.7
Nvidia driver 515.76
UE 5.1 preview 2

I do have UE 5.0.3. I can run the 3rd person shooter sample project in Play mode with 30+ FPS in this version. But this version got so many bugs that make the Editor crashes whenever change view modes to Wireframe and to Orthographic mode. That’s why I moved on to version 5.1. And it’s all fixed now, but it cost in Vulkan performance I guess. It cut the performance by 99% in this 3rd person project (or any projects) from 30+FPS to 3 FPS.

Here is the log output when going in to Play mode:

LogVulkanRHI: Warning: Failed to allocate Device Memory

Is it actually bug or something to do with my system?
Can it be fixed?

Thanks.

Nvidia driver 525.53 was releced earlyer this month , you tried updating to it, it did made things a bit more stable in ue 5.0.3

already update the driver to 525. the performance still not good in version 5.1. the FPS project fps still unplayable (3-9 fps). the viewport only can reach 25-30 fps.
the LogVulkanRHI: Warning: Failed to allocate Device Memory still persist.
i tried on both Arch linux and Ubuntu 22.04. and both give the same result/Warning.

still having issues getting 5.1 to import my 5.0.3 project so not had chance to test it properly yet , but yea where i have had sucess i have also noticed its takeing a lot longer to compile the shaders , and shaders are where most of the issues seem to be with

it appears that a lot of it is to do with D3D shader model 5 beeing “sort of dropped” in favour of D3D shader model 6, in the preview render settings , and the fact that in linux it now sets it to disable preview when i create a new project

but monitoring core cpu usage performance issue seems to be down to the shader compile, that is now starts using 8 cores and then drops to only useing 2 cores where it appeared to be more distributed accross the cores in 5.0.3 all the way though , that alone would account for it takeing twice as long to compile the shaders and the performance issues , as how to fix it unsure as yet , but i did read its posible to start the editor and force the default preview render settings,

just if i try to change it from all but the “default” disable preview render settings it sets when creating a new project it spends ages trying to compile the shaders only to crash after the long wait

eather way im sticking with 5.0.3 for the time till i can sort out the issues i am having getting 5.1 working fully with my project

1 Like

issue seems to be down to the shader compile, that is now starts using 8 cores and then drops to only useing 2

I’m also had that issue, but in my case it just took reeealy long to compile that last 20 shaders. (Left pc working while I was out)
But I experience crashing and overall great unstably in ue5 on linux, vulkan rhi often runs out memory, performance is poor, changing screen-percentage make engine crash of unusable (brings to 1-5fps) .

I have similar problems. I’m on Linux Mint, Kernel 5.14 and after upgrading to 5.1, the editor does not even start anymore (crash with error VK_ERROR_OUT_OF_DEVICE_MEMORY)
With the older Engine version (5.0.3), everything worked relatively well.

(I’m using an Intel Iris Xe GPU, though)

How much ram do you have, and gpu ram?

32 GB Ram, but only 4 GB VRAM. I also noticed that the VRAM requirements were upped to 8 GB from 6 GB between versions 5.0.3 and 5.1. Probably nothing I can do besides getting a better GPU :smiley:

1 Like