NVIDIA 그래 픽 카드 구동 에 불 러 오지 않 은 문제 - 완전히 해결 되 지 않 았 습 니 다.
23703 단어 일 을 잘 하려 면 그 일 을 잘 해 야 한다.
lsmod | grep -i nvidia
nvidia 의 커 널 모듈 이 없 는 것 을 발견 하여 수 동 으로 불 러 옵 니 다.
sudo modprobe nvidia_352_uvm
운행 하 다.
nvidia-smi
보고서 에 그래 픽 드라이브 가 없습니다.
ls /dev/nvidia*
장치 가 없습니다.http://www.x.org/wiki/NVIDIAProprietaryDriver/
Another cause may be that the /dev/nvidia* device files may be missing. To recreate this files simply run this script (as root). It assumes your users who have GUI access are in group "video"):
for i in 0 1 2 3 4 5 6 7; do
node="/dev/nvidia$i"
rm -f $node
mknod $node c 195 $i || echo "mknod \"$node\""
chmod 0660 $node || echo "chmod \"$node\""
chown :video $node || echo "chown \"$node\""
done
node="/dev/nvidiactl"
rm -f $node
mknod $node c 195 255 || echo "mknod \"$node\""
chmod 0666 $node || echo "chmod \"$node\""
chown :video $node || echo "chown \"$node\""
Finally, the NVIDIA kernel module may print error messages indicating a problem -- to view these messages please check /var/log/messages, or wherever syslog is directed to place kernel messages. These messages are prepended with "NVRM".
근 데 그 다음 에 cuda 밤 을 움 직 여도 구동 이 안 돼 요.
ls /dev/nvidia*
nvidia 없 음 발견uvm 는 그래 픽 인터페이스 에 들 어가 driver manager 를 열 었 는데 nvidia 의 그래 픽 드라이브 를 선택 한 것 을 발견 했다.그런데 다시 보 니 / dev 아래 에 nvidia 가 있 더 라 고요.uvm 노드, cuda 밤 재 운행 성공!!!
문제: kubuntu 를 설치 한 후 nvidia 그래 픽 카드 드라이브 를 불 러 오지 않 습 니 다. gpumanager 의 앞 뒤 는 다음 과 같 습 니 다. 이전 에는:
dj@Ubuntu14:~$ cat /var/log/gpu-manager.log.back
log_file: /var/log/gpu-manager.log
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
grep dmesg status 256
dmesg status 256 == 0? No
Is nvidia loaded? yes
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is fglrx loaded? no
Was fglrx unloaded? no
Is fglrx blacklisted? no
Is intel loaded? no
Is radeon loaded? no
Is radeon blacklisted? no
Is nouveau loaded? no
Is nouveau blacklisted? yes
Is fglrx kernel module available? no
Is nvidia kernel module available? yes
Vendor/Device Id: 10de:13c0
BusID "PCI:4@0:0:0"
Is boot vga? no
Vendor/Device Id: 10de:13c0
BusID "PCI:5@0:0:0"
Is boot vga? no
Vendor/Device Id: 10de:13c0
BusID "PCI:8@0:0:0"
Is boot vga? no
Vendor/Device Id: 10de:13c0
BusID "PCI:9@0:0:0"
Is boot vga? no
Vendor/Device Id: 1a03:2000
BusID "PCI:12@0:0:0"
Is boot vga? yes
Vendor/Device Id: 10de:13c0
BusID "PCI:131@0:0:0"
Is boot vga? no
Vendor/Device Id: 10de:13c0
BusID "PCI:132@0:0:0"
Is boot vga? no
Vendor/Device Id: 10de:13c0
BusID "PCI:135@0:0:0"
Is boot vga? no
Vendor/Device Id: 10de:13c0
BusID "PCI:136@0:0:0"
Is boot vga? no
Skipping "/dev/dri/card8", driven by "nvidia-drm"
Skipping "/dev/dri/card7", driven by "nvidia-drm"
Skipping "/dev/dri/card6", driven by "nvidia-drm"
Skipping "/dev/dri/card5", driven by "nvidia-drm"
Skipping "/dev/dri/card4", driven by "nvidia-drm"
Skipping "/dev/dri/card3", driven by "nvidia-drm"
Skipping "/dev/dri/card2", driven by "nvidia-drm"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Skipping "/dev/dri/card0", driven by "ast"
Skipping "/dev/dri/card8", driven by "nvidia-drm"
Skipping "/dev/dri/card7", driven by "nvidia-drm"
Skipping "/dev/dri/card6", driven by "nvidia-drm"
Skipping "/dev/dri/card5", driven by "nvidia-drm"
Skipping "/dev/dri/card4", driven by "nvidia-drm"
Skipping "/dev/dri/card3", driven by "nvidia-drm"
Skipping "/dev/dri/card2", driven by "nvidia-drm"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Skipping "/dev/dri/card0", driven by "ast"
Skipping "/dev/dri/card8", driven by "nvidia-drm"
Skipping "/dev/dri/card7", driven by "nvidia-drm"
Skipping "/dev/dri/card6", driven by "nvidia-drm"
Skipping "/dev/dri/card5", driven by "nvidia-drm"
Skipping "/dev/dri/card4", driven by "nvidia-drm"
Skipping "/dev/dri/card3", driven by "nvidia-drm"
Skipping "/dev/dri/card2", driven by "nvidia-drm"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Skipping "/dev/dri/card0", driven by "ast"
Does it require offloading? no
last cards number = 9
Has amd? no
Has intel? no
Has nvidia? yes
How many cards? 9
Has the system changed? No
main_arch_path x86_64-linux-gnu, other_arch_path i386-linux-gnu
Current alternative: /usr/lib/nvidia-352/ld.so.conf
Current core alternative: (null)
Is nvidia enabled? yes
Is fglrx enabled? no
Is mesa enabled? no
Is pxpress enabled? no
Is prime enabled? no
Is nvidia available? yes
Is fglrx available? no
Is fglrx-core available? no
Is mesa available? yes
Is pxpress available? no
Is prime available? yes
지금
dj@Ubuntu14:~$ sudo gpu-manager
[sudo] password for dj:
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
/etc/modprobe.d is not a file
grep dmesg status 256
dmesg status 256 == 0? No
/etc/modprobe.d is not a file
/etc/modprobe.d is not a file
/etc/modprobe.d is not a file
Is nvidia loaded? yes
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is fglrx loaded? no
Was fglrx unloaded? no
Is fglrx blacklisted? no
Is intel loaded? no
Is radeon loaded? no
Is radeon blacklisted? no
Is nouveau loaded? no
Is nouveau blacklisted? yes
Is fglrx kernel module available? no
Is nvidia kernel module available? yes
Vendor/Device Id: 10de:13c0
BusID "PCI:4@0:0:0"
Is boot vga? no
Vendor/Device Id: 10de:13c0
BusID "PCI:5@0:0:0"
Is boot vga? no
Vendor/Device Id: 10de:13c0
BusID "PCI:8@0:0:0"
Is boot vga? no
Vendor/Device Id: 10de:13c0
BusID "PCI:9@0:0:0"
Is boot vga? no
Vendor/Device Id: 1a03:2000
BusID "PCI:12@0:0:0"
Is boot vga? yes
Vendor/Device Id: 10de:13c0
BusID "PCI:131@0:0:0"
Is boot vga? no
Vendor/Device Id: 10de:13c0
BusID "PCI:132@0:0:0"
Is boot vga? no
Vendor/Device Id: 10de:13c0
BusID "PCI:135@0:0:0"
Is boot vga? no
Vendor/Device Id: 10de:13c0
BusID "PCI:136@0:0:0"
Is boot vga? no
Skipping "/dev/dri/card8", driven by "nvidia-drm"
Skipping "/dev/dri/card7", driven by "nvidia-drm"
Skipping "/dev/dri/card6", driven by "nvidia-drm"
Skipping "/dev/dri/card5", driven by "nvidia-drm"
Skipping "/dev/dri/card4", driven by "nvidia-drm"
Skipping "/dev/dri/card3", driven by "nvidia-drm"
Skipping "/dev/dri/card2", driven by "nvidia-drm"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Skipping "/dev/dri/card0", driven by "ast"
Skipping "/dev/dri/card8", driven by "nvidia-drm"
Skipping "/dev/dri/card7", driven by "nvidia-drm"
Skipping "/dev/dri/card6", driven by "nvidia-drm"
Skipping "/dev/dri/card5", driven by "nvidia-drm"
Skipping "/dev/dri/card4", driven by "nvidia-drm"
Skipping "/dev/dri/card3", driven by "nvidia-drm"
Skipping "/dev/dri/card2", driven by "nvidia-drm"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Skipping "/dev/dri/card0", driven by "ast"
Skipping "/dev/dri/card8", driven by "nvidia-drm"
Skipping "/dev/dri/card7", driven by "nvidia-drm"
Skipping "/dev/dri/card6", driven by "nvidia-drm"
Skipping "/dev/dri/card5", driven by "nvidia-drm"
Skipping "/dev/dri/card4", driven by "nvidia-drm"
Skipping "/dev/dri/card3", driven by "nvidia-drm"
Skipping "/dev/dri/card2", driven by "nvidia-drm"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Skipping "/dev/dri/card0", driven by "ast"
Does it require offloading? no
last cards number = 9
Has amd? no
Has intel? no
Has nvidia? yes
How many cards? 9
Has the system changed? No
main_arch_path x86_64-linux-gnu, other_arch_path i386-linux-gnu
update-alternatives: error: no alternatives for x86_64-linux-gnu_gfxcore_conf
Current alternative: /usr/lib/nvidia-352/ld.so.conf
Current core alternative: (null)
Is nvidia enabled? yes
Is fglrx enabled? no
Is mesa enabled? no
Is pxpress enabled? no
Is prime enabled? no
Is nvidia available? yes
Is fglrx available? no
Is fglrx-core available? no
Is mesa available? yes
Is pxpress available? no
Is prime available? yes