Chinaunix首页 | 论坛 | 博客
  • 博客访问: 245559
  • 博文数量: 33
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 480
  • 用 户 组: 普通用户
  • 注册时间: 2019-01-22 08:36
个人简介

专注虚拟化性能优化,硬件显卡网卡虚拟加速,面向容器的轻量虚拟化开发 永远的Linux Geeker!

文章分类

全部博文(33)

分类: 虚拟化

2019-01-22 09:03:58

Part one: HOST

Part two: Guest


Part Two  Guest Installment by virt-manager


1.1 Make sure you are installing a VM with UEFI mode

1.2 Make sure Your HOST is SLES12SP2 and so on

1.3 Still need add a emulated device when installing,

Graphic: spice

Device: qxl

1.4 Add pci host devices above:

03:00.0


1.5. Install driver

1.5.1.1 download file from ""


1.5.2 following below steps

rpm -i nvidia-diag-driver-local-repo-sles123-390.30-1.0-1.x86_64.rpm

zypper refresh

zypper install cuda-drivers

reboot


For verification:

cd /usr/local/cuda-9.1/samples/0_Simple/simpleTemplates

make

/usr/local/cuda-9.1/samples/0_Simple/simpleTemplates/:[0]#

./simpleTemplates

runTest


GPU Device 0: "Tesla V100-PCIE-16GB" with compute capability 7.0

CUDA device [Tesla V100-PCIE-16GB] has 80 Multi-Processors

Processing time: 495.006000 (ms)

Compare OK

runTest

GPU Device 0: "Tesla V100-PCIE-16GB" with compute capability 7.0

CUDA device [Tesla V100-PCIE-16GB] has 80 Multi-Processors

Processing time: 0.203000 (ms)

Compare OK

[simpleTemplates] -> Test Results: 0 Failures


1.5.3

It may need sign nvidia.ko/nvidia-uvm.ko in SLES


We are working on a better solution now

Meanwhile check below:

https://www.suse.com/documentation/suse-best-practices/singlehtml/sbp-kmp-manual/sbp-kmp-manual.html#sec.signing

8.2 Signing Module Object Files (UEFI Secure Boot)


1.6 Display issue

Once you installed Nvidia driver, the vi rt-manager display will lost

connect. You need to ssh login or change to console interface or install

a dedicated vnc server inside vm

阅读(1899) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~