Squad recently released version 9, which uses Unreal Engine 5. I noticed very low framerates when running the game; it was basically unplayable, maybe 2 to 5 FPS.
Setting the command line to use the proprietary driver restored decent performance, though not as good as before:
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd64.json %command%
However, I read that the open-source drivers generally work better and prefer to use them for philosophical reasons.
I noticed that the Steam overlay said that the game is using only 2GB of VRAM when I use the open-source drivers for this game, but uses my video card's full 20GB using the proprietary ones. This seems directly related, as it also shows that the game is trying to use far more than that, even on just the loading screen.
I downloaded a random free Steam game that uses Unreal Engine 5, The First Descendent, and it does the same thing, which leads me to think that this affects all UE5 games.
Does anyone have any ideas? My video card is a 7900XT.

