Commit Graph

323 Commits

Author SHA1 Message Date
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 784df0764ff48401507976b8587b9c7d0c46aed9.
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 f98219c519d08d10470b031855fb616d95e95d6c.
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