Upload files to "/"

This commit is contained in:
Bray committed 2026-12-02 18:03:10 +00:00
1 parent 254f5f13f7
commit c47daa9a46
1 file changed
+6
+6
View File
@@ -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}') 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) 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) #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 clear
echo "================================================================================" | tee -a ./.tmp/"$uid".log echo "================================================================================" | tee -a ./.tmp/"$uid".log
echo " GFX BENCHMARK DATE: ${ts}" | 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 "--------------------------------------------------------------------------------" #echo "--------------------------------------------------------------------------------"
#hcs=$(hashcat -bm 0 -D 2 | grep 'Speed.#1.........:' | awk '{print $2,$3}'); echo " HASHCAT SCORE: $hcs" | tee -a ./.tmp/"$uid".log #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 "--------------------------------------------------------------------------------" | tee -a ./.tmp/"$uid".log
echo " $temp $fan" | tee -a ./.tmp/"$uid".log
echo " - GLMARK2 BENCHMARK -" | tee -a ./.tmp/"$uid".log echo " - GLMARK2 BENCHMARK -" | tee -a ./.tmp/"$uid".log
echo " RUNNING GLMARK2 BENCHMARK..." echo " RUNNING GLMARK2 BENCHMARK..."
#echo "--------------------------------------------------------------------------------" #echo "--------------------------------------------------------------------------------"
#gms=$(glmark2 --annotate | grep -i 'score:' | awk -F: '{print $2}'); echo " GLMARK2 SCORE:"$gms"FPS" | tee -a ./.tmp/"$uid".log #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 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 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 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 echo "================================================================================" | tee -a ./.tmp/"$uid".log