We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fe1bff commit e3e2ad0Copy full SHA for e3e2ad0
core/tabs/system-setup/arch/nvidia-drivers.sh
@@ -18,7 +18,7 @@ installDeps() {
18
19
checkHardware() {
20
# Refer https://nouveau.freedesktop.org/CodeNames.html for model code names
21
- model=$(lspci -k | grep -A 2 -E "(VGA|3D)" | grep controller | cut -d ' ' -f 7 | cut -c 1-2 )
+ model=$(lspci -k | grep -A 2 -E "(VGA|3D)" | grep NVIDIA | sed 's/.*Corporation //;s/ .*//' | cut -c 1-2)
22
case "$model" in
23
GM|GP|GV) return 1 ;;
24
TU|GA|AD) return 0 ;;
0 commit comments