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 23 July 2019 at 6:45 pm UTC

Thanks. I think with ACO I am getting 1-3 fps improvements. Prey was tweeted to get major performance boost (17%??) but I was running demo so that could be why. Overall I am pleased with what seems to be noticeably less stuttering. As stated earlier, initial tests between ACO and non ACO was ACO stuttering less and game not freezing on frames for second(s).

EDIT: I am certain frame times with ACO is better, as it's probably reason for stutter reduction. Where do I put those DXVK HUD and Mesa Vulkan Overlay parameters? Putting it in games launch options yielded nothing.

Shmerl commented on 23 July 2019 at 8:20 pm UTC

LinuxwarperWhere do I put those DXVK HUD and Mesa Vulkan Overlay parameters? Putting it in games launch options yielded nothing.

I put it in the scripts that start my games (since I use DRM-free games, I don't deal with Steam). Not sure how exactly you set up yours.

For example, for Wine/dxvk use case, let's say game's script (start.sh) contains this:


hud=${hud:-false}  # use HUD

if $hud; then
   export DXVK_HUD=devinfo,version,fps,gpuload,frametimes,memory
fi

...
# Your Wine command that starts the game


Then ./start.sh (that I also associate with .desktop launchers) will run it without HUD.

But running it like this will bring HUD up:

hud=true ./start.sh

For non dxvk cases, I wrote a simple wrapper script like this (covers both OpenGL and Vulkan):

gpu_hud.sh

#!/bin/bash

cores=$(nproc)
cores_str="cpu0"

for ((i = 1; i < $cores; i++)); do
   cores_str="${cores_str}+cpu${i}"
done

#### For OpenGL
export GALLIUM_HUD=".dfps:120,frametime,cpu+GPU-load:100=gpu,${cores_str}:100"

#### For Vulkan:
export VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay

"$@" &
disown -h %+


For example your native game has start.sh which launches it. Then run it like:


gpu_hud.sh ./start.sh


To bring up the HUD. You can use the same variable method with that if you modify the launch script.

Basically, the final process should have appropriate environment variables in the end. If you are using Steam, it has some setting in UI for env variables, but it's a mess I suppose to use them flexibly unlike with scripts you directly control.

Linuxwarper commented on 23 July 2019 at 8:57 pm UTC

Thanks, I will come back to that when I run a game through GOG. I looked into DXVK on Github, but the parameters did not do anything for Proton. So I searched further and found out from Proton's FAQ page. The only difference between DXVK own parameter seems to be that for Proton you have to add %command% as well. This will be fun to play around with, thanks!

Shmerl commented on 23 July 2019 at 9:01 pm UTC

LinuxwarperThanks, I will come back to that when I run a game through GOG. I looked into DXVK on Github, but the parameters did not do anything for Proton. So I searched further and found out from Proton's FAQ page. The only difference between DXVK own parameter seems to be that for Proton you have to add %command% as well. This will be fun to play around with, thanks!

Even if you run it through Steam - you can simply launch Steam client itself with such script. Children processes inherit environment variables, so they'll propagate to games that Steam sill launch.

lejimster commented on 30 July 2019 at 9:33 pm UTC

FYI, the ACO compiler has just had a major update. It can now handle Vertex shaders, Plagman just updated us on twitter:

image

Looking good guys

Shmerl commented on 31 July 2019 at 1:32 am UTC

ACO is again ahead for TW3 (built latest master branch):

radv/llvm:
image

radv/aco
image

entropie commented on 1 August 2019 at 7:17 am UTC

Did someone try the new experimental kernel featuring fsync as a replacement to esync to gain on performance?

https://steamcommunity.com/games/221410/announcements/detail/2957094910196249305

I think I'll build a kernel on the weekend, just lacking the time atm and there is so much new to test

Shmerl commented on 1 August 2019 at 7:19 am UTC

I didn't test it, but developers write it's mostly beneficial for lower end hardware. With high end CPU you probably won't notice big gains.

entropie commented on 1 August 2019 at 7:24 am UTC

ah ok, well that makes sense.

entropie commented on 9 August 2019 at 7:49 am UTC

Interstellar Prime alpha demo on backend_issue_70 branch. Master branch is not working for me atm, games always detect a missing DX11 renderer upon startup. Maybe I miscompiled it ?

https://www.youtube.com/watch?v=PPknO-zC8wA

No stutter at all

  Go to:

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


Or login with...

Livestreams & Videos
Community Livestreams
  • The Dark Eye: „Drakensang“ (via Proton)
  • Date:
See more!
Popular this week
View by Category
Contact
Latest Comments
Latest Forum Posts