Quick question about Proton

Hi there,
I’ve been noticing that when I do my roughly-weekly system update/upgrade, when there’s an update for Proton available and it updates, it spits out a warning about Wayland… support? being disabled by default, and some instruction to enable it (how? “use xyz” doesn’t tell me how or where). It’s a bit confusing - the DE is KDE, using Wayland, and all games I’ve run with Proton so far have worked flawlessly (-ish - I bump into the amdgpu reset/hang/freeze/crash bug every so often, but it seems unrelated).
Do I need to do anything…?

I’m sure it came from proton-cachyos
If I’m not mistaken Valve’s Proton does not support Wayland, so when you play a game using anything other than proton-cachyos or Proton GE, the game will run using Xwayland (if your DE is Wayland).

You can confirm it with mangohud too.

P.S. If you want your game to run in Wayland: open the game properties on Steam, change the compatibility tool to proton-cachyos, and add PROTON_ENABLE_WAYLAND=1 in General > Launch Options.

Important detail: PROTON_ENABLE_WAYLAND=1 must be a prefix to the actual command as it is an environment variable. In other words, what you put into the launch options field is

PROTON_ENABLE_WAYLAND=1 %command%

An article on CahcyOS Wiki goes talks in depth about this (and also lists some other useful Proton options).

Hi @drhydroxide - indeed, from proton-cachyos.
Am I understanding correctly that I must apply PROTON_ENABLE_WAYLAND=1 for every game, with no “global” or “default” or “preferred” option?

Generally speaking - yes, although it’s an environment variable like any other, so you could e.g. set it system-wide in /etc/environment and instead do PROTON_ENABLE_WAYLAND=0 per game when you don’t want to use native Wayland support.