automatic version update by autodist [release 565.57.01-1mamba;Thu Oct 24 2024]

This commit is contained in:
Automatic Build System 2024-10-27 12:39:04 +01:00
parent 8429ffcc69
commit e8644a2e21

View File

@ -1,9 +1,9 @@
%define nvidia_current_ver %version %define nvidia_current_ver %version
%define nvidia_current_libver %version %define nvidia_current_libver %version
Name: nvidia Name: nvidia
Version: 560.35.03 Version: 565.57.01
Epoch: 1 Epoch: 1
Release: 2mamba Release: 1mamba
Summary: NVIDIA proprietary accelerated drivers for the Linux Kernel Summary: NVIDIA proprietary accelerated drivers for the Linux Kernel
Group: System/Kernel and Hardware Group: System/Kernel and Hardware
Vendor: openmamba Vendor: openmamba
@ -29,7 +29,10 @@ BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgtk3-devel BuildRequires: libgtk3-devel
BuildRequires: libmesa-devel BuildRequires: libmesa-devel
BuildRequires: libopenssl-devel
BuildRequires: libopenssl111
BuildRequires: libpango-devel BuildRequires: libpango-devel
BuildRequires: libxcb-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
ExclusiveArch: x86_64 ExclusiveArch: x86_64
@ -70,6 +73,8 @@ Conflicts: xorg-apps-nvidia_304
Conflicts: xorg-apps-nvidia_340 Conflicts: xorg-apps-nvidia_340
Conflicts: xorg-apps-nvidia_390 Conflicts: xorg-apps-nvidia_390
Obsoletes: xorg-apps-nvidia_450 <= 1:460.39 Obsoletes: xorg-apps-nvidia_450 <= 1:460.39
Obsoletes: xorg-drv-video-nvidia_450-doc <= 1:460.39
Obsoletes: xorg-drv-video-nvidia-doc < 1:560.35.03-3mamba
%description -n xorg-drv-video-%{name} %description -n xorg-drv-video-%{name}
The NVIDIA Accelerated Linux Driver Set brings both accelerated 2D functionality and high performance OpenGL support to Linux x86 with theuse of NVIDIA graphics processing units (GPUs). The NVIDIA Accelerated Linux Driver Set brings both accelerated 2D functionality and high performance OpenGL support to Linux x86 with theuse of NVIDIA graphics processing units (GPUs).
@ -77,20 +82,6 @@ These drivers provide optimized hardware acceleration of OpenGL applications via
TwinView, TV-Out and flat panel displays are also supported. TwinView, TV-Out and flat panel displays are also supported.
This package contains the Xorg libraries, DKMS kernel driver and all the NVIDIA libraries. This package contains the Xorg libraries, DKMS kernel driver and all the NVIDIA libraries.
%package -n xorg-drv-video-%{name}-doc
Group: Documentation
Summary: HTML documentation for NVIDIA Accelerated Libraries for Xorg
Conflicts: xorg-drv-video-nvidia_304-doc
Conflicts: xorg-drv-video-nvidia_340-doc
Conflicts: xorg-drv-video-nvidia_390-doc
Obsoletes: xorg-drv-video-nvidia_450-doc <= 1:460.39
%description -n xorg-drv-video-%{name}-doc
The NVIDIA Accelerated Linux Driver Set brings both accelerated 2D functionality and high performance OpenGL support to Linux x86 with theuse of NVIDIA graphics processing units (GPUs).
These drivers provide optimized hardware acceleration of OpenGL applications via a direct-rendering X Server and support nearly all NVIDIA graphics chips.
TwinView, TV-Out and flat panel displays are also supported.
This package contains the HTML documentation.
# Turn off strip'ng of binaries # Turn off strip'ng of binaries
%global __strip /bin/true %global __strip /bin/true
@ -125,9 +116,13 @@ pushd current
# X driver # X driver
install -D -m755 nvidia_drv.so %{buildroot}%{_libdir}/xorg/modules/drivers/nvidia_drv.so install -D -m755 nvidia_drv.so %{buildroot}%{_libdir}/xorg/modules/drivers/nvidia_drv.so
# Xorg
install -D -m755 libnvidia-egl-xcb.so.1.0.0 -t %{buildroot}%{_libdir}
install -D -m755 libnvidia-egl-xlib.so.1.0.0 -t %{buildroot}%{_libdir}
install -D -m644 20_nvidia_xcb.json -t %{buildroot}%{_datadir}/egl/egl_external_platform.d
install -D -m644 20_nvidia_xlib.json -t %{buildroot}%{_datadir}/egl/egl_external_platform.d
# Wayland/GBM # Wayland/GBM
install -D -m755 libnvidia-egl-gbm.so.1* -t %{buildroot}%{_libdir}/
install -D -m644 15_nvidia_gbm.json %{buildroot}%{_datadir}/egl/egl_external_platform.d/15_nvidia_gbm.json
mkdir -p %{buildroot}%{_libdir}/gbm mkdir -p %{buildroot}%{_libdir}/gbm
ln -sr ../libnvidia-allocator.so.%{version} %{buildroot}%{_libdir}/gbm/nvidia-drm_gbm.so ln -sr ../libnvidia-allocator.so.%{version} %{buildroot}%{_libdir}/gbm/nvidia-drm_gbm.so
@ -156,11 +151,10 @@ install -D -m755 libnvidia-glsi.so.%{version} %{buildroot}%{_libdir}/libnvidia-g
# OpenCL # OpenCL
install -D -m644 nvidia.icd %{buildroot}%{_sysconfdir}/OpenCL/vendors/nvidia.icd install -D -m644 nvidia.icd %{buildroot}%{_sysconfdir}/OpenCL/vendors/nvidia.icd
#install -D -m755 libnvidia-compiler.so.%{version} %{buildroot}%{_libdir}/libnvidia-compiler.so.%{version}
install -D -m755 libnvidia-opencl.so.%{version} %{buildroot}%{_libdir}/libnvidia-opencl.so.%{version} install -D -m755 libnvidia-opencl.so.%{version} %{buildroot}%{_libdir}/libnvidia-opencl.so.%{version}
# misc # misc
#install -D -m755 libnvidia-ifr.so.%{version} %{buildroot}%{_libdir}/libnvidia-ifr.so.%{version} install -D -m755 libnvidia-api.so.1 %{buildroot}%{_libdir}/libnvidia-api.so.1
install -D -m755 libnvidia-fbc.so.%{version} %{buildroot}%{_libdir}/libnvidia-fbc.so.%{version} install -D -m755 libnvidia-fbc.so.%{version} %{buildroot}%{_libdir}/libnvidia-fbc.so.%{version}
install -D -m755 libnvidia-encode.so.%{version} %{buildroot}%{_libdir}/libnvidia-encode.so.%{version} install -D -m755 libnvidia-encode.so.%{version} %{buildroot}%{_libdir}/libnvidia-encode.so.%{version}
install -D -m755 libnvidia-cfg.so.%{version} %{buildroot}%{_libdir}/libnvidia-cfg.so.%{version} install -D -m755 libnvidia-cfg.so.%{version} %{buildroot}%{_libdir}/libnvidia-cfg.so.%{version}
@ -182,6 +176,7 @@ install -D -m755 libnvidia-tls.so.%{version} %{buildroot}%{_libdir}/libnvidia-tl
# CUDA # CUDA
install -D -m755 libcuda.so.%{version} %{buildroot}%{_libdir}/libcuda.so.%{version} install -D -m755 libcuda.so.%{version} %{buildroot}%{_libdir}/libcuda.so.%{version}
install -D -m755 libnvcuvid.so.%{version} %{buildroot}%{_libdir}/libnvcuvid.so.%{version} install -D -m755 libnvcuvid.so.%{version} %{buildroot}%{_libdir}/libnvcuvid.so.%{version}
install -D -m755 libcudadebugger.so.%{version} %{buildroot}%{_libdir}/libcudadebugger.so.%{version}
# NVVM Compiler library loaded by the CUDA driver to do JIT link-time-optimization # NVVM Compiler library loaded by the CUDA driver to do JIT link-time-optimization
install -D -m644 libnvidia-nvvm.so.%{version} %{buildroot}%{_libdir}/libnvidia-nvvm.so.%{version} install -D -m644 libnvidia-nvvm.so.%{version} %{buildroot}%{_libdir}/libnvidia-nvvm.so.%{version}
@ -190,10 +185,10 @@ install -D -m644 libnvidia-nvvm.so.%{version} %{buildroot}%{_libdir}/libnvidia-n
install -D -m755 libnvidia-ptxjitcompiler.so.%{version} %{buildroot}%{_libdir}/libnvidia-ptxjitcompiler.so.%{version} install -D -m755 libnvidia-ptxjitcompiler.so.%{version} %{buildroot}%{_libdir}/libnvidia-ptxjitcompiler.so.%{version}
# raytracing # raytracing
install -D -m0644 nvoptix.bin %{buildroot}%{_datadir}/nvidia/nvoptix.bin
install -D -m755 libnvoptix.so.%{version} %{buildroot}%{_libdir}/libnvoptix.so.%{version} install -D -m755 libnvoptix.so.%{version} %{buildroot}%{_libdir}/libnvoptix.so.%{version}
install -D -m755 libnvidia-rtcore.so.%{version} %{buildroot}%{_libdir}/libnvidia-rtcore.so.%{version} install -D -m755 libnvidia-rtcore.so.%{version} %{buildroot}%{_libdir}/libnvidia-rtcore.so.%{version}
#install -D -m755 libnvidia-cbl.so.%{version} %{buildroot}%{_libdir}/libnvidia-cbl.so.%{version}
install -D -m0644 nvoptix.bin %{buildroot}%{_datadir}/nvidia/nvoptix.bin
# NGX # NGX
install -D -m755 nvidia-ngx-updater %{buildroot}%{_bindir}/nvidia-ngx-updater install -D -m755 nvidia-ngx-updater %{buildroot}%{_bindir}/nvidia-ngx-updater
install -D -m755 libnvidia-ngx.so.%{version} %{buildroot}%{_libdir}/libnvidia-ngx.so.%{version} install -D -m755 libnvidia-ngx.so.%{version} %{buildroot}%{_libdir}/libnvidia-ngx.so.%{version}
@ -203,25 +198,17 @@ install -D -m755 nvngx.dll %{buildroot}%{_libdir}/nvidia/wine/nvngx.dll
# Optical flow # Optical flow
install -D -m755 libnvidia-opticalflow.so.%{version} %{buildroot}%{_libdir}/libnvidia-opticalflow.so.%{version} install -D -m755 libnvidia-opticalflow.so.%{version} %{buildroot}%{_libdir}/libnvidia-opticalflow.so.%{version}
# DEBUG # Cryptography library wrapper
install -D -m755 libnvidia-pkcs11.so.%{version} %{buildroot}%{_libdir}/libnvidia-pkcs11.so.%{version}
install -D -m755 libnvidia-pkcs11-openssl3.so.%{version} %{buildroot}%{_libdir}/libnvidia-pkcs11-openssl3.so.%{version}
# Debug
install -D -m755 nvidia-debugdump %{buildroot}%{_bindir}/nvidia-debugdump install -D -m755 nvidia-debugdump %{buildroot}%{_bindir}/nvidia-debugdump
# nvidia-xconfig # nvidia-xconfig
install -D -m755 nvidia-xconfig %{buildroot}%{_bindir}/nvidia-xconfig install -D -m755 nvidia-xconfig %{buildroot}%{_bindir}/nvidia-xconfig
install -D -m644 nvidia-xconfig.1.gz %{buildroot}%{_mandir}/man1/nvidia-xconfig.1.gz install -D -m644 nvidia-xconfig.1.gz %{buildroot}%{_mandir}/man1/nvidia-xconfig.1.gz
# nvidia-settings
install -D -m755 nvidia-settings %{buildroot}%{_bindir}/nvidia-settings
install -D -m644 nvidia-settings.1.gz %{buildroot}%{_mandir}/man1/nvidia-settings.1.gz
install -D -m644 nvidia-settings.desktop %{buildroot}%{_datadir}/applications/nvidia-settings.desktop
install -D -m644 nvidia-settings.png %{buildroot}%{_datadir}/pixmaps/nvidia-settings.png
sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' -i %{buildroot}%{_datadir}/applications/nvidia-settings.desktop
install -D -m755 libnvidia-gtk3.so.%{version} %{buildroot}%{_libdir}/libnvidia-gtk3.so.%{version}
install -D -m 644 nvidia-settings.desktop \
%{buildroot}%{_datadir}/applications/nvidia-settings.desktop
install -D -m 644 nvidia-settings.png \
%{buildroot}%{_datadir}/pixmaps/nvidia-settings.png
# nvidia-bug-report # nvidia-bug-report
install -D -m755 nvidia-bug-report.sh %{buildroot}%{_bindir}/nvidia-bug-report.sh install -D -m755 nvidia-bug-report.sh %{buildroot}%{_bindir}/nvidia-bug-report.sh
@ -261,6 +248,18 @@ install -D -m644 %{SOURCE2} %{buildroot}%{_datadir}/X11/xorg.conf.d/10-nvidia-dr
install -Dm644 %{SOURCE1} %{buildroot}%{_sysusersdir}/nvidia.conf install -Dm644 %{SOURCE1} %{buildroot}%{_sysusersdir}/nvidia.conf
# nvidia-settings
install -D -m755 nvidia-settings %{buildroot}%{_bindir}/nvidia-settings
install -D -m644 nvidia-settings.1.gz %{buildroot}%{_mandir}/man1/nvidia-settings.1.gz
install -D -m644 nvidia-settings.desktop %{buildroot}%{_datadir}/applications/nvidia-settings.desktop
install -D -m644 nvidia-settings.png %{buildroot}%{_datadir}/pixmaps/nvidia-settings.png
sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' -i %{buildroot}%{_datadir}/applications/nvidia-settings.desktop
install -D -m755 libnvidia-gtk3.so.%{version} %{buildroot}%{_libdir}/libnvidia-gtk3.so.%{version}
install -D -m 644 nvidia-settings.desktop \
%{buildroot}%{_datadir}/applications/nvidia-settings.desktop
install -D -m 644 nvidia-settings.png \
%{buildroot}%{_datadir}/pixmaps/nvidia-settings.png
## Clutter workaround (http://blog.sukimashita.com/2015/04/13/gnome-3-16-and-nvidia-binary-driver-crash-with-totem-gnome-maps-cheese-and-others/) ## Clutter workaround (http://blog.sukimashita.com/2015/04/13/gnome-3-16-and-nvidia-binary-driver-crash-with-totem-gnome-maps-cheese-and-others/)
#mkdir -p %{buildroot}%{_sysconfdir}/profile.d/ #mkdir -p %{buildroot}%{_sysconfdir}/profile.d/
#cat > %{buildroot}%{_sysconfdir}/profile.d/nvidia-clutter.sh << _EOF #cat > %{buildroot}%{_sysconfdir}/profile.d/nvidia-clutter.sh << _EOF
@ -271,7 +270,7 @@ install -Dm644 %{SOURCE1} %{buildroot}%{_sysusersdir}/nvidia.conf
install -d -m0755 %{buildroot}%{_modprobedir} install -d -m0755 %{buildroot}%{_modprobedir}
cat > %{buildroot}%{_modprobedir}/nvidia.conf << _EOF cat > %{buildroot}%{_modprobedir}/nvidia.conf << _EOF
blacklist nouveau blacklist nouveau
options nvidia_drm modeset=1 options nvidia_drm modeset=1 fbdev=1
_EOF _EOF
#install -d -m0755 %{buildroot}%{_modulesloaddir} #install -d -m0755 %{buildroot}%{_modulesloaddir}
@ -285,7 +284,7 @@ add_drivers+=" nvidia nvidia_drm nvidia_modeset "
__EOF __EOF
# fallback service which loads nouveau driver if nvidia was not loaded # fallback service which loads nouveau driver if nvidia was not loaded
install %{SOURCE3} %{buildroot}%{_unitdir}/nvidia-fallback.service install -D -m0644 %{SOURCE3} %{buildroot}%{_unitdir}/nvidia-fallback.service
# dkms # dkms
install -d -m0755 %{buildroot}%{_prefix}/src/%{name}-%{version} install -d -m0755 %{buildroot}%{_prefix}/src/%{name}-%{version}
@ -361,8 +360,9 @@ fi
KVER=`uname -r` KVER=`uname -r`
INITRAMFS=/boot/initramfs-${KVER}.img INITRAMFS=/boot/initramfs-${KVER}.img
[ -e ${INITRAMFS} -a %{_modprobedir}/nvidia.conf -nt ${INITRAMFS} ] || continue [ -e ${INITRAMFS} -a %{_modprobedir}/nvidia.conf -nt ${INITRAMFS} ] && {
[ -e /usr/sbin/mkinitrd ] && /usr/sbin/mkinitrd ${INITRAMFS} ${KVER} -f -H -q dracut $INITRAMFS $KVER -H -f -q
}
: :
%files -n xorg-drv-video-%{name} %files -n xorg-drv-video-%{name}
@ -374,7 +374,6 @@ INITRAMFS=/boot/initramfs-${KVER}.img
%{_prefix}/lib/firmware/nvidia/%{version}/*.bin %{_prefix}/lib/firmware/nvidia/%{version}/*.bin
%{_bindir}/nvidia-* %{_bindir}/nvidia-*
%{_modprobedir}/nvidia.conf %{_modprobedir}/nvidia.conf
#%{_modulesloaddir}/nvidia.conf
%{_systemd_util_dir}/system-sleep/nvidia %{_systemd_util_dir}/system-sleep/nvidia
%{_unitdir}/nvidia-hibernate.service %{_unitdir}/nvidia-hibernate.service
%{_unitdir}/nvidia-persistenced.service %{_unitdir}/nvidia-persistenced.service
@ -389,6 +388,7 @@ INITRAMFS=/boot/initramfs-${KVER}.img
%{_libdir}/libGLESv2_nvidia.so.* %{_libdir}/libGLESv2_nvidia.so.*
%{_libdir}/libGLX_nvidia.so.* %{_libdir}/libGLX_nvidia.so.*
%{_libdir}/libcuda.so.* %{_libdir}/libcuda.so.*
%{_libdir}/libcudadebugger.so.*
%{_libdir}/libnvcuvid.so.* %{_libdir}/libnvcuvid.so.*
%{_libdir}/libnvidia-*.so.* %{_libdir}/libnvidia-*.so.*
%{_libdir}/libnvoptix.so.* %{_libdir}/libnvoptix.so.*
@ -403,7 +403,8 @@ INITRAMFS=/boot/initramfs-${KVER}.img
%{_libdir}/xorg/modules/drivers/nvidia_drv.so %{_libdir}/xorg/modules/drivers/nvidia_drv.so
%{_datadir}/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf %{_datadir}/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
%{_datadir}/applications/nvidia-settings.desktop %{_datadir}/applications/nvidia-settings.desktop
%{_datadir}/egl/egl_external_platform.d/15_nvidia_gbm.json %{_datadir}/egl/egl_external_platform.d/20_nvidia_xcb.json
%{_datadir}/egl/egl_external_platform.d/20_nvidia_xlib.json
%{_datadir}/glvnd/egl_vendor.d/10_nvidia.json %{_datadir}/glvnd/egl_vendor.d/10_nvidia.json
%{_datadir}/nvidia/nvidia-application-profiles-%{version}-key-documentation %{_datadir}/nvidia/nvidia-application-profiles-%{version}-key-documentation
%{_datadir}/nvidia/nvidia-application-profiles-%{version}-rc %{_datadir}/nvidia/nvidia-application-profiles-%{version}-rc
@ -414,11 +415,13 @@ INITRAMFS=/boot/initramfs-${KVER}.img
%{_mandir}/man1/nvidia-*.1* %{_mandir}/man1/nvidia-*.1*
%doc current/LICENSE %doc current/LICENSE
%files -n xorg-drv-video-%{name}-doc
%defattr(-,root,root)
%doc current/{NVIDIA_Changelog,README.txt} current/html
%changelog %changelog
* Thu Oct 24 2024 Automatic Build System <autodist@openmamba.org> 565.57.01-1mamba
- automatic version update by autodist
* Tue Oct 22 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 560.35.03-3mamba
- load nvidia_drm with modeset=1 fbdev=1. install new libraries and binaries
* Sun Aug 25 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 560.35.03-2mamba * Sun Aug 25 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 560.35.03-2mamba
- added nvidia-fallback service which loads nouveau as fallback if nvidia driver is not loaded before display-manager - added nvidia-fallback service which loads nouveau as fallback if nvidia driver is not loaded before display-manager
- remove simplefb causing plymouth to block at boot if nvidia driver is not loaded - remove simplefb causing plymouth to block at boot if nvidia driver is not loaded