Incomplete Product details of NVIDIA GPU after pass-through.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
New
|
Undecided
|
Unassigned |
Bug Description
== Comment: #0 - SANTWANA SAMANTRAY <email address hidden> - 2019-03-15 07:42:57 ==
---Problem Description---
Incomplete Product details of the NVIDIA GPU in the guest , after pass-through.
The below NVIDIA GPU is present on the host which is later pass-through'ed to guest.
On Host:
0004:04:00.0 3D controller [0302]: NVIDIA Corporation GV100GL [Tesla V100 SXM2 32GB] [10de:1db5] (rev a1)
0004:05:00.0 3D controller [0302]: NVIDIA Corporation GV100GL [Tesla V100 SXM2 32GB] [10de:1db5] (rev a1)
After the passthrough the adapter is listed as below in the guest:
0001:00:10.0 3D controller [0302]: NVIDIA Corporation Device [10de:1db5] (rev a1)
0001:00:11.0 3D controller [0302]: NVIDIA Corporation Device [10de:1db5] (rev a1)
The complete product information : GV100GL [Tesla V100 SXM2 32GB is missing in the guest pci details.
The complete product information is essential for user awareness of the device model.
The expected output in the guest should be:
0001:00:10.0 3D controller [0302]: NVIDIA Corporation GV100GL [Tesla V100 SXM2 32GB] [10de:1db5] (rev a1)
0001:00:11.0 3D controller [0302]: NVIDIA Corporation GV100GL [Tesla V100 SXM2 32GB] [10de:1db5] (rev a1)
Snip of hardware details of 1 GPU on host and guest:
# lshw [Host]
-display
# lshw [Guest]
display:0
product: NVIDIA Corporation <--------------- Complete Details Missing
vendor: NVIDIA Corporation
physical id: 10
bus info: pci@0001:00:10.0
version: a1
slot: vfio_vfio-
width: 64 bits
clock: 33MHz
Machine Type = Witherspoon
---Debugger---
A debugger is not configured
---Steps to Reproduce---
1. Configure the guest with GPU pass-through.
2. After the guest starts, check the pass-through'ed device details:
lspci -nn
0000:00:01.0 Ethernet controller [0200]: Red Hat, Inc Virtio network device [1af4:1000]
0000:00:02.0 SCSI storage controller [0100]: Red Hat, Inc Virtio SCSI [1af4:1004]
0000:00:03.0 USB controller [0c03]: Red Hat, Inc. QEMU XHCI Host Controller [1b36:000d] (rev 01)
0000:00:04.0 Unclassified device [00ff]: Red Hat, Inc Virtio memory balloon [1af4:1002]
0001:00:10.0 3D controller [0302]: NVIDIA Corporation Device [10de:1db5] (rev a1)
0001:00:11.0 3D controller [0302]: NVIDIA Corporation Device [10de:1db5] (rev a1)
0001:00:12.0 Bridge [0680]: IBM Device [1014:04ea] (rev 01)
0001:00:13.0 Bridge [0680]: IBM Device [1014:04ea] (rev 01)
0001:00:14.0 Bridge [0680]: IBM Device [1014:04ea] (rev 01)
0001:00:15.0 Bridge [0680]: IBM Device [1014:04ea] (rev 01)
0001:00:16.0 Bridge [0680]: IBM Device [1014:04ea] (rev 01)
0001:00:17.0 Bridge [0680]: IBM Device [1014:04ea] (rev 01)
0002:00:01.0 3D controller [0302]: NVIDIA Corporation Device [10de:1db5] (rev a1)
0002:00:02.0 3D controller [0302]: NVIDIA Corporation Device [10de:1db5] (rev a1)
0002:00:03.0 Bridge [0680]: IBM Device [1014:04ea] (rev 01)
0002:00:04.0 Bridge [0680]: IBM Device [1014:04ea] (rev 01)
0002:00:05.0 Bridge [0680]: IBM Device [1014:04ea] (rev 01)
0002:00:06.0 Bridge [0680]: IBM Device [1014:04ea] (rev 01)
0002:00:07.0 Bridge [0680]: IBM Device [1014:04ea] (rev 01)
0002:00:08.0 Bridge [0680]: IBM Device [1014:04ea] (rev 01)
Contact Information = Santwana <email address hidden>
== Comment: #1 - SANTWANA SAMANTRAY <email address hidden> - 2019-03-15 07:44:30 ==
== Comment: #2 - SANTWANA SAMANTRAY <email address hidden> - 2019-03-15 07:48:54 ==
== Comment: #3 - SANTWANA SAMANTRAY <email address hidden> - 2019-03-15 07:52:34 ==
== Comment: #9 - SANTWANA SAMANTRAY <email address hidden> - 2019-04-01 04:27:39 ==
Santwana
== Comment: #10 - Maxiwell Salvador Garcia <email address hidden> - 2019-04-05 10:30:46 ==
Hi,
The problem is the guest's pci ids database, located in /usr/share/
https:/
The pci.ids version in the guests with Ubuntu 18.04 and 18.04.1 that I tested has an older version:
vm1:
user@ubuntu:~$ cat /etc/os-release | grep VERSION=
VERSION="18.04 LTS (Bionic Beaver)"
user@ubuntu:~$ cat /usr/share/
# Version: 2017.03.16
vm2:
user@ubuntu:~$ cat /etc/os-release | grep VERSION=
VERSION="18.04.1 LTS (Bionic Beaver)"
user@ubuntu:~$ cat /usr/share/
# Version: 2017.03.16
So, to lspci or lshw show this GPU model correctly, the pci.ids must be a version greater than or equal to 2018-03-30. A guest with Ubuntu 18.04.2 worked correctly, because:
vm3:
root@ubuntu:~# cat /etc/os-release | grep VERSION=
VERSION="18.04.2 LTS (Bionic Beaver)"
root@ubuntu:~# cat /usr/share/
# Version: 2018.07.21
To update this database manually, you can run "update-pciids".
== Comment: #13 - Leonardo Augusto Guimaraes Garcia <email address hidden> - 2019-04-23 11:48:28 ==
Canonical,
This is an issue with stock Ubuntu 18.04.1. Is it possible to update the PCI ID database on this version?
tags: |
added: targetmilestone-inin18041genesis2 removed: targetmilestone-inin18041 |
tags: |
added: targetmilestone-inin18041 removed: targetmilestone-inin18041genesis2 |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1826103/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]