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

Description: Unnamed repository; edit this file to name it for gitweb.
Last Change: Wed 2/3/10 13:04

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Wed 2/3/10 13:04
Michael Larabel  
phoromatic: Add... 
Wed 2/3/10 12:38
Michael Larabel  
phoromatic: Add... 
Wed 2/3/10 12:27
Michael Larabel  
phoromatic: Add... 
Wed 2/3/10 9:26
Michael Larabel  
pts: Drop MD5 hashes in... 
Tue 2/2/10 23:43
Michael Larabel  
phoromatic: Add... 
Tue 2/2/10 23:35
Michael Larabel  
pts-core: Phoromatic... 
 
> --git a/CHANGE-LOG b/CHANGE-LOG
index 87f28f2
..e4add2b 100644
--- a/CHANGE-LOG
+++ b/CHANGE-LOG
@@ -15,+15,@@ Phoronix Test Suite (git)
 - 
Improved CPU detection ensures the frequency is shownProperly handles the frequency for those overclocking or with power-savings technologies.
 - 
Added video memory detection supportCurrently only NVIDIA binary driver supportedDefaults to 128MBVideo memory capacity (in MBexported to VIDEO_MEMORY for profiles.
 - 
Compatibility checks when merging results
+- Improved video card detection (use GL renderer and use lspci now only for fallback)
 - 
Add Super PI profile (Thanks to Pekka Panula)
 - 
Other small fixes

diff 
--git a/pts-core/functions/pts-functions_linux.php b/pts-core/functions/pts-functions_linux.php
index 3dd7b96
..3629c55 100644
--- a/pts-core/functions/pts-functions_linux.php
+++ b/pts-core/functions/pts-functions_linux.php
@@ -145,+145,20 @@ function kernel_arch()
 }
 function 
graphics_processor_string()
 {
-    return 
parse_lspci_output("VGA compatible controller:");
+    
$info shell_exec("glxinfo | grep renderer");
+
+    if((
$pos strpos($info"renderer string:")) > 0)
+    {
+        
$info substr($info$pos 16);
+        
$info trim(substr($info0strpos($info"\n")));
+    }
+    else
+        
$info "";
+
+    if(empty(
$info) || $info == "Mesa GLX Indirect")
+        
$info parse_lspci_output("VGA compatible controller:");
+
+    return 
$info;
 }
 function 
motherboard_chipset_string()
 {
<
 
Phoronix.com
Linux Driver Forums
Copyright © 2010 by Phoronix Media