commit 85fdd3b56f115ecc2ab495e655860b1a2bd29e8f
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Aug 14 11:01:25 2023 +0100
Add nvidia-drm.modeset=1 to cmdline
xorg-x11-drv-nvidia.spec | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 1db4ee3..fa1fa4e 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -10,7 +10,7 @@
%global _firmwarepath %{_prefix}/lib/firmware
%global _winedir %{_libdir}/nvidia/wine
%if 0%{?fedora} || 0%{?rhel} > 7
-%global _dracutopts rd.driver.blacklist=nouveau
modprobe.blacklist=nouveau
+%global _dracutopts rd.driver.blacklist=nouveau
modprobe.blacklist=nouveau nvidia-drm.modeset=1
%else
%global _dracutopts nouveau.modeset=0 rd.driver.blacklist=nouveau
%global _modprobedir %{_prefix}/lib/modprobe.d
@@ -27,7 +27,7 @@
Name: xorg-x11-drv-nvidia
Epoch: 3
Version: 535.98
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
License: Redistributable, no modification permitted
@@ -437,7 +437,7 @@ if [ "$1" -eq "1" ]; then
sed -i -e 's/GRUB_CMDLINE_LINUX="/GRUB_CMDLINE_LINUX="%{_dracutopts}
/g' /etc/default/grub
fi || :
-%triggerun -- xorg-x11-drv-nvidia < 3:515.43.04-5
+%triggerun -- xorg-x11-drv-nvidia < 3:535.98-2
if [ -f %{_sysconfdir}/default/grub ] ; then
sed -i -e '/GRUB_GFXPAYLOAD_LINUX=text/d' %{_sysconfdir}/default/grub
. %{_sysconfdir}/default/grub
@@ -642,6 +642,9 @@ fi ||:
%endif
%changelog
+* Mon Aug 14 2023 Leigh Scott <leigh123linux(a)gmail.com> - 3:535.98-2
+- Add nvidia-drm.modeset=1 to cmdline
+
* Tue Aug 08 2023 Leigh Scott <leigh123linux(a)gmail.com> - 3:535.98-1
- Update to 535.98
Show replies by date