System Information
ML350 Gen10(51xx x 2p, 2x RTX 6000)
1. Set SW level
System ROM 2.62 / IE 0.2.3.0.0 / SPS 4.1.4.601 / iLO 2.65
2. Set WP
a. Restore Set Default
b. Virtualization - Max Performance: Yes
3. Install Ubuntu 22.04 - desktop - Normal Installation
a. Set "nomodeset" during Install
- Edit<E> GRUB: add "nomodeset"
linux /asper/vmlinuz nomodeset quiet ---
b. Configure network and connection
$ sudo passwd root
$ sudo apt update
$ sudo apt install openssh-server vim
4. Install NVidia GPU Driver
a. blacklist nouveau
$ sudo vim /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nouveau.modeset=0"
$ sudo update-grub2
$ sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
$ sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
$ sudo bash -c "echo install nouveau /bin/false >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
$ cat /etc/modprobe.d/blacklist-nvidia-nouveau.conf
$ sudo update-initramfs -u
b. install GPU Driver
$ sudo cat /etc/apt/sources.list
$ sudo sed -i 's/in.archive.ubuntu.com/kr.archive.ubuntu.com/g' /etc/apt/sources.list
$ sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse"
$ sudo apt-get update
$ sudo apt install libglvnd-dev pkg-config g++ freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libglu1-mesa libglu1-mesa-dev libfreeimage-dev
$ sudo reboot
cf. -----------------------------------------------------
$ sudo systemctl isolate multi-user.target
$ sudo systemctl start graphical.target
$ sudo systemctl set-default multi-user
$ sudo systemctl set-default graphical
---------------------------------------------------------
$ sudo systemctl isolate multi-user.target
Install HPE driver
$ sudo chmod +x ./NVIDIA-Quadro-RTX6000-Linux_Driver-510.47.03.run
$ sudo sh ./NVIDIA-Quadro-RTX6000-Linux_Driver-510.47.03.run
5. Install CUDA 11.7
$ wget https://developer.download.nvidia.com/compute/cuda/11.7.1/local_installers/cuda_11.7.1_515.65.01_linux.run
# chmod +x cuda_11.7.1_515.65.01_linux.run
# ./cuda_11.7.1_515.65.01_linux.run
$ sudo vim ~/.bashrc
PATH=/usr/local/cuda-11.7/bin:/usr/local/cuda-11.7/extras/demo_suite:${PATH:+:${PATH}}
LD_LIBRARY_PATH=/usr/local/cuda-11.7/lib64:${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
$ source ~/.bashrc
$ sudo /usr/bin/nvidia-persistenced --verbose
$ sudo systemctl start graphical.target
CUDA error at bodysystemcuda_impl.h:186 code=999(cudaErrorUnknown) "cudaGraphicsGLRegisterBuffer(&m_pGRes[i], m_pbo[i], cudaGraphicsMapFlagsNone)"
# __NV_PRIME_RENDER_OFFLOAD=1 __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia nbody device=1
# __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia nbody