Changes

Jump to navigation Jump to search
1,659 bytes added ,  12:52, 13 May 2019
====First boot====
After a reboot, the screen freezesif you didn't install HWE. Either change the bootloader, adding nomodeset (see https://www.pugetsystems.com/labs/hpc/The-Best-Way-To-Install-Ubuntu-18-04-with-NVIDIA-Drivers-and-any-Desktop-Flavor-1178/#step-4-potential-problem-number-1), or just SSH onto the boxand fix that now.
Run as root:
lspci -vk
05:00.0 VGA compatible controller: NVIDIA Corporation GP102 [TITAN Xp] (rev a1) (prog -if 00 [VGA controller])
Subsystem: NVIDIA Corporation GP102 [TITAN Xp]
Flags: bus master, fast devsel, latency 0, IRQ 7278, NUMA node 0
Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Capabilities: [128] Power Budgeting <?>
Capabilities: [420] Advanced Error Reporting
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 < ?>
Capabilities: [900] #19
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau
06:00.0 VGA compatible controller: NVIDIA Corporation Device 1e02 (rev a1) (prog -if 00 [VGA controller])
Subsystem: NVIDIA Corporation Device 12a3
Flags: fast devsel, IRQ 24, NUMA node 0
Capabilities: [128] Power Budgeting <?>
Capabilities: [420] Advanced Error Reporting
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 < ?>
Capabilities: [900] #19
Capabilities: [bb0] #15
Currently we are using the nouveau driver for the Xp, and have no driver loaded for the RTX.
 
You can also list the driver using ubuntu-drivers, which is supposed to tell you which NVIDIA driver is recommended:
apt-get install ubuntu-drivers-common
ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:03.0/0000:03:00.0/0000:04:10.0/0000:05:00.0 ==
modalias : pci:v000010DEd00001B02sv000010DEsd000011DFbc03sc00i00
vendor : NVIDIA Corporation
model : GP102 [TITAN Xp]
driver : nvidia-driver-390 - distro non-free recommended
driver : xserver-xorg-video-nouveau - distro free builtin
 
But the 390 is the only driver available from the main repo. Add the experimental repo for more options:
 
add-apt-repository ppa:graphics-drivers/ppa
apt update
ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:03.0/0000:03:00.0/0000:04:10.0/0000:05:00.0 ==
modalias : pci:v000010DEd00001B02sv000010DEsd000011DFbc03sc00i00
vendor : NVIDIA Corporation
model : GP102 [TITAN Xp]
driver : nvidia-driver-418 - third-party free
driver : nvidia-driver-415 - third-party free
driver : nvidia-driver-430 - third-party free recommended
driver : nvidia-driver-396 - third-party free
driver : nvidia-driver-390 - distro non-free
driver : nvidia-driver-410 - third-party free
driver : xserver-xorg-video-nouveau - distro free builtin
 
Rather than installing a driver directly (e.g., apt install nvidia-430), let's get CUDA and have it install its preferred driver:
wget https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_10.1.168_418.67_linux.run
sh cuda_10.1.168_418.67_linux.run

Navigation menu