Commit Graph

573 Commits

Author SHA1 Message Date
Sandro
8ad39f06de
Merge pull request #166323 from Kiskae/patch-1 2022-03-30 17:35:56 +02:00
Providence Salumu
a1d2c3511f
nvidia_x11: 470.94 → 470.103.01 2022-03-30 06:00:27 -04:00
Kiskae
b376c1ce9d linuxPackages.nvidia_x11_legacy390: mark as broken
As of linux 5.17 the removal of the `PDE_DATA()` macro breaks this version of the driver.
2022-03-30 03:09:02 +02:00
Bernardo Meurer
377f1c73b4
linuxPackages.nvidia_x11: 510.54 -> 510.60.02 2022-03-24 15:57:30 -07:00
Jonathan Ringer
26c6b2eb79 linuxPackages.nvidia_x11: fix vulkan icd installation paths 2022-02-24 08:59:12 -08:00
Fabián Heredia Montiel
1a044eb0cf nvidia_x11: 510.47.03 → 510.54 2022-02-16 19:19:30 -06:00
Jonathan Ringer
82b2a833d8
linuxPackages.nvidia_x11: add jonringer as maintainer 2022-02-05 14:01:11 -08:00
Jonathan Ringer
1da4e07ea6
linuxPackage.nvidia_x11: suffix x86_64 vulkan icd
This matches mesa behavior
2022-02-05 14:00:47 -08:00
Kevin Cox
4f16ceeb7a
Merge pull request #157747 from LibreCybernetics/update-nvidia
nvidia_x11: 495.46 → 510.47.03
2022-02-02 07:34:27 -05:00
Binary-Eater
e621a3efa4
nvidia-x11: mark legacy_340 as broken if kernel version is greater than 5.4 (#157475) 2022-02-02 00:12:29 -05:00
Fabián Heredia Montiel
729da07a8c nvidia_x11: 495.46 → 510.47.03 2022-02-01 14:30:08 -06:00
Binary-Eater
ebc3be413c
nvidia-x11: add GNU which to buildInputs (#156203)
This enables the runfile to successfully uncompress and extract without
having to fallback to "unpackManually" in "builder.sh"
2022-01-26 04:23:20 -05:00
Jonathan Ringer
97a8c7228a linuxPackages.nvidia_x11_beta: 495.29.05 -> 510.39.01 2022-01-14 12:34:41 -08:00
Thibaut Marty
91b623dc6c nvidia_x11: 390.143 -> 390.147 2022-01-06 20:04:26 +01:00
Fabián Heredia Montiel
ebd4f40393 nvidia_x11: 470.86 → 470.94 2021-12-16 09:51:06 -06:00
Fabián Heredia Montiel
ebdf40eb18 nvidia_x11: 495.44 → 495.46 2021-12-16 09:23:07 -06:00
ckie
32f41fbef2
nvidia_x11_vulkan_beta: 455.46.04 -> 470.62.13 2021-12-02 15:16:27 +02:00
Maciej Krüger
51839886b3
nvidia_x11: add production alias
As described on https://www.nvidia.com/en-us/drivers/unix/ this refers to the production branch
2021-11-22 07:53:16 +01:00
Cole Mickens
4f0c8d0512
nvidia_x11: libPath: add libgbm/libGL libraries (#145439) 2021-11-14 23:43:35 +01:00
Kiskae
49b20f946e nvidia_x11_legacy470: 470.82.00 -> 470.86 2021-11-12 19:57:14 +01:00
Niklas Hambüchen
e24463bcc9 nvidia-x11: Add update comment 2021-11-07 23:42:59 +00:00
Cole Mickens
fd6e9350d0
Merge pull request #139354 from colemickens/nvidia
nvidia: fix egl-wayland loading
2021-11-04 23:09:38 -07:00
Ellie Hermaszewska
cf6e529bfb
Merge pull request #142565 from Kiskae/patch-1
nvidia_x11 _legacy470: init at 470.82.00
2021-11-01 16:47:29 +08:00
Kiskae
d654d52b24 nvidia_x11_legacy470: 470.74 -> 470.82.00 2021-10-28 23:24:12 +02:00
Timothy DeHerrera
8a667bea3e
linuxPackages.nvidia_x11: 470.74 -> 495.44 2021-10-26 13:33:09 -06:00
Kiskae
f8d38db8d7 nvidia_x11 _legacy470: init at 470.74
R470 is the last version supporting the kepler architecture
Making it a separate package allows the driver to be pinned before the 495.xx driver becomes stable.
2021-10-22 21:30:51 +02:00
Cole Mickens
59a7fb27a1
nvidia: install egl wayland gbm support 2021-10-20 20:31:38 -07:00
Cole Mickens
7761e23785
nvidia: add wayland to nvidia-egl-wayland libpath 2021-10-20 15:19:07 -07:00
Cole Mickens
216dd5b740
nvidia: fix egl-wayland loading 2021-10-20 15:19:06 -07:00
Jonathan Ringer
85d1b34f32 linuxPackages.nvidia_x11_beta: 470.42.01 -> 495.29.05 2021-10-16 13:54:56 -07:00
Fabián Heredia Montiel
ae5f12ccc3 nvidia_x11: 470.63.01 → 470.74 2021-09-20 20:51:33 -05:00
Herman Fries
eaaf989c1c nvidia_x11: Remove maintainer baracoder 2021-09-19 22:53:16 +02:00
Bernardo Meurer
19e4afc912
linuxPackages.nvidia-x11: use makeFlags in builder.sh 2021-08-30 17:06:12 -07:00
Bernardo Meurer
4a8ab482e0
linuxPackages.nvidia_x11.settings: use makeFlags in preBuild's libXNVCtrl build 2021-08-30 17:06:11 -07:00
Bernardo Meurer
0b63366e6f
linuxPackages.nvidia_x11.settings: pick up nvidia_x11 makeFlags 2021-08-30 17:06:10 -07:00
Bernardo Meurer
fe31fdf43b
linuxPackages.nvidia_x11.persistenced: pick up nvidia_x11 makeFlags 2021-08-30 17:06:09 -07:00
Bernardo Meurer
636e17aab5
linuxPackages.nvidia_x11: apply kernel module makeFlags 2021-08-30 17:06:08 -07:00
Fabián Heredia Montiel
ff0dfaaee0 nvidia_x11: 470.57.02 → 470.63.01 2021-08-30 20:24:52 +00:00
André Vitor de Lima Matos
3f4bb8ff5a
nvidia_x11: fix suspend script paths since 470.57.02 (#131838)
nvidia 470.57.02 changed the path of `nvidia-sleep.sh` and systemd
scripts, making `builder.sh` miss them and suspend-to-ram on systems
where `hardware.nvidia.powerManagement.enable = true` is set fail.
2021-08-02 13:42:47 -04:00
Herman Fries
03100da5a7 nvidia_x11: 460.73.01 -> 470.57.02 2021-07-19 23:03:36 +02:00
Abdelhakim Qbaich
e1e1f539f0 nvidia-x11: compile nvidia-uvm.ko with HMM support 2021-07-14 00:24:54 -07:00
ckie
3b51535997
nvidia_x11_beta: 465.31 -> 472.42.01 2021-06-24 14:57:38 +03:00
Timothy Klim
29e6e27d4f nvidia-x11: 465.27 -> 465.31 2021-05-28 10:26:15 +07:00
Jörg Thalheim
0f0660d8ef
nvidia_x11_legacy304: remove
The patch used to build is no longer available.
We only have one kernel 4.14 that could theoretical build with it?
2021-05-11 08:36:21 +02:00
Timothy Klim
ebb59d3b11 nvidia-x11: 460.27.04 -> 465.27 2021-04-30 19:45:48 +07:00
Louis Bettens
e340874c85
nvidia_x11.legacy_390: 390.138 -> 390.143 (#120857) 2021-04-27 14:43:53 -04:00
Julius de Bruijn
952d9a35d3 The driver download url has changed 2021-04-16 11:48:20 +02:00
Julius de Bruijn
e4f3e9b009 nvidia-x11: 460.67 -> 460.73.01 2021-04-16 11:05:10 +02:00
Timothy Klim
dbb4c63de6 nvidia-x11: 460.56 -> 460.67 2021-03-19 09:45:57 +07:00
Daniel Fox Franke
2f3eab365c nvidia-x11: 460.39 -> 460.56 2021-03-06 12:35:35 -05:00
Daniël de Kok
4db1c8b199 nvidia-settings: fix parallel build race condition
Fix a race condition that occurs in parallel builds of
nvidia-settings, frequently ending in the following error:

/bin/bash: _out/Linux_x86_64/antialias.png.h: No such file or directory
make[1]: *** [Makefile:320: _out/Linux_x86_64/antialias.png.h] Error 1

Upstream issue and fix from:
https://github.com/NVIDIA/nvidia-settings/issues/59
2021-02-02 08:33:24 +01:00
Dmitry Kalinkin
161b9b2436
Merge pull request #99323 from eadwu/nvidia/hardware.nvidia.package
nixos: hardware.nvidia.package option for selecting nvidia package
2021-01-30 22:08:37 -05:00
Jörg Thalheim
6e8964256c
Merge pull request #110724 from ilian/fix/nvidia-rt 2021-01-29 09:28:39 +00:00
Fabián Heredia Montiel
f9c1057e79 nvidia.x11: 460.32.03 -> 460.39 2021-01-27 13:17:48 -06:00
ilian
d3b3fa80a9 nvidia-x11: ignore linux-rt sanity check
Ignore the sanity check that prevents the Nvidia drivers from
being built for kernels with real-time patches.
Even though the driver might not be officially supported by
Nvidia for linux-rt, it seems to work without issues.
Attempting to install the driver for linux-rt fails with the
following error message:

The kernel you are installing for is a PREEMPT_RT kernel!

The NVIDIA driver does not support real-time kernels. If you
are using a stock distribution kernel, please install
a variant of this kernel that does not have the PREEMPT_RT
patch set applied; if this is a custom kernel, please
install a standard Linux kernel.  Then try installing the
NVIDIA kernel module again.

*** Failed PREEMPT_RT sanity check. Bailing out! ***
2021-01-24 23:15:24 +01:00
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
Yardanico
c2e583fc75
Mark nvidia driver as broken on 4.18
Addition to https://github.com/NixOS/nixpkgs/pull/45410
2018-08-23 20:58:09 +03:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Matthew Bauer
c491a99362 treewide: remove callPackage_i686
This has been replaced with pkgsi686Linux.callPackage
2018-07-05 14:04:52 -04:00
dukzcry
9645c867a3 nvidia-x11: pass kernel.modDirVersion 2018-06-24 11:49:48 +03:00
Bastian Köcher
95ee1bc937 nvidia_x11: 390.48 -> 390.67 2018-06-06 20:27:14 +02:00
Frederik Rietdijk
0aa59a08d6 Merge master into staging 2018-04-09 15:12:32 +02:00
Bastian Köcher
5d2331e3c6 nvidia-x11: 390.25 -> 390.48
Also fixes missing symbol error with kernel 4.16.
2018-04-05 11:48:56 +02:00
Shea Levy
05e375d710
Merge remote-tracking branch 'origin/master' into staging 2018-03-28 09:36:47 -04:00
Nikolay Amiantov
4b67702e5b linuxPackages.nvidia_x11_legacy304.settings: force i686
This legacy settings application doesn't support x86_64.
2018-03-27 16:43:54 +03:00
Nikolay Amiantov
00e5b20d17 linuxPackages.nvidia_x11: build only for x86 Linux 2018-03-27 16:43:53 +03:00
Nikolay Amiantov
25ac79647c linuxPackages.nvidia_x11_legacy173: drop
There's no kernel in nixpkgs suitable for this old driver -- tested with 4.4.
2018-03-27 16:43:53 +03:00
volth
f396dd1dcb nvidiaLegacy304: fix build
Fixes #37768. Fixes #33395. Closes #37866.

abbradar: don't fix settings in a NixOS module.
2018-03-27 16:43:29 +03:00
Jan Malakhovski
8f6f69cb0f nvidia_x11.settings: fix build 2018-03-26 14:02:06 +03:00
Vladimír Čunát
55bbcd4e48
linuxPackages.nvidia_x11_beta: alias to stable
It doesn't seem much sense to have "beta" with version lower than "stable".
2018-02-08 19:55:28 +01:00
Andreas Rammhold
7a833cfcb8 nvidia_x11_beta: 381.22 -> 390.12
This change is done for completness in regards to [1] since we already
support a newer "stable" version.

nvidia_x11_beta now compiles on both 4.14 and 4.15.

[1] https://github.com/NixOS/nixpkgs/issues/31640
2018-02-08 12:55:45 +01:00
Austin Seipp
d8ba530e64 nvidia-x11: stable 387.34 -> 390.25
390.x is Nvidia's latest "Long Lived Branch version" according to
https://www.nvidia.com/object/unix.html so this upgrades the stable version
from 387.xx.

390.x also also has support for kernel 4.15 and later (due to removal of the
old init_timer APIs, among other things), meaning that
linuxPackages_4_15.nvidia_x11 now builds correctly.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-02-02 13:01:38 -06:00
Tuomas Tynkkynen
9fe81b5ac2 nvidia-x11: Attempt to fix library-only build
1fb0d3d158 (commitcomment-26554956)
2017-12-30 18:44:45 +02:00
Franz Pletz
1fb0d3d158
Fix some instances of #33166 correctly 2017-12-29 22:35:32 +01:00
Christoph Hrdinka
d1bfa7ee08
nvidia-x11: add libelf to buildInputs
Signed-off-by: Christoph Hrdinka <c.github@hrdinka.at>
2017-12-28 13:28:39 +01:00
Mateusz Kowalczyk
34b0c1c417 nvidia-settings: Make sure binary can find libXv.so 2017-12-17 15:34:51 +00:00
Elis Hirwing
9a3a4f3125
nvidia-x11: 387.22 -> 387.34 2017-12-13 23:01:17 +01:00
Vladimír Čunát
e9550f290c
nvidia_x11_legacy340: add another patch
I *suspect* that NV_VM_OPERATIONS_STRUCT_HAS_FAULT isn't detected
in our case for some reason, so this patch doesn't make a difference.
In any case, the patch seems unlikely to make anything worse.
2017-11-30 12:06:27 +01:00
Vladimír Čunát
b934716782
nvidia_x11_legacy304: fix build with kernel 4.14
/cc #31640.
2017-11-30 09:51:17 +01:00
Vladimír Čunát
1e4d675c4e
nvidia_x11_legacy304: 304.135 -> 304.137
This now builds with kernel 4.13; Debian has only the typo patch there.
Curiously, .settings still fails to link on x86_64-linux but works
on i686-linux, just as with .135.
2017-11-30 09:50:22 +01:00
Vladimír Čunát
6aa3f54f8d
nvidia_x11_legacy340: patch to support kernel 4.14
/cc #31640.
2017-11-29 23:26:00 +01:00
Vladimír Čunát
2dfbc5f8ed
nvidia_x11_legacy340: 340.102 -> 340.104
Fixes #32169: build with kernel 4.13.
Unfortunately, 4.13 is going away very soon and for 4.14 doesn't build.

I only tested building it, but these minor bumps should be safe.
2017-11-29 19:04:48 +01:00
Cray Elliott
2517cea040 nvidia-x11-stable: 384.90 -> 387.22 2017-11-21 19:15:37 -08:00
Cray Elliott
56d1a14419 nvidia-x11: 384.69 -> 384.90 2017-09-28 00:01:37 -07:00
Jan Solanti
4ec3d311cb nvidia-x11: generate nvidia_icd.json from template 2017-09-26 21:53:44 +02:00
Cray Elliott
6df5f88aca nvidia-x11: 375.66 -> 384.69 2017-09-05 16:12:31 -07:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Charles Strahan
3b1c4fce4f psensor: init at 1.2.0
psensor is a graphical hardware monitoring application for Linux
2017-06-13 18:51:36 -04:00
Nikolay Amiantov
7b41780a0e linuxPackages.nvidia_x11: move patches to specific versions 2017-05-31 16:52:03 +03:00
Vladimír Čunát
0c4b91505e
nvidia_x11_legacy304: apply patches from Debian
The drivers would build but probably wouldn't work without them.
See #26250.
2017-05-31 10:48:54 +02:00
Vladimír Čunát
af58f8de55
nvidia_x11_legacy304: 304.134 -> 304.135 2017-05-31 10:02:56 +02:00
Cray Elliott
4f51a1ef32 nvidia-x11: add dbus as a dependency to settings
for the latest beta release, the nvidia-settings binary will not compile
without dbus/dbus.h
2017-05-12 01:30:28 -07:00
Vladimír Čunát
165a6548ad
nvidia_x11_legacy340: fix patch URL to fix #25721
Using fixed-commit URLs and fetchpatch is just more robust.
2017-05-12 10:13:26 +02:00
Cray Elliott
11b8cfb506 nvidia_x11_beta: 378.13 -> 381.22
also remove nvidia 4.10 kernel patch as it is no longer needed
2017-05-11 17:53:19 -07:00
Linus Heckemann
89ce83688c nvidia-x11: fix linux 4.10 patch URL 2017-05-11 17:29:57 -07:00
Linus Heckemann
995d41c091 nvidia stable: 375.39 -> 375.66 2017-05-11 17:29:57 -07:00
zraexy
563fa2c034 nvidia-x11: switch download urls to https 2017-04-29 13:19:04 -08:00
John Ericson
37e5e71fdf Merge pull request #24974 from Ericson2314/mapNullable
Introduce `mapNullable` into lib and use it in a few places
2017-04-17 17:12:14 -04:00
John Ericson
85aa5005af Introduce mapNullable into lib and use it in a few places
Also simply some configure flag logic my grep also alerted me too.
2017-04-17 17:04:04 -04:00
Victor Calvert
71d8ce6f4b nvidia: 340.101 -> 340.102 (#24694) 2017-04-16 22:08:20 +02:00
Vladimír Čunát
9ee2143912
treewide: remove unused buildEnv parameters 2017-04-16 10:29:49 +02:00
Kosyrev Serge
d860a68fd0 nvidia-x11: $bin can be empty 2017-03-19 05:29:57 +03:00
Kosyrev Serge
d18f55269c nvidia-x11: don't patch things if libsOnly requested 2017-03-19 05:29:33 +03:00
Cray Elliott
8799254eac nvidia_x11_beta: add patch to support Linux 4.10.x
thanks to bendlas for the review for pointing out a way to grab the patch remotely!
2017-03-13 00:00:26 -07:00
Cray Elliott
12083de992 nvidia_x11: 375.26 -> 375.39
nvidia_x11_beta: 378.09 -> 378.13
2017-03-12 23:54:08 -07:00
Nikolay Amiantov
22750b36fd nvidia: support application profiles
Closes #22666.
2017-02-19 19:46:01 +03:00
Nikolay Amiantov
f6eedf0867 nvidia-x11.settings: add librsvg for gtk3 2017-02-19 19:45:54 +03:00
Nikolay Amiantov
362ef377c8 nvidia_x11.settings: link dlopen'ed libraries 2017-02-19 11:53:23 +03:00
Jude Taylor
c3e3b6a19a
nvidia-x11: fix parallel building variable name 2017-02-11 14:29:37 -08:00
Frederik Rietdijk
bab37c73ac nvidia-x11: undo parallel building
In ffc498c490 -j$NIX_BUILD_JOBS was added.
Somehow this caused my machine to run many many more parallel jobs than
it was supposed to, freezing the system.

If you don't experience this, feel free to revert.
2017-02-11 15:50:22 +01:00
Nikolay Amiantov
2fd2fcf54d linuxPackages.nvidia_x11: refactor, build more from source
* Use libglvnd;
* Compile nvidia-settings, nvidia-persistenced from source;
* Generalize builder.
2017-02-08 16:57:46 +03:00
Jude Taylor
ffc498c490
nvidia_x11: add missing vulkan files 2017-01-28 19:47:25 -08:00
Nikolay Amiantov
d75a3cfb29 Merge pull request #21995 from abbradar/opencl
Fix OpenCL support
2017-01-20 12:09:17 +03:00
Nikolay Amiantov
05eee18e7a linuxPackages.nvidia_x11: fix OpenCL support
* Move OpenCL .icd file to the right place;
* Remove libOpenCL.so (we use ocl-icd instead).
2017-01-20 03:37:51 +03:00
Graham Christensen
d20d38e68d
nvidia_x11_legacy340: 340.96 -> 340.101 for CVE-2016-7382, CVE-2016-7389, CVE-2016-8826 2017-01-11 20:11:20 -05:00
Graham Christensen
9837dce6d2
nvidia_x11_legacy304: 304.131 -> 304.134 for CVE-2016-7382, CVE-2016-7389, CVE-2016-8826 2017-01-11 20:11:14 -05:00
Frederik Rietdijk
9f6bd82364 nvidia-x11: 375.20 -> 375.26 2016-12-23 10:57:28 +01:00
Frederik Rietdijk
231cd277df nvidia-x11: 367.57 -> 375.20 2016-11-26 09:31:10 +01:00
Graham Christensen
634a098940
linuxPackages.nvidia_x11: Remove us prefix from mirror
At the time of the last upgrade, the new driver wasn't available on
anything but their US mirror. Pinning to the US mirror isn't
recommended or preferable, but I did it anyway to be able to get the
upgrade out.
2016-10-16 11:08:17 -04:00
Graham Christensen
b98c0a668e
nvidia-x11: 367.35 -> 367.57 2016-10-11 19:43:58 -04:00
Kirill Boltaev
bccd75094f treewide: explicitly specify gtk and related package versions 2016-09-12 18:26:06 +03:00
Franz Pletz
9e7d118ea2 linuxPackages.nvidia-x11: disable pic & format hardening 2016-08-13 16:49:42 +02:00
Robin Gloster
1b979d8384 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-08-03 13:34:44 +00:00
Robin Gloster
1be4907ca2 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-08-02 13:46:36 +00:00
Frederik Rietdijk
8eb4b3af10 nvidia-x11: fix driSupport32Bit 2016-08-02 13:03:44 +02:00
Karn Kallio
5d11dac8bb nvidia-x11: advance to 365.35 and patch kernel 4.7. 2016-08-01 10:19:57 -04:00
Robin Gloster
43ba8d295f nvidia-x11: disable pic/format hardening 2016-07-31 20:38:38 +00:00
Tobias Geerinckx-Rice
eec8d44335
nvidia_x11_legacy*: remove unused nvidia-340.76-kernel-4.0.patch 2016-06-22 03:58:55 +02:00
Graham Christensen
180417f385
nvidia-x11: 361.42 -> 361.45.11 2016-05-31 22:23:54 -05:00
Eelco Dolstra
59ef7d25c3 nvidia-x11: 358.16 -> 361.42
This fixes the segfault reported in #13942 caused by missing
libEGL.so.0 and libEGL_nvidia.so.0 symlinks.
2016-04-06 15:53:14 +02:00
Vladimír Čunát
a1de225913 Revert "nvidia: 358.16 -> 361.28" to fix #13942
This reverts commit e0fe8cf204.
Befor updating we need to fixup problems related to GLVND transition.
2016-03-16 20:08:41 +01:00
Vladimír Čunát
17b83a88c3 nvidia-x11*: use mirror-agnostic URLs 2016-03-10 15:56:53 +01:00
Graham Christensen
fed36719f6 nvidia_x11_legacy304: 304.125 -> 304.131
Thanks to the great commit message in 6257425dab
(thank you edwtjo) I was able to go back and find out the patch which
was causing build failures is no longer necessary after upgrading
this legacy driver.
2016-03-09 19:41:04 -06:00
Svein Ove Aas
e0fe8cf204 nvidia: major update 358.16 -> 361.28
Beta also gets updated, but even upstream it's older than stable.
vcunat generalized parallel make. Close #12719.
2016-03-07 23:14:44 +01:00
Tobias Geerinckx-Rice
a90196d4cd nvidia_x11_legacy304: fix evaluation
nvidia-340.76-kernel-4.0.patch was removed from nvidia_x11_legacy340
54d342add8 but is still needed for 304.

I think. CC @vcunat.
2016-03-06 01:05:44 +01:00
Vladimír Čunát
54d342add8 nvidia_x11_legacy340: update 340.76 -> 340.94
Fixes #13658.
2016-03-05 22:19:14 +01:00
Nikolay Amiantov
6563fa6125 nvidia_x11: move vdpau libraries to lib/vdpau 2016-01-26 04:30:26 +03:00
Svein Ove Aas
805d453bc2 nvidia: branch update 352.63 -> 358.16 (close #12272)
Tested & reviewed by vcunat:
- the patch seems not needed anymore,
- reflects changes in their build system
  ftp://download.nvidia.com/XFree86/packaging/linux/new-kbuild-for-355/README
2016-01-14 12:32:53 +01:00
William A. Kennington III
8d01a4a4e4 nvidia: 352.55 -> 352.63 2015-11-17 21:13:41 -08:00
Eelco Dolstra
db19779965 nvidia-x11: Update to 352.55 2015-10-30 11:06:36 +01:00
Vladimír Čunát
88c9f8b574 xlibs: replace occurrences by xorg
This seems to have been confusing people, using both xlibs and xorg, etc.
- Avoided renaming local (and different) xlibs binding in gcc*.
- Fixed cases where both xorg and xlibs were used.
Hopefully everything still works as before.
2015-09-15 12:54:34 +02:00
Vladimír Čunát
1464a4de57 nvidia-x11: don't install libvdpau* that we have already
Besides being redundant to inject libvdpau via LD_LIBRARY_PATH,
currently the drivers come with a vulnerable version.
https://devtalk.nvidia.com/default/topic/873035
2015-09-01 13:27:12 +02:00
William A. Kennington III
5056267761 nvidia: Add 4.2 patch 2015-08-31 00:08:33 -07:00
William A. Kennington III
dc506110c1 nvidia: 352.30 -> 352.41 2015-08-30 10:57:16 -07:00
Eelco Dolstra
e4610f2965 buildEnv: Support package priorities like nix-env
This gets rid of a bunch of collision warnings.
2015-08-25 00:40:40 +02:00
Vladimír Čunát
e2e21ef320 nvidia-x11-legacy{340,304}: fix build with linux-3.18
Close #9218.
It's our default kernel (now and for the upcoming release).
- 304 won't build with 4.1,
- 173 didn't even build with 3.14 due to other issues (3.12 is OK ATM)
- all legacy drivers are up-to-date with upstream releases.
2015-08-13 14:11:06 +02:00
Vladimír Čunát
374210aece nvidia-x11: maintenance update
Strange as it is, nvidia seems to drop UVM kernel module on 32-bit.
Basic driver usage shows no problems for me.
2015-07-30 15:35:02 +02:00
Spencer Janssen
ebe67d3c85 nvidia-x11: add a symlink for libGLESv2.so.2 (close #9024)
nvidia's EGL stack looks for libGLESv2.so.2 at runtime (confirmed by
watching strace), however builder.sh only provides a libGLESv2.so.1
symlink.

@vcunat ported to legacy_340; older ones don't produce GLES.
2015-07-28 12:43:58 +02:00
Vladimír Čunát
ff219393ca nvidia_x11_beta: fix build by syncing with default
/cc author @wkennington.
2015-07-28 12:41:13 +02:00
Eelco Dolstra
165406e1af nvidia-x11: Remove runtime dependency on linux.dev 2015-07-26 22:45:39 +02:00
Edward Tjörnhammar
6257425dab linuxPackages.nvidia_x11_legacy340: fix cr4 references
Patch was copied from here:
https://devtalk.nvidia.com/default/topic/813458/linux-4-0-rc1-346-47-build-error-_cr4-functions-fix/

Reference to kernel change, also noted in the forum post:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/arch/x86/include/asm/paravirt.h?id=1e02ce4cccdcb9688386e5b8d2c9fa4660b45389
2015-07-03 09:32:14 +02:00