Commit dd62ec69 authored by Dylan Araps's avatar Dylan Araps Committed by GitHub

Merge pull request #627 from SomaUlte/patch-1

GPU: [Linux] More detailed Intel GPU info. Closes #626
parents 611c88b2 c8cce9ac
...@@ -1075,7 +1075,12 @@ get_gpu() { ...@@ -1075,7 +1075,12 @@ get_gpu() {
;; ;;
*"intel"*) *"intel"*)
gpu="Intel Integrated Graphics" gpu="$(glxinfo | grep "Device:.*Intel")"
gpu="${gpu/*Intel/Intel}"
gpu="${gpu/'(R)'}"
gpu="${gpu/ \(*}"
[[ -z "$(trim "$gpu")" ]] && gpu="Intel Integrated Graphics"
;; ;;
*"virtualbox"*) *"virtualbox"*)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment