Coder Social home page Coder Social logo

debian-packaging-nvidia-driver's Introduction

debian packaging nvidia driver

License Contributing

Overview

Packaging templates for Debian based Linux distros to build NVIDIA driver packages.

The main branch contains this README. The control and .install files can be found in the appropriate buster and bullseye branches.

Table of Contents

Deliverables

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

note: flavor is the first . delimited field in the driver version, ex: 470 in 470.108.03

  • Debian 10 or Debian 11
- libcuda1
- libcudadebugger1
- libegl1-nvidia
- libegl-nvidia0
- libgl1-nvidia-glvnd-glx
- libgles-nvidia1
- libgles-nvidia2
- libglx-nvidia0
- libnvcuvid1
- libnvidia-allocator1
- libnvidia-api1
- libnvidia-cfg1
- libnvidia-compiler
- libnvidia-eglcore
- libnvidia-encode1
- libnvidia-fbc1
- libnvidia-glcore
- libnvidia-glvkspirv
- libnvidia-ml1
- libnvidia-nvvm4
- libnvidia-opticalflow1
- libnvidia-ptxjitcompiler1
- libnvidia-rtcore
- libnvidia-wayland-client
- libnvoptix1
- nvidia-alternative
- nvidia-cuda-mps
- nvidia-detect
- nvidia-driver
- nvidia-driver-bin
- nvidia-driver-libs
- nvidia-egl-common
- nvidia-egl-icd
- nvidia-kernel-dkms
- nvidia-kernel-source
- nvidia-kernel-support
- nvidia-legacy-check
- nvidia-libopencl1
- nvidia-nonglvnd-vulkan-common
- nvidia-opencl-common
- nvidia-opencl-icd
- nvidia-smi
- nvidia-vdpau-driver
- nvidia-vulkan-common
- nvidia-vulkan-icd
- xserver-xorg-video-nvidia

Prerequisites

Clone this git repository:

Supported branches: buster & bullseye

git clone -b ${branch} https://github.com/NVIDIA/debian-packaging-nvidia-driver
> ex: git clone -b bullseye https://github.com/NVIDIA/debian-packaging-nvidia-driver

Download a NVIDIA driver runfile:

Install build dependencies

note: these are only needed for building not installation

# Packaging
apt-get install debhelper devscripts dpkg-dev

See also

Ubuntu driver

RHEL driver

SUSE driver

Contributing

See CONTRIBUTING.md

debian-packaging-nvidia-driver's People

Contributors

anbe42 avatar bluca avatar rra avatar vincent-c avatar andydick avatar kmittman avatar pkern avatar

Stargazers

Ward Nakchbandi (Cosmic Fusion) avatar  avatar

Watchers

James Cloos avatar Michael O'Connor avatar  avatar

debian-packaging-nvidia-driver's Issues

NVIDIA detect always prompt my RTX 3060 Ti is unsupported

Here's the prompt :

$ nvidia-detect
Detected NVIDIA GPUs:
09:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] [10de:2489] (rev a1)

Checking card:  NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] (rev a1)
Uh oh. Your card is not supported by any driver version up to 545.23.06.
A newer driver may add support for your card.
Newer driver releases may be available in backports, unstable or experimental.

More info on the system :

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm
$ uname -a
Linux Shiva 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux

Error installing Nvidia driver on Debian 12.5

Issue Summary:
When attempting to install the Nvidia driver (nvidia-driver) on Debian 12.5, I encountered an error preventing successful installation.

Error Message:

Setting up nvidia-persistenced (525.85.05-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/nvidia-persistenced.
service โ†’ /lib/systemd/system/nvidia-persistenced.service.
Could not execute systemctl:  at /usr/bin/deb-systemd-invoke line 145.
Setting up nvidia-egl-icd:amd64 (525.147.05-4~deb12u1) ...
Setting up libnvidia-encode1:amd64 (525.147.05-4~deb12u1) ...
Setting up nvidia-driver-libs:amd64 (525.147.05-4~deb12u1) ...
Processing triggers for nvidia-alternative (525.147.05-4~deb12u1) ...
update-alternatives: updating alternative /usr/lib/nvidia/current because link g
roup nvidia has changed slave links
Setting up nvidia-kernel-dkms (525.147.05-4~deb12u1) ...
Loading new nvidia-current-525.147.05 DKMS files...
Building for 6.1.0-18-amd64
Building initial module for 6.1.0-18-amd64
Error! Bad return status for module build on kernel: 6.1.0-18-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.147.05/build/make.log for more informat
ion.
dpkg: error processing package nvidia-kernel-dkms (--configure):
 installed nvidia-kernel-dkms package post-installation script subprocess return
ed error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver:
 nvidia-driver depends on nvidia-kernel-dkms (= 525.147.05-4~deb12u1) | nvidia-k
ernel-525.147.05 | nvidia-open-kernel-525.147.05 | nvidia-open-kernel-525.147.05
; however:
  Package nvidia-kernel-dkms is not configured yet.
  Package nvidia-kernel-525.147.05 is not installed.
  Package nvidia-kernel-dkms which provides nvidia-kernel-525.147.05 is not conf
igured yet.
  Package nvidia-open-kernel-525.147.05 is not installed.
  Package nvidia-open-kernel-525.147.05 is not installed.

dpkg: error processing package nvidia-driver (--configure):
 dependency problems - leaving unconfigured
...

System Information:

  • Laptop: Aorus 15G YC
  • Graphics Card: Nvidia RTX 3080 8GB
  • Operating System: Debian 12.5

Steps to Reproduce:

  1. Attempt to install the Nvidia driver on Debian 12.5 using the command sudo apt install nvidia-driver.
  2. Observe the error messages during the installation process.

Expected Behavior:
The Nvidia driver should install successfully without encountering errors.

Additional Notes:

  • Logs or additional information can be provided upon request.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.