GeForce RTX 2080 NVIDIA Treiber 430.09 unter Ubuntu 18.04 installieren

Aus Thomas-Krenn-Wiki
Zur Navigation springen Zur Suche springen
Hinweis: Bitte beachten Sie, dass dieser Artikel / diese Kategorie sich entweder auf ältere Software/Hardware Komponenten bezieht oder aus sonstigen Gründen nicht mehr gewartet wird.
Diese Seite wird nicht mehr aktualisiert und ist rein zu Referenzzwecken noch hier im Archiv abrufbar.

In diesem Artikel zeigen wir die Installation des NVIDIA-Treibers 430.09 auf einem System mit vier Gigabyte GeForce RTX 2080 Grafikkarten unter Ubuntu 18.04.2 mit Linux Kernel 4.15.

Testsystem

In diesem Test kommt folgendes System zum Einsatz:

  • Supermicro X11DPQ-QT Mainboard, BIOS 3.0b
  • 2x Intel Xeon Gold 6144
  • 48 GB RAM
  • 4x Gigabyte GeForce RTX 2080 Turbo OC 8G (GV-N2080TURBO OC-8GC)
  • Ubuntu 18.04 mit GA Kernel
  • Linux Kernel 4.15

Treiber installieren

Zur Installation des Treibers wird wie im Artikel CUDA Installation unter Ubuntu beschrieben zuerst das ppa:graphics-drivers als APT-Repository ergänzt. Anschließend wird die Treiberversion 430.09 installiert (ab Version 418.43 unterstützt der Treiber die RTX 2080 Grafikkarten):[1][2][3][4]

sudo add-apt-repository ppa:graphics-drivers
sudo sudo apt update
sudo apt install nvidia-driver-430 nvidia-settings

Programmausgaben

Die folgenden Programmausgaben zeigen einige Beispielausgaben am Testsystem.

lsb_release und uname

tk@ubuntu-1804-test:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
Codename:       bionic
tk@ubuntu-1804-test:~$ uname -a
Linux test 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

nvidia-smi

tk@ubuntu-1804-test:~$ nvidia-smi -L
GPU 0: GeForce RTX 2080 (UUID: GPU-282cca95-cf26-950c-878f-e9f50161d093)
GPU 1: GeForce RTX 2080 (UUID: GPU-d83f8eb4-35a9-e1b0-e8ff-17e8d37092a9)
GPU 2: GeForce RTX 2080 (UUID: GPU-e5be9627-259f-3788-62d9-dec4ef85e098)
GPU 3: GeForce RTX 2080 (UUID: GPU-892a9e58-4d50-55be-03c2-47c295311a78)
tk@ubuntu-1804-test:~$ nvidia-smi
Thu Apr 25 10:13:36 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.09       Driver Version: 430.09       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce RTX 2080    Off  | 00000000:18:00.0 Off |                  N/A |
| 31%   46C    P0    48W / 225W |      0MiB /  7982MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce RTX 2080    Off  | 00000000:3B:00.0 Off |                  N/A |
| 25%   44C    P0    41W / 225W |      0MiB /  7982MiB |      1%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce RTX 2080    Off  | 00000000:86:00.0 Off |                  N/A |
| 30%   39C    P0    44W / 225W |      0MiB /  7982MiB |      1%      Default |
+-------------------------------+----------------------+----------------------+
|   3  GeForce RTX 2080    Off  | 00000000:AF:00.0 Off |                  N/A |
| 37%   40C    P0     1W / 225W |      0MiB /  7982MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

dpkg

tk@ubuntu-1804-test:~$ dpkg -l | grep -i nvidia
ii  libnvidia-cfg1-430:amd64         430.09-0ubuntu0~gpu18.04.1    amd64     NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-430             430.09-0ubuntu0~gpu18.04.1    all       Shared files used by the NVIDIA libraries
ii  libnvidia-compute-430:amd64      430.09-0ubuntu0~gpu18.04.1    amd64     NVIDIA libcompute package
ii  libnvidia-decode-430:amd64       430.09-0ubuntu0~gpu18.04.1    amd64     NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-430:amd64       430.09-0ubuntu0~gpu18.04.1    amd64     NVENC Video Encoding runtime library
ii  libnvidia-fbc1-430:amd64         430.09-0ubuntu0~gpu18.04.1    amd64     NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-430:amd64           430.09-0ubuntu0~gpu18.04.1    amd64     NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-ifr1-430:amd64         430.09-0ubuntu0~gpu18.04.1    amd64     NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  nvidia-compute-utils-430         430.09-0ubuntu0~gpu18.04.1    amd64     NVIDIA compute utilities
ii  nvidia-dkms-430                  430.09-0ubuntu0~gpu18.04.1    amd64     NVIDIA DKMS package
ii  nvidia-driver-430                430.09-0ubuntu0~gpu18.04.1    amd64     NVIDIA driver metapackage
ii  nvidia-kernel-common-430         430.09-0ubuntu0~gpu18.04.1    amd64     Shared files used with the kernel module
ii  nvidia-kernel-source-430         430.09-0ubuntu0~gpu18.04.1    amd64     NVIDIA kernel source package
ii  nvidia-prime                     0.8.8.2                       all       Tools to enable NVIDIA's Prime
ii  nvidia-settings                  418.56-0ubuntu0~gpu18.04.1    amd64     Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-430                 430.09-0ubuntu0~gpu18.04.1    amd64     NVIDIA driver support binaries
ii  xserver-xorg-video-nvidia-430    430.09-0ubuntu0~gpu18.04.1    amd64     NVIDIA binary Xorg driver

lspci

tk@ubuntu-1804-test:~$ lspci | grep NVIDIA
18:00.0 VGA compatible controller: NVIDIA Corporation GV104 [GeForce GTX 1180] (rev a1)
18:00.1 Audio device: NVIDIA Corporation Device 10f8 (rev a1)
18:00.2 USB controller: NVIDIA Corporation Device 1ad8 (rev a1)
18:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device 1ad9 (rev a1)
3b:00.0 VGA compatible controller: NVIDIA Corporation GV104 [GeForce GTX 1180] (rev a1)
3b:00.1 Audio device: NVIDIA Corporation Device 10f8 (rev a1)
3b:00.2 USB controller: NVIDIA Corporation Device 1ad8 (rev a1)
3b:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device 1ad9 (rev a1)
86:00.0 VGA compatible controller: NVIDIA Corporation GV104 [GeForce GTX 1180] (rev a1)
86:00.1 Audio device: NVIDIA Corporation Device 10f8 (rev a1)
86:00.2 USB controller: NVIDIA Corporation Device 1ad8 (rev a1)
86:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device 1ad9 (rev a1)
af:00.0 VGA compatible controller: NVIDIA Corporation GV104 [GeForce GTX 1180] (rev a1)
af:00.1 Audio device: NVIDIA Corporation Device 10f8 (rev a1)
af:00.2 USB controller: NVIDIA Corporation Device 1ad8 (rev a1)
af:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device 1ad9 (rev a1)
tk@ubuntu-1804-test:~$ sudo lspci -s 18:00.0 -v
18:00.0 VGA compatible controller: NVIDIA Corporation GV104 [GeForce GTX 1180] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Gigabyte Technology Co., Ltd Device 37a8
        Flags: bus master, fast devsel, latency 0, IRQ 80, NUMA node 0
        Memory at a9000000 (32-bit, non-prefetchable) [size=16M]
        Memory at 387fe0000000 (64-bit, prefetchable) [size=256M]
        Memory at 387ff0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at 5000 [size=128]
        [virtual] Expansion ROM at aa000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Legacy Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [250] Latency Tolerance Reporting
        Capabilities: [258] L1 PM Substates
        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
        Kernel driver in use: nvidia
        Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

tk@ubuntu-1804-test:~$
tk@ubuntu-1804-test:~$ sudo lspci -s 18:00.0 -vvv
18:00.0 VGA compatible controller: NVIDIA Corporation GV104 [GeForce GTX 1180] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Gigabyte Technology Co., Ltd Device 37a8
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 80
        NUMA node: 0
        Region 0: Memory at a9000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at 387fe0000000 (64-bit, prefetchable) [size=256M]
        Region 3: Memory at 387ff0000000 (64-bit, prefetchable) [size=32M]
        Region 5: I/O ports at 5000 [size=128]
        [virtual] Expansion ROM at aa000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [78] Express (v2) Legacy Endpoint, MSI 00
                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal+ Unsupported-
                        RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ FLReset-
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
                LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <512ns, L1 <16us
                        ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
                        ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Range AB, TimeoutDis+, LTR+, OBFF Via message
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
                LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
                         Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete+, EqualizationPhase1+
                         EqualizationPhase2+, EqualizationPhase3+, LinkEqualizationRequest-
        Capabilities: [100 v1] Virtual Channel
                Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
                Arb:    Fixed- WRR32- WRR64- WRR128-
                Ctrl:   ArbSelect=Fixed
                Status: InProgress-
                VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=01
                        Status: NegoPending- InProgress-
        Capabilities: [250 v1] Latency Tolerance Reporting
                Max snoop latency: 0ns
                Max no snoop latency: 0ns
        Capabilities: [258 v1] L1 PM Substates
                L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
                          PortCommonModeRestoreTime=255us PortTPowerOnTime=10us
                L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
                           T_CommonMode=0us LTR1.2_Threshold=0ns
                L1SubCtl2: T_PwrOn=10us
        Capabilities: [128 v1] Power Budgeting <?>
        Capabilities: [420 v2] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
                UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
        Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Capabilities: [900 v1] #19
        Capabilities: [bb0 v1] #15
        Kernel driver in use: nvidia
        Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

tk@ubuntu-1804-test:~$

Einzelnachweise

  1. NVIDIA 418.43 Stable Linux Driver Released, Includes GTX 1660 Ti Support (www.phoronix.com, 22.02.2019) [...] NVIDIA has released a new Linux graphics driver supporting the 1660 Ti as well as the RTX 2070 with Max-Q Design and RTX 2080 with Max-Q Design, among other changes. [...]
  2. Linux x64 (AMD64/EM64T) Display Driver - Version 418.43 (www.nvidia.com, 22.02.2019)
  3. NVIDIA 430.09 Linux Driver Brings GTX 1650 Support, Surprising VDPAU Improvements (www.phoronix.com, 23.04.2019)
  4. Linux x64 (AMD64/EM64T) Display Driver - Version 430.09 (www.nvidia.com, 22.02.2019)


Foto Werner Fischer.jpg

Autor: Werner Fischer

Werner Fischer arbeitet im Product Management Team von Thomas-Krenn. Er evaluiert dabei neueste Technologien und teilt sein Wissen in Fachartikeln, bei Konferenzen und im Thomas-Krenn Wiki. Bereits 2005 - ein Jahr nach seinem Abschluss des Studiums zu Computer- und Mediensicherheit an der FH Hagenberg - heuerte er beim bayerischen Server-Hersteller an. Als Öffi-Fan nutzt er gerne Bus & Bahn und genießt seinen morgendlichen Spaziergang ins Büro.


Das könnte Sie auch interessieren

Linux-IO Target (LIO) unter Ubuntu 14.04
Ubuntu 9.10 Linux Desktop Installation
Ubuntu eingebauten Bildschirm eDP-1 deaktivieren