Fix my Quadro T1000 not being detected
This commit is contained in:
parent
5f4a24d5cc
commit
118cc17eb2
|
|
@ -79,7 +79,7 @@ def has_uefi() -> bool:
|
||||||
def graphics_devices() -> dict:
|
def graphics_devices() -> dict:
|
||||||
cards = {}
|
cards = {}
|
||||||
for line in SysCommand("lspci"):
|
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)
|
_, identifier = line.split(b': ', 1)
|
||||||
cards[identifier.strip().lower().decode('UTF-8')] = line
|
cards[identifier.strip().lower().decode('UTF-8')] = line
|
||||||
return cards
|
return cards
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue