kopia lustrzana https://github.com/OpenDroneMap/WebODM
Request a change about Nvidia detector
My previous pull is works perfectly in my computer, it can detect Nvidia driver. But I afraid my code don't work with another computer since I never test with that. So, I add my previous code (which worked in my computer) and keep the previous code (which I think it will works on another computer)pull/1125/head
rodzic
e741650324
commit
6a1301d088
|
@ -177,6 +177,13 @@ detect_gpus(){
|
|||
set -e
|
||||
return
|
||||
fi
|
||||
|
||||
lspci | grep "VGA.*NVIDIA"
|
||||
if [ "${?}" -eq 0 ]; then
|
||||
export GPU_NVIDIA=true
|
||||
set -e
|
||||
return
|
||||
fi
|
||||
|
||||
lspci | grep "VGA.*Intel"
|
||||
if [ "${?}" -eq 0 ]; then
|
||||
|
|
Ładowanie…
Reference in New Issue