Jump to content

Cant't specify NVIDIA 2080Ti for benchmarking on Ubuntu virtual machine


photo

Recommended Posts

Posted (edited)

I used virt-install to create a virtual machine(Ubuntu 20.04, 16 CPUs+20G memory).At the same time, I've passed a  GPU whose BUS ID is 68:00.0.

virt-install --name ubuntu-vm  --memory 20480  --disk size=100 --cdrom  /home/qemu/ubuntu-20.04.3-desktop-amd64.iso  --vcpus 16 --os-type linux  --os-variant=ubuntu20.04  --network bridge=bridge0  --graphics spice,listen=0.0.0.0  --channel spicevmc,target.type=virtio --hostdev 68:00.0 --hostdev 68:00.1 --hostdev 68:00.2 --hostdev 68:00.3

 

After installing NVIDIA driver and excuting Unigine_Valley-1.0.run script, I started vally script.But I found FPS less than 5.When excuting vally script, I used nvidia-smi to check GPU resource.But GPU near zero load.Therefore,I was pretty sure about that vally didn't run on passthrough GPU。

 

How can I specify passthrough GPU to run vally benchmark?

 

Thanks for your reply!

 

glxinfo.png

vally benchmark.png

ubuntu setting.png

Edited by LeDalf
  • LeDalf changed the title to Cant't specify NVIDIA 2080Ti for benchmarking on Ubuntu virtual machine
Posted

Looks like you didn't install nVidia proprietary driver (according to the glxinfo). In that case you will have very low performance.

Please try to install nVidia driver and see how it goes.

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

×
×
  • Create New...