Fix my Quadro T1000 not being detected

This commit is contained in:
Dylan Taylor 2021-06-02 21:26:24 -04:00
parent 5f4a24d5cc
commit 118cc17eb2
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ def has_uefi() -> bool:
def graphics_devices() -> dict:
cards = {}
for line in SysCommand("lspci"):
if b' VGA ' in line:
if b' VGA ' in line or b' 3D ' in line:
_, identifier = line.split(b': ', 1)
cards[identifier.strip().lower().decode('UTF-8')] = line
return cards