Frogging-Family / nvidia-all

Nvidia driver latest to 396 series AIO installer
733 stars 64 forks source link

nvidia-all on Debian #105

Open nutterpc opened 2 years ago

nutterpc commented 2 years ago

Hi guys

Just so those of us on Debian based derivatives don't feel left out, i've managed to find a few tools that will help us to be able to run this utility on our setup/s

Currently the base script runs, but I'm working through the installation side of things. Scripting isn't my thing, but I'm getting there

Steps I've gotten so far:

The TKG "Frog" Appears, and asks about the choice of driver you want It then asks about dkms or regular Then as it enters build phase, this is where I'm at:

[->] No open source kernel module available [->] Building driver version 470.62.29 on branch vulkandev. [->] Selected driver integrity check behavior (md5sum or SKIP): 676bb343bcbdf1c1adf9242b5cb39d26 [!] Detected invalid architecture 'x86_64'. Please use 'amd64' instead. [!] A maintainer must be specified. This will be an error in a future release. [!] pkgdesc must be set. Reading package lists... Done Building dependency tree
Reading state information... Done Reading package lists... Done Building dependency tree
Reading state information... Done 0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade. [->] exit cleanup done

The cleanup procedure I've had to modify for Debian/Ubuntu, and it's running ok. Any Ideas tkg as to where else i might look to get a bit further?

nutterpc commented 2 years ago

FWIW Everyone, I've got the package almost fully working on Linuxmint. It just fails at the end atm. Almost ready :):

[#] Finished making: nvidia-dev-dkms-tkg 470.62.29-206 (Sat 14 May 2022 20:53:53) [#] Installing nvidia-dev-dkms-tkg package group... Reading package lists... Done Building dependency tree
Reading state information... Done Note, selecting 'nvidia-dev-dkms-tkg' instead of '/home/nutterpc/nvidia-all/nvidia-dev-dkms-tkg_470.62.29-206_all.deb' Note, selecting 'nvidia-dev-tkg' instead of '/home/nutterpc/nvidia-all/nvidia-dev-tkg_470.62.29-206_all.deb' Note, selecting 'nvidia-dev-utils-tkg' instead of '/home/nutterpc/nvidia-all/nvidia-dev-utils-tkg_470.62.29-206_all.deb' Note, selecting 'lib32-nvidia-dev-utils-tkg' instead of '/home/nutterpc/nvidia-all/lib32-nvidia-dev-utils-tkg_470.62.29-206_all.deb' Note, selecting 'opencl-nvidia-dev-tkg' instead of '/home/nutterpc/nvidia-all/opencl-nvidia-dev-tkg_470.62.29-206_all.deb' Note, selecting 'lib32-opencl-nvidia-dev-tkg' instead of '/home/nutterpc/nvidia-all/lib32-opencl-nvidia-dev-tkg_470.62.29-206_all.deb' Note, selecting 'nvidia-dev-settings-tkg' instead of '/home/nutterpc/nvidia-all/nvidia-dev-settings-tkg_470.62.29-206_all.deb' Note, selecting 'nvidia-dev-egl-wayland-tkg' instead of '/home/nutterpc/nvidia-all/nvidia-dev-egl-wayland-tkg_470.62.29-206_all.deb' Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: lib32-nvidia-dev-utils-tkg : Depends: lib32-zlib but it is not installable Depends: lib32-gcc-libs but it is not installable Depends: lib32-libglvnd but it is not installable Depends: lib32-mesa but it is not installable Depends: lib32-vulkan-icd-loader but it is not installable Recommends: linux-lts-headers but it is not installable lib32-opencl-nvidia-dev-tkg : Depends: lib32-zlib but it is not installable Depends: lib32-gcc-libs but it is not installable Recommends: linux-lts-headers but it is not installable nvidia-dev-dkms-tkg : Depends: pahole but it is not installable Conflicts: nvidia Recommends: linux-lts-headers but it is not installable nvidia-dev-egl-wayland-tkg : Depends: eglexternalplatform but it is not installable Recommends: linux-lts-headers but it is not installable nvidia-dev-settings-tkg : Depends: gtk3 but it is not installable Recommends: linux-lts-headers but it is not installable nvidia-dev-tkg : Depends: libglvnd but it is not installable Conflicts: nvidia Recommends: linux-lts-headers but it is not installable nvidia-dev-utils-tkg : Depends: xorg-server but it is not installable Depends: libglvnd but it is not installable Depends: mesa but it is not installable Depends: vulkan-icd-loader but it is not installable Recommends: linux-lts-headers but it is not installable opencl-nvidia-dev-tkg : Depends: zlib but it is not installable Recommends: linux-lts-headers but it is not installable W: Ignoring non-equal Provides for package nvidia-tkg in nvidia-dev-tkg:all=470.62.29-206 E: Unable to correct problems, you have held broken packages. [!] Failed to install built package(s). Reading package lists... Done Building dependency tree
Reading state information... Done Reading package lists... Done Building dependency tree
Reading state information... Done 0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade. [->] exit cleanup done

nutterpc commented 2 years ago

TO get nvidia-all to "build", but failing at the end, this is the steps I've been able to work through

Packages Needed:

1) makedeb

Errors/Solutions:

1) [!] Detected invalid architecture 'x86_64'. Please use 'amd64' instead. [!] A maintainer must be specified. This will be an error in a future release. [!] pkgdesc must be set. /home/nutterpc/nvidia-all/PKGBUILD: line 1731: remove_deps: command not found [->] exit cleanup done

1) Edit arch in PKGBUILD, set pkgdesc. Starts @ line 266

pkgdesc="nVidia Driver stuff" arch=('amd64')

2) /home/nutterpc/nvidia-all/PKGBUILD: line 1731: remove_deps: command not found

2) Set apt-get autoremove and autoclean, sudo

This is just a WIP, but its so others who want to join along can help

nutterpc commented 2 years ago

UPDATE:

This is where I've gotten to, for now. Kind of a stalemate until i can find a way to meet the dependancies

The following packages have unmet dependencies: lib32-nvidia-dev-utils-tkg : Depends: lib32-zlib but it is not installable Depends: lib32-gcc-libs but it is not installable Depends: lib32-mesa but it is not installable Depends: lib32-vulkan-icd-loader but it is not installable lib32-opencl-nvidia-dev-tkg : Depends: lib32-zlib but it is not installable Depends: lib32-gcc-libs but it is not installable nvidia-dev-utils-tkg : Depends: mesa but it is not installable Depends: vulkan-icd-loader but it is not installable