GPU pci slot(s) are not available or a GPU is not configured

gpu_settings.isolated_gpu_pci_ids: pci_0000_07_00_1, pci_0000_07_00_0 GPU pci slot(s) are not available or a GPU is not configured.
Have tried everything, and cannot get the virtualization to accept the GPU.

Using an HP DL360g8 with 64G memory and dual e5-2640 CPU’s 12 cores

Virtualization:

Virtual CPUs: 4

Cores: 2

Threads: 2

Memory Size: 4 GiB

Boot Loader Type: UEFI_CSM

System Clock: LOCAL

Display Port: N/A

Description: mint21.3

Shutdown Timeout: 90 seconds

[EFAULT] Unable to define domain for mint: XML error: Hostdev already exists in the domain configuration
remove_circle_outline
More info…
Error: Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/plugins/vm/vm_supervisor.py”, line 45, in _check_add_domain
self._add(self._vm_from_name(vm_name)[‘id’])
File “/usr/lib/python3/dist-packages/middlewared/plugins/vm/vm_supervisor.py”, line 16, in _add
self._add_with_vm_data(vm)
File “/usr/lib/python3/dist-packages/middlewared/plugins/vm/vm_supervisor.py”, line 19, in _add_with_vm_data
self.vms[vm[‘name’]] = VMSupervisor(vm, self.middleware)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/vm/supervisor/supervisor.py”, line 30, in init
self.update_domain()
File “/usr/lib/python3/dist-packages/middlewared/plugins/vm/supervisor/supervisor.py”, line 66, in update_domain
self.__define_domain()
File “/usr/lib/python3/dist-packages/middlewared/plugins/vm/supervisor/supervisor.py”, line 99, in __define_domain
if not self.LIBVIRT_CONNECTION.defineXML(vm_xml):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/libvirt.py”, line 4495, in defineXML
raise libvirtError(‘virDomainDefineXML() failed’)
libvirt.libvirtError: XML error: Hostdev already exists in the domain configuration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 198, in call_method
result = await self.middleware.call_with_audit(message[‘method’], serviceobj, methodobj, params, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1466, in call_with_audit
result = await self._call(method, serviceobj, methodobj, params, app=app,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1417, in _call
return await methodobj(*prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 187, in nf
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 47, in nf
res = await f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/vm/vm_lifecycle.py”, line 58, in start
await self.middleware.run_in_thread(self._start, vm[‘name’])
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1324, in run_in_thread
return await self.run_in_executor(self.thread_pool_executor, method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1321, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.11/concurrent/futures/thread.py”, line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/vm/vm_supervisor.py”, line 67, in _start
self._check_add_domain(vm_name)
File “/usr/lib/python3/dist-packages/middlewared/plugins/vm/vm_supervisor.py”, line 47, in _check_add_domain
raise CallError(f’Unable to define domain for {vm_name}: {e}')
middlewared.service_exception.CallError: [EFAULT] Unable to define domain for mint: XML error: Hostdev already exists in the domain configuration

Help !

sorry i dont have a solution…but ive been having the same issue…its been very very stressful trying to search for a fix…

ive finally been able to get my host gpu to be seen in device manager and intel support assist says is running at full power…but task manager doesnt see it and plex transcoder doesnt see it…and when i click details in device manager on the uhd 770 it has an error saying windows stopped it from running do to some missing file or something similar but the drivers are all updated it doesnt do anything…so pissed, and now my vms are just rebooting when i click start…

i just wanted this to work smoothly soooo bad but its been like 4 full days now of tinkering with the settings