From e3b705d970e09b1fef57c584982466152fd1a86754d12046e920129642602220 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Fri, 3 Nov 2023 19:59:14 +0000 Subject: [PATCH 1/2] - cleanup; sle12 no longer supported OBS-URL: https://build.opensuse.org/package/show/X11:Drivers:Video:Redesign/nvidia-open-driver-G06-signed?expand=0&rev=61 --- nvidia-open-driver-G06-signed.changes | 5 +++++ nvidia-open-driver-G06-signed.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/nvidia-open-driver-G06-signed.changes b/nvidia-open-driver-G06-signed.changes index a5d58f6..780b939 100644 --- a/nvidia-open-driver-G06-signed.changes +++ b/nvidia-open-driver-G06-signed.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 3 19:53:37 UTC 2023 - Stefan Dirsch + +- cleanup; sle12 no longer supported + ------------------------------------------------------------------- Wed Nov 1 19:36:30 UTC 2023 - Stefan Dirsch diff --git a/nvidia-open-driver-G06-signed.spec b/nvidia-open-driver-G06-signed.spec index 52f4bf0..f82fe99 100644 --- a/nvidia-open-driver-G06-signed.spec +++ b/nvidia-open-driver-G06-signed.spec @@ -61,7 +61,7 @@ BuildRequires: perl-Bootloader BuildRequires: pesign-obs-integration BuildRequires: zstd %ifnarch aarch64 -%if 0%{?sle_version} >= 120400 && !0%{?is_opensuse} +%if !0%{?is_opensuse} BuildRequires: kernel-syms-azure %endif %endif From c3b9d484a170147a49c3efb4684b937692e26cb706be154bde4a56a9092d88e0 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Mon, 13 Nov 2023 15:44:38 +0000 Subject: [PATCH 2/2] - Update to 545.29.02 - added fbdev=1 option for nvidia-drm module, which gives us a proper framebuffer console now ... - nosimplefb kernel option no longer needed with usage of nvidia-drm's fbdev=1 option - nvidia's NVreg_OpenRmEnableUnsupportedGpus=1 option no longer needed; GeForce and Workstation GPUs now officially supported - support added for H100/H800 GPUs (Hopper) OBS-URL: https://build.opensuse.org/package/show/X11:Drivers:Video:Redesign/nvidia-open-driver-G06-signed?expand=0&rev=62 --- kmp-post.sh | 4 ---- kmp-postun.sh | 4 ---- nvidia-open-driver-G06-signed.changes | 12 ++++++++++++ nvidia-open-driver-G06-signed.spec | 6 ++---- open-gpu-kernel-modules-535.129.03.tar.gz | 3 --- open-gpu-kernel-modules-545.29.02.tar.gz | 3 +++ pci_ids-535.129.03 => pci_ids-545.29.02 | 8 ++++++++ pci_ids-unsupported | 7 ------- ...orted-535.129.03 => pci_ids-unsupported-545.29.02 | 7 ------- 9 files changed, 25 insertions(+), 29 deletions(-) delete mode 100644 open-gpu-kernel-modules-535.129.03.tar.gz create mode 100644 open-gpu-kernel-modules-545.29.02.tar.gz rename pci_ids-535.129.03 => pci_ids-545.29.02 (68%) rename pci_ids-unsupported-535.129.03 => pci_ids-unsupported-545.29.02 (97%) diff --git a/kmp-post.sh b/kmp-post.sh index 7fd3a04..e5a48ac 100644 --- a/kmp-post.sh +++ b/kmp-post.sh @@ -27,7 +27,3 @@ for dev in $(ls -d /sys/bus/pci/devices/*); do fi done -# Workaround needed on TW for simpledrm (boo#1201392) -%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150600 -pbl --add-option nosimplefb=1 --config -%endif diff --git a/kmp-postun.sh b/kmp-postun.sh index c9c4215..5e12a52 100644 --- a/kmp-postun.sh +++ b/kmp-postun.sh @@ -1,8 +1,4 @@ if [ "$1" = 0 ] ; then # cleanup of bnc# 1000625 rm -f /usr/lib/tmpfiles.d/nvidia-logind-acl-trick-G06.conf - # remove TW Workaround for simpledrm during uninstall (boo#1201392) - %if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150600 - pbl --del-option nosimplefb=1 --config - %endif fi diff --git a/nvidia-open-driver-G06-signed.changes b/nvidia-open-driver-G06-signed.changes index 780b939..a38de07 100644 --- a/nvidia-open-driver-G06-signed.changes +++ b/nvidia-open-driver-G06-signed.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Nov 13 15:37:46 UTC 2023 - Stefan Dirsch + +- Update to 545.29.02 +- added fbdev=1 option for nvidia-drm module, which gives us a proper + framebuffer console now ... +- nosimplefb kernel option no longer needed with usage of nvidia-drm's + fbdev=1 option +- nvidia's NVreg_OpenRmEnableUnsupportedGpus=1 option no longer + needed; GeForce and Workstation GPUs now officially supported +- support added for H100/H800 GPUs (Hopper) + ------------------------------------------------------------------- Fri Nov 3 19:53:37 UTC 2023 - Stefan Dirsch diff --git a/nvidia-open-driver-G06-signed.spec b/nvidia-open-driver-G06-signed.spec index f82fe99..90e3491 100644 --- a/nvidia-open-driver-G06-signed.spec +++ b/nvidia-open-driver-G06-signed.spec @@ -30,7 +30,7 @@ %define compress_modules xz %endif Name: nvidia-open-driver-G06-signed -Version: 535.129.03 +Version: 545.29.02 Release: 0 Summary: NVIDIA open kernel module driver for GeForce RTX 2000 series and newer License: GPL-2.0-only AND MIT @@ -158,9 +158,7 @@ mkdir -p $MODPROBE_DIR for flavor in %flavors_to_build; do cat > $MODPROBE_DIR/50-nvidia-$flavor.conf << EOF blacklist nouveau -options nvidia-drm modeset=1 -### Enable support on *all* Turing/Ampere GPUs: Alpha Quality! -#options nvidia NVreg_OpenRmEnableUnsupportedGpus=1 +options nvidia-drm modeset=1 fbdev=1 EOF echo -n "install nvidia " >> $MODPROBE_DIR/50-nvidia-$flavor.conf tail -n +3 %_sourcedir/modprobe.nvidia.install | awk '{ printf "%s ", $0 }' >> $MODPROBE_DIR/50-nvidia-$flavor.conf diff --git a/open-gpu-kernel-modules-535.129.03.tar.gz b/open-gpu-kernel-modules-535.129.03.tar.gz deleted file mode 100644 index 72e9a9d..0000000 --- a/open-gpu-kernel-modules-535.129.03.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:170ee91b6cd6c801bba0de91e0d62af8e574adde38120bc762784755b5a9821d -size 12782724 diff --git a/open-gpu-kernel-modules-545.29.02.tar.gz b/open-gpu-kernel-modules-545.29.02.tar.gz new file mode 100644 index 0000000..9584ac7 --- /dev/null +++ b/open-gpu-kernel-modules-545.29.02.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:846b035acd4bcb9c94ea91416e368237624383d54d86cd162a7e947a582a07c5 +size 12947815 diff --git a/pci_ids-535.129.03 b/pci_ids-545.29.02 similarity index 68% rename from pci_ids-535.129.03 rename to pci_ids-545.29.02 index 842d6e8..890e5c4 100644 --- a/pci_ids-535.129.03 +++ b/pci_ids-545.29.02 @@ -17,7 +17,15 @@ 0x2235 NVIDIA A40 0x2236 NVIDIA A10 0x2237 NVIDIA A10G +0x2321 NVIDIA H100 NVL +0x2322 NVIDIA H800 PCIe +0x2324 NVIDIA H800 +0x233A NVIDIA H800 NVL +0x2330 NVIDIA H100 80GB HBM3 +0x2331 NVIDIA H100 PCIe +0x2339 NVIDIA H100 0x25B6 NVIDIA A16 0x26B5 NVIDIA L40 0x26B8 NVIDIA L40G 0x27B8 NVIDIA L4 + diff --git a/pci_ids-unsupported b/pci_ids-unsupported index 0336dc5..46ad8bf 100644 --- a/pci_ids-unsupported +++ b/pci_ids-unsupported @@ -90,13 +90,6 @@ 0x2232 NVIDIA RTX A4500 0x2233 NVIDIA RTX A5500 0x2238 NVIDIA A10M -0x2321 NVIDIA H100 NVL -0x2322 NVIDIA H800 PCIe -0x2324 NVIDIA H800 -0x2330 NVIDIA H100 80GB HBM3 -0x2331 NVIDIA H100 PCIe -0x2339 NVIDIA H100 -0x233A NVIDIA H800 NVL 0x2342 GH200 480GB 0x2414 NVIDIA GeForce RTX 3060 Ti 0x2420 NVIDIA GeForce RTX 3080 Ti Laptop GPU diff --git a/pci_ids-unsupported-535.129.03 b/pci_ids-unsupported-545.29.02 similarity index 97% rename from pci_ids-unsupported-535.129.03 rename to pci_ids-unsupported-545.29.02 index 0336dc5..46ad8bf 100644 --- a/pci_ids-unsupported-535.129.03 +++ b/pci_ids-unsupported-545.29.02 @@ -90,13 +90,6 @@ 0x2232 NVIDIA RTX A4500 0x2233 NVIDIA RTX A5500 0x2238 NVIDIA A10M -0x2321 NVIDIA H100 NVL -0x2322 NVIDIA H800 PCIe -0x2324 NVIDIA H800 -0x2330 NVIDIA H100 80GB HBM3 -0x2331 NVIDIA H100 PCIe -0x2339 NVIDIA H100 -0x233A NVIDIA H800 NVL 0x2342 GH200 480GB 0x2414 NVIDIA GeForce RTX 3060 Ti 0x2420 NVIDIA GeForce RTX 3080 Ti Laptop GPU