Compare commits

...

17 Commits
a10 ... main

Author SHA1 Message Date
cbdc523c31 Drop kernel-mode-setting patch, included upstream 2026-03-06 02:12:40 +01:00
0b513e14a1 Update to 595.45.04 2026-03-06 00:50:07 +00:00
d445731f59 Rebuild for new kernel 2026-02-26 22:08:27 +00:00
16abbbf764 Update to 590.48.01 2025-12-18 18:02:14 +00:00
eabdullin
8e196010e6 Rebuild for new kernel 2025-12-18 16:29:18 +03:00
92a9e633d3 Update to 590.44.01 2025-12-03 06:02:34 +00:00
eabdullin
e7703c8af8 - Mark modules executable 2025-11-14 19:45:43 +03:00
eabdullin
4492e96e97 Rebuild for the new kernel version 2025-11-13 17:28:23 +03:00
cc7ad40e7a Update to 580.105.08 2025-11-06 13:27:33 +00:00
eabdullin
c7bb4904ba Rebuild for new kernel 2025-11-06 15:27:29 +03:00
eabdullin
0cfa018431 Rebuild for new kernel 2025-10-22 15:59:46 +03:00
eabdullin
99dbcdf1b0 Update to 580.95.05 2025-10-02 10:57:42 +03:00
eabdullin
40021c6033 - Rebuild for new kernel 2025-10-02 10:44:46 +03:00
eabdullin
0baac4b7b8 Rebuild for new kernel 2025-09-08 10:15:25 +03:00
5cd41fa7d3 Update to 580.82.07 2025-09-03 08:58:33 -05:00
eabdullin
232f61945e Rebuild for new kernel 2025-09-03 12:01:56 +03:00
7a6791a141 Rebuild for new kernel 2025-08-24 10:23:57 +00:00
3 changed files with 48 additions and 55 deletions

View File

@ -1,45 +0,0 @@
From a2e9b73f8d3f593eed007ebfe51dabc9a0e410c2 Mon Sep 17 00:00:00 2001
From: Neal Gompa <ngompa@almalinux.org>
Date: Mon, 7 Apr 2025 19:36:18 -0400
Subject: [PATCH] kernel-open/nvidia-drm: Enable kernel mode-setting by default
The general expectation for the Linux graphics stack for more than
a decade has been to use kernel mode-setting. It is now a requirement
for things to work properly on Wayland-based graphical environments,
so flip the default to use kernel mode-setting by default.
Signed-off-by: Neal Gompa <ngompa@almalinux.org>
---
kernel-open/nvidia-drm/nvidia-drm-linux.c | 2 +-
kernel-open/nvidia-drm/nvidia-drm-os-interface.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel-open/nvidia-drm/nvidia-drm-linux.c b/kernel-open/nvidia-drm/nvidia-drm-linux.c
index 3cb1815d..209cb469 100644
--- a/kernel-open/nvidia-drm/nvidia-drm-linux.c
+++ b/kernel-open/nvidia-drm/nvidia-drm-linux.c
@@ -31,7 +31,7 @@
MODULE_PARM_DESC(
modeset,
- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))");
+ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)");
module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
#if defined(NV_DRM_FBDEV_AVAILABLE)
diff --git a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
index 7617476d..f22afd77 100644
--- a/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
+++ b/kernel-open/nvidia-drm/nvidia-drm-os-interface.c
@@ -41,7 +41,7 @@
#include <drm/drmP.h>
#endif
-bool nv_drm_modeset_module_param = false;
+bool nv_drm_modeset_module_param = true;
bool nv_drm_fbdev_module_param = true;
void *nv_drm_calloc(size_t nmemb, size_t size)
--
2.48.1

View File

@ -21,16 +21,14 @@
Name: %{kmodname}-kmod
Version: 580.65.06
Release: 2%{?dist}
Version: 595.45.04
Release: 1%{?dist}
Summary: Kernel module (kmod) for NVIDIA GPU hardware
License: GPL-2.0-only and MIT
URL: https://github.com/NVIDIA/open-gpu-kernel-modules
Source0: %{url}/archive/%{version}/open-gpu-kernel-modules-%{version}.tar.gz
Patch0: 0001-kernel-open-nvidia-drm-Enable-kernel-mode-setting-by.patch
# For kmodtool
Source10: kmod-%{kmodname}.spec.preamble
@ -38,9 +36,6 @@ Source10: kmod-%{kmodname}.spec.preamble
Source20: kmp-local-override.macros
Source21: kmodtool-local-override
# patch dependencies
BuildRequires: git-core
# kernel module package macros were split out sometime after EL7...
BuildRequires: kernel-rpm-macros
# kmod dependencies
@ -78,7 +73,7 @@ and newer models of GPU hardware.
%{error:modsign_os macro not set to almalinux-nvidia-signing, exiting}
%endif
%autosetup -n open-gpu-kernel-modules-%{version} -S git_am
%autosetup -n open-gpu-kernel-modules-%{version}
for flavor in %{flavors_to_build}; do
cp -a ../open-gpu-kernel-modules-%{version} ../%{name}-%{version}-kmodbuild-$flavor
@ -96,6 +91,8 @@ for flavor in %{flavors_to_build}; do
popd
done
find . -name "*.ko" -type f -exec chmod u+x '{}' +
%install
# Set correct install paths
@ -112,6 +109,48 @@ done
%changelog
* Fri Mar 06 2026 almalinux-bot-nvidia <almalinux-bot-nvidia@almalinux.org> - 595.45.04-1
- Update to 595.45.04
* Thu Feb 26 2026 Andrew Lukoshko <alukoshko@almalinux.org> - 590.48.01-2
- Rebuild for new kernel
* Thu Dec 18 2025 almalinux-bot-nvidia <almalinux-bot-nvidia@almalinux.org> - 590.48.01-1
- Update to 590.48.01
* Thu Dec 18 2025 Eduard Abdullin <eabdullin@almalinux.org> - 590.44.01-2
- Rebuild for new kernel
* Wed Dec 03 2025 almalinux-bot-nvidia <almalinux-bot-nvidia@almalinux.org> - 590.44.01-1
- Update to 590.44.01
* Fri Nov 14 2025 Eduard Abdullin <eabdullin@almalinux.org> - 580.105.08-3
- Mark modules executable
* Thu Nov 13 2025 Eduard Abdullin <eabdullin@almalinux.org> - 580.105.08-2
- Rebuild for the new kernel version
* Thu Nov 06 2025 almalinux-bot-nvidia <almalinux-bot-nvidia@almalinux.org> - 580.105.08-1
- Update to 580.105.08
* Thu Nov 06 2025 Eduard Abdullin <eabdullin@almalinux.org> - 580.95.05-3
- Rebuild for new kernel
* Thu Oct 22 2025 Eduard Abdullin <eabdullin@almalinux.org> - 580.95.05-2
- Rebuild for new kernel
* Thu Oct 02 2025 Eduard Abdullin <eabdullin@almalinux.org> - 580.95.05-1
- Update to 580.95.05
* Thu Oct 02 2025 Eduard Abdullin <eabdullin@almalinux.org> - 580.82.07-3
- Rebuild for new kernel
* Wed Sep 03 2025 Jonathan Wright <jonathan@almalinux.org> - 580.82.07-1
- Update to 580.82.07
* Sun Aug 24 2025 Andrew Lukoshko <alukoshko@almalinux.org> - 580.65.06-3
- Rebuild for new kernel
* Mon Aug 04 2025 Neal Gompa <ngompa@almalinux.org> - 580.65.06-2
- Drop metapackage and add more Provides for NVIDIA repository compatibility
@ -135,4 +174,3 @@ done
* Mon May 26 2025 Neal Gompa <ngompa@almalinux.org> - 570.153.02-1
- Initial package

View File

@ -1 +1 @@
SHA512 (open-gpu-kernel-modules-580.65.06.tar.gz) = b1cdc014b871b174897d6f5df5994c152cc088f3a71acf1e2dfce5fa173369213406d1ff9e4289df23f7e946eabdcdbaa84d8c4644a3e113fe4f329f991724f8
SHA512 (open-gpu-kernel-modules-595.45.04.tar.gz) = d3ac8c36d2ba2c0ba904d08630f90d49425977d6897d9f448a70bdd43891b078720d93833981bef794c5e7dca544247e60aa521126cdb57868254b961e1e9a8f