-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I was able to use GPU Passthrough Manager to set up my integrated AMD GPU for passthrough. I wasn't getting any output from it in QEMU/KVM, so I put an old Radeon HD 7450 in to test with that. Now when I run GPU Passthrough Manager, it doesn't list any devices.
I'm getting this output in the terminal:
Running pre-initialization process...
Deleting cached configuration files...
Writing vfio.conf template...
Writing data.json template...
Gathering device data...
Found 7 devices. Preparing data.json payload...
Traceback (most recent call last):
File "/usr/share/gpu-passthrough-manager/./py/load.py", line 50, in <module>
load(*sys.argv[1:])
File "/usr/share/gpu-passthrough-manager/./py/load.py", line 38, in load
device["id"] = re.search(r"[0-9,a-f]{4}:[0-9,a-f]{4}", lspci_res[i]).group()
AttributeError: 'NoneType' object has no attribute 'group'
(GPUPM:3272): Gtk-CRITICAL **: 16:42:14.554: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
(GPUPM:3272): Gtk-CRITICAL **: 16:42:14.554: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
I took a look at the script in question, and it looks like it's failing because the lspci output for that card gets truncated.
[alicrow@theBeast ~]$ lspci -nnD | grep -iE 'Audio|VGA|3D'
0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1080] [10de:1b80] (rev a1)
0000:01:00.1 Audio device [0403]: NVIDIA Corporation GP104 High Definition Audio Controller [10de:10f0] (rev a1)
0000:09:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Caicos PRO [Radeon HD 7450] [1002:677b]
0000:09:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Caicos HDMI Audio [Radeon HD 6450 / 7450/8450/8490 OEM / R5 230/235/235X OEM] [1002:a...
0000:11:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c2)
0000:11:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
0000:11:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller [1022:15e3]
Hopefully there's a way to get lspci to not truncate the info, but I'm not too familiar with it.
At the least, there should be error-handling so that the other devices show up (and probably a warning that it was unable to list a device).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels