Support us on Patreon to keep GamingOnLinux alive. This ensures we have no timed articles and no paywalls. Just good, fresh content! Alternatively, you can donate through Paypal, Flattr and Liberapay!
  Go to:
Testing new Mesa ACO shader compiler for AMD
Linuxwarper commented on 13 July 2019 at 9:32 pm UTC

As part of testing the ACO shader compiler from Valve, I'm going to benchmark games prior to adding the Ubuntu PPA. But Talos Principle frustrates me a great deal. Can someone PLEASE tell me how to toggle Vulkan on in the game? I've followed instructions, carefully I'd say, from a pinned thread on game's official discussion forum on Steam. The results end up with 86 FPS for OpenGL and about 75 for Vulkan. I could not find a way to verify Vulkan was running through game settings (or be able to toggle between two APIs). All I could do was search for Vulkan in games Talo.ini file, which includes a vulkan variable when you follow the instructions I mentioned. But 75 for Vulkan and 86 for OpenGL - what's going on??

Shmerl commented on 14 July 2019 at 3:52 am UTC

entropiethx good to know !

Updated my script with workaround for Meson bug, and it can now also handle customizing Mesa repo to build both regular Mesa and Mesa-aco using the same script. See example in the inline documentation.

Shmerl commented on 14 July 2019 at 4:21 am UTC

Testing X4: Foundations, using Mesa-aco build with llvm9.

llvm:

image

aco:

image

ACO performs worse actually.

entropie commented on 14 July 2019 at 10:30 am UTC

Shmerl
entropiethx good to know !

Updated my script with workaround for Meson bug, and it can now also handle customizing Mesa repo to build both regular Mesa and Mesa-aco using the same script. See example in the inline documentation.

That is great, thank you, I will check it out
If you find the time, could you by chance adopt the script so that the output wents to /opt/mesa-aco directly? It always lands in $HOME/mnt/vmshare/opt/mesa-aco/opt/mesa-aco . I tried adopting it myself but then it always lands in /opt/mesa-aco/opt/mesa-aco

x_wing commented on 14 July 2019 at 11:09 am UTC

LinuxwarperAs part of testing the ACO shader compiler from Valve, I'm going to benchmark games prior to adding the Ubuntu PPA. But Talos Principle frustrates me a great deal. Can someone PLEASE tell me how to toggle Vulkan on in the game? I've followed instructions, carefully I'd say, from a pinned thread on game's official discussion forum on Steam. The results end up with 86 FPS for OpenGL and about 75 for Vulkan. I could not find a way to verify Vulkan was running through game settings (or be able to toggle between two APIs). All I could do was search for Vulkan in games Talo.ini file, which includes a vulkan variable when you follow the instructions I mentioned. But 75 for Vulkan and 86 for OpenGL - what's going on??

I think that in the last update of the engine they probably removed the option to switch the graphic api (i.e. will always use vulkan). I'm 100% sure of this for Serious Sam (I definitely made the question in their forums).

Regarding the performance, I remember that TP always had better fps with OGL

Shmerl commented on 14 July 2019 at 4:11 pm UTC

entropieIf you find the time, could you by chance adopt the script so that the output wents to /opt/mesa-aco directly? It always lands in $HOME/mnt/vmshare/opt/mesa-aco/opt/mesa-aco . I tried adopting it myself but then it always lands in /opt/mesa-aco/opt/mesa-aco

I can take a look how to do it. The reason I put it in $HOME/mnt/vmshare in general, is that I like to build it in VM, that has a share with the host Linux (both through $HOME/mnt/vmshare). So I simply use another small script to publish the result on the host from that to /opt/mesa-master proper.

However, it should be possible to override the destination with the env var. Let me add that.

Shmerl commented on 14 July 2019 at 5:19 pm UTC

entropieIf you find the time, could you by chance adopt the script so that the output wents to /opt/mesa-aco directly?

I updated the script.

Try doing:

dest_dir=/ mesa_debian_build.sh

I don't recommend such method though, since it will try to write directly to /opt/mesa-<branch>/* and delete stuff there as well. It's preferable to build in some local isolation, and deploy as a separate step.

entropie commented on 15 July 2019 at 8:17 am UTC

Shmerl
entropieIf you find the time, could you by chance adopt the script so that the output wents to /opt/mesa-aco directly?

I updated the script.

Try doing:

dest_dir=/ mesa_debian_build.sh

I don't recommend such method though, since it will try to write directly to /opt/mesa-<branch>/* and delete stuff there as well. It's preferable to build in some local isolation, and deploy as a separate step.

Thank you, I will check it out

Shmerl commented on 16 July 2019 at 12:16 am UTC

Supraland

llvm:
image

aco:
image

Both are pretty bad, due to Unreal Engine not using Vulkan effectively and frametimes being completely messed up.

Ehvis commented on 16 July 2019 at 7:43 am UTC

ShmerlBoth are pretty bad, due to Unreal Engine not using Vulkan effectively and frametimes being completely messed up.

The biggest part seems to be Supraland itself. The erratic frame timings show that it's clearly doing something it's not supposed to. Nothing that can be fixed by the shader compiler.

  Go to:

You need to Register and Login to comment, submit articles and more.


Or login with...

Livestreams & Videos
Community Livestreams
  • Tac Tics: „SteamWorld Heist“
  • Date:
See more!
Popular this week
View by Category
Contact
Latest Comments
Latest Forum Posts