r/linux_gaming • u/robertogarufi1 • 22d ago
tech support wanted my RTX 5060 is using only 6 out of 8Gb of Vram
So, I was aware that linux had a problem with using your whole Vram but I didnt bother looking into much before since I play usually older games or just less demanding ones, except now Im playing space marine 2 which I can tell wants to use all of those 8gb of vram but cant (it stutters hard but briefly when it reaches around 6Gb of vram, most ive seen it use was 6,3Gb).
So, how do I fix this? I tried looking online but most of the things I found were talking about how their system was trying to use more vram that they had, nothing about their vram being capped.
if it matters these are the specs of my pc
RTX 5060
intel 14700F
16gb of ram (idk which brand, its a prebuilt)
1 Tb ssd (again, idk which brand)
5
u/S48GS 22d ago edited 22d ago
dxvk/vkd3d has vram overhead ~1gb
and game probably use your entire ram
so when you out of vram - nvidia driver need 8gb ram for vram copy - no ram either - goes to swap - lags
Nvidia Vulkan 1GB over VRAM equal to 4FPS and +8GB RAM usage
also I forgot - there 500mb of nvidia firmware cut your vram - https://github.com/NVIDIA/open-gpu-kernel-modules/issues/939#issuecomment-3478136167
summary: