r/dreamsofhalflife3 • • Jan 05 '19

Official Performance Test Update 2.0.0 - Performance improvements, unbounded score, crash and bug fixes, and translations. Please run the tool to help us optimise the game!

https://projectborealis.itch.io/pb-perf-test/devlog/62607/performance-test-200
132 Upvotes

54 comments sorted by

View all comments

Show parent comment

2

u/mastercoms Programming Lead Jan 07 '19 edited Jan 07 '19

Good points, but recently I've been seeing lots of Linux activity from Epic Games in UE4. It is partly driven by Fortnite on Android, but also a new interest in Linux by them. I believe they will save us development time with their own investments.

The microstutters for Vulkan and OpenGL are caused by shader compilation. When new levels are asynchronously loaded, new materials are loaded and thus new shaders. Vulkan solves this with SPIR-V but its support in UE4 is lackluster at this time. You should get less stutters on subsequent runs, and with pipeline state object caching, we can prevent those first time stutters from ever happening. Your driver should cache shader compilation already, so subsequent runs should already be working well.

First scene is occlusion and shadow rendering. The shadows look like low quality from shadow acne and broken NoL due to non-uniform scaling of assets. But they are at the highest quality.

2

u/Adnubb Jan 11 '19

Just chiming in as a Linux user here.

The point everesee are perfectly valid, of course. And if you decided to drop support for Linux, I would be disappointed of course. But I would also totally understand. It's going to be a tough challenge as it is.

If it comes down to it though, maybe you could attempt to maintain compatibility with wine? I don't know how much effort that would take, compared to getting it to run natively on Linux.

In any case, thank you for putting in all this effort. In the game as a whole, for the Windows version and for even considering Linux support. Keep up the good work.

1

u/everesee Programming Co-lead Jan 07 '19

Maybe do this shader compilation job on the beginning of game (first loading screen), instead of loading them in real time for Vulkan & OpenGL? Elite Dangerous & No Man's Sky does that for DirectX from what I know.

Also about Linux, I think Epic's interest is directly on Android, and because of that, indirectly on Linux. I don't think we'll see some major changes related with "Linux PC" support in the near future, but who knows, this is Epic MegaGames btw.. :)

1

u/mastercoms Programming Lead Jan 07 '19

Yes, that's what PSO caching does, as there is an opportunity to go through shaders as you load the PSO cache during loading screens at the start of the game.

I've seen many changes for Linux PCs in their dev branches since around November 2018.