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.
/cc @lmiddlebrook
Merge request reports
Activity
@lmiddlebrook as you mentioned in #59 (comment 21124), I added the
-c=0
option. However keep in mind that I don't have a Nvidia GPU so I can't test it in a real world scenario.Please let me know if you want to do some testings yourself (you can use the
pressure-vessel
compiled by the CI, ask if you need more info on how to do it).Please let me know if you want to do some testings yourself (you can use the
pressure-vessel
compiled by the CI, ask if you need more info on how to do it).In the interests of reducing the number of round-trips, here is that information:
- In the CI results from this branch, you can grab the artifacts from the
relocatable-install:production
step: in this case that's https://gitlab.steamos.cloud/steamrt/steam-runtime-tools/-/jobs/50290/artifacts/raw/_build/production/pressure-vessel-bin+src.tar.gz - Delete
SteamLinuxRuntime_soldier/pressure-vessel/
(for Windows games under Proton) and/orSteamLinuxRuntime/pressure-vessel/
(for native Linux games) - Replace it with the result of unpacking the
pressure-vessel-bin.tar.gz
orpressure-vessel-bin+src.tar.gz
archive
I'll try that on my Nvidia machine when I've brought it up-to-date, but I don't think my GPU is ray-tracing-capable, so it will only be a very superficial test.
- In the CI results from this branch, you can grab the artifacts from the
added Needs testing label
removed Needs testing label
Seems fine on 460.73.01. I renamed
nvidia-modprobe
tonvidia-modprobe.real
, replaced it with a script that logs to the system log and then runsnvidia-modprobe.real
with the same arguments, unloaded thenvidia_uvm
module and deleted/dev/nvidia-uvm
. Launching a Proton game loads thenvidia_uvm
module and brings back/dev/nvidia-uvm
.mentioned in commit 393bb134