git: 6138330314c6 - main - x11/nvidia-driver: add note about disabling GSP firmware to pkg-message
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Apr 2025 13:40:10 UTC
The branch main has been updated by ashafer:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6138330314c68d49518a9d29f87c3a451b710220
commit 6138330314c68d49518a9d29f87c3a451b710220
Author: Austin Shafer <ashafer@FreeBSD.org>
AuthorDate: 2025-04-02 19:15:33 +0000
Commit: Austin Shafer <ashafer@FreeBSD.org>
CommitDate: 2025-04-04 13:38:55 +0000
x11/nvidia-driver: add note about disabling GSP firmware to pkg-message
This adds a note about disabling GSP firmware to the pkg-message to
document a recently discovered issues causing suspend/resume to fail.
When a proper fix lands in a future 570 version this can be removed.
suspend/resume issues began at commit 0de17c4dce28
Differential Revision: https://reviews.freebsd.org/D49640
Reviewed by: kbowling (mentor)
---
x11/nvidia-driver/Makefile | 2 +-
x11/nvidia-driver/files/pkg-message.in | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index d7112d6a949d..da198721d85f 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -14,7 +14,7 @@
PORTNAME?= nvidia-driver
DISTVERSION?= ${NVIDIA_DISTVERSION}
# Always try to set PORTREVISION as it can be overridden by the slave ports
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= x11
MASTER_SITES= NVIDIA/XFree86/FreeBSD-${ARCH_SUFX}/${DISTVERSION}
DISTNAME= NVIDIA-FreeBSD-${ARCH_SUFX}-${DISTVERSION}
diff --git a/x11/nvidia-driver/files/pkg-message.in b/x11/nvidia-driver/files/pkg-message.in
index 7987b59d3463..d73c5f09d6a9 100644
--- a/x11/nvidia-driver/files/pkg-message.in
+++ b/x11/nvidia-driver/files/pkg-message.in
@@ -32,6 +32,12 @@ If X.org cannot start and reports
in /var/log/Xorg.0.log while actually you have ``options SYSVSHM''
enabled in kernel, the sysctl ``kern.ipc.shmall'' should be increased.
+In certain 570 versions GSP firmware is known to cause issues with
+suspend/resume. To disable GSP firmware add
+hw.nvidia.registry.EnableGpuFirmware=0 to your loader.conf.
+
+https://download.nvidia.com/XFree86/FreeBSD-x86_64/560.31.02/README/gsp.html
+
See %%DOCSDIR%%/README for more information.
EOM
}