Commit Graph

368 Commits

Author SHA1 Message Date
Sandro
3df6e76a15
Merge pull request #109395 from LibreCybernetics/update-nvidia-settings
nvidia-settings.stable: 460.27.04 -> 460.32.03
2021-01-23 22:57:35 +01:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Ben Siraphob
16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +07:00
Fabián Heredia Montiel
eda8c11e20 nvidia-settings.stable: 460.27.04 -> 460.32.03 2021-01-14 13:47:23 -06:00
Frederik Rietdijk
e3961ff41f persistenced: fix eval
broken by https://github.com/NixOS/nixpkgs/pull/108978
2021-01-11 19:40:37 +01:00
Frederik Rietdijk
450cb04f16
nixos: hardware.nvidia.package option for selecting nvidia package
Make it possible to select a derivation to use. This also moves some
logic that belongs to the derivation back into it.
2021-01-11 13:01:48 -05:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Phillip Cloud
2fbcc11971 nvidia_x11.persistenced: fix hash 2021-01-09 08:20:45 -05:00
Fabián Heredia Montiel
92118e8078 nvidia-x11.stable: 455.45.01 -> 460.32.03 2021-01-08 11:14:46 -06:00
Fabián Heredia Montiel
91d6b7d09c nvidia-x11.vulkan_beta: 455.46.02 -> 455.46.04 2020-12-21 16:00:44 -06:00
Atemu
87994fa87b nvidia_x11_beta: 455.45.01 -> 460.27.04 2020-12-19 05:48:01 +01:00
Daniël de Kok
99aa5a5b08 Revert "nvidia-x11: 455.45.01 -> 460.27.04"
This reverts commit 784df0764f.
2020-12-17 18:08:53 +01:00
Timothy Klim
784df0764f nvidia-x11: 455.45.01 -> 460.27.04 2020-12-16 10:25:03 +07:00
Sandro
0f08fc1dc6
Merge pull request #104455 from expipiplus1/joe-nvidia
nvidia_x11.vulkan_beta: 450.56.11 -> 455.46.01
2020-12-13 09:00:51 +01:00
Joe Hermaszewski
4e2397de0c nvidia_x11.vulkan_beta: 450.56.11 -> 455.46.02 2020-12-08 13:55:24 +08:00
Daniël de Kok
ad70b0bdba
Merge pull request #104244 from TimothyKlim/master
nvidia-x11: 455.38 -> 455.45.01
2020-12-02 08:04:35 +01:00
Timothy Klim
a68a0bcc91 nvidia-x11: 455.38 -> 455.45.01 2020-11-19 13:42:28 +07:00
Edmund Wu
0f322400ea
nvidia_x11: fix vulkan icd filename 2020-11-16 14:04:16 -05:00
Daniel Fox Franke
2fa89880cb
nvidia-x11: 455.28 -> 455.38 (#103830) 2020-11-14 20:45:41 -05:00
Phillip Cloud
0a2f47b51b nvidia_x11.persistenced: fix build on master 2020-11-06 11:06:18 -08:00
Jon
ff6efa6f16 Revert "linuxPackages.nvidia_x11.persistenced: fix build"
This reverts commit f98219c519.
2020-10-18 11:47:34 -07:00
Jonathan Ringer
f98219c519 linuxPackages.nvidia_x11.persistenced: fix build 2020-10-18 11:12:23 -07:00
Edmund Wu
3c92aba319
nvidia_x11_beta: 455.23.04 -> nvidia_x11 2020-10-07 13:59:11 -04:00
Edmund Wu
0ce0f5e9c5
nvidia_x11: 450.80.02 -> 455.28 2020-10-07 13:59:11 -04:00
Edmund Wu
1ea09a8d5e
nvidia_x11: 450.66 -> 450.80.02 2020-10-07 13:59:10 -04:00
Edmund Wu
7a00fdf5cf
nvidia_x11_beta: stable -> 455.23.04 2020-10-07 13:59:09 -04:00
Joe Hermaszewski
99d2db8dce
nvidia-x11.vulkan_beta: init at 450.56.11 (#97882)
- This is fetched from a different URL, so allow passing that explicitly.

- There also isn't an nvidia-persistenced or nvidia-settings release for
  this version, so use 450.57 instead. Also implement passing
  persistenced and settings version explicitly.

Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2020-09-24 10:53:05 -04:00
Matthew Bauer
10ee14442d
Merge pull request #95864 from obsidiansystems/nvidia-x11-no32bit
nvidia-x11: add disable32Bit arg to not include 32-bit nvidia
2020-08-29 22:09:58 -05:00
Matthew Bauer
31d8669a72 nvidia-x11: add disable32Bit arg to not include 32-bit nvidia
In some contexts, we don’t want to have to build the whole i686 stdenv
just to use the x86_64 nvidia driver. It’s hard to know ahead of time
what we want, so it’s best to leave this as an overridable option.
2020-08-20 10:29:28 -05:00
Atemu
4f7cc3bf2a nvidia_x11: 450.57 -> 450.66 2020-08-19 16:48:40 -07:00
Edmund Wu
af36e9b324
nvidia_x11_beta: 450.51 -> stable 2020-07-09 21:14:02 -04:00
Edmund Wu
9edafbc1b7
nvidia_x11: 440.100 -> 450.57 2020-07-09 21:14:01 -04:00
Edmund Wu
7d3150fe8f
nvidia_x11: disable i686-linux on unsupported versions 2020-06-24 19:54:19 -04:00
Edmund Wu
f50bcf2781
nvidia_x11_beta: 440.100 -> 450.51 2020-06-24 17:21:08 -04:00
Edmund Wu
3077af4fe6
nvidia_x11: 440.82 -> 440.100 2020-06-24 17:21:00 -04:00
Edmund Wu
7664689009
nvidia_x11.legacy_390: 390.132 -> 390.138 2020-06-24 17:19:30 -04:00
Edmund Wu
34f19eacb3
nvidia_x11.legacy_340: 340.107 -> 340.108 2020-06-24 11:11:24 -04:00
Edmund Wu
9a269f555a
nixos/nvidia: include systemd power management 2020-05-10 11:25:50 -04:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Bernardo Meurer
73ff54e7b9
linuxPackages.nvidia_x11: 440.64 -> 440.82 2020-04-08 20:01:41 -07:00
Bernardo Meurer
408de509cc
linuxPackages.nvidia_x11: 440.59 -> 440.64 2020-04-05 14:01:28 -07:00
José Romildo Malaquias
74f5358f13
Merge pull request #66601 from eadwu/nvidia/prime-render-offload
nvidia: prime render offload
2020-03-01 14:28:57 -03:00
Edmund Wu
a31341bed7
nvidia_x11: 440.44 -> 440.59 2020-02-03 21:05:50 -05:00
Edmund Wu
ed871ac5f3
nvidia_x11: 440.36 -> 440.44 2019-12-17 17:16:18 -05:00
Edmund Wu
3b3876649d
nvidia_x11: include libdrm in rpath
Needed for PRIME render offload specifically
2019-12-10 11:35:30 -05:00
gnidorah
d48ed3b9e5
nvidia_x11: fix *nvidia*.so* references 2019-12-10 11:35:30 -05:00
arcnmx
964f622da8 linuxPackages.nvidia_x11.settings: enableParallelBuilding 2019-12-08 20:11:48 -08:00
Edmund Wu
b05e2c0fb9
nvidia_x11: 435.21 -> 440.36 2019-11-30 22:28:08 -05:00
Edmund Wu
3da7f584bc
nvidiaPackages.legacy_390: 390.129 -> 390.132 2019-11-22 22:09:35 -05:00
Ambroz Bizjak
d156b2b619 nvidia-x11: Make vulkan library path absolute for >= 435.
The original file contains just a library name, which does not work when LD_LIBRARY_PATH does not contain /run/opengl-driver/lib, as is the case in unstable NixOS.

Fixes https://github.com/NixOS/nixpkgs/issues/69264
2019-10-02 10:09:50 +03:00
Ambroz Bizjak
b1ed9c6d9e nvidia-x11: Remove patches from the 390 version. (#69851)
Without those patches it builds and works with kernels 4.19 and 5.2.

Fixes https://github.com/NixOS/nixpkgs/issues/65937
2019-09-28 11:26:06 -04:00
Frederik Rietdijk
66bc7fc1b3 Merge master into staging-next 2019-09-06 22:46:05 +02:00
Averell Dalton
af39568c3a nvidia_x11: fix for vulkan in >= 435 2019-09-06 21:18:49 +02:00
Vladimír Čunát
f21211ebfe
Merge branch 'master' into staging 2019-09-02 23:25:24 +02:00
Edmund Wu
4b67e77e15
nvidia_x11: 430.40 -> 435.21 2019-08-30 08:01:47 -04:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Matthieu Coudron
31c3a53dc3 Conditionally include nvidia modules 2019-08-10 02:28:12 +09:00
Edmund Wu
e4473e94d4
nvidia_x11: 430.34 -> 430.40 2019-07-30 09:48:58 -04:00
Edmund Wu
615b4a9444
nvidia_x11_legacy390: 390.116 -> 390.129 2019-07-30 09:48:57 -04:00
Ambroz Bizjak
f93c5deb47 nvidia-settings: Install desktop file and icon.
The template has substitution variables intended to be replaced resulting
in absolute paths. Because absolute paths break after the desktop file is
copied by a desktop environment, make Exec and Icon be just a name.
2019-07-13 03:44:38 +02:00
Edmund Wu
7a99993771 nvidia_x11: 430.26 -> 430.34 2019-07-11 09:51:14 +02:00
Matthew Bauer
87ec2627b0
Merge pull request #62870 from ambrop72/nvidia-icd-absolute
nvidia-x11: Put absolute library paths into ICD config files.
2019-07-10 17:37:00 -04:00
Edmund Wu
4a79bedfd2 nvidia_x11.settings.libXNVCtrl: set OUTPUTDIR for build 2019-07-03 17:20:05 +03:00
Edmund Wu
fc8ed43af6
nvidia_x11: 418.74 -> 430.26 2019-06-30 12:11:50 -04:00
Ambroz Bizjak
d1226bff8e nvidia-x11: Set 32-bit library paths for 32-bit libraries.
Patchelf was being called to point RUNPATH to 64-bit library paths even for 32-bit libraries.
2019-06-15 10:54:50 +02:00
Ambroz Bizjak
a4de5673de nvidia-x11: Put absolute library paths into ICD config files. 2019-06-08 20:34:27 +02:00
Florian Klink
00263c9306 linuxPackages.nvidia_x11_legacy390: use patches from archlinux
Those seem to have gotten outdated, and don't build on current kernels
anymore.

Reported-In: https://github.com/NixOS/nixpkgs/issues/62012
2019-05-26 10:58:34 +02:00
Edmund Wu
4cdcfc51f8
nvidia_x11: 430.09 -> 430.14 2019-05-14 16:35:28 -04:00
Edmund Wu
f81836cc30
nvidia_x11: 418.56 -> 418.74 2019-05-08 18:25:16 -04:00
c0bw3b
9cb260d091 [treewide] delete unused patches 2019-05-04 19:52:24 +02:00
Edmund Wu
0f9672d28d
nvidia_x11_beta: stable -> 430.09 2019-04-23 17:10:06 -04:00
Matthew Bauer
290a5d916e treewide: update homepages to https where available
Based on "problems" from repology:

https://repology.org/repository/nix_unstable/problems

Mostly simple changes to reflect redirects.
2019-04-15 10:10:05 -04:00
Edmund Wu
928d51a9cb
nvidia_x11: 418.43 -> 418.56 2019-03-20 18:20:23 -04:00
Dmitry Kalinkin
0baa7c90c6
Merge pull request #56211 from eadwu/nvidia_x11/2019-02-22
nvidia_x11: 2019-02-22
2019-03-06 21:10:22 -05:00
Averell Dalton
d6c2fe76ed nvidia-docker: init at 2.0.3
nvidia_x11 and persistenced were modified to provide binaries which can be
mounted inside a docker-container to be executed there.

most ldconfig-based discovery of bundled nvidia libraries is patched out

ldconfig itself is patched to be able to deal with patchelf'ed libraries
See https://sourceware.org/bugzilla/show_bug.cgi?id=23964
2019-02-27 09:56:03 +01:00
Edmund Wu
48e66e5184
nvidia_x11: 415.27 -> 418.43 2019-02-22 13:00:19 -05:00
Edmund Wu
9629324536
nvidia_x11_legacy390: 390.87 -> 390.116 2019-02-22 12:58:22 -05:00
Edmund Wu
aaff01ecbf nvidia_x11: 415.25 -> 415.27 2019-01-19 09:22:10 +01:00
Frederik Rietdijk
c92eccf629 nvidia_x11: fixup name of stable_415 2019-01-14 09:57:29 +01:00
Edmund Wu
ee32fa9b0d nvidia_x11: 410.78 -> 415.25 2019-01-13 09:37:06 +01:00
Herman Fries
ca1f092fe9 linuxPackages.nvidia_x11*: Add maintainer: baracoder
I bought some recent nVidia hardware, so I am stuck with it for a couple
of years and because of this, I have an interest in a working nVidia driver.
2019-01-11 11:36:34 +01:00
Vladimír Čunát
9ee8cf5177
linuxPackages.nvidia_x11*: unmaintain
I now no longer use an nvidia card commonly, so it would be harder for
me to test at least a bit.  And I'm overcommited anyway.
Hopefully someone else can be found.
2019-01-06 14:59:03 +01:00
Dmitry Kalinkin
3edd5cb227
Merge pull request #51294 from eadwu/nvidia_x11/legacy_390
nvidia: expose nvidia_x11_legacy390
2018-12-27 09:08:53 -05:00
Alexey Lebedeff
caed71efb6 nvidia_legacy_340: Remove unneeded/failing patch
The patch is not applying and no longer needed after upgrade in
045575e744. Now the same result is
achieved by the following lines in the driver package itself:

    #if defined(NV_DRM_LEGACY_PCI_INIT_PRESENT)
    #define nv_drm_pci_init drm_legacy_pci_init
    #define nv_drm_pci_exit drm_legacy_pci_exit
    #else
    #define nv_drm_pci_init drm_pci_init
    #define nv_drm_pci_exit drm_pci_exit
    #endif
2018-12-03 16:14:16 +01:00
Jörg Thalheim
3775f1e53e
linuxPackages_4_18.nvidia_x11_legacy304: mark as broken on 4.18 and newer 2018-12-02 10:46:11 +00:00
Edmund Wu
ea1be31262
nvidia: expose nvidia_x11_legacy390 2018-11-30 13:58:22 -05:00
Florian Jacob
045575e744 nvidia_legacy_340: 340.104 -> 340.107 2018-11-20 13:37:38 +01:00
Edmund Wu
321a64d607
nvidia_x11: 410.73 -> 410.78 2018-11-15 16:33:31 -05:00
Edmund Wu
ef16e1fe03 nvidia-x11: 410.66 -> 410.73 2018-11-03 19:56:26 +01:00
Herman Fries
67e9be7990 nvidia_x11_beta: Set to nvidia_x11
There is currently no beta active
2018-10-22 18:10:27 +02:00
Herman Fries
52352ab959 nvidia_x11: 390.87 -> 410.66 for x86_64 2018-10-22 02:39:48 +02:00
Edmund Wu
21bb1fa004
nvidia_x11_beta: reinit at 410.57 2018-10-17 19:30:44 -04:00
Jörg Thalheim
c16c117048
Merge pull request #47248 from danme/master
nvidia-x11: Fix vulkan VK_KHR_xcb_surface
2018-09-24 13:20:14 +01:00
danme
44fba6df79 nvidia-x11: Fix vulkan VK_KHR_xcb_surface
Fixes the issue: https://github.com/NixOS/nixpkgs/issues/39149

Problem was that the Nvidia driver did not find the libxcb-glx at runtime.

(cherry picked from commit bda072cafc)
2018-09-23 22:19:21 +02:00
Vladimír Čunát
d9f7d27ef5
Merge #45683: nvidia_x11: 390.77 -> 390.87 2018-09-23 12:02:25 +02:00
Edmund Wu
af3fdb44ee
nvidia_x11: include drm_mode_connector patch 2018-09-07 19:43:33 -04:00
John Ericson
2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
Edmund Wu
7e405b950b
nvidia_x11: 390.77 -> 390.87 2018-08-27 16:29:30 -04:00
Edmund Wu
77d49ae9a3
Revert "Merge #45509: nvidia_x11*: mark broken on 4.18"
This reverts commit d5e2f91ec8, reversing
changes made to a850a140fb.
2018-08-23 18:27:10 -04:00
Edmund Wu
a77a1190d3
nvidia_x11: 390.67 -> 390.77 2018-08-23 18:26:02 -04:00