mirror of
https://github.com/unraid/webgui.git
synced 2026-03-13 14:30:29 -05:00
Merge pull request #2078 from SimonFair/Fix-Virgl-show-gpus-with-nouveau-driver
Show NV GPU if nouveau in use.
This commit is contained in:
@@ -1307,7 +1307,7 @@ foreach ($arrConfig['shares'] as $i => $arrShare) {
|
||||
<?
|
||||
echo mk_option($arrGPU['render'], 'auto', _('Auto'));
|
||||
foreach ($arrValidGPUDevices as $arrDev) {
|
||||
if (($arrDev['vendorid'] == "10de" && !is_file("/etc/libvirt/virglnv")) || $arrDev['driver'] == "vfio-pci") continue;
|
||||
if (($arrDev['vendorid'] == "10de" && ($arrDev['driver'] == "nvidia" && !is_file("/etc/libvirt/virglnv"))) || $arrDev['driver'] == "vfio-pci") continue;
|
||||
echo mk_option($arrGPU['render'], $arrDev['id'], $arrDev['name'].' ('.$arrDev['id'].')');
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user