aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/psensor/README3
-rw-r--r--system/psensor/README.NVIDIA29
-rw-r--r--system/psensor/psensor.SlackBuild2
-rw-r--r--system/psensor/psensor.info2
4 files changed, 34 insertions, 2 deletions
diff --git a/system/psensor/README b/system/psensor/README
index 428957ee25..4d65d1713b 100644
--- a/system/psensor/README
+++ b/system/psensor/README
@@ -9,3 +9,6 @@ supports sensors from various sources, including lm-sensors and hddtemp.
The application is designed to be user-friendly, making it accessible
for both novice and experienced users who want to keep track of their
system's thermal performance.
+
+libxnvctrl is only needed if you have an NVIDIA card. See README.NVIDIA
+for more information.
diff --git a/system/psensor/README.NVIDIA b/system/psensor/README.NVIDIA
new file mode 100644
index 0000000000..d389831a76
--- /dev/null
+++ b/system/psensor/README.NVIDIA
@@ -0,0 +1,29 @@
+libxnvctrl is only needed if you have an NVIDIA card. You will also need
+to install the NVIDIA driver and kernel in the version compatible with
+your card. You should find them on SBo, and to help you identify the
+right version you can use the nvidia search tool:
+
+https://www.nvidia.com/drivers/
+
+examples:
+
+- for GeForce GT 630M use driver/kernel 390.157 from SBo
+- for GeForce GT 710 use driver/kernel 470.256.02 from SBo
+
+If psensor does not display the temperature of your NVIDIA card and if
+you have a laptop equipped with 2 graphics chips (eg intel and NVIDIA),
+you will have to create the following file to enable NVIDIA-prime:
+
+/usr/share/X11/xorg.conf.d/11-nvidia-prime.conf
+
+containing these lines:
+
+Section "OutputClass"
+Identifier "Nvidia Prime"
+MatchDriver "nvidia-drm"
+Driver "nvidia"
+Option "AllowEmptyInitialConfiguration"
+Option "IgnoreDisplayDevices" "CRT"
+Option "PrimaryGPU" "Yes"
+ModulePath "/usr/lib64/xorg/modules/extensions"
+EndSection
diff --git a/system/psensor/psensor.SlackBuild b/system/psensor/psensor.SlackBuild
index 155d299a06..fc14ed2b32 100644
--- a/system/psensor/psensor.SlackBuild
+++ b/system/psensor/psensor.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=psensor
VERSION=${VERSION:-1.2.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/system/psensor/psensor.info b/system/psensor/psensor.info
index d912affee7..ccf37327bd 100644
--- a/system/psensor/psensor.info
+++ b/system/psensor/psensor.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://gitlab.com/-/project/8609449/uploads/e300e2a110e5a8f11edbe3e35
MD5SUM="9ccbfb4b928e1b8e3827918778d4d857"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="hddtemp"
+REQUIRES="hddtemp libxnvctrl"
MAINTAINER="Olivier Brouckaert"
EMAIL="olivier.b@i-services.be"