Nvidia Developer 02月16日
NVIDIA Open GPU Datacenter Drivers for RHEL9 Signed by Red Hat
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

NVIDIA与Red Hat合作,持续改进RHEL 9上的预编译NVIDIA驱动。NVIDIA宣布开放GPU驱动模块将成为推荐的启用NVIDIA图形硬件的方式。Red Hat现在编译并签署NVIDIA开放GPU内核模块,简化在RHEL 9上的使用,并为数据中心中使用NVIDIA硬件支持机密计算提供前进方向。用户无需额外的密钥注册配置即可安装和使用已签名的开源GPU驱动。NVIDIA提供了一个技术预览存储库,允许用户在RHEL 9.5上试用开源GPU驱动和旧驱动,该存储库将一直有效到2025年4月30日。

🔑NVIDIA宣布开放GPU驱动模块将成为启用NVIDIA图形硬件的推荐方式,标志着NVIDIA在开源领域的进一步发展。

🤝Red Hat编译并签署NVIDIA开放GPU内核模块,简化了在RHEL 9操作系统上的使用,并支持在数据中心使用NVIDIA硬件进行机密计算。

🚀技术预览仓库提供`latest-open-gpu`和`-open-gpu`两种模块化流,用户可以通过`sudo dnf module install nvidia-driver:latest-open-gpu`命令安装最新的流,并重启系统即可使用。

⚠️旧的预编译驱动也列在模块化流中,但它们需要签名密钥注册,并且在启用安全启动的情况下,NVIDIA图形驱动可能无法使用。用户可以通过UEFI安全启动在GitHub上了解更多关于注册NVIDIA签名密钥的信息。

NVIDIA and Red Hat have partnered to bring continued improvements to the precompiled NVIDIA Driver introduced in 2020. Last month, NVIDIA announced that the open GPU driver modules will become the default recommended way to enable NVIDIA graphics hardware.Today, NVIDIA announced that Red Hat is now compiling and signing the NVIDIA open GPU kernel modules to further streamline the usage for the Red Hat Enterprise Linux 9 OS and to provide a way forward for supporting Confidential Computing with NVIDIA hardware in the datacenter. The signed open GPU drivers can now be installed and used without any extra key enrollment configuration. As with the current legacy precompiled packages, only the latest RHEL 9 kernel is supported at the time of the driver update.Starting with RHEL 9.5, NVIDIA now offers a tech preview repository available for trial until April 30, 2025. This repository enables the usage of the open GPU driver and legacy driver (with caveats) using modularity streams. After the tech preview ends, the signed kernel modules will be available in the NVIDIA Compute package repositories with the rest of the CUDA platform: CUDA-X acceleration libraries, CUDA-optimized applications, and frameworks.For more information about modularity streams and how they work with the precompiled graphics driver, see Streamlining NVIDIA Driver Deployment on RHEL 8 with Modularity Streams.Activating the tech previewTo use the signed NVIDIA open GPU driver modules, make sure that the Red Hat repositories are enabled, including RHEL9 AppStream, RHEL9 BaseOS, and RHEL9 CRB:$ subscription-manager repos --enable=rhel-9-for-x86_64-appstream-rpms$ subscription-manager repos --enable=rhel-9-for-x86_64-baseos-rpms$ subscription-manager repos --enable=codeready-builder-for-rhel-9-x86_64-rpmsAdd the CUDA network repository:$ sudo dnf config-manager --add-repo=https://developer.download.nvidia.com/compute/cuda/preview/repos/rhel9/x86_64/When the tech preview repository is activated, view the supported modularity streams:$ dnf module list nvidia-driverFigure 1. Example output list from the tech preview tool of the NVIDIA modularity streams installedThe tech preview provides the following new modularity streams: latest-open-gpu<driver_version>-open-gpuInstall the latest stream to opt into the signed precompiled packages: $ sudo dnf module install nvidia-driver:latest-open-gpuReboot and enjoy!Figure 2. Example nvidia-smi command output showing the NVIDIA CUDA driver version running and system parametersImportant caveat with the tech preview repositoryThe legacy precompiled driver is also listed in the modularity streams: nvidia-driver:latestnvidia-driver:latest-<major_version>nvidia-driver:<major_version>These drivers have been signed by NVIDIA and require signing key enrollment. They install just fine without any warnings but upon reboot the NVIDIA graphics driver will not be available:$ nvidia-smiNVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.Upon further inspection, the problem becomes clear:# insmod /usr/lib/modules/5.14.0-503.16.1.el9_4.x86_64/extra/drivers/video/nvidia/nvidia.koinsmod: ERROR: could not insert module /usr/lib/modules/5.14.0-503.16.1.el9_4.x86_64/extra/drivers/video/nvidia/nvidia.ko: Key was rejected by serviceThis happens because secure boot is enabled by default:$ sudo mokutil --sb-state SecureBoot enabledThis module has been signed by NVIDIA using a key that is not in the chain of trust:$ modinfo /usr/lib/modules/5.14.0-503.16.1.el9_4.x86_64/extra/drivers/video/nvidia/nvidia.ko | grep signersigner: NVIDIAFor more information about enrolling the NVIDIA signing key with mokutil, see UEFI Secure Boot on GitHub. InstallationInstall the tech preview repository on a host with secure boot enabled:$ sudo dnf config-manager --add-repo=https://developer.download.nvidia.com/compute/cuda/preview/repos/rhel9/x86_64/$ sudo dnf module install nvidia-driver:latest-open-gpu$ sudo rebootIf you discover any issues with packaging, please report those problems to github.com/NVIDIA/yum-packaging-precompiled-kmod/issues.This repository will be active until March 31, 2025.SummaryNow with signed packages from NVIDIA and Red Hat, secure boot with NVIDIA on RHEL 9 is even better. You can look forward to more developments in this space.The driver source code is available in the /NVIDIA/open-gpu-kernel-modules GitHub repo.Packaging templates and instructions are provided on GitHub to enable you to maintain your own precompiled kernel module packages for custom kernels and derivative Linux distros:To give feedback, send comments or report driver bugs. If you are not already a member, join the NVIDIA Developer Program.

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

NVIDIA Red Hat RHEL 9 开源GPU驱动 机密计算
相关文章