Commit b08e82be authored by Boria138's avatar Boria138

Improve GPU list

parent e9a85864
......@@ -171,7 +171,7 @@ pw_gui_for_edit_db () {
GPU_VAR="disabled"
fi
GET_GPU_NAMES=$(vulkaninfo | awk -F '=' '/deviceName/{print $2}' | paste -sd '!')
GET_GPU_NAMES=$(vulkaninfo 2>/dev/null | awk -F '=' '/deviceName/{print $2}' | paste -sd '!' | sed 's/^ //')
GET_REFRASH_RATE="30!45!60!75!120!144!165!240"
......
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