glmark2
运行glmark2脚本出错,如下:root@firefly:/usr/local/bin# sh test_glmark2_fullscreen.sh
test_glmark2_fullscreen.sh: 3: [[: not found
test_glmark2_fullscreen.sh: 5: Syntax error: "(" unexpected
直接执行,前面不要加 sh Liuth 发表于 2022-8-23 09:14
直接执行,前面不要加 sh
之前试过,也不行的,用root运行显示如下:
root@firefly:/usr/local/bin# ./test_glmark2_fullscreen.sh
./test_glmark2_fullscreen.sh: line 37: warning: command substitution: ignored null byte in input
tee: /sys/module/cpuidle/parameters/governor: Permission denied
tee: /sys/module/cpufreq/parameters/default_governor: Permission denied
performance
tee: /sys/devices/system/cpu/cpuidle/current_governor: Invalid argument 那别管这个脚本了,直接手动执行这三行:
echo performance | tee $(find /sys/ -name *governor)
export XDG_RUNTIME_DIR=/run/user/1000
glmark2-es2-wayland --fullscreen
第一行报错不用管,第三行参数--fullscreen可选 Liuth 发表于 2022-8-24 14:18
那别管这个脚本了,直接手动执行这三行:
echo performance | tee $(find /sys/ -name *governor)
export ...
收到,感谢!
页:
[1]