diff --git a/gfxb b/gfxb index 4d1bf44..b288b75 100644 --- a/gfxb +++ b/gfxb @@ -24,6 +24,8 @@ uuid=$(sudo vulkaninfo --summary | grep -vi '6d657361' | awk '/GPU0:/ {p=1; prin uuid2=$(sudo vulkaninfo --summary | grep -vi '6d657361' | awk '/GPU1:/ {p=1; print; next} /GPU[0-9]:/ {p=0} p' | grep -m2 -i 'deviceUUID' | tail -n1 | awk -F'= ' '{print $2}') actgpu=$(sudo glxinfo | grep -i "opengl renderer" | sed s/'OpenGL renderer string: '//g | sed s/'(R)'//g | sed s/'Mesa '//g | sed 's/(KBL GT[0-9])//g' | sed s/'Corporation '//g | sed 's#/PCIe/SSE[0-9]##g' | sed s/' with Max-Q Design'//g | sed s/'zink Vulkan 1.4('//g | sed s/'(NVIDIA_PROPRIETARY))'//g) #actgpuven=$(sudo glxinfo | grep -i "opengl vendor" | sed s/'OpenGL vendor string: '//g | sed s/'Corporation '//g) +temp=$(sudo inxi -s | grep -i 'temp:' | awk -F' ' '{print $1,$2}') +fan=$(sudo inxi -s | grep -i 'fan:' | awk -F' ' '{print $1,$2}') clear echo "================================================================================" | tee -a ./.tmp/"$uid".log echo " GFX BENCHMARK DATE: ${ts}" | tee -a ./.tmp/"$uid".log @@ -108,11 +110,15 @@ read -r -n 1 -s key #echo "--------------------------------------------------------------------------------" #hcs=$(hashcat -bm 0 -D 2 | grep 'Speed.#1.........:' | awk '{print $2,$3}'); echo " HASHCAT SCORE: $hcs" | tee -a ./.tmp/"$uid".log #echo "--------------------------------------------------------------------------------" | tee -a ./.tmp/"$uid".log +echo " $temp $fan" | tee -a ./.tmp/"$uid".log echo " - GLMARK2 BENCHMARK -" | tee -a ./.tmp/"$uid".log echo " RUNNING GLMARK2 BENCHMARK..." #echo "--------------------------------------------------------------------------------" #gms=$(glmark2 --annotate | grep -i 'score:' | awk -F: '{print $2}'); echo " GLMARK2 SCORE:"$gms"FPS" | tee -a ./.tmp/"$uid".log glmark2 --annotate | tee -a ./.tmp/"$uid".log +temp2=$(sudo inxi -s | grep -i 'temp:' | awk -F' ' '{print $1,$2}') +fan2=$(sudo inxi -s | grep -i 'fan:' | awk -F' ' '{print $1,$2}') +echo " $temp $fan -> $temp2 $fan2" | tee -a ./.tmp/"$uid".log echo "--------------------------------------------------------------------------------" | tee -a ./.tmp/"$uid".log gms=$(grep -i 'score:' ./.tmp/"$uid".log | awk -F: '{print $2}'); echo " GLMARK2 SCORE:"$gms"FPS" | tee -a ./.tmp/"$uid".log echo "================================================================================" | tee -a ./.tmp/"$uid".log