Unable to edit VM's without GPU

extremetempz

Cadet
Joined
Jan 17, 2022
Messages
1
Hey Guys,

When i updated from 21.08 to RC1 there was an update to the way the hypervisor works and i have been unable to update any VM's since as i run a AMD cpu without a dGPU

1642414577469.png



At least 1 GPU is required by the host for it’s functions.
Currently following GPU(s) have been isolated:



With your selection, no GPU is available for the host to consume.




When i inspect element to give myself the button to allow me to save the changes i then get this error

1642414711458.png



[EINVAL] advanced_settings_update.isolated_gpu_pci_ids: 0000:0f:00.0 GPU pci slots are not available or a GPU is not configured. [EINVAL] advanced_settings_update.isolated_gpu_pci_ids: A minimum of 1 GPU is required for the host to ensure it functions as desired.



When i create a VM it works without any issues.

Does anyone know a workaround so i can edit the VM without me having to buy a dGPU, I was running < 21.08 without issues aswell as Freenas/TrueNAS Core for a while.
 

ignazio

Cadet
Joined
Jan 17, 2022
Messages
4
Hello everyone, when setting up a VM, the virtual interface does not accept the graphics card "Radeon RX 570 ARMOR 8G OC (dGPU)" (see attachment). Anyone know why? Thanks for pointers on this.
Greetings, Ignazio
 

Attachments

  • 2022-03-31 12_15_28-Edit - 192.168.178.36.png
    2022-03-31 12_15_28-Edit - 192.168.178.36.png
    43.8 KB · Views: 242
  • 2022-03-31 12_13_43-Virtual Machines - 192.168.178.36.png
    2022-03-31 12_13_43-Virtual Machines - 192.168.178.36.png
    83.2 KB · Views: 273
Last edited:

Judders

Cadet
Joined
Jun 6, 2022
Messages
2
Same issue still 6 months after original post. Unable to edit VM's due to "At least 1 GPU is required by the host for it’s functions.
Currently following GPU(s) have been isolated:"Adding/Removing GPUs makes no difference.
 

stavros-k

Patron
Joined
Dec 26, 2020
Messages
231
Same issue still 6 months after original post. Unable to edit VM's due to "At least 1 GPU is required by the host for it’s functions.
Currently following GPU(s) have been isolated:"Adding/Removing GPUs makes no difference.
Have you created a bug report / ticket for that?
 

Caesar

Contributor
Joined
Feb 22, 2013
Messages
114
I am having the same issue
 

Judders

Cadet
Joined
Jun 6, 2022
Messages
2
I figured it out, Its a-bit misleading. Truenas (The host) requires a GPU to function. Don't ask me why as the hole point around a NAS is a headless system.
Lucky my motherboard has a onboard GPU. Under System Settings -> Advanced I was able to isolate my PCI GPU, then Truenas started to use my onboard GPU, so I was able to allocate the PCI GPU to the VM.
Hope this helps.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Don't ask me why as the hole point around a NAS is a headless system.
Note that server boards typically have an IPMI video port for headless operation without any discrete or embedded GPUs, and these are the recommended boards for TrueNAS.
 

Haldi

Cadet
Joined
Feb 28, 2024
Messages
8
Under System Settings -> Advanced I was able to isolate my PCI GPU,
Ohhhhh!
Thanks. Did not expect that!

Before:
1710165211789.png

After:
1710165261555.png


The funny thing is i had a running System with IPMI an Onboard Aspeed GPU. Truenas worked fine.
Then i plugged a GTX 1070 and the system hogged it because it needs it....
So you need to manually tell TrueNAS "No you DON'T Need that additional New GPU, just continue working as before!" and then you can use the isolated GPU for VM's.


Does it help with the Error? No.
Code:
[EINVAL] gpu_settings.isolated_gpu_pci_ids: pci_0000_09_00_1, pci_0000_09_00_0 GPU pci slot(s) are not available or a GPU is not configured.
remove_circle_outline
More info...
 Error: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 201, in call_method
    result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1342, in _call
    return await methodobj(*prepared_call.args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 177, in nf
    return await func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 44, in nf
    res = await f(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/system_advanced/gpu.py", line 27, in update_gpu_pci_ids
    verrors.check()
  File "/usr/lib/python3/dist-packages/middlewared/service_exception.py", line 70, in check
    raise self
middlewared.service_exception.ValidationErrors: [EINVAL] gpu_settings.isolated_gpu_pci_ids: pci_0000_09_00_1, pci_0000_09_00_0 GPU pci slot(s) are not available or a GPU is not configured.

 


But it does add the PCI-E Devices in the device list and works.
 
Top