GPU: Added support for virtualbox gpu
This commit is contained in:
parent
3c3e2cc571
commit
d20e7b3523
1 changed files with 8 additions and 4 deletions
12
fetch
12
fetch
|
@ -715,7 +715,7 @@ getgpu () {
|
|||
gpu=${gpu/'Intel Corporation' }
|
||||
gpu=${gpu/'Haswell-'??? }
|
||||
|
||||
brand="Intel"
|
||||
brand="Intel "
|
||||
;;
|
||||
|
||||
advanced*)
|
||||
|
@ -726,7 +726,7 @@ getgpu () {
|
|||
gpu=${gpu/' ['}
|
||||
gpu=${gpu/']'}
|
||||
|
||||
brand="AMD"
|
||||
brand="AMD "
|
||||
;;
|
||||
|
||||
nvidia*)
|
||||
|
@ -737,11 +737,15 @@ getgpu () {
|
|||
gpu=${gpu/'['}
|
||||
gpu=${gpu/']'}
|
||||
|
||||
brand="Nvidia"
|
||||
brand="Nvidia "
|
||||
;;
|
||||
|
||||
*virtualbox*)
|
||||
gpu="VirtualBox Graphics Adapter"
|
||||
;;
|
||||
esac
|
||||
|
||||
gpu="$brand $gpu"
|
||||
gpu="${brand}${gpu}"
|
||||
;;
|
||||
|
||||
"Mac OS X")
|
||||
|
|
Loading…
Reference in a new issue