Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[求助/Help]GPU透传虚拟机找不到显卡设备 #18291

Closed
OSCAR2766 opened this issue Oct 12, 2023 · 4 comments
Closed

[求助/Help]GPU透传虚拟机找不到显卡设备 #18291

OSCAR2766 opened this issue Oct 12, 2023 · 4 comments
Labels

Comments

@OSCAR2766
Copy link

OSCAR2766 commented Oct 12, 2023

宿主机Centos直通Centos虚拟机,uefi和bios启动模式都试过,设备类型hpc和vga都测过,来回折腾虚拟机里lspci就是没有RTX3090的pci设备出现,都是只有这个默认的vga。目前不清楚是我宿主机配置问题还是虚拟机的配置属性有要求。官网的文档基本都看了,找不到其他有用信息,请问大家有没成功的案例可以让我参考一下。

3
c19d66a6ec2d4d301246abae78a157f
7799a9027dde4576c4425246f16e605

下面附上宿主机的一些信息

  1. 已验证Intel VT-d 或 AMD IOMMU 在系统的 BIOS 中启用。
    1

  2. 已验证 grub 设置的内核参数已经生效
    2

  3. 已验证 vfio 内核模块正确加载
    da58edf17f5825329252cb55bc8f2d2

  4. 已验证宿主机上待透传的PCI/PCIe设备被vfio-pci接管
    93550e6e63dae87f5d86d4df58839b4

  5. 宿主机的一些其他配置展示
    b211c1fd0aa04c1fcf97798a7b60d3b

@OSCAR2766 OSCAR2766 added the question Further information is requested label Oct 12, 2023
@wanyaoqi
Copy link
Member

wanyaoqi commented Oct 12, 2023

@OSCAR2766 虚机内核是什么版本的

@OSCAR2766
Copy link
Author

@OSCAR2766 虚机内核是什么版本的

宿主机:Linux node6 5.4.130-1.yn20221208.el7.x86_64 #1 SMP Thu Dec 8 12:09:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
虚拟机:Linux Test-Uefi.cloud.onecloud.io 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

@wanyaoqi
Copy link
Member

wanyaoqi commented Oct 12, 2023

@OSCAR2766 换个高版本内核的虚机镜像试试, 比如ubuntu 2204

Copy link

If you do not provide feedback for more than 37 days, we will close the issue and you can either reopen it or submit a new issue.

您超过 37 天未反馈信息,我们将关闭该 issue,如有需求您可以重新打开或者提交新的 issue。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants