Hello,
I am keep getting error on my machine:
NVRM: mmapAllocWithSecInfo: RMAPI_GPU_LOCK_INTERNAL alloc requested without holding the RMAPI lock
My machine details:
ThinkPad P14s Gen 4, 32GB Ram, NVIDIA RTX A500 Laptop GPU, 13th Gen Intel i7-1360P (16)
Debian 13, Plasma 6.3.6
Kernel: 6.12.48+deb13-amd64
cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX Open Kernel Module for x86_64 550.163.01 Release Build
I installed drivers after a clean setup of Debian using their wiki.
What I did to solve it but couldn’t:
1-
Blacklist the open-source driver (to prevent conflict between opensource nouveau?):
sudo dkms autoinstall
echo “blacklist nouveau” | sudo tee /etc/modprobe.d/blacklist-nouveau.conf
sudo update-initramfs -u
2-
Delay VirtualBox module load
sudo systemctl edit vboxdrv.service
added:
[Unit]
After=multi-user.target nvidia-persistenced.service
sudo systemctl daemon-reexec
sudo systemctl daemon-reload
reboot
3-
Create a modprobe configuration file
sudo nano /etc/modprobe.d/nvidia-priority.conf
added: softdep vboxdrv pre: nvidia
sudo update-initramfs -u reboot
Please let me know how to fix this:
NVRM: mmapAllocWithSecInfo: RMAPI_GPU_LOCK_INTERNAL alloc requested without holding the RMAPI lock