While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
-
Dome Keeper is getting a major content update and multi…
- wytrabbit -
SteamVR Beta gets Linux fixes, plus Beta updates for De…
- Eike -
SteamVR Beta gets Linux fixes, plus Beta updates for De…
- melkemind -
Ubuntu 24.04 LTS (Noble Numbat) is now available
- Eike -
SteamOS 3.5.19 for Steam Deck out now for everyone
- Pengling - > See more comments
Latest Forum Posts
- Free Steam Keys!
- robvv - Hello to all
- JordanBurton - New Desktop Screenshot Thread
- goule - Introduce Yourself!
- goule - Fairtris 2
- wvstolzing - See more posts
RX 580 Nitro 4GB
Intel I7 4770k with 8GB memory
Kde Neon 5.16 with 5.0 Kernel
ppa:paulo-miguel-dias/pkppa
ACO will be second screenshot
The Witcher 3
View cookie preferences.
Accept & Show Accept All & Don't show this again Direct Link
View cookie preferences.
Accept & Show Accept All & Don't show this again Direct Link
PREY demo (2017)
View cookie preferences.
Accept & Show Accept All & Don't show this again Direct Link
View cookie preferences.
Accept & Show Accept All & Don't show this again Direct Link
THE TALOS PRINCIPLE
View cookie preferences.
Accept & Show Accept All & Don't show this again Direct Link
View cookie preferences.
Accept & Show Accept All & Don't show this again Direct Link
View cookie preferences.
Accept & Show Accept All & Don't show this again Direct Link
View cookie preferences.
Accept & Show Accept All & Don't show this again Direct Link
View PC info
VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay
The more even are frametimes, the better.
DXVK_HUD can also show frametimes. I use something like:
DXVK_HUD=devinfo,version,fps,gpuload,frametimes,memory
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.
View PC info
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.
%command%
as well. This will be fun to play around with, thanks!View PC info
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.
View PC info
Looking good guys :D
View PC info
radv/llvm:
View cookie preferences.
Accept & Show Accept All & Don't show this again Direct Link
radv/aco
View cookie preferences.
Accept & Show Accept All & Don't show this again Direct Link
View PC info