Can't get Anti lag 2 to show in games or in Optiscaler

So i have the anti lag library in /usr/lib/ and the .json file in /usr/share/vulkan/implicit_layer.d/ and ive tried using the ENABLE_LAYER_MESA_ANTI_LAG=1 env variable with my Steam Flatpak and Heroic, but those have no effect whatsoever.

I wonder if anyone knows what could be the issue? I saw a video with CachyOS having it working, but that was with mesa-git and putting the files into ~/.local.

I have tried putting the files also to the same locations and using env variable to do it, but can’t get Anti lag to show anywhere.

I also have tried setting ~/.local in Flatseal to have permissions, but that didn’t help either. My Flatpak Mesa is 25.3.3 and system 25.3.3, the feature should be in Mesa 25.3 according to Phoronix.

Ok. Now got it working within the Flatpak with a native Linux game CS2 by placing the files from /usr/lib/ and /usr/share/vulkan/implicit_layer.d to ~/.local and setting environment variable ENABLE_LAYER_MESA_ANTI_LAG=1.

Just before i had CS2 crashing because of Mangohud so disabled that in it.
For some reason unknown it’s still not seen in Optiscaler though and does not seem to work in Proton games even though im using the latest CachyOS Proton or ProtonGE.