Linux/Ubuntu

ubuntu 26.04 + 595.71.05 + CUDA 13.2

구차니 2026. 6. 17. 12:39

1080 ti 연결했더니 lspci 에서는 보이는데, nvidia-smi 에서 안뜬다. 

드라이버 올라가면서 사용불가가 된건지, 아니면 cuda 버전 때문인진 모르겠다.

 

ubuntu-drivers autoinstall 대신 install만 치면 자동으로 설치된다.

$ ubuntu-
ubuntu-advantage        ubuntu-distro-info      ubuntu-insights         ubuntu-security-status
ubuntu-bug              ubuntu-drivers          ubuntu-report           

$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00002484sv00001458sd0000404Dbc03sc00i00
vendor   : NVIDIA Corporation
model    : GA104 [GeForce RTX 3070]
driver   : nvidia-driver-580-server - distro non-free
driver   : nvidia-driver-580 - distro non-free
driver   : nvidia-driver-595-server - distro non-free
driver   : nvidia-driver-595-open - distro non-free recommended
driver   : nvidia-driver-580-server-open - distro non-free
driver   : nvidia-driver-595-server-open - distro non-free
driver   : nvidia-driver-580-open - distro non-free
driver   : nvidia-driver-595 - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

$ sudo ubuntu-drivers autoinstall
Usage: ubuntu-drivers [OPTIONS] COMMAND [ARGS]...
Try 'ubuntu-drivers -h' for help.

Error: No such command 'autoinstall'.
falinux@falinux-gpu:~$  ubuntu-drivers -h
Usage: ubuntu-drivers [OPTIONS] COMMAND [ARGS]...

Options:
  -h, --help  Show this message and exit.

Commands:
  debug     Print all available information and debug data about drivers.
  devices   Show all devices which need drivers, and which packages apply...
  install   Install a driver [driver[:version][,driver[:version]]]
  list      Show all driver packages which apply to the current system.
  list-oem  Show all OEM enablement packages which apply to this system


sudo ubuntu-drivers install
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다... 완료
상태 정보를 읽는 중입니다... 완료        
Solving dependencies... 완료
다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다:
  linux-headers-7.0.0-14 linux-headers-7.0.0-14-generic linux-image-unsigned-7.0.0-14-generic
  linux-main-modules-zfs-7.0.0-14-generic linux-modules-7.0.0-14-generic linux-tools-7.0.0-14
  linux-tools-7.0.0-14-generic
'sudo apt autoremove'를 이용하여 제거하십시오.
다음의 추가 패키지가 설치될 것입니다 :
  libnvidia-cfg1-595 libnvidia-common-595 libnvidia-compute-595 libnvidia-decode-595
  libnvidia-egl-wayland1 libnvidia-encode-595 libnvidia-extra-595 libnvidia-fbc1-595 libnvidia-gl-595
  libpkgconf7 libvdpau1 libxnvctrl0 linux-modules-nvidia-595-open-7.0.0-22-generic
  nvidia-compute-utils-595 nvidia-firmware-595-595.71.05 nvidia-kernel-common-595
  nvidia-kernel-source-595-open nvidia-prime nvidia-settings nvidia-utils-595 ocl-icd-libopencl1
  pkg-config pkgconf pkgconf-bin screen-resolution-extra xcvt xserver-xorg-core
  xserver-xorg-video-nvidia-595
제안하는 패키지:
  nvidia-driver-595 xfonts-100dpi | xfonts-75dpi xfonts-scalable
추천하는 패키지:
  libnvidia-compute-595:i386 libnvidia-decode-595:i386 libnvidia-encode-595:i386
  libnvidia-fbc1-595:i386 libnvidia-gl-595:i386
다음 새 패키지를 설치할 것입니다:
  libnvidia-cfg1-595 libnvidia-common-595 libnvidia-compute-595 libnvidia-decode-595
  libnvidia-egl-wayland1 libnvidia-encode-595 libnvidia-extra-595 libnvidia-fbc1-595 libnvidia-gl-595
  libpkgconf7 libvdpau1 libxnvctrl0 linux-modules-nvidia-595-open-7.0.0-22-generic
  linux-modules-nvidia-595-open-generic-hwe-26.04 nvidia-compute-utils-595 nvidia-driver-595-open
  nvidia-firmware-595-595.71.05 nvidia-kernel-common-595 nvidia-kernel-source-595-open nvidia-prime
  nvidia-settings nvidia-utils-595 ocl-icd-libopencl1 pkg-config pkgconf pkgconf-bin
  screen-resolution-extra xcvt xserver-xorg-core xserver-xorg-video-nvidia-595
0개 업그레이드, 30개 새로 설치, 0개 제거 및 24개 업그레이드 안 함.
324 M바이트 아카이브를 받아야 합니다.
이 작업 후 999 M바이트의 디스크 공간을 더 사용하게 됩니다.

$ nvidia-smi 
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

// 리부팅 이후
$ nvidia-smi
Wed Jun 17 12:01:11 2026       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 595.71.05              Driver Version: 595.71.05      CUDA Version: 13.2     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3070        Off |   00000000:01:00.0 Off |                  N/A |
|  0%   37C    P8             13W /  270W |      13MiB /   8192MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            2396      G   /usr/bin/gnome-shell                      3MiB |
+-----------------------------------------------------------------------------------------+

$ lspci -v

01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3070] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd Device 404d
Flags: bus master, fast devsel, latency 0, IRQ 136, IOMMU group 2
Memory at b5000000 (32-bit, non-prefetchable) [size=16M]
Memory at a0000000 (64-bit, prefetchable) [size=256M]
Memory at b0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 4000 [size=128]
Expansion ROM at b6000000 [virtual] [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nova_core, nvidia_drm, nvidia


02:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ZOTAC International (MCO) Ltd. Device 1470
Flags: fast devsel, IRQ 16, IOMMU group 9
Memory at b3000000 (32-bit, non-prefetchable) [size=16M]
Memory at 80000000 (64-bit, prefetchable) [size=256M]
Memory at 90000000 (64-bit, prefetchable) [size=32M]
I/O ports at 3000 [size=128]
Expansion ROM at b4000000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel modules: nvidiafb, nouveau, nova_core, nvidia_drm, nvidia

 

gpt에 의하면 1080ti가 인식 안되는게 nova_core로 인해서 정상적으로 인식을 못한거 같다는데, 또 꼽기 귀찮은디..

아무튼 독점 드라이버가 아니라 오픈소스로 개발된 커널 드라이버라서 안되는걸까?

$ sudo lspci -v
01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3070] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd Device 404d
Flags: bus master, fast devsel, latency 0, IRQ 135, IOMMU group 2
Memory at a3000000 (32-bit, non-prefetchable) [size=16M]
Memory at 90000000 (64-bit, prefetchable) [size=256M]
Memory at a0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 3000 [size=128]
Expansion ROM at a4000000 [virtual] [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Legacy Endpoint, IntMsgNum 0
Capabilities: [b4] Vendor Specific Information: Len=14 <?>
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] Secondary PCI Express
Capabilities: [bb0] Physical Resizable BAR
Capabilities: [c1c] Physical Layer 16.0 GT/s
Capabilities: [d00] Lane Margining at the Receiver
Capabilities: [e00] Data Link Feature <?>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nova_core, nvidia_drm, nvidia

 

최신이라고 해도 hopper + pascal 이렇게 조합은 불가능하려나?

NVIDIA Grace Hopper 또는 NVIDIA Blackwell과 같은 최첨단 플랫폼의 경우 오픈 소스 GPU 커널 모듈을 사용해야 합니다. 독점 드라이버는 이러한 플랫폼에서 지원되지 않습니다.

Turing, Ampere, Ada Lovelace 또는 Hopper 아키텍처의 최신 GPU의 경우 NVIDIA는 오픈 소스 GPU 커널 모듈로 전환할 것을 권장합니다.

Maxwell, Pascal 또는 Volta 아키텍처의 이전 GPU의 경우 오픈 소스 GPU 커널 모듈이 해당 플랫폼과 호환되지 않습니다. NVIDIA 독점 드라이버를 계속 사용하세요.

동일한 시스템에 구형 및 최신 GPU를 혼합하여 배포하는 경우, 계속해서 독점 드라이버를 사용하세요.

[링크 : https://developer.nvidia.com/ko-kr/blog/nvidia-transitions-fully-towards-open-source-gpu-kernel-modules/]

+

3.11 에서 3.14로 업그레이드 흐음.. 별 문제 없으려나?

$ python3
Python 3.14.4 (main, Apr  8 2026, 04:02:31) [GCC 15.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 

 

 

+

이전에는 580.65.06 이었네

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.65.06              Driver Version: 580.65.06      CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1080 Ti     On  |   00000000:01:00.0 Off |                  N/A |
| 23%   28C    P8              9W /  250W |     150MiB /  11264MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   1  NVIDIA GeForce GTX 1080 Ti     On  |   00000000:02:00.0 Off |                  N/A |
| 23%   33C    P8              8W /  250W |    2805MiB /  11264MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+