Cant run game on lutris

cant run warhammer 40k space marine. the install worked fine, and other games work too. but when i run space marine it gives me this (lutris log)

I see this error in your log.

[2025-06-04 12:42:09.657] [MANGOHUD] [error] [loader_nvml.cpp:42] Failed to open 32bit libnvidia-ml.so.1: libnvidia-ml.so.1: cannot open shared object file: No such file or directory

The question becomes where does libnvidia-ml.so.1 come from?
The answer seems to be from xorg-x11-drv-nvidia-390xx-cuda-libs which is in the RPMfusion repos.

$ dnf install '*/libnvidia-ml.so.1'
Updating and loading repositories:
Repositories loaded.
Package                                Arch     Version                              Repository                   Size
Installing:
 xorg-x11-drv-nvidia-390xx-cuda-libs   x86_64   3:390.157-4.fc42                     rpmfusion-nonfree        84.3 MiB

Transaction Summary:
 Installing:         1 package

Total size of inbound packages is 21 MiB. Need to download 21 MiB.
After this operation, 84 MiB extra will be used (install 84 MiB, remove 0 B).
Is this ok [y/N]:

But this is the 64bit lib and you need a 32bit lib.
Try sudo dnf install xorg-x11-drv-nvidia-390xx-cuda-libs-3:390.157-4.fc42.i686

Does that help?

it worked!!!
thanks for the quick reply.

1 Like