From ec2163a9a66c3c2f31249a581d96064b5036b0a8 Mon Sep 17 00:00:00 2001 From: Ludovico de Nittis <ludovico.denittis@collabora.com> Date: Thu, 24 Jun 2021 09:40:01 +0200 Subject: [PATCH] wrap: Execute nvidia-modprobe with the -c=0 option It has been reported that `nvidia-modprobe -u` might not be enough to enable the Nvidia Vulkan ray-tracing: https://github.com/HansKristian-Work/vkd3d-proton/issues/711 Apparently `nvidia-modprobe` needs to be called with the option `-c=0` such that it will create the `/dev/nvidia-uvm` device file if it doesn't already exist. Signed-off-by: Ludovico de Nittis <ludovico.denittis@collabora.com> --- pressure-vessel/wrap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pressure-vessel/wrap.c b/pressure-vessel/wrap.c index 463ea0b73..4e2b8a18a 100644 --- a/pressure-vessel/wrap.c +++ b/pressure-vessel/wrap.c @@ -227,6 +227,7 @@ maybe_load_nvidia_modules (GError **error) { "nvidia-modprobe", "-u", + "-c=0", NULL }; -- GitLab