summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* x11-drivers/nvidia-drivers: drop 515.48.07-r1Ionen Wolkens2022-07-032-508/+0
| | | | Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: add 515.49.06:0/vulkan, del 515.49.05-r1Ionen Wolkens2022-07-032-5/+4
| | | | | | | Also depend on >=egl-wayland-1.1.10 given libnvidia-vulkan-producer now has wlEglCreateSurfaceExport Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: add 515.57Ionen Wolkens2022-06-282-0/+514
| | | | | | | | | | | | Now needs >=egl-wayland-1.1.10 or else get a missing symbol if try to use vulkan on wayland. 515.57 still ships with 1.1.9 but it's a modified version of 1.1.9, likewise 1.1.10-r1 is a bit modified given it's currently in a poor state upstream (hopefully this works fine). Also install nvidia-dbus.conf again, file was sanitized upstream and believe it should be fine install. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: set kernel max 5.18 in 0/vulkanIonen Wolkens2022-06-281-1/+1
| | | | | | Overlooked updating that one. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: pin <515.57:0/515 to egl-wayland-1.1.9Ionen Wolkens2022-06-282-2/+2
| | | | | | | | Was waiting for a bump to do these revbumps given 1.1.10 was not keyworded anyway. 1.1.10 needs wlEglCreateSurfaceExport from libnvidia-vulkan-producer.so which currently only exist in >=515.57 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: drop 470.62.30Ionen Wolkens2022-06-212-463/+0
| | | | Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: add 515.49.05:0/vulkanIonen Wolkens2022-06-172-0/+507
| | | | | | | | | | | Note that even though it is newer (for now), it is not recommended to use the 0/vulkan branch unless you are involved in vulkan application development, upstream bugs may not get fixed (aka it adds vulkan features on top of old drivers and rebase occasionally). Please report if packaging issues, as don't check masked 0/vulkan much. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: cleanup old abi_x86_32 swap checkIonen Wolkens2022-06-125-41/+0
| | | | | | | | | Was to help reduce surprises when profile removed it as default, but been a while and should be little meaning to this now. README.Gentoo still warns about this for new installs. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: stabilize 510.73.05-r1 for amd64Ionen Wolkens2022-06-091-1/+1
| | | | | | | | | | | | | | | Branch been tested for a while and major known issues are sorted out in stable now. May at most still be a bit rocky for wayland users given the some applications will switch to using GBM, but gnome/kde have rolled out fixes to major issues a while ago. Owners of Kepler cards should mask >=x11-drivers/nvidia-drivers-471 as the ebuild will warn about (thanks for testing wrt #837317). Closes: https://bugs.gentoo.org/837317 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: pin to egl-wayland-1.1.9 for 0/510Ionen Wolkens2022-06-081-1/+1
| | | | | | | | | | | | Upcoming egl-wayland-1.1.10 is known incompatible, meant to bump it early to fix wayland vulkan issues with 0/515 but it requires yet unreleased nvidia-drivers that'd have the missing symbol in the vulkan-producer lib. And so .10 will likely never work with old 0/510, and there should be no reason to use 1.1.7 with it (barely tested combination). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: drop 515.43.04Ionen Wolkens2022-06-082-522/+0
| | | | Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: minor code cleanupIonen Wolkens2022-06-076-12/+12
| | | | | | | | That this works without eval feels a bit uncanny because the backslash for the following space is inside the variable, but it evaluates whole thing together. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: warn about X86_KERNEL_IBTIonen Wolkens2022-06-076-0/+18
| | | | | | | | | | | | | New feature in >=kernel-5.18, believe few have enabled it in Gentoo but it's been causing issues in binary distros that tried to enable it by default. Seems possible to workaround, but would rather wait for nvidia's fix. Add to non-5.18 ebuilds too for consistency and not losing track, is quiet if the option doesn't exist. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: fix direct objdump with USE=kernel-openIonen Wolkens2022-06-016-6/+6
| | | | | | | | Unlike CXX, this did not error out but still fails to use objdump with -native-symlinks. Only 515 is affected, but sync all to have less ebuild differences and have one less thing to worry about. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: warn if incompatible gcc pluginsIonen Wolkens2022-06-016-6/+96
| | | | | | | | | | | | | | | | This isn't specific to nvidia-drivers (even a blank test.c fails), but it's not uncommon this is the only third party module that a user have and a warning wouldn't hurt. Normally not an issue given gcc plugins are typically not enabled by default (or the option is set, but individual plugins are disabled) and mismatching is mostly fine. Also note about kernel-bin given the module-specific bits /can/ be rebuilt and it may sound confusing otherwise. Bug: https://bugs.gentoo.org/849011 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: revert installation of PM rulesIonen Wolkens2022-05-316-57/+5
| | | | | | | | | Turns out this is only needed if users manually enabled DynamicPowerManagement (not default) and feel this should not be installed by default (no revbump given not known to be harmful and will be cleaned on kernel upgrades). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: add 515.48.07Ionen Wolkens2022-05-312-0/+512
| | | | | | | Drop CONFIG_BACKLIGHT_CLASS_DEVICE check, nvidia added its own proper check for it allowing to disable again. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: warn about modules .conf Allocations=1Ionen Wolkens2022-05-311-1/+2
| | | | | | | | Not something I experimented much with, but I've heard reports it can work badly even with systemd services. It may or may not work better, but avoid sounding like it's always recommended. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: fix direct c++ with USE=kernel-openIonen Wolkens2022-05-305-5/+5
| | | | | | | Only 515 is affected, but sync all to have less ebuild differences and have one less thing to worry about. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: move nvidia-dbus.conf to docsIonen Wolkens2022-05-292-6/+2
| | | | | | | | | As upstream does, believe this should be setup manually if needed and the rules are questionable. Unlikely many are using powerd yet (many distros don't ship it too), hardly hear of it working properly. So skipping a warning and letting it propagate in kernel module rebuilds. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: drop vuln 390.147, 470.103.01, 510.68.02Ionen Wolkens2022-05-264-1344/+0
| | | | | Bug: https://bugs.gentoo.org/845063 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: stabilize 470.129.06 for amd64Ionen Wolkens2022-05-261-1/+1
| | | | | Bug: https://bugs.gentoo.org/845063 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: stabilize 390.151 for amd64, x86Ionen Wolkens2022-05-261-1/+1
| | | | | Bug: https://bugs.gentoo.org/845063 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: add 470.62.30:0/vulkan, drop 470.62.29Ionen Wolkens2022-05-252-1/+1
| | | | Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: bump KERNEL_MAX to 5.18 where possibleIonen Wolkens2022-05-234-4/+4
| | | | Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: sync minor nitpick in 390 branchIonen Wolkens2022-05-201-1/+1
| | | | | | linux-mod already checks for `use driver` Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: install PM udev rules from README.txtIonen Wolkens2022-05-205-8/+51
| | | | | | | | | | | | | | User reported it solved some power management issues (e.g. oddities followed by Xorg segfault when using sleep with GNOME), and other distros like Fedora install these unconditionally. Only for 470+ given wasn't included in nvidia's README for 390.xx and likely not relevant. Skip revbump, not known(?) to affect many and will propagate on kernel upgrades + rebuild. Thanks-to: Randall T. Vasquez Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: add 510.73.05Ionen Wolkens2022-05-162-0/+470
| | | | Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: add 470.129.06Ionen Wolkens2022-05-162-0/+457
| | | | Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: add 390.151Ionen Wolkens2022-05-162-0/+435
| | | | Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: further warn about kernel-openIonen Wolkens2022-05-121-0/+4
| | | | | | | Already mentioning it's experimental a lot, but may not be clear that features are straight up missing. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: require MMU_NOTIFIER with kernel-openIonen Wolkens2022-05-111-0/+5
| | | | | Closes: https://bugs.gentoo.org/843827 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: roughly clarify what Turing/Ampere+ isIonen Wolkens2022-05-112-3/+3
| | | | | | | Not everyone recognize these code names, and will end up with broken drivers on the wrong card. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: kernel-open improvementsIonen Wolkens2022-05-112-4/+20
| | | | | | | | | | - use full source rather than bundled kernel-open which comes with a prebuilt .o_binary similarly to closed source blob - enable NVreg_OpenRmEnableUnsupportedGpus=1 by default or else it's unlikely to work on the average GPUs - symlink application profile to help nvidia-settings start Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: add 515.43.04 unkeyworded (beta)Ionen Wolkens2022-05-113-0/+483
| | | | | | | | | | | | | | Opting to leave betas unkeyworded after all, feel free to test. - new IUSE=kernel-open to build open source variant, entirely untested (lacking a Turing / Ampere card). May or may not mask the USE entirely given how experimental it is, but given unkeyworded not worrying about this yet. - CONFIG_BACKLIGHT_CLASS_DEVICE conftest was removed and is used unconditionally, depend on it until further notice. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: drop 510.60.02Ionen Wolkens2022-05-112-465/+0
| | | | Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: add 470.62.29:0/vulkan, drop 470.62.28Ionen Wolkens2022-05-112-1/+1
| | | | Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: add 470.62.28:0/vulkan, drop 470.62.26Ionen Wolkens2022-04-302-1/+1
| | | | Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: add 510.68.02Ionen Wolkens2022-04-262-0/+465
| | | | Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: use -fPIC for libXNVCtrl.a as wellIonen Wolkens2022-04-243-0/+3
| | | | | | | | | | | | | | Should revbump but would rather not cause rebuilds over this given this is a no-op unless forced USE=-pie on gcc through profile's package.use.force (clang now also defaults to it). nvidia-drivers already get rebuilt on kernel upgrades which will phase it out for -pie users (please manually rebuild if issues). Legacy 0/390 branch is not affected. Closes: https://bugs.gentoo.org/840389 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: use egetent + better sanity checkIonen Wolkens2022-04-154-12/+12
| | | | | | | | | | | | Switching to egetent wasn't very useful given the limited use-cases where nvidia-drivers can be installed (and there's no egetgroupid) but, given there's talk to improve its ROOT / crossdev support, it may be good to finally change this. Also add sanity-check to ensure we got a number, still skip assert so failure will give the sanity-check's error message. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: clarify no patches for kernel supportIonen Wolkens2022-04-124-4/+8
| | | | | | | | | | | | "wait until NVIDIA releases a fixed version" may not be clear enough. This further hold true for _rc/bleeding/.0/.1 kernels, would consider for non-legacy drivers if didn't work with the current-stable LTS kernel at most (generally LTS is recommended if using any out-of-tree modules, or at least wait a bit before using new major kernels). Bug: https://bugs.gentoo.org/838118 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: drop 510.54Ionen Wolkens2022-03-302-464/+0
| | | | | | | 510.60.02 been uneventful and gnome issues weren't related to it, shouldn't need to keep this version. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: drop 470.62.22:0/vulkanIonen Wolkens2022-03-292-452/+0
| | | | Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: add 470.62.26:0/vulkanIonen Wolkens2022-03-292-0/+446
| | | | | | | Also EAPI=8 and sync NV_PIN with latest 470 (this is not actively tested for masked 0/vulkan, please report if issues). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: enable static-libs USE by defaultIonen Wolkens2022-03-285-5/+5
| | | | | | | | | | | | | | Now that hwloc depends on this by "default" when VIDEO_CARDS=nvidia, not being enabled by default tend to be an annoyance. This only has a cheap build-only dependency on libX11/Xext, is tiny, and doesn't take long to build. Only makes some sense to disable if wayland-only or headless without X (albeit this is why the USE exists and isn't unconditional, /could/ be merged with USE=X although that USE has more implications.. may revisit later). Bug: https://bugs.gentoo.org/836004 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: set description for static-libsIonen Wolkens2022-03-281-0/+1
| | | | | | | | It may have been better to be USE=nvctrl or merged with USE=X, but let's at least provide a description so it's clearer what it's for. Bug: https://bugs.gentoo.org/836004 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: add 510.60.02Ionen Wolkens2022-03-222-0/+463
| | | | Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: bump KERNEL_MAX to 5.17 where possibleIonen Wolkens2022-03-222-2/+2
| | | | Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* x11-drivers/nvidia-drivers: re-add comment about vulkan icdIonen Wolkens2022-03-054-0/+4
| | | | | | | | There used to be one in older ebuilds and it wasn't meant to be lost as reason for skipping with -X can look confusing without knowing that it relies on libGLX currently. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>