/yum-packaging-nvidia-settings

NVIDIA settings packaging for RHEL

Apache License 2.0Apache-2.0

yum packaging nvidia settings

License Contributing

Overview

Packaging templates for yum and dnf based Linux distros to build NVIDIA settings packages.

The main branch contains this README. The .spec and .patch files can be found in the appropriate rhel7, rhel8, and fedora branches.

Table of Contents

Deliverables

This repo contains the .spec file used to build the following RPM packages:

note: XXX is the first . delimited field in the driver version, ex: 460 in 460.32.03

  • RHEL8 or Fedora streams: XXX, XXX-dkms, latest, and latest-dkms
- nvidia-libXNVCtrl
- nvidia-libXNVCtrl-devel
- nvidia-settings

For RHEL7 and derivatives, there are three sets or flavors of packages with different package dependencies. However, that does not apply to the packages in this repository.

  • RHEL7 flavor: branch-XXX, latest, and latest-dkms
- nvidia-libXNVCtrl
- nvidia-libXNVCtrl-devel
- nvidia-settings

Prerequisites

Clone this git repository:

Supported branches: rhel7, rhel8 & fedora

git clone -b ${branch} https://github.com/NVIDIA/yum-packaging-nvidia-settings
> ex: git clone -b rhel8 https://github.com/NVIDIA/yum-packaging-nvidia-settings

Download a NVIDIA settings tarball:

Install build dependencies

# Basics
yum install gcc m4
# Compiling UI
yum install gtk2-devel gtk3-devel libappstream-glib
# X.org utilties
yum install libXext-devel libXrandr-devel
# GLVND
yum install mesa-libGL-devel mesa-libEGL-devel
# Video extensions
yum install libXxf86vm-devel libXv-devel libvdpau-devel
# Misc
yum install jansson-devel dbus-devel desktop-file-utils
# Packaging
yum install rpm-build

Related

DKMS nvidia

NVIDIA driver

NVIDIA kmod common

NVIDIA modprobe

NVIDIA persistenced

NVIDIA plugin

NVIDIA precompiled kmod

NVIDIA xconfig

Contributing

See CONTRIBUTING.md