Commit graph

327 commits

Author SHA1 Message Date
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 bda072cafcef4cf5ff99828852ddc8e06ce1fdbf)
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