AMD显卡透传步骤

哈哈哈,最近终于把AMD显卡透传做完了。小论文已经写完。超级开心!!!下面附上我的显卡透传步骤:

Step by Step:
  1. Hardware
GPU: AMD Firepro W2100
CPU: Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz
MEM: 32G
SSD: 480G
OS:  CentOS7.3 + Ocata

  1. Update kernel for ‘CONFIG_VFIO_PCI_VGA’ and 'i915 VGA arbiter patch
[root@host016 astute]# virsh version
根据库编译:libvirt 2.0.0
使用库:libvirt 2.0.0
使用的 API: QEMU 2.0.0
运行管理程序: QEMU 2.6.0

[root@host016 astute]# uname -a
Linux host016 3.10.0-514.16.1.el7.centos.plus.x86_64 #1 SMP Wed Apr 26 15:25:40 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@host016 gpu]# grep CONFIG_VFIO_PCI_VGA /boot/ -r
/boot/config-3.10.0-514.16.1.el7.centos.plus.x86_64:CONFIG_VFIO_PCI_VGA=y


  1. Modify grub parameter for intel_iommu and i915
[root@host016 gpu]# vi /etc/default/grub
GRUB_CMDLINE_LINUX="crashkernel=auto rhgb quiet idel=poll idel=poll intel_iommu=on i915.enable_hd_vgaarb=1 modprobe.blacklist=nouveau"
[root@host016 gpu]# grub2-mkconfig -o /boot/grub2/grub.cf g     #### GRUB2不再使用 menu.list,而是使用全新的配置文件 /boot/grub2/grub.cfg,文件权限为 444,其目的就是为避免手动更新,我们可以借助 grub2-mkconfig -o /boot/grub2/grub.cfg 命令来更新.

  1. Set default boot kernel
[root@host016 home]# cat /boot/grub2/grub.cfg | grep menuentry   
if [ x"${feature_menuentry_id}" &
  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 14
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 14
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值