summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* x11-drivers/xf86-video-qxl: Call xorg-3_pkg_setupDavid Seifert2021-05-021-0/+1
| | | | | | Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* x11-drivers/xf86-video-intel: Make XORG_CONFIGURE_OPTIONS a local varDavid Seifert2021-05-024-7/+35
| | | | | | Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* x11-drivers/xf86-video-geode: Define XORG_CONFIGURE_OPTIONS in src_configureDavid Seifert2021-05-021-2/+4
| | | | | | Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* x11-drivers/xf86-video-ati: Define XORG_CONFIGURE_OPTIONS in src_configureDavid Seifert2021-05-022-6/+18
| | | | | | Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* x11-drivers/xf86-video-amdgpu: Define XORG_CONFIGURE_OPTIONS in src_configureDavid Seifert2021-05-022-6/+8
| | | | | | Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* x11-drivers/xf86-input-wacom: Define XORG_CONFIGURE_OPTIONS in src_configureDavid Seifert2021-05-022-22/+30
| | | | | | Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* x11-drivers/xf86-input-vmmouse: Define XORG_CONFIGURE_OPTIONS in src_configureDavid Seifert2021-05-022-6/+2
| | | | | | Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* x11-drivers/nvidia-drivers: add 465.27Ionen Wolkens2021-05-012-0/+416
| | | | | | | | | | Changed SRC_URI to be more specific due to recent unreliable file availability with new releases (thankfully Gentoo mirrors these now with restrictions lifted). Closes: https://github.com/gentoo/gentoo/pull/20623 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/xf86-input-libinput: Version bump to 1.0.1Matt Turner2021-04-302-0/+23
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* x11-drivers/nvidia-drivers: bump kernel_max to 5.12 where possibleIonen Wolkens2021-04-265-5/+5
| | | | | | | | | drivers previously supporting 5.11 are showing no apparent regressions with 5.12 as-is, both for building and runtime Closes: https://github.com/gentoo/gentoo/pull/20547 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: prevent 390.xx abi_x86_32 GLX segfaultIonen Wolkens2021-04-252-2/+12
| | | | | | | | | | | | | | Regression since 390.141-r1. Alternate libnvidia-tls.so from the tls/ directory is necessary for 390.xx branch and legacy libglx.so but wasn't used with abi_x86_32. -d 32 test is for x86 keyword without the directory (wasn't affected). Closes: https://github.com/gentoo/gentoo/pull/20520 Closes: https://bugs.gentoo.org/785289 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: drop 465.19.01Ionen Wolkens2021-04-212-416/+0
| | | | | | Closes: https://github.com/gentoo/gentoo/pull/20437 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: security bump to 465.24.02Ionen Wolkens2021-04-212-0/+416
| | | | | | | | CVE‑2021‑1076 (bug #784596) Bug: https://bugs.gentoo.org/784596 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: security bump to 460.73.01Ionen Wolkens2021-04-212-0/+415
| | | | | | | | CVE‑2021‑1076, CVE‑2021‑1077 (bug #784596) Bug: https://bugs.gentoo.org/784596 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: security bump to 450.119.03Ionen Wolkens2021-04-212-0/+416
| | | | | | | | | | | | | - CVE‑2021‑1076, CVE‑2021‑1077 (bug #784596) - Adds compatibility for kernel 5.11.x - CONFIG_PM check now needed as changes requiring it were backported from 460.67 (bug #778920) Bug: https://bugs.gentoo.org/778920 Bug: https://bugs.gentoo.org/784596 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: security bump to 390.143Ionen Wolkens2021-04-212-0/+390
| | | | | | | | | - CVE‑2021‑1076 (bug #784596) - Adds compatibility for kernel 5.11.x Bug: https://bugs.gentoo.org/784596 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: drop 460.56Ionen Wolkens2021-04-2112-615/+0
| | | | | | | Also removes remaining support files/metadata for old style ebuilds. Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: drop 450.102.04Ionen Wolkens2021-04-212-486/+0
| | | | | Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: drop 390.141Ionen Wolkens2021-04-213-493/+0
| | | | | Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: stabilize 460.67 for amd64Ionen Wolkens2021-04-171-1/+1
| | | | | | Closes: https://github.com/gentoo/gentoo/pull/20423 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: stabilize 450.102.04-r1 for amd64Ionen Wolkens2021-04-171-1/+1
| | | | | Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: stabilize 390.141-r1 for amd64 and x86Ionen Wolkens2021-04-171-1/+1
| | | | | Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: remove egl-wayland support for 390.141Ionen Wolkens2021-04-171-3/+8
| | | | | | | | | | | Current egl-wayland does not work as expected with legacy drivers, and old versions are lacking some features that will make it difficult to support in the future. Remove optfeature and add a warning just-in-case (unlikely was used). Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: drop 460.39-r1Ionen Wolkens2021-04-062-487/+0
| | | | | | Closes: https://github.com/gentoo/gentoo/pull/20282 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: add README.gentoo, minor message changesIonen Wolkens2021-04-064-64/+58
| | | | | | | | | Like nvidia-driver.eclass used to it's primarily to leave something behind about the video group should users have missed the message (but no revbumps over installing this). Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: need PROC_FS, update AMD SME checkIonen Wolkens2021-04-064-2/+4
| | | | | | | | | | | | | | | | | CONFIG_CHECK changes: - PROC_FS: NVIDIA has fallback code to work with a kernel without this, but seems to be suffering from bit rot and doesn't compile. For the unlikely event a user has it unset (did happen), check so they don't wonder what's missing. - AMD SME: Reports of it being broken with NVIDIA were a bit outdated, should be functioning since (at least) >=460.56. As such leaving the imperfect "enabled by default" check only in older branches (bug #652408). Bug: https://bugs.gentoo.org/652408 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/xf86-input-libinput: Version bump to 1.0.0Matt Turner2021-04-062-0/+23
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* x11-drivers/xf86-video-dummy: drop s390 to ~s390 (unstable)Sam James2021-04-051-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* x11-drivers/xf86-input-void: drop s390 to ~s390 (unstable)Sam James2021-04-051-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* x11-drivers/xf86-input-libinput: drop s390 to ~s390 (unstable)Sam James2021-04-051-2/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* x11-drivers/nvidia-drivers: add 465.19.01Ionen Wolkens2021-04-032-0/+417
| | | | | | | | | New beta branch with no notable ebuild changes beside updating systemd paths (scripts/units themselves are unchanged). Closes: https://github.com/gentoo/gentoo/pull/20172 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: mark 460.56 stableIonen Wolkens2021-04-031-1/+1
| | | | | Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: use more strict legacy testIonen Wolkens2021-04-032-2/+2
| | | | | | Closes: https://bugs.gentoo.org/779583 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: use clearer x86 abi checkIonen Wolkens2021-04-033-9/+9
| | | | | | | | | | | May or may not help multilib-portage users a bit (bug #778986), but note that this isn't really being supported. 390.xx handled slightly differently because of x86 keyword. Closes: https://bugs.gentoo.org/778986 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: require _PM with 460.67 for <5.10 kernelsIonen Wolkens2021-04-031-0/+5
| | | | | | | | | | | NVIDIA sets an alternate code path so no-CONFIG_PM works with >=5.10 kernels and opted to remove the PM guard, however this breaks build with older kernels. Unless the guard is re-added in a future version this will have to be kept. Closes: https://bugs.gentoo.org/778920 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: style re-arrangement and nitpicksIonen Wolkens2021-04-033-232/+273
| | | | | | | | | | | | | | | | | | | | | | | | - Moved CONFIG_CHECK variables to pkg_setup. Will need conditional checks and would rather have everything in one place if going to modify. Not using pkg_pretend as don't want it to fail with a yet-to-be-installed dist-kernel. - Normalized kernel_is use to match docs rather than nvidia.eclass. - Split nvidia-drivers_make() with _make_install(). ${ED} being wrong or unset during src_compile() would be a no-op but is nonetheless incorrect usage. - Moved function declarations to respective phases, no longer shared. Partly to allow pkgcheck and friends to detect variables misuse. - Removed some unnecessary globs and quotes. - Removed no longer relevant '!= lib' check, was formerly used for egl-wayland but is now in its own package. Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/xf86-video-qxl: Drop old versionsMatt Turner2021-03-272-24/+0
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* x11-drivers/xf86-video-qxl: Stabilize 0.1.5_p20200205 x86, #778776Sam James2021-03-271-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* x11-drivers/xf86-video-qxl: Stabilize 0.1.5_p20200205 amd64, #778776Sam James2021-03-271-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* x11-drivers/xf86-video-nouveau: Drop old versionsMatt Turner2021-03-272-23/+0
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* x11-drivers/xf86-video-nouveau: Stabilize 1.0.17 ppc, #774921Sam James2021-03-251-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* x11-drivers/xf86-video-nouveau: Stabilize 1.0.17 ppc64, #774921Sam James2021-03-251-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* x11-drivers/nvidia-drivers: fix using KERNEL_DIR as output dirIonen Wolkens2021-03-223-3/+3
| | | | | | | | Oversight during cleanups, partially reverted to old behavior. Closes: https://bugs.gentoo.org/777630 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* x11-drivers/nvidia-drivers: remove unused filesIonen Wolkens2021-03-212-19/+0
| | | | | Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: revbump to sync 390.141 with 460.67Ionen Wolkens2021-03-213-0/+386
| | | | | | | | | | | | | | | | | Mostly same as 460.67 minus same existing 390.xx workarounds. Other than those: - Given uvm flag is gone, the x86-only uvm mask is now handled internally with an explanation to users. - nvidia-persistenced needed an extra workaround to find libtirpc - fno-common patch updated for new layout - Moved the /etc 390-specific GLX workaround to /usr/share where it replaces nvidia-drm-outputclass.conf - No supported-gpus.json so no legacy check (nor ZLIB license), but this is as far as legacy support goes on Gentoo with 340 gone. Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: revbump to sync 450.102.04 with 460.67Ionen Wolkens2021-03-212-0/+397
| | | | | | | Identical to 460.67 except few different paths and no 5.11 support. Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: bump to 460.67 with refactored ebuildIonen Wolkens2021-03-216-0/+432
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ebuild carries a lot of history and, rather than cleanups, it needed something closer to a rewrite. Bugfixes: - Removed all udev rules to solve long standing issues (bug #454740) - Install libraries with no X11 dependencies with USE=-X, notably for headless OpenCL/CUDA (bug #561706) - Install systemd unit for persistenced + nvpd user (bug #591638) - Add custom error message for DRM_KMS_HELPER and ensure driver doesn't attempt building DRM support without it (bug #603818) - Warn about AMD SME if enabled by default (bug #652408) - Distribute extra sources to lift RESTRICT="bindist mirror", the nvidia-driver.eclass is no longer used (bug #732702) - Build modprobe and persistenced from source (bug #747145) - Use system locations for vulkan icd/layers (bug #749600) Others: - Dropped IUSE=compat/multilib/kms/uvm/wayland > compat: was for non-GLVND variants and currently a no-op > multilib: obsolete, abi_x86_32 does all that's needed > kms/uvm: modules are loaded by nvidia-modprobe as-needed and there's not much sense in skipping installation. Will also save OpenCL/CUDA packages from having to depend on [uvm] > wayland: library is provided by gui-libs/egl-wayland instead which now also provides pkgconfig files and can be a newer version. optfeature warning was added for awareness. - Dropped REQUIRED_USE, all USE can now be used independently, e.g. now possible to get libXNVCtrl.a (static-libs) without the deps-heavy USE=tools - Dropped locale patch, the offending code it was meant to fix is gone. - Dropped linker patch, uses right linker even with -native-symlinks. - Added modprobe.d .conf to blacklist nouveau by default. - Patched nvidia-modprobe to respect nvidia.conf's permissions when creating uvm devices, was previously created as world read-write. - No longer installing libOpenCL.so loader (not needed to use OpenCL, was used by the no longer available eselect-opencl). - nvidia-persistenced init script simplified and updated for nvpd user. - nvidia-smi init script removed (all it did was query cards every 300 seconds), mentioned behavior is no longer observable (fan scales normally without X) and it wasn't intended for this purpose. - Removed I2C_NVIDIA_GPU check as it caused unnecessary noise for gentoo-kernel-bin users (built as module), and being a bad thing even if loaded is questionable. - Attempt to reduce message noise. The only fatal CONFIG_CHECK is fairly rare so there's little reason to check twice with pkg_pretend. - ... but added new conditional messages to explain important things often seen as common sense but that a new user likely won't know. - Replaced the nvidia-driver.eclass legacy test with a compact version that reads supported-gpus.json (usable on >450). - More strict deps, some may sound strange but nvidia-settings only use headers for some of these (dbus/Xrandr/Xv/vdpau). > X? libs kept separate as it's the only one needing multilib deps. > pax-utils now unconditional for scanelf as libraries are always installed. Alternatively could've generated those, but prefer to leave it easier to maintain for future generations. > virtual/opencl removed, no sense in the drivers depending on this and it's instead applications using opencl that should. > Added MODULES_OPTIONAL_USE="driver" to handle linux-mod deps - Added MIT license for persistenced - Added ZLIB license for supported-gpus.json - NV_KERNEL_MAX (previously NV_KV_MAX_PLUS) set to be <=5.11 form rather than <5.12 given that often confused users thinking it meant 5.12 support from quick looks. - arm64 support "should" work but runtime untested - And a long list of cleanups that "hopefully" won't cause new issues. Closes: https://bugs.gentoo.org/454740 Closes: https://bugs.gentoo.org/561706 Closes: https://bugs.gentoo.org/591638 Closes: https://bugs.gentoo.org/603818 Closes: https://bugs.gentoo.org/652408 Closes: https://bugs.gentoo.org/732702 Closes: https://bugs.gentoo.org/747145 Closes: https://bugs.gentoo.org/749600 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: change .conf tmp path to /var/tmpIonen Wolkens2021-03-212-5/+5
| | | | | | | | | Given space requirement and /tmp typically being tmpfs, /var/tmp makes more sense. >430 ebuilds currently had to warn users to change the path (no need for revbumps because of this). Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: add remote-ids, metadata cleanupsIonen Wolkens2021-03-211-11/+9
| | | | | | | | | | | Removed X flag, this flag will no longer mean as much and the global description is good enough. Long description also removed, it explained parts of ebuild maintenance and not very useful for users. Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* x11-drivers/nvidia-drivers: take over as primary maintainerIonen Wolkens2021-03-211-0/+4
| | | | | Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>