Summary
Description: Phoronix Test Suite open-source benchmarking development
Last Change: Fri 5/17/13 22:52
Recent Commits
>
--git a/CHANGE-LOG b/CHANGE-LOG
index 943ac27..bf2c588 100644
--- a/CHANGE-LOG
+++ b/CHANGE-LOG
@@ -3,6 +3,7 @@ PHORONIX TEST SUITE CHANGE-LOG
Phoronix Test Suite (Git)
- pts-core: Fix length of download text progress indicator
+- phodevi: Fix causing a segmentation fault on some Mesa systems
- pts: Update unigine-heaven test profile against Unigine Heaven 2.0
- pts: Update openssl test profile against OpenSSL 1.0.0 upstream
diff --git a/pts-core/objects/phodevi/components/phodevi_system.php b/pts-core/objects/phodevi/components/phodevi_system.php
index 1e5bce6..bfe3ff8 100644
--- a/pts-core/objects/phodevi/components/phodevi_system.php
+++ b/pts-core/objects/phodevi/components/phodevi_system.php
@@ -986,7 +986,7 @@ class phodevi_system extends phodevi_device_interface
{
$display_driver = "nvidia";
}
- else if((IS_MESA_GRAPHICS || IS_BSD) && stripos(phodevi::read_name("gpu"), "NVIDIA") !== false)
+ else if((IS_MESA_GRAPHICS || IS_BSD) && stripos(phodevi::read_property("gpu", "model"), "NVIDIA") !== false)
{
$display_driver = "nv";
}
@@ -994,7 +994,7 @@ class phodevi_system extends phodevi_device_interface
{
// Fallback to hopefully detect the module, takes the first word off the GPU string and sees if it is the module
// This works in at least the case of the Cirrus driver
- $display_driver = strtolower(pts_first_string_in_string(phodevi::read_name("gpu")));
+ $display_driver = strtolower(pts_first_string_in_string(phodevi::read_property("gpu", "model")));
}
}
<
Copyright © 2013 by Phoronix Media