summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_system_graphics.php
diff options
context:
space:
mode:
Diffstat (limited to 'pts-core/functions/pts-functions_system_graphics.php')
-rw-r--r--pts-core/functions/pts-functions_system_graphics.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/pts-core/functions/pts-functions_system_graphics.php b/pts-core/functions/pts-functions_system_graphics.php
index f48b8a8..650de25 100644
--- a/pts-core/functions/pts-functions_system_graphics.php
+++ b/pts-core/functions/pts-functions_system_graphics.php
@@ -314,6 +314,14 @@ function graphics_processor_string()
$info = $log_parse;
}
+ if(IS_BSD && $info == "Unknown")
+ {
+ $info = read_sysctl("dev.drm.0.%desc");
+
+ if($info == "Unknown")
+ $info = read_sysctl("dev.agp.0.%desc");
+ }
+
$info = pts_clean_information_string($info);
return $info;