Install new driver for old Nvidia Tesla P100
source link: https://donghao.org/2023/08/25/install-new-driver-for-old-nvidia-tesla-p100/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Install new driver for old Nvidia Tesla P100
I was trying to launch a VM instance with GPU on Google Cloud. But after trying T4, L4, and V100, they all reported “exceeding resource limit”, which means a lot of people in my region are using these types of GPUs.
Without choice, I launched a VM instance with an old Nvidia Tesla P100 (I first used it about 5 years ago). Then, I need to install its driver. But the installation process reported errors:
*** Failed CC version check. *** SYMLINK /tmp/selfgz26389/NVIDIA-Linux-x86_64-515.105.01/kernel/nvidia/nv-kernel.o SYMLINK /tmp/selfgz26389/NVIDIA-Linux-x86_64-515.105.01/kernel/nvidia-modeset/nv-modeset-kernel.o CONFTEST: hash__remap_4k_pfn CONFTEST: set_pages_uc CONFTEST: list_is_first CONFTEST: set_memory_uc ... cc: error: unrecognized command-line option '-ftrivial-auto-var-init=zero'
*** Failed CC version check. ***
SYMLINK /tmp/selfgz26389/NVIDIA-Linux-x86_64-515.105.01/kernel/nvidia/nv-kernel.o
SYMLINK /tmp/selfgz26389/NVIDIA-Linux-x86_64-515.105.01/kernel/nvidia-modeset/nv-modeset-kernel.o
CONFTEST: hash__remap_4k_pfn
CONFTEST: set_pages_uc
CONFTEST: list_is_first
CONFTEST: set_memory_uc
...
cc: error: unrecognized command-line option '-ftrivial-auto-var-init=zero'
At first glance, I suspect the GCC compiler is too old. After downgrading the GCC to gcc-10 and gcc-9, the error still existed.
Finally, I noticed that the driver of the Tesla P100 is very new (Release Date: 2023.3.30) and this page mentioned “gcc-12”. Therefore I upgraded the GCC to 12:
sudo apt install gcc-12 sudo ln -sf /usr/bin/gcc-12 /etc/alternatives/cc
sudo apt install gcc-12
sudo ln -sf /usr/bin/gcc-12 /etc/alternatives/cc
Now the driver can be installed successfully.
Related Posts
- Technical Meeting with Nvidia Corporation
Last week I went to Nvidia Corporation of Santa Clara (California) with my colleagues to…
- Strange error from Nvidia's apex library
apex is a mixed training library from Nvidia. I have been using it since I…
- Install CDH(Cloudera Distribution Hadoop) by Cloudera Manager
These days I was trying to install Cloudera-5.8.3 on my centos-7 machines, and here are…
August 25, 2023 - 9:14
RobinDong
ops
Nvidia
Leave a comment
Leave a Reply Cancel reply
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Recommend
-
34
For gamers, getting up and running gets even easier when Ubuntu 19.10 launches. But the decision is already rubbing some people the wrong way.
-
31
Ifyou remember, back in 2016, I did the work to get a “Launch on Discrete GPU” menu item added to application in gnome-shell. This cycle I worked on adding support for the NVIDIA proprietary driver, so that the menu ite...
-
16
The new Production Branch (PB) will replace the old ODE NVIDIA RTX GPUs NVIDIA has announced the introduction of its...
-
11
The update adds support for Vulkan Ray Tracing extensions NVIDIA RTX A6000 GPU NVIDIA has announced the availability...
-
11
The update implements support for CUDA 11.2 and Quake II RTX Quake II RTX with Vulkan Ray Tracing NVIDIA has rolled o...
-
9
(below text from docs/delay.rst) GLX Delay "Delay" is a hack to enable direct GLX contexts under Xwayland when using the NVIDIA binary driver. It works by creating an EGL context on the client side, running GL re...
-
15
The update resolves include support for Minecraft with RTX Cyberpunk 2077 NVIDIA has made available a new GeForce Gra...
-
9
This driver adds security updates for driver components NVIDIA has just rolled out its 2nd RTX/Quadro graphics driver, namely 461.09, which adds support for the producer’s latest A40 GPU and implements a...
-
3
XAG makes its P100 agricultural drone available globally
-
6
Nvidia 527.56 driver supports Portal with RTX, fixes install block on Surface Book 2...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK