protonscr

Hud permanently enabled for all games

dxvkclosed not a bug
doitsujin/dxvk#3277 · opened 2023-03-03 by zxcvghjiop · updated 2023-03-03 · 12 comments · github
Zzxcvghjiop 2023-03-03 github

Problem Description
I enabled the DXVK fps hud via Steam launch options for ONE game through "DXVK_HUD=1 %fps%". The hud is now enabled in ALL of my games launched through Steam or Lutris, despite removing the launch option, and I can't find a way to disable it. Furthermore, I can't get it to display any different information - other launch options affecting the hud no longer work, nor does editing user_settings.py.

System
DXVK version 1.10.3
Lutris 0.5.12
Proton experimental-7.0-20230227
Drivers: Nvidia version 525.85.05

KK0bin maintainer 2023-03-03 github

You must have set up a global environment variable for the HUD somewhere or set up a config file used by all games that enables it.

Zzxcvghjiop 2023-03-03 github

The first time I ever enabled this hud was in that launch option, so I am confident I did not create any such file.

If I am wrong, or a config file was created somewhere without me realizing, where would I find it?

Edit: to clarify, I have already investigated Steam's localconfig.vdf and user_settings.py files, and dxvk.conf does not currently exist.

KK0bin maintainer 2023-03-03 github

If I am wrong, or a config file was created somewhere without me realizing, where would I find it?

DXVK doesn't create any config files on its own.

Just to rule that out: You're sure, what you're seeing is the DXVK HUD and not for example the Steam FPS counter?

Zzxcvghjiop 2023-03-03 github

You're sure, what you're seeing is the DXVK HUD and not for example the Steam FPS counter?

Absolutely. I can enable them both concurrently. Give me a moment and I can upload a screenshot.

BBlisto91 2023-03-03 github

Also if you can then share logs from a game. Then we can check if it's a config file it's picking up

Ddoitsujin maintainer 2023-03-03 github

Either way, this is 100% a user error and not a bug. DXVK never stores any environment variables or configuration persistently on its own.

Entering something like echo $DXVK_HUD in a terminal should reveal whether or not the env var is set globally. If that's not the case and you can't find the root cause, reboot the system I guess.

Zzxcvghjiop 2023-03-03 github

Here is a screenshot from Crusader Kings 2. As you can see both DXVK's hud and Steam's are visible in the upper corners.

ck2SS

echo $DVXK_HUD reveals, uh, nothing. Just a blank line. I have already rebooted several times.

Which game logs would contain the information you are looking for?

Mmbriar 2023-03-03 github

That is not the DXVK HUD, but the nvidia driver hud.

Zzxcvghjiop 2023-03-03 github

Well that's embarrassing. It turned on with the launch command I listed above. How do I turn it off?

KK0bin maintainer 2023-03-03 github

Check the Nvidia X11 Settings.

Zzxcvghjiop 2023-03-03 github

Hey hey, it worked! Thanks for the help lol.

Proton versions

Launch options