summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/tweaker/bin
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/tweaker/bin')
-rwxr-xr-xabs/core-testing/tweaker/bin/twk_graphics.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/abs/core-testing/tweaker/bin/twk_graphics.pl b/abs/core-testing/tweaker/bin/twk_graphics.pl
index 4fb6d77..22b6688 100755
--- a/abs/core-testing/tweaker/bin/twk_graphics.pl
+++ b/abs/core-testing/tweaker/bin/twk_graphics.pl
@@ -43,7 +43,7 @@ sub check_for_GL() {
# Now poll the strength, returning the FPS from glxgears, run at the default resolution.
# I would love to be able to poll this in a way that 1) doesn't pop up a GUI window and
# 2) doesn't rely on manually making a database that maps video cards to performance levels.
- $result = execute_shell_command("script -q -c \"glxgears -fullscreen & sleep 11 ; pkill -15 glxgears\" | tail -1");
+ $result = execute_shell_command("script -q -c \"glxgears -fullscreen & sleep 11 ; pkill -15 glxgears\" | grep FPS | tail -1");
if ($result =~ m/ (\d+)\.\d+ FPS/) {
$fps = $1;
execute_shell_command("echo $fps > /tmp/fps");