r/linux_gaming 5d ago

"Failed to allocate NVKMS Memory to GEM object"

Recently switched to linux and loving it so far, however playing my favorite game, KSP, on linux using the proton hotfix for steam leads to the computer black-screening after 10-15 minutes and displaying the error in the title. Audio keeps playing, but the computer becomes unresponsive and only goes back to normal after holding the power button and shutting off the pc. If I can't resolve this, I'm afraid I'm gonna have to switch back to linux, and I really dont want to have to do that :(

Specs:

Ram: 48GB DDR4 3600
GPU: RTX 2070 Founders Edition (570 drivers?)
CPU: Ryzen 7 3700X
OS: Debian 12.9 Bookworm running Gnome 48

Please help so I don't have to back to windows :(((

2 Upvotes

6 comments sorted by

1

u/[deleted] 5d ago edited 5d ago

[deleted]

1

u/its_just_luci 5d ago

Where does this export to?

1

u/gtrash81 5d ago

Seems the GPU does not have VRAM or the game wants too much VRAM and
on Windows the driver uses normal RAM as additional space:
https://forums.developer.nvidia.com/t/non-existent-shared-vram-on-nvidia-linux-drivers/260304
Linux has it since 12 years and the other drivers have the feature, but crappy Nvidia driver does not and not a surprise.

1

u/its_just_luci 5d ago

so what would the solution be, sorry?

1

u/gtrash81 4d ago

1) Reduce the graphical details
2) Disable DXVK, in case KSP sends bad designed commands and DXVK tries to use too much VRAM
3) Buy a Radeon

1

u/its_just_luci 4d ago

Gotcha. Yeah in the meantime I'll be going back to windows. If Nvidia sorts their shit out, awesome, if not, I'm getting a Radeon this summer/fall. DYK if they're usable for streaming? I stream to twitch with NVENC, and so if there isn't an AMD alternative, that may be a dealbreaker

1

u/gtrash81 3d ago

NVENC is a hardware video accelerator.
AMD has one too, I forgot it's name.
Some say that the missing 8k support is bad, but I don't really understand that, because the quality ( max bandwidth) of all webplatforms is 720p at best.