Pretty Bad Lag on Linux

It seems that after I believe Patch E, the lag on Linux has been really bad. Like unplayable levels. I often experience huge lag spikes where I literally can’t move. My internet speed is decent and I’m running a 6700XT so it shouldn’t be that either and the patches before had no issues so not sure why but it’s causing massive headaches.

1 Like

That’s unfortunate, I don’t know much about Linux. All I could recommend is to try verifying/repairing the games files.

Thanks for the suggestion. Unfortunately I’ve already done that. And the game files have routinely validated themselves but it doesn’t seemed to have changed much. It’s unfortunate because I thought having a brand new GPU would’ve helped and the fact it was running alright previously.

LE is a really great game but the lag really does make the game basically unplayable because I can’t avoid enemy attacks or move and just keep dying because of that.

That’s weird. Did the game run fine before patch e?

Hey there…

While LE’s Linux (and general) performance has some way to go, if you do a search in the bug/tech section you might find some Linux based suggestions to improve performance…

Unlike Windows, LE can be played on linux in various ways using various graphical engines like OpenGL and drivers/distros all impact and require different setups and configuration tweaking to get the best solution for your hardware… MESA drivers and AMD GPus have issues, Steam/Proton seems very smooth for some and rubbish for others…

Getting Linux to work is possible… getting it to work well requires a real mechanics under the hood approach at the moment…

Yeah ran a lot better. Which is why I suspect something changed in the patch

It’s been working. Problem is just working well as you said. It’s just odd it ran quite a bit better in the early days of 0.8.4

The devs always make under the hood changes with new revisions and 0.8.4 is definitely not any different… I find that 0.8.4 is a few frames per second on average slower than the previous patch on Windows 10… not enough to make me annoyed but enough for me to see it in my monitoring - granted, I do take note of things like this more than the average player…

They have added more and tweaked a lot of things that impact on performance so I am willing to let it slide… In the past they have had performance issues far worse with new patches that needed prompt hotfixing so on the whole 0.8.4 isnt that bad…

You might find tweaking a setting or two helps with the changes - even something as simple as disabling grass might make a difference… maybe even seeing if there have been any GPU /graphic subsystem related updates for your distro/gpu type that could be involved… as I said, Linux is never simple unless something works perfectly out of the box…

Remember also that you need to be conserative with settings to improve overall stabiliy and performance… for example, having a lower max framerate limit, helps tremendously at reducing the size of lag spikes by keeping the GPU usage not maxed out all the time… This keeps things smoother and the average fps more predicatable than aiming for something like 144 fps and having huge 60fps spikes when 75fps caps only has 10fps spikes… LE at the moment does seriously odd things if you let it max out your GPU all the time…

I’ve set the graphics to low, have grass turned off, limited my FPS to 60, turned down shadows as well.

I’m just highlighting this is literally a game-breaking issue for me because I literally cannot play 5 minutes without the game lagging to oblivion. If it were just some slight lag I would continue soldiering on and not come to the Forum.

I’m aware games don’t function as well on Linux in general and I do update my drivers on a regular enough basis that that’s not the problem, but the key issue is mainly it was working okay and then it wasn’t.

With those kinds of settings and the game lagging “to oblivion” I’d say that there is a specific issue with the game on your specific setup (hardware/distro/drivers/configs)… especially if that is happening on any and all maps / game areas and cannot be traced to a specific skill/build/item use. Performance issues might be a skill that causes it when it procs a special graphical effect, a specific map or repeated map feature or even a specific item (yes, there have been uniques that cause performance issues)… It may even be that a recent upgrade of a driver/system component is involved and needs to be rolled back to an older version… Could be anything…

Maybe post a bug /tech section message with your player.log, system info with details on drivers etc (steam on linux has a function to do this easily), le_graphicsmanager.ini etc… Useful files - Last Epoch Support Hub

Maybe Linux players like @vonGorre or @Catweasel @ripper81 can offer specific input / suggestions based on that info…

Like mentioned in other threads the game has not been optimized for performance. This is a problem even on Windows. Sadly the linuxversion seems to suffer even more in that regard especially if you are running an AMD GPU with the opensource drivers AMDGPU+MESA.

Since i don’t know which distro you are running i can only advice you to upgrade your MESA drivers to the latest stable release (MESA 21.3.2). If you are on (U)buntu or on distro based on Ubuntu (Mint,Zorin, Elementary…) you can add the following ppa to your software repos to keep MESA up to date:

Once you have updated the MESA drivers you should force the game to use Vulkan instead of OpenGL for 3D rendering. Select Last Epoch in your steamlibrary and enter the steam gamesettings. Then enter the following as a startcommand for the game:

-force-vulkan

You can optimize the performance further by enabling vulkan shader processing within the shader pre-caching settings in the general steam settings.

You can also use feral gamemode to optimize your performance:

1 Like

Thanks for the assistance. I run Archlinux but I’ll try out the force-vulkan setting.

The command is:

-force-vulkan

Please reply if this helps with the performance of the game.

It seemed to cause some issues with loading the game (I did type it correctly in the actual settings), but it seems that the gamemode stuff has improved performance by a decent margin. Thanks for the assistance.

It seems the -force-vulkan does work but only with Steam and only on supported GPUs.

In my case, with a 1650S the game won’t launch and complains about a number of shaders not being available:

WARNING: Shader Unsupported: ‘FT/UVscroll’ - All passes removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
ERROR: Shader FT/UVscroll shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: ‘FT/UVscroll_Fresnel’ - All passes removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
ERROR: Shader FT/UVscroll_Fresnel shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: ‘FT/Simple’ - All passes removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
ERROR: Shader FT/Simple shader is not supported on this GPU (none of subshaders/fallbacks are suitable)

Numerous others.

No idea how to troubleshoot this one. Vulkaninfo says I have 1.2.6.0 conformance. OpenGL support is 4.6 and OpenGL ES 3.2. I’ve not found anything useful on-line.

The option doesn’t seem to do anything on the native launcher.

You can test DXVK. It has good results with some games even in Windows: GitHub - doitsujin/dxvk: Vulkan-based implementation of D3D9, D3D10 and D3D11 for Linux / Wine
GitHub - Sporif/dxvk-async

If you’re running LE through Steam/Proton DXVK should be enabled by default. Not sure if it will have much impact running the Linux version through Steam or Natively.

In the past the game worked with -force-vulkan on Nvidia GPU’s. It was broken (graphical corruption) on AMD GPU’s with the MESA drivers. Now it seems that things have changed the other way around. I don´t know what has changed though. Mangohud is showing me that Vulkan is used on my system when -force-vulkan is set.20211230074327_1.zip (528.7 KB)

While it is not officially supported to use Vulkan with the game it betters performance on my system in a drastic way. For those on an Nvidia GPU i recommend forcing SteamPlay/Proton experimental on the game. In theory the windowsversion of the game should run worse than the native build because the directx calls need to be translated to Vulkan but it runs way better nonetheless.

Unfortunately, when using Steam Play/Proton (experimental/GE) I get literally 1 FPS. And trying to use Vulkan results in:

Forcing GfxDevice: Vulkan
Forced GfxDevice ‘Vulkan’ was not built from editor, shaders will not be available

(Filename: Line: 661)

InitializeEngineGraphics failed
PlayerInitEngineGraphics: InitializeEngineGraphics failed

That’s as far as it gets.

Playing with the stand-alone Linux client works pretty well. Performance is reasonable and quite stable. The only problem is the memory it uses. I posted elsewhere here today, just launching the game takes 11+GB compared to running the Windows version under Proton, which uses less then 5GB.

I have no idea what’s going on with this. It could be an openSUSE thing or a hardware mismatch but PoE with Steam/Proton/Vulkan works really well.

Maybe a clean reinstall helps. You should also search for the steam app id of the game over here https://steamdb.info/ and remove everything related to it including the hidden configfiles in your home directory.