Need help removing Nvidias new RDMA kernel module (470.86)

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
help123
Level 1
Level 1
Posts: 11
Joined: Thu Aug 23, 2018 8:41 pm

Need help removing Nvidias new RDMA kernel module (470.86)

Post by help123 »

Nvidia's latest GPU driver 470.86 installs a RDMA kernel module when you install the software. RDMA is bad for security, I need help removing it.

New install option is "--no-peermem", how do I use this in terminal to install 470.86?

https://www.phoronix.com/scan.php?page= ... 0.86-Linux
https://www.nvidia.com/Download/driverR ... 3575/en-us

Or if possible how do I remove the Nvidia RDMA kernel module already on my machine?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
help123
Level 1
Level 1
Posts: 11
Joined: Thu Aug 23, 2018 8:41 pm

Re: Need help removing Nvidias new RDMA kernel (470.86)

Post by help123 »

User avatar
SMG
Level 25
Level 25
Posts: 31907
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Need help removing Nvidias new RDMA kernel module (470.86)

Post by SMG »

Moderator Note: I corrected your title and text to indicate it is a kernel module with which you are concerned. Nvidia drivers do not install kernels.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
help123
Level 1
Level 1
Posts: 11
Joined: Thu Aug 23, 2018 8:41 pm

Re: Need help removing Nvidias new RDMA kernel module (470.86)

Post by help123 »

sudo apt install nvidia-driver-470 --no-peermem

that command line instruction is not working. If anyone knows how to use Nvidia's new "--no-peermem" install switch, please chime in
User avatar
SMG
Level 25
Level 25
Posts: 31907
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Need help removing Nvidias new RDMA kernel module (470.86)

Post by SMG »

help123 wrote: Tue Dec 07, 2021 10:43 pm If anyone knows how to use Nvidia's new "--no-peermem" install switch, please chime in
The link you put in your first post indicates that switch only applies if you use the Nvidia installer to install the driver.

Using sudo apt install nvidia-driver-470 uses the Ubuntu/Mint package management system and not the nvidia installer.

Did you check to see if that module was created on your system? The info I found on it seems to indicate more than just that kernel module is needed for it to work. From that link:
Known Issues

Currently, there is no service to automatically load nvidia-peermem. Users need to load the module manually.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Need help removing Nvidias new RDMA kernel module (470.86)

Post by roblm »

The nvidia-peermem kernel module was added earlier in the Nvidia-465 series and has to be manually loaded to utilize it for greater GPU computing efficiency. The 5.4 and 5.8 kernels do not provide support for that module, but the 5.11 kernel does.

To manually load that module, use the command sudo modprobe nvidia-peermem

If you want the module to load automatically at each system start, then add it to /etc/modules
Locked

Return to “Graphics Cards & Monitors”