An open API service indexing awesome lists of open source software.

https://github.com/nvidia/ubuntu-packaging-nvidia-settings

NVIDIA settings packaging for Ubuntu
https://github.com/nvidia/ubuntu-packaging-nvidia-settings

apt-packaging nvidia-driver-packages nvidia-settings ubuntu-packaging

Last synced: 3 months ago
JSON representation

NVIDIA settings packaging for Ubuntu

Awesome Lists containing this project

README

        

# ubuntu packaging nvidia settings

[![License](https://img.shields.io/badge/License-GPL%202.0-blue.svg)](https://opensource.org/licenses/GPL-2.0)
[![Contributing](https://img.shields.io/badge/Contributing-Developer%20Certificate%20of%20Origin-violet)](https://developercertificate.org)

## Overview

Packaging templates for `Ubuntu` based Linux distros to build NVIDIA settings packages.

The `main` branch contains this README. The `control` and `.install` files can be found in the appropriate [16.04](../../tree/16.04), [18.04](../../tree/18.04), and [20.04](../../tree/20.04) branches.

## Table of Contents

- [Overview](#Overview)
- [Deliverables](#Deliverables)
- [Prerequisites](#Prerequisites)
* [Clone this git repository](#Clone-this-git-repository)
* [Download a NVIDIA settings tarball](#Download-a-NVIDIA-settings-tarball)
* [Install build dependencies](#Install-build-dependencies)
- [Related](#Related)
* [NVIDIA driver](#NVIDIA-driver)
* [NVIDIA modprobe](#NVIDIA-modprobe)
- [Contributing](#Contributing)

## Deliverables

This repo contains the template files used to build the following **DEB** packages:

```shell
- libxnvctrl0
- libxnvctrl-dev
- nvidia-settings
```
> *note:* these package do not support "flavor" / locking to a specific driver branch.

## Prerequisites

### Clone this git repository:

Supported branches: `16.04`, `18.04` & `20.04`

```shell
git clone -b ${branch} https://github.com/NVIDIA/ubuntu-packaging-nvidia-settings
> ex: git clone -b 18.04 https://github.com/NVIDIA/ubuntu-packaging-nvidia-settings
```

### Download a NVIDIA settings tarball:

* **Source code** location: [https://github.com/NVIDIA/nvidia-settings/releases](https://github.com/NVIDIA/nvidia-settings/releases)

*ex:* [https://github.com/NVIDIA/nvidia-settings/archive/460.32.03.tar.gz](https://github.com/NVIDIA/nvidia-settings/archive/460.32.03.tar.gz)

*ex:* [https://github.com/NVIDIA/nvidia-settings/archive/460.56.tar.gz](https://github.com/NVIDIA/nvidia-settings/archive/460.56.tar.gz)

### Install build dependencies
> *note:* these are only needed for building not installation

```shell
# Compiling UI
apt-get install libgtk2.0-dev libgtk-3-dev
# X.org utilities
apt-get install libxext-dev xutils-dev libxrandr-dev
# GLVND
apt-get install libgl-dev libegl-dev libegl1-mesa-dev
# Video extensions
apt-get install libxxf86vm-dev libxv-dev libvdpau-dev
# Misc
apt-get install libjansson-dev libdbus-1-dev
# Packaging
apt-get install debhelper devscripts dpkg-dev
```

## Related

- nvidia-driver
* [https://github.com/NVIDIA/ubuntu-packaging-nvidia-driver](https://github.com/NVIDIA/ubuntu-packaging-nvidia-driver)

- nvidia-settings
* [https://github.com/NVIDIA/ubuntu-packaging-nvidia-modprobe](https://github.com/NVIDIA/ubuntu-packaging-nvidia-modprobe)

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md)