projects / phoronix-test-suite.git / commitdiff
Build Results
 
Summary

Description: Phoronix Test Suite open-source benchmarking development
Last Change: Fri 5/17/13 22:52

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Fri 5/17/13 22:52
Michael Larabel  
phodevi: Report CPU... 
Wed 5/15/13 21:50
Michael Larabel  
Phoronix Test Suite... 
Wed 5/15/13 21:39
Michael Larabel  
pts-core: DragonFlyBSD... 
Wed 5/15/13 15:47
Michael Larabel  
pts-core: Updates from... 
Wed 5/15/13 15:43
Michael Larabel  
 
Sat 5/11/13 13:55
Michael Larabel  
pts-core: Fix for... 
 
> --git a/CHANGE-LOG b/CHANGE-LOG
index b9ddb4e
..dd7425f 100644
--- a/CHANGE-LOG
+++ b/CHANGE-LOG
@@ -4,+4,@@ Phoronix Test Suite (Git)

 - 
pts-coreFix for running result files that have forced AA/AF levels and then fail to merge
 
pts-coreOn missing timezone settingset to UTC if the PHP version is 5.3.0 or neweremits a warning otherwise
+- phodeviFix for reporting fglrx version string with newer versions of ATI Catalyst Linux driver
 
tandem_XmlXML parsing fix when reading
 
ptsFix for prey test profile

diff 
--git a/pts-core/objects/phodevi/phodevi_system.php b/pts-core/objects/phodevi/phodevi_system.php
index 25ba84d
..6adeae6 100644
--- a/pts-core/objects/phodevi/phodevi_system.php
+++ b/pts-core/objects/phodevi/phodevi_system.php
@@ -767,23 +767,25 @@ class phodevi_system extends pts_device_interface
         $ddx_info 
"";
         
$dri_driver phodevi::read_property("system""dri-display-driver");

-        if(!empty(
$dri_driver))
+        if(empty(
$dri_driver))
         {
-            
$driver_version phodevi_parser::read_xorg_module_version($dri_driver "_drv");
-
-            if(!empty(
$driver_version))
+            if(
IS_ATI_GRAPHICS)
             {
-                
$ddx_info $dri_driver " " $driver_version;
+                
$dri_driver "fglrx";
+            }
+            if(
IS_MESA_GRAPHICS && stripos(phodevi::read_name("gpu"), "NVIDIA") !== false)
+            {
+                
$dri_driver "nv";
             }
         }
-        else if(
IS_MESA_GRAPHICS && stripos(phodevi::read_name("gpu"), "NVIDIA") !== false)
+
+        if(!empty(
$dri_driver))
         {
-            
// xf86-video-nv is an open-source driver but currently doesn't support DRI
-            $nv_driver_version phodevi_parser::read_xorg_module_version("nv_drv.so");
+            
$driver_version phodevi_parser::read_xorg_module_version($dri_driver "_drv");

-            if(!empty(
$nv_driver_version))
+            if(!empty(
$driver_version))
             {
-                
$ddx_info "nv " $nv_driver_version;
+                
$ddx_info $dri_driver " " $driver_version;
             }
         }

diff --git a/pts/test-resources/prey/install.sh b/pts/test-resources/prey/install.sh
index a81b970
..63d9080 100755
--- a/pts/test-resources/prey/install.sh
+++ b/pts/test-resources/prey/install.sh
@@ -26,+26,@@ tar -C $DEBUG_REAL_HOME/.prey/base/ -jxf prey-retail-client-pts-1.tar.bz2

 
echo "#!/bin/sh
 cd data/prey-linux-x86/
-./prey.x86 \$@ > \$LOG_FILE
-cat \$LOG_FILE | grep fps" 
prey
+./prey.x86 \$@ > \$LOG_FILE" > prey
 chm
 
Phoronix.com
Linux Driver Forums
Copyright © 2013 by Phoronix Media