summaryrefslogtreecommitdiff
path: root/x11-drivers
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-01-04 01:27:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-01-04 01:27:12 +0000
commit3517852e3b8a68d1e997770fc0650c5053bafc6c (patch)
tree44068672445b1418489aed82de58df3c470289e7 /x11-drivers
parent0f15659d48c193027158492acb726297501202c5 (diff)
gentoo resync : 04.01.2022
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/Manifest.gzbin5037 -> 5043 bytes
-rw-r--r--x11-drivers/nvidia-drivers/Manifest27
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-390.144-r1.ebuild421
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-390.147.ebuild37
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-460.91.03-r1.ebuild436
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-460.91.03-r2.ebuild413
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-470.62.16.ebuild35
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-470.86-r2.ebuild482
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-470.94.ebuild37
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-495.44-r2.ebuild16
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r10.ebuild35
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r20.ebuild35
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-495.46.ebuild35
-rw-r--r--x11-drivers/xf86-input-evdev/Manifest2
-rw-r--r--x11-drivers/xf86-input-evdev/xf86-input-evdev-2.10.6.ebuild4
-rw-r--r--x11-drivers/xf86-input-joystick/Manifest2
-rw-r--r--x11-drivers/xf86-input-joystick/xf86-input-joystick-1.6.3.ebuild4
-rw-r--r--x11-drivers/xf86-input-libinput/Manifest2
-rw-r--r--x11-drivers/xf86-input-libinput/xf86-input-libinput-1.2.0.ebuild4
-rw-r--r--x11-drivers/xf86-input-void/Manifest2
-rw-r--r--x11-drivers/xf86-input-void/xf86-input-void-1.4.1.ebuild4
-rw-r--r--x11-drivers/xf86-video-dummy/Manifest2
-rw-r--r--x11-drivers/xf86-video-dummy/xf86-video-dummy-0.3.8.ebuild4
-rw-r--r--x11-drivers/xf86-video-fbdev/Manifest2
-rw-r--r--x11-drivers/xf86-video-fbdev/xf86-video-fbdev-0.5.0-r1.ebuild4
25 files changed, 537 insertions, 1508 deletions
diff --git a/x11-drivers/Manifest.gz b/x11-drivers/Manifest.gz
index b7264b5b409d..13b112a0e19c 100644
--- a/x11-drivers/Manifest.gz
+++ b/x11-drivers/Manifest.gz
Binary files differ
diff --git a/x11-drivers/nvidia-drivers/Manifest b/x11-drivers/nvidia-drivers/Manifest
index c4939b254a92..1ae8163153c6 100644
--- a/x11-drivers/nvidia-drivers/Manifest
+++ b/x11-drivers/nvidia-drivers/Manifest
@@ -10,63 +10,52 @@ AUX nvidia-settings-390.144-desktop.patch 433 BLAKE2B 5f2eacf1cb1d8ad1ba2cd7163f
AUX nvidia-settings-390.144-no-gtk2.patch 367 BLAKE2B 59a60b103df6b187009417dca22caaf45292b94005d92df9e513804e5137959ffeda1d9abd5506cbb5c7be604023d2c59f0841190b03502542ad0c2d3f084a10 SHA512 421558442a2228f6ffdb82b2bd6862cbc286b8ba259c4970f54dcc445a988575864404f2c3933d2436d8d40de1bf0e34ee7ed855742c5d677094c260e32a1e66
AUX nvidia-settings-390.144-raw-ldflags.patch 468 BLAKE2B bf4c00a76351e6c3d1587b4f71be61fac8cc516fa22da0a47538fede92b619eb77b1cc09222cd403175a2015eb2ca745e8cdca90c9dca1b938ca13a2e59810ba SHA512 1fc568bfd1faba1f7af4f4b07715912b7f1d8103626ec0c9fcbb465ded606059ca264f386fe415105ab9f95c4ab173bf4b784ea7380bf17ab6979f56fbd01757
DIST NVIDIA-Linux-aarch64-460.91.03.run 111886330 BLAKE2B 24ab316e216caa61f7edb4dbcb34541709d3229d495e6ead95e99db7403cddee03467ee28d007f0fa3c4f2fa267e1994533c90a7a67885e9e76d501ab0f8aaa5 SHA512 edcfd3b11afe625c8996cda488a8de2e0e40eb4b95c8cf0ead9e1226d7cee8140a83c247d745ceefe997a39cfcf3e3f9bde575d97aa39090f97f88817d89cb28
-DIST NVIDIA-Linux-aarch64-470.86.run 183560501 BLAKE2B dab90940b4259ef65eedf775b4aaf5b25775241b78e7cff6181137dc580531ad96eff0f5c5a1c4f38797d0e4e05414384d00a11c6532105af63f087c2160d328 SHA512 785414e120b5abbc97b4af2645fef8ac8be586eeaf9c759cc2083a0ac0ae62a8c869afdea4e79cdc4f0c3e2de1700f7e0949441943ccc3176e2a42ceaa364245
DIST NVIDIA-Linux-aarch64-470.94.run 183639436 BLAKE2B a2e7af432e9d6a65e44c6b0af12b6d01048944c879aadb13c17ce13834d463ddbf3bda7029b16986fb5212f4d18f0c96010cb22ef014b5f2af0523e746cc2ca3 SHA512 e27b04ec5025b5ce1d6cd78306f55f5699032fc350f78fb7a731a82ec4691ba0764fd3e36d8738d38f17cafd93988c7542d55c370e219bdbab6d0e7eb2f9a5fd
DIST NVIDIA-Linux-aarch64-495.44.run 210477242 BLAKE2B 8fb5419be19ab4feab158fb43f142fdc1471b756f7d43afac1c9e787465a991e291cac725dda266b2f454022aea7cb3e249c6f132963a89c97564ef378e876b4 SHA512 4d2ed853bc3d7812652f3e677ca1cf56f1b2563bc0a43cee2cf4544f8d3b30d8f29ccc994fc8f95e2c8b40b04efdca066b616983bf2e2fb9247d2d9a8503d4ea
DIST NVIDIA-Linux-aarch64-495.46.run 211122869 BLAKE2B 2193f9de186b727af4f22999f6890c1b06a89e88308d5f0cc317b5b1088c62313b34efb4cbd782bc9565083191c443e5cd10b6c8cf89a988153c1abff4e9b1ec SHA512 c830482fa75e841f33a32bd28e842892613968e3e23928f1e1fa45672ef2349fbd33af59341cc4e789f702163b17b10a861b071b42f90e037050769c83ae53b9
-DIST NVIDIA-Linux-x86-390.144.run 49210937 BLAKE2B b7e6edb55af88be74e4322ff1d270388a60a9d9809314c3a0502f86ed97edb99dfcdd3c81c5f51e681c8fcc47ecbfecd124b4d733141d23726226a3965b4c1f1 SHA512 d962c7e7b4b9c4635a887767d34a49c401a89e5975a5e57fa83366ca824ab70d5b8a81f3dce2e05e0528afddc72d70b2fcd69a216bd16d75e7b88ec704390546
DIST NVIDIA-Linux-x86-390.147.run 49303088 BLAKE2B 5a3a02b88af1ee8699b0c6c3fa222d9176338f10437a88c874126c7bacf64ddc44d03d8a44542cba989129af6336e46cae775713458a16d78ea75e4e004dfffb SHA512 c5d47e2a8c034e158093feeefa2455ec49d676fbd1700118aedba0c3b84be4e2060402d0e27e50d1a674de10f369f8e5ca2da8c61f1d0560d2105d33d7238359
-DIST NVIDIA-Linux-x86_64-390.144.run 85000417 BLAKE2B 8ecfa768fb8fe92170ff5b82698a7fb22da8bc557ab2036464bf5650b6fffc7028e25a68e1f5638f6bc171eb45a4aba459465490c7a99aacd36dc769994062e8 SHA512 9503ebf41037a14deba995288a364768cb03fb682de8653a4b0c05955b23603443c41c4216c93eac7d7efc301734416012864ede728324ab47b93ff167d93da4
DIST NVIDIA-Linux-x86_64-390.147.run 85930997 BLAKE2B a8085c9abc1c31251788a8f5abdc2090c9085b3028e364184244bbf24d822dc3266877c88b30f403507fa2dd511c68ec67e1f188d6b0f1f4d7d792881d5253fc SHA512 0d8bda32e916d71da2ea74bc12a4f3cb0a0c2ddda27511cf3c89bbf4aeb28db68f6b7261639d88dd1c0180b91213c09de930d233158268c5d9ab3b223510e964
DIST NVIDIA-Linux-x86_64-460.91.03.run 178201292 BLAKE2B 4d407b7bb3a99ab71c62c3cd18dc3549c98a24e7af28276e6e6a21dd33efcab017fed3f782f6dfb060c4437cd718f19c2f9900de367cc47bf19fa2718a18ad55 SHA512 4ac11130fe5a8f1c26f459e9c19660b3ff6f23011e9f77b09ca948fc42609e523ecea70d3bf6def50a75b4a3079ab280018753fb6e53875d9bb8093a033e3b70
DIST NVIDIA-Linux-x86_64-470.62.16.run 270377842 BLAKE2B 6f6263a8652c07e8da7dfc6663f31125ecb605620cd2da05e0972c0787cd43f49779b5354c38f55dafe468b7adb5ddccbdad1a5a361a599f26175156aca8410f SHA512 bb541d59eb908d6b2a255f11af01257f34fe4d7e6807ba19de957da8f0a3b428854bf5b97c71134d3a705ea27598fe0b940bd1c4055026bd90ffe04c1880ca9b
-DIST NVIDIA-Linux-x86_64-470.86.run 273149806 BLAKE2B c7f5a64dfb6547856d5bccdce0fcce0f6180966961245508cdc96e672ae500940f35fad0a9b8e8e9692b5cc67d68504371e041364e3a367deb4e1c3c75222c20 SHA512 e541549967ee992b8e6812cb6a294307217e66c7380ec17ff143ddc637f6e3a5b6c807ba8e29bf4c3d6813d7589a41aa124e8a5709a484ecf7fedfe420598a06
DIST NVIDIA-Linux-x86_64-470.94.run 272262854 BLAKE2B 23785ec9d434f48793547a3a0d8708c0928b1926f9d8973d872f1745291095cba494310b2fa25a62f3d29bfb4f660fa1ef78d49da651d8a094a23d64ca110e8a SHA512 b70542af04691da623b494d49fcbd58c58b83388fdb1c7ea6dcc779755b595444a324f613840ccbba0d9029456668376fe6049a3e4496c6054efbbf1e0a59c0f
DIST NVIDIA-Linux-x86_64-495.44.run 282259831 BLAKE2B ca11406a5b1b25d9691ec61d4125457c22438b8f0af0651043235f72ee75c4b264cfde7b04840bbec15c22bc5eb657a46326b49941e6c776a8990430cf052818 SHA512 bc9054e6028ba172906e6eb9a0b8f5cfc3ae74d57f3e95e0f9057879e3af07a4b19479e80d81e948872bc47bbd674f77f5f81d4debd2e2c3ce45058cd9211802
DIST NVIDIA-Linux-x86_64-495.46.run 280886811 BLAKE2B 156917245f37a5da9121cf570616d6367eec66998a50136f1db0c521fc725e68db27acd5741a9fc3e3d502a2c7e90ccde68a7e56346cb8f5fc65ea419c2f0576 SHA512 859548fa81478acb994b40434fc85824976b1f83bc15846290898854db84ea3c6550586a1d7e89ff3afa248310d2bcf4d2d52d5d8e91cf74e3f7e4108a7002ad
-DIST nvidia-installer-390.144.tar.bz2 150017 BLAKE2B 1a633594ecb9b54ee5a1e3620263a95db30c1ddebf547ecc7f267e1f0b799bcdb44cc3ddd6c96eda085d9be5c8f691e92556296f250495d80eec0c2f155f5bd5 SHA512 e4c624afc18bd1d61264f93bdcbc72afe42687baadf31683a6dd11a45c6257f6a5185b91f4b3d4c0316b8eb03ed79511f9ad260ee9e6f299fc136f5dc2178e42
DIST nvidia-installer-390.147.tar.bz2 150157 BLAKE2B 3bf5317aaa3bdb0e6dc3b3e21ad3dbacf6dc782a643b0fa9badf354361891ab25660b57dd408e346f219d469af317a4851937e1cb77ffe59a39e9d98a92f3a40 SHA512 24bd8a2959062551abf2ea039ac95eba224d58c175f59f1386a6d43459ad43b2bddf17f00b53c1c71c45eca3b7a2281dcf05cc65030f6f8bed16d0f0b9f9c282
DIST nvidia-installer-460.91.03.tar.bz2 144463 BLAKE2B b8c381158f614331fbfd04dcfdd7227fcb3eb16cbe4e3cbcbb34ba6af2370b05ebd72dc46375b2099b950817e6a0565c418e62b6364f1d7269f78c1dce5f5535 SHA512 10c873597202a1d8aa0dc4629b1e64f8c1f65a68c91f6babe312cf9fabbb9257b77d03a3917c0f4f5d6994e90cf58c6c7d9a802a675ea3ef60b571c9b7abc391
DIST nvidia-installer-470.86.tar.bz2 146359 BLAKE2B e1df27887ef7168dc50d54fd688fa04e80f79065c26386aa8f5f2b0726302a0dde51093d93c24d4145d0ff72cea14e76eee4fb9503c16a562c211dab9b2fdeaf SHA512 8bcc9a32d9f6c3cb778838124be5b112edf1b38753842bb436db74ae6448b4b7a367b79585f28bee9f2a41844e71083cea9b59beab99c14598a8d855ac432113
DIST nvidia-installer-470.94.tar.gz 201064 BLAKE2B e8cdace018638567094e377731eaa324a2650c1ecded96f71dc9c0381112b300fa24b1c07d3051944483533fbe0605265fc963b8fd9f0fbf00a4089a9d68cffe SHA512 31b304aa2e94c716c75afbf7b5ec7d04c51958bb7ef7ced1fbad8bb8d208a93428b8318628bb1c5ee44f49476a5fee8a13137fc48eb9c2ae79207f1e79850844
DIST nvidia-installer-495.44.tar.bz2 147036 BLAKE2B a340d1629ab133d072cd7d673a474ec834c2cd71f35b2e98d837deaa6535a784c93978ec484c5060ff28cf845d5cffa08b368b3b8b18a7ddabb4a7cb1c7a0ad0 SHA512 9f9f592b2d73515a484720eb421774a28b39af0ba3fbea127d1987533ed0f42104f640da6211f9eee63cc1063aad68dddfe8d378e3ef590c7f77d54e56bbb8bd
DIST nvidia-installer-495.46.tar.gz 202462 BLAKE2B 2ad427e0c4df3ba1ef2faa7b92c4a21465961b6fb6d5f6f1997a8d1039b35341789168f82c0b9397f57f1574cb97418b69823fe5b5d321188a841e7347bb0f8c SHA512 c2fc5935e6736ea6e146a711ff05267ec42da6b1f7286589556a77f97fa02e30dacf098f9e23319ebf70808ae93275bdf3309740c6210a7d57636b483f11be74
-DIST nvidia-modprobe-390.144.tar.bz2 35308 BLAKE2B 1930c315aeb0e296c0d4795170d44a275da5ff8838fd8230559227852001b679fbca2830142ca7abcfa9c84626c9d9f222f7ab0cb3984d8d517f5ce431e5a9ea SHA512 d542c1a7634a8c5ff803ca79f2fc02b17b129185177226ad60625a4d246bbaf740719ff024dbde0f5aa8273949446561261d700a27cf88217c2572e69882142c
DIST nvidia-modprobe-390.147.tar.bz2 35340 BLAKE2B acb49dea0c5d9d802b7c2f9f8127106bd6f9e2aaa7875941ca94c1d81377411e8d9c53357e7f9aa0170c87e349f6379a45391965e7897d0158951a4c0056a835 SHA512 a731fc990557f40fdd0fba45bcfeb99c315d0579a2d2f49bf6f84c55c91f52a9e65c358bc5a3882483ab8e9d66b546de31adcaba46a494bfc0836a0690c3d0db
DIST nvidia-modprobe-460.91.03.tar.bz2 38144 BLAKE2B 660b381f8757fe8862f7c4a971e44d3124afa3783d52af29543b8ed67486ba03b76c0b5d8dfadc5da8fdcc2c8799ec5f9c3016fd58e9c209fcc3ae897fb0436b SHA512 aa47a9c0744b8e11e87d2c0f300b13fee435cd5225444be7fb0b6bea49af33811dfa723a9ccfe904c7de2b5a8da36b707c1024eb495e3f0b587e3231a4bc4f39
DIST nvidia-modprobe-470.86.tar.bz2 38361 BLAKE2B eacef469888392d5993d018421e50cc594fadfcbe1367f13b68519c15d097759a91d3e294e3dc7391d2e3f93783fcd2e696ef25a7b4aad90abd18d992c480623 SHA512 5478bdd01aa7af79fcc6264b347b78bf68d2ade77eac388eb6968db72056859443778d0aad7bae1d5d63c01af332a21504fff13ac3e226446c8a71beef777860
DIST nvidia-modprobe-470.94.tar.gz 43366 BLAKE2B b8e5fa22ab229eab0107f89b4f8f19e489b19e83044909e637fb1a2ea2692be55f8c5b264d89f9acce0617d8f0e37d02686be472e3f8c246b7545a906614990f SHA512 6940ee2ac676cb9da2c7dabff9c23ca3f7e4dff9b7010fb442f56e9f9fe0bccde5b777e1f7f492c72d85b1a58bd142492b95aa9fb177a36b61c6142a051d888a
DIST nvidia-modprobe-495.44.tar.bz2 38377 BLAKE2B f1695c778c25d41795b1bda43df68a1dea9c3d16fc00acebe5948aeffd8aef174cb864d85260565fad8ac8c454ad3ad0cfb76529d9f88c3f10547de11492c61c SHA512 cdf7331609ce2a400f2b0e987bdbd2450a07e837971ac94b5ab746874259e6e7a4bff5eb8b9518f786365af74e8650f1c5ddfb745f867a6777825f550a6a74c0
DIST nvidia-modprobe-495.46.tar.gz 43480 BLAKE2B 32b6592ca1df822227adc9a05848e98b09cfbde676b152d432aaea43ba753ccd8451515b37e275ef58159c468502b7e6d8020ce82d140c63176cd2bbdc65d1aa SHA512 1b6ba93ea72a6dbe345d360fc189ab3be038e2bf1bc93c8be2656aaaf0a81cd3a71aeefc244a71ad20db42a9e5f3145934a6c4cae70f0e8935d9891fe784676b
-DIST nvidia-persistenced-390.144.tar.bz2 48672 BLAKE2B 82a92a33eb40971e56b772ffab121214f5675d0a8c618e356e7b55bc38ff9605fd2701d740d00a1e26c158c9df0ab38d0ba10891a3850f8e8cbee8fb231ba52d SHA512 4432f2dd18c7c91fd0d59e4f2bdf7254f58ed2a6b652d319c4f7ce674522da1797a68dd6939c38e71710dcd3b754ae7cc8c6e7acb47a76e13d2091e8a8ee99c8
DIST nvidia-persistenced-390.147.tar.bz2 48712 BLAKE2B d8b2587c8b4374dcff198d8aae1468d30197d9b097badddbec34f0c41e3c4ab4f27b568f152a4c7a4416b3ee15194ae07442c45c50d086a6f4e7e69a5c54f42d SHA512 5877f7b0a40d54b1ca746b2fa1f1270d1ff605068dcf944e078d4cb547bc6f79c08ea9d4fbe3e94e8cd528b9721a89147d43ac849df71b2dc1d903fe1439c4a5
DIST nvidia-persistenced-460.91.03.tar.bz2 46160 BLAKE2B f7f34cc12de2a4d69184c60caf7a8e8025b58005ade0a3e9a1a0e95856055f7211a710a1145d674d8a2e97cf70a43175cbc5c9a5dabc49ce378623be1720c6ea SHA512 c3ff5875353c264cb224b3f512ff8308bf1b0b95282e34500d88da2574719c3c514581e5900841b089c2e6f0fe29198fa06a11668de8e21c59f9f96244a74757
DIST nvidia-persistenced-470.86.tar.bz2 46523 BLAKE2B 29b60ff1a4e7db8ff8a2b32ab6ff2efd5d5010cb66ba1678e76a55fbe4b9f51ced06f9939ee2b44d5e073d7cc5b7b246fd2a531d9607b452a9a85cf6519c783e SHA512 6194ebc246d305ad5cc4276c1d2fa06c383e28ee8accef0e39ef3dedf637684837c10b78ee2b96a0b77d3e6e5e3c3555fe12629984f8ebc6358b96e303cb81a2
DIST nvidia-persistenced-470.94.tar.gz 53991 BLAKE2B 461fd202d58036f205ef4ad80a5584e7081f4bfd8ee2637764dca2965e00a7488661b6247f6eb3a1980c2e23c39227a545545dc08381e52662bb8411e593b76a SHA512 998aa4c6ff9966fce893c5b6cdffce93703fec2c48382e13411a1d8c64eb9eacf567afe87d8bdd0b5d33426a73be1f01e3f84a3bda0f71ad855c221411297c2d
DIST nvidia-persistenced-495.44.tar.bz2 46259 BLAKE2B ed34bb3b82a24fe7e651eaf671469988f32a9fa4782f0a8d8f08499b85cee596996611f08fe8e26a295a3073ae6a5bd59c44a1d9c6db41138339656e932aa7df SHA512 d295caaad65336495e22ebf890f6a1d323b9fabd0fb4900c8d4e37044f472836327743fceb6d433bd1ef61dffe8a84a655ddf81b2eff085c7e913105a05cb47e
DIST nvidia-persistenced-495.46.tar.gz 53692 BLAKE2B 0c449f2a870d3e29d7119250ecab962dca55a81f6cbbd110be05a7b8a739ca1f130ba255712425fe7f3d770a83f819c40c2464df2ca4c03b94df075d33f034b5 SHA512 402db637fff090dfea2bf26d44060297e21f53c23bb2abdd22e945f90d2fb5141621fa73b732257bb2fab488522b669af9b03c821467dc23f6b9f4dc00998917
-DIST nvidia-settings-390.144.tar.bz2 1109104 BLAKE2B 6724f49c7e469f580206fc17308190bd346b6167348a8b8b3886209f58aca61b65eff30658484c1fee40af8c0d89fb62f73329b05a6ac45178ea4a6870e5aa85 SHA512 90afe201361d492c3152057d3ec46d68c0cd722fe0ea0587aa1156718017d59fb5f26f3db89d91d4680b2390617867dbe93bd14e1fb3dc70402527bfacf0ae5c
DIST nvidia-settings-390.147.tar.bz2 1109104 BLAKE2B b0a2e0c832901db65f41e54d66d61abd9afbc528d1e8095e314d7ce5c1bf73c7bc8cc1857d909d9eab2e3b9ee97831c15c52f2725a8c9f84e00416c4e3db23d1 SHA512 67c30df042b9a9b923f05a26bd2e0bd85487fab0fe2c730ac48025561d652ff0f7455a56cc7951ed8ba2a300e019fa0e52fcd912b644d0d88fd2ac0e63de2327
DIST nvidia-settings-460.91.03.tar.bz2 1061093 BLAKE2B 13f1da07eda3a0e7e96ac69091e4a34fcd75a8f459a4db3840c64272dd54080694c4df3b7c326884ff032eb1b8708b5e19107b112afee2c80eed242281292b02 SHA512 172ea3366065aa30e71a5a47b31366d076477b8801a8a37e0d76972406e69c8872daa80011ee020960bc5e00163c4e9e5f63aa4f0dc726065671d76851b4ad71
DIST nvidia-settings-470.86.tar.bz2 1062317 BLAKE2B 348c0346cb224eacceb570c833d74dbafc79be0fa54cf1953a96ba4198e0c76784e482284fc6790edab31bdcff3a70fe870e4634c5442b455db9c92332b28747 SHA512 4a53f4d3f52e569c4957890fbc4a4c7b2429bbca5ec07901ebb20f1848cc9a5da3e36e206719419462076793bba0b51d37a11e0856be371a19f5b7f0f2da26e7
DIST nvidia-settings-470.94.tar.gz 1235132 BLAKE2B 7f46d7225b18c2e287d1d6aa72408dcfbd2a6afacb02679c6d229de02518aa3d584a1987841914079a23b424eb18ff9b13d6ca28d63b3d539c7b271213fb6b26 SHA512 d8a8a1574d27ec77e25e13bbfff60b3e673b125c2053788c83481c3684af8cb51c2ae19267b01827bb4c53eef84645a9d9a4ea840159414bf51162148067652d
DIST nvidia-settings-495.44.tar.bz2 1062420 BLAKE2B 98d5ac73f279bc3d415e3902946eca15fe4d61978dde5b21a96e9e1367129b9949078bd2c3778d344237ff4b9cf65a2921025a6410394f007dd97f441dc320f4 SHA512 e69bb32e47a43368de1959a0c8a877281bba0139119b1a34f6da86e006a8b0dce5bafe0fd017221be40a6bddcd93934e9479cbb8f04fb979b84f5f206835118e
DIST nvidia-settings-495.46.tar.gz 1235052 BLAKE2B aa4396b56a41f19f0876a135b6c2de0f74b3d8a50fb7ad51b00394868c3354cb85d0cb54dac146537010ea4d091daf02149e5ffc5d59f8ca27f2e08b9d798dd3 SHA512 f9019d651f482aa35ccade111dabcc6d21e2dcb229a6102d5b8c9c72df648fa053a01bf0d3efef27d974aed2a23cbfc5022ebb6e9a93eba309b0863068d2423a
-DIST nvidia-xconfig-390.144.tar.bz2 107147 BLAKE2B 1b6ea6dfbe33474cd3e9409a7559a38716c4ce8d2583354232225a2a7ec10c7dbc2163f07c6849f4929e16c2fad179d583daad8a67d9cba950a62209b8ebebfa SHA512 09bb3558be178deda4b26031560ebad4e98e68b6186e247d4638cbcb4bb5dc05937c6baeaf1cd4db5a7b7433af97c3150c526ed972ff51b6e1c7552235ec6b51
DIST nvidia-xconfig-390.147.tar.bz2 107426 BLAKE2B c7004dab351581176a4e00fc099a12374cb29f3306769724c874a17600d6c11e79ac807fe218022d72ccf83ed33789d2378b0cdba35e5f94458e30631d725384 SHA512 a530c649ff7e75706ba37072ee58d64d4758348a45b953396a0e9d2608e1d7c3d299298cb50b1e8ee0bf2f6f8817bca64637b77e18aab0685a4edd630f18fb9a
DIST nvidia-xconfig-460.91.03.tar.bz2 108477 BLAKE2B d95505e508ca16d8ebe8c22c445a1b686c32a626c379b1b48e2a8101969fc03b90446953cc30e945da9388237fa1b9e5f83417aba1fb062d58866a523c256769 SHA512 4bb8f7fc42e7fa5e3897884bd7e722c4fe8ab1e4a87cad4136e1764cdd91d4795f817dcee63a20279315b4839d92fe5244d073ea2310c704f8aacd38bacb28a4
DIST nvidia-xconfig-470.86.tar.bz2 108946 BLAKE2B 8711d46e18db89c94fe9986e3ea296504d1d4795be745f9ab9eac35e499220335fe882258bc52c1a9dedd7848c9715f8bf481e3690913204db71584b0913b85e SHA512 ea658567b7532ae3a33a1783ef224b7f57db34391280f529352cce042b8104ee8092b3585b7eef8cd5b295e4f8246e872d935c32edf746ca38651b2df21e7e6a
DIST nvidia-xconfig-470.94.tar.gz 142577 BLAKE2B 0687d78a05d4b990bad18a27544874dc79fdef7a7d5e7f5393f10ad7e874cfe51b27919ab61e2c7670e0d89848f80f68660eac0294bab27f004b8c98b650a102 SHA512 88611ed7a0894c218ad536a9819182a1f94d85c24bc3ef1b2959134147ba8d623bf1b35bd8f30ad2367704b3846f23d84ebe5b94f08936ec97ed26ac63d40add
DIST nvidia-xconfig-495.44.tar.bz2 108699 BLAKE2B 8027d9b14f16c792e0839746c549979017e52724a5826cad3b53cda0fa2638b6f7dfe72353e36b84084f4a56a004cd91f87ff1d1d9e542b5d760e47092268993 SHA512 624aa71f319d7d8e3383580eda5c6cfc986ef4c3a9c14493cd561cd3ba758763d79731bb7e7e03fc89d3b8a3a8b65cee324de1d9980b5725678ccd50cb26175e
DIST nvidia-xconfig-495.46.tar.gz 142633 BLAKE2B 1df2a080dba81b3c9e984a1d2e7d49f3e8adf9f1afb28dfe6a41a9f54b03e4830d42851a16583703c2bf88f11989851aaf23fc8dad0d3b5f2f8c3885dbb5db7e SHA512 b60d65e421460e4bdad579b36a141e82b869d34ca21849bdc33a445466c1b8ab505ab4ab82d6801e05f85dcac286566ec792d8c7708ba511aebfebc29ec0447d
-EBUILD nvidia-drivers-390.144-r1.ebuild 12258 BLAKE2B f7335d0aea8f249c445fbb2798c3823b34376d01fafcad56e264ea50e736101d761f11c7912d0b36e53cd5a5bbc734c67466a626eea13a1287c8b3d1efd3e58d SHA512 0ca5bde83dc1228318c61aed962e51de220779abd2c87ef5a9be730a6ced33b44c021b6254a92751af0d6562939a78bd42bdc6c9061aa837f9622bc18b0e2744
-EBUILD nvidia-drivers-390.147.ebuild 13870 BLAKE2B 00530a1050fe55eafee73fb7eaccdc5051641f15db88d634513d670498b8de7fdfe142f06039ff91e3eca42d258423f6e653054d4b6188ce4a1c7ba105a63097 SHA512 2866a9e4ac2314bb16cd66a53c397b8e19313bcf8d90985e7cafa75747640f1e14d9484c19ddb5399e12ad36111512405269f4a22385295489be272a0d3dbd7f
-EBUILD nvidia-drivers-460.91.03-r1.ebuild 12419 BLAKE2B 3d432572e0c2aa2f4763fa6c72e496b8e4f9a68005b66ed61a878443ead6822d5d087df26c3d4b947814cf70dff828b6016beced479c88eec52c9c94136e9bfd SHA512 f6cbca725d66a8452a036e51c62218f2bff56210ba8d79c12fd3bd8d013fdf2360cedbbd4c0f536ee4eb812c76c3c944804549c140235d1258775bc6209893c7
-EBUILD nvidia-drivers-470.62.16.ebuild 14489 BLAKE2B 6fd484806df14da322e1c8c9389d2c3a0b348c09d3a20e4b7a16ddf391d748e9d939e2b87f58a24f6ddb8cb01123dbdf0adb1330d50b1585ced3bc8e54253b45 SHA512 6144b393733d2213cad1bfc7888ef22c09cb695c991b561f6418b83f36c1725eaa6762e71e5929a67c7de6879d3f668dedce58c79c46cc87bf2c21a5277027aa
-EBUILD nvidia-drivers-470.86-r2.ebuild 14268 BLAKE2B e00dc194fa6e66f88bbec912c94f50febd6bae170c1d00b8524c067943bd08992dcedd2608a6eeac20935eb8cbc486e4d1037bfdc0bc63b8790d1d1841d8f991 SHA512 4b220be072084ebac12cf34cf7167172d1046604de09b3f002138e9071dd31bcc5b67ed98955d76c7172873bc158dea0cb428e9aeb0c2bbd636bd1b5eff469c8
-EBUILD nvidia-drivers-470.94.ebuild 14612 BLAKE2B 441d1be0117f25232f0308c579eb4c125de0bc21a14b79d9c2a80967adcd9bb5981b36b5c21dcc43a277e8cef78ad41e80b1b536be27925633c2ed8be668390c SHA512 6a98774fe59855fdae3f797fc3465ec050bd9424d4b360e9e8effae8b272d50c5a44e4350c16eac2a61a615fbc9ed222625d398ecb43c021e2662ff50fb4202e
-EBUILD nvidia-drivers-495.44-r2.ebuild 15320 BLAKE2B 71d3df2310b40723a36f6c27e64f53fd0d88401c72e9e8080954a5d9e91cddb775243a329048dc7ca930b3429446058dd32e05bad2af6a8f813d7c93990a972c SHA512 5d2bbfa65e71dad162bee541f5783c76a418dc054333a04507e10c5b9e4639042d4978ecfbb53c6f67fe48dc740114c0f3a5614b2d4cb82989b6cb80500c37d5
-EBUILD nvidia-drivers-495.46-r10.ebuild 15417 BLAKE2B 300d797acdc9fc881b426d43b4d24917af8cc2d4ac68b17c246b164a2e500c3b058b6e2521b45835a1643bf4e8224d2091a28ad82197b8c7936954f9db3f5c66 SHA512 08aac9f16d0cecc85a24567a5ae8f46a9ba94a8cac8e0844fd3d7ac9723a4b76516008d254c3bbea5afddcd078288e94ceaf5a810a7b5e02088265a83e6ebd1b
-EBUILD nvidia-drivers-495.46-r20.ebuild 15400 BLAKE2B 3144e88b56315f2fff218afa4e9a3cd88e71f447296ce5152c22502fefda9d9497e3d839419b5a2f076b7eea9be933d692737a4fbca65f15c40eeacb93b21971 SHA512 a10586e879654ec754aae54bb7213c65351a931ce57404d4e832402cb317b2cfab892ad60a408e3fb6941be341ae1f02d89f67046ef38072da3879c26d90d071
-EBUILD nvidia-drivers-495.46.ebuild 14616 BLAKE2B 5dad88ba823a16af195008c709fdb7e94f3cce266886d82d1c96212da37ec1c6bbc124d8b12e8da7432d87f32defcfbddd4b000f9a5c92d4ebfc460acb102a30 SHA512 80701f9d143b70202785578bc95fe2198c561031ff527073124e2c37a217ae5a169ca0d81c11816d8b3c3c4b81e81f94fcf6c29a4ccbdb7bd363c509d85cfe3e
+EBUILD nvidia-drivers-390.147.ebuild 13646 BLAKE2B 6c7061118d42bd9528aff678f71e6cfcd006ea4695a0cd5604bada65c3ca5b873f558076203faa87b22a86b8ba717fd1bb3f3c448eca8828a85b192a316f3b44 SHA512 1f4715ca10f531cd9fc4e537a9dfc22f1381941106905c96ab31cbe5af62afcb034d81c7bfdbdf78b02a05217d24aaf67ebefe0cc9b2bf93bfd2088ef070ec15
+EBUILD nvidia-drivers-460.91.03-r2.ebuild 12894 BLAKE2B 3cc01a059252c7dd63e4340e260c1ba091319769b9d0138579d187cf092c8b3b9bfe0e5f8e51c1536656b8906e6d9b4358d1c8bc1e24e11fd0ea17c904cf0336 SHA512 5cfe126ae497f3c73e944c2b48fda7c49b5adbd0ac590328355a60d5066ef5c841969af140c7ebd28dd08fa749090d4869a49fd3949b1ff9b4fe5493bb05cbe4
+EBUILD nvidia-drivers-470.62.16.ebuild 14265 BLAKE2B 7d443fd095d866947a56f0005230ae85c0ec9294bf5694bde721dad3ee8b6f7d8b42c276e002709ea8d23a9c970ef51ce5c2fdf9ed77c99f866cb75303f35c35 SHA512 2556aa639265699c361dfb2bc5941ce7f87d15ccce0e3e3d1c72e8c1b4fad0755a07b57cbc13ff2ceae73a45a859f81b1dc8efe11ed57dbd73a405a229887d5b
+EBUILD nvidia-drivers-470.94.ebuild 14387 BLAKE2B a89c5d99f90ac8c9a6946cd5d2a30f9bc4c955f133478ab18be91914198063505813feefd8eb9ae40c0c8c03b60181f06e94f63fd076c92956fcb9e67faa744e SHA512 6449acef2f943e8804674f9db2c6bb3b0917d7dcb3aa4364da760aad2c4bf7e46f4b7fb194e389cedf05655155d70115ffe7d59a1726e986afb7e47011676ba6
+EBUILD nvidia-drivers-495.44-r2.ebuild 14465 BLAKE2B 5f466d76f22f33d9e0e2c5e8afbda2b6b01926cfbec0e180421125a264d79d091b52c8e53360d9b9dd70be87569f577afc50ef6d566d9ac3201e277f8f9ac9b0 SHA512 991251c5caaa408f64d7b9c984faa8aed3c6c20d267efc371ef6b3458cf6c419245379a62e31d816b422d69e8c76bba7b23bff17e96a048f8c8226a7b348934d
+EBUILD nvidia-drivers-495.46-r10.ebuild 15193 BLAKE2B 12b808239dd8fe0f3398e8c37fe0d3ff852f422c54bc3a1d37553597ac4f64e52836f57cc88de4093765ea48d533819a00b032411055f9c272fcb8f00a4d6251 SHA512 a5608f46791a7370d90fbf903963f0c9e6fdeee3552933e8e8704b018560024ea5e03c236192e645cf7b594d211a6dd686df67df5cd785282d2fe04b53b117f8
+EBUILD nvidia-drivers-495.46-r20.ebuild 15176 BLAKE2B 9d5b6d9b22b7cbd979fc783861eff787cd85813b99091872726f912300c58fa7f9504893a1fabaee7ef65ec1d5d8b4619db61d871a36da2d4cbe048c38d48ade SHA512 c281a2f5661f83d2f5a3117968dc55ffa4376fa65c49427a30f55a2e659f1b50cd7df6dd5b699446a16e29b424467a1527e5f8ea6bba4a48df3ab4cc2d063959
+EBUILD nvidia-drivers-495.46.ebuild 14392 BLAKE2B 5394a084f4c0c46c39f1447cc48c5219ea9eca3d88ed4ce980436bd563262cdb4c2394ad99b551ace18fea9551aef726235e2c8124fef8f773d01ae67972d333 SHA512 1b341595da4f6e1f6c97ef712673007ce172f72d785adcd48446d3bc29cebf2ce39a15678733c504e82c0de3d7365333c13c52168808530dd91d2c053e00588a
MISC metadata.xml 1006 BLAKE2B 1dc4f01e5eae548e70fb0ef6f816910ae0d282c7a97e552de62354bef162895d60f87dc21306523e530325b55b646b1d4c16182a710c5bb01389521c36e408f4 SHA512 5db62ce94374226c20e67aa89c61c83b581affb7383b082076db69349d0a76aeca806593072d1ae2a9ac01d34955c826dd8145081988adee4069aadae654aff9
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-390.144-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-390.144-r1.ebuild
deleted file mode 100644
index 1004d1b629b8..000000000000
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-390.144-r1.ebuild
+++ /dev/null
@@ -1,421 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MODULES_OPTIONAL_USE="driver"
-inherit desktop linux-info linux-mod multilib-build \
- readme.gentoo-r1 systemd toolchain-funcs unpacker
-
-NV_KERNEL_MAX="5.13"
-NV_URI="https://download.nvidia.com/XFree86/"
-
-DESCRIPTION="NVIDIA Accelerated Graphics Driver"
-HOMEPAGE="https://www.nvidia.com/download/index.aspx"
-SRC_URI="
- amd64? ( ${NV_URI}Linux-x86_64/${PV}/NVIDIA-Linux-x86_64-${PV}.run )
- x86? ( ${NV_URI}Linux-x86/${PV}/NVIDIA-Linux-x86-${PV}.run )
- ${NV_URI}nvidia-installer/nvidia-installer-${PV}.tar.bz2
- ${NV_URI}nvidia-modprobe/nvidia-modprobe-${PV}.tar.bz2
- ${NV_URI}nvidia-persistenced/nvidia-persistenced-${PV}.tar.bz2
- ${NV_URI}nvidia-settings/nvidia-settings-${PV}.tar.bz2
- ${NV_URI}nvidia-xconfig/nvidia-xconfig-${PV}.tar.bz2"
-# nvidia-installer is unused but here for GPL-2's "distribute sources"
-S="${WORKDIR}"
-
-LICENSE="GPL-2 MIT NVIDIA-r2"
-SLOT="0/${PV%%.*}"
-KEYWORDS="-* amd64 x86"
-IUSE="+X +driver static-libs +tools"
-
-COMMON_DEPEND="
- acct-group/video
- acct-user/nvpd
- net-libs/libtirpc
- tools? (
- dev-libs/atk
- dev-libs/glib:2
- dev-libs/jansson
- x11-libs/cairo
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:3
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXxf86vm
- x11-libs/pango
- )"
-RDEPEND="
- ${COMMON_DEPEND}
- X? (
- media-libs/libglvnd[X,${MULTILIB_USEDEP}]
- x11-libs/libX11[${MULTILIB_USEDEP}]
- x11-libs/libXext[${MULTILIB_USEDEP}]
- )"
-DEPEND="
- ${COMMON_DEPEND}
- static-libs? (
- x11-libs/libX11
- x11-libs/libXext
- )
- tools? (
- media-libs/libglvnd
- sys-apps/dbus
- x11-base/xorg-proto
- x11-libs/libXrandr
- x11-libs/libXv
- x11-libs/libvdpau
- )"
-BDEPEND="
- app-misc/pax-utils
- sys-devel/m4
- virtual/pkgconfig"
-PDEPEND="X? ( <x11-base/xorg-server-1.21 )"
-
-QA_PREBUILT="opt/* usr/lib*"
-
-PATCHES=(
- "${FILESDIR}"/nvidia-modprobe-390.141-uvm-perms.patch
- "${FILESDIR}"/nvidia-settings-390.141-fno-common.patch
-)
-
-DOCS=(
- README.txt NVIDIA_Changelog
- nvidia-settings/doc/{FRAMELOCK,NV-CONTROL-API}.txt
-)
-HTML_DOCS=( html/. )
-
-pkg_setup() {
- use driver || return
-
- local CONFIG_CHECK="
- PROC_FS
- ~DRM_KMS_HELPER
- ~SYSVIPC
- ~!AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT
- ~!DRM_SIMPLEDRM
- ~!LOCKDEP
- !DEBUG_MUTEXES"
- local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but needed for Xorg auto-detection
- of drivers (no custom config), and optional nvidia-drm.modeset=1.
- With 390.xx drivers, also used by a GLX workaround needed for OpenGL.
- Cannot be directly selected in the kernel's menuconfig, and may need
- selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or
- DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in.
- Note: DRM_SIMPLEDRM may cause issues and is better disabled for now."
-
- use amd64 || use x86 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764
-
- BUILD_PARAMS='NV_VERBOSE=1 IGNORE_CC_MISMATCH=yes SYSSRC="${KV_DIR}" SYSOUT="${KV_OUT_DIR}"'
- use x86 && BUILD_PARAMS+=' ARCH=i386' # needed for recognition
- BUILD_TARGETS="modules" # defaults' clean sometimes deletes modules
- MODULE_NAMES="
- nvidia(video:kernel)
- nvidia-drm(video:kernel)
- nvidia-modeset(video:kernel)"
- use amd64 && MODULE_NAMES+=" nvidia-uvm(video:kernel)" # no x86 support
-
- linux-mod_pkg_setup
-
- if [[ ${MERGE_TYPE} != binary ]] && kernel_is -gt ${NV_KERNEL_MAX/./ }; then
- ewarn "Kernel ${KV_MAJOR}.${KV_MINOR} is either known to break this version of nvidia-drivers"
- ewarn "or was not tested with it. It is recommended to use one of:"
- ewarn " <=sys-kernel/gentoo-kernel-${NV_KERNEL_MAX}"
- ewarn " <=sys-kernel/gentoo-sources-${NV_KERNEL_MAX}"
- ewarn "You are free to try or use /etc/portage/patches, but support will"
- ewarn "not be given and issues wait until NVIDIA releases a fixed version."
- ewarn
- ewarn "Do _not_ file a bug report if run into issues."
- ewarn
- fi
-}
-
-src_prepare() {
- # make user patches usable across versions
- rm nvidia-modprobe && mv nvidia-modprobe{-${PV},} || die
- rm nvidia-persistenced && mv nvidia-persistenced{-${PV},} || die
- rm nvidia-settings && mv nvidia-settings{-${PV},} || die
- rm nvidia-xconfig && mv nvidia-xconfig{-${PV},} || die
-
- default
-
- # alternate tls library needed for 390's libglx.so (bug #785289)
- mv tls/libnvidia-tls.so.${PV} . || die
- if [[ -d 32 ]]; then
- mv 32/tls/libnvidia-tls.so.${PV} 32 || die
- fi
-
- # prevent detection of incomplete kernel DRM support (bug #603818)
- sed 's/defined(CONFIG_DRM/defined(CONFIG_DRM_KMS_HELPER/g' \
- -i kernel/conftest.sh || die
-
- sed -e '/Exec=\|Icon=/s/_.*/nvidia-settings/' \
- -e '/Categories=/s/_.*/System;Settings;/' \
- -i nvidia-settings/doc/nvidia-settings.desktop || die
-
- # remove gtk2 support (bug #592730)
- sed '/^GTK2LIB = /d;/INSTALL.*GTK2LIB/,+1d' \
- -i nvidia-settings/src/Makefile || die
-
- sed 's/__USER__/nvpd/' \
- nvidia-persistenced/init/systemd/nvidia-persistenced.service.template \
- > nvidia-persistenced.service || die
-
- sed 's/__NV_VK_ICD__/libGLX_nvidia.so.0/' \
- nvidia_icd.json.template > nvidia_icd.json || die
-
- sed "s|@LIBDIR@|${EPREFIX}/usr/$(get_libdir)|" \
- "${FILESDIR}"/nvidia-drm-outputclass-390.conf > nvidia-drm-outputclass.conf || die
-
- gzip -d nvidia-{cuda-mps-control,smi}.1.gz || die
-}
-
-src_compile() {
- nvidia-drivers_make() {
- emake -C nvidia-${1} ${2} \
- PREFIX="${EPREFIX}/usr" \
- HOST_CC="$(tc-getBUILD_CC)" \
- HOST_LD="$(tc-getBUILD_LD)" \
- NV_USE_BUNDLED_LIBJANSSON=0 \
- NV_VERBOSE=1 DO_STRIP= OUTPUTDIR=out
- }
-
- tc-export AR CC LD OBJCOPY
-
- # may no longer be relevant but kept as a safety
- export DISTCC_DISABLE=1 CCACHE_DISABLE=1
-
- use driver && linux-mod_src_compile
-
- # 390.xx persistenced doesn't auto-detect libtirpc
- LIBS=$($(tc-getPKG_CONFIG) --libs libtirpc || die) \
- common_cflags=$($(tc-getPKG_CONFIG) --cflags libtirpc || die) \
- nvidia-drivers_make persistenced
-
- nvidia-drivers_make modprobe
- use X && nvidia-drivers_make xconfig
-
- if use tools; then
- nvidia-drivers_make settings
- elif use static-libs; then
- nvidia-drivers_make settings/src build-xnvctrl
- fi
-}
-
-src_install() {
- nvidia-drivers_make_install() {
- emake -C nvidia-${1} install \
- DESTDIR="${D}" \
- PREFIX="${EPREFIX}/usr" \
- LIBDIR="${ED}/usr/$(get_libdir)" \
- NV_USE_BUNDLED_LIBJANSSON=0 \
- NV_VERBOSE=1 DO_STRIP= MANPAGE_GZIP= OUTPUTDIR=out
- }
-
- nvidia-drivers_libs_install() {
- local libs=(
- EGL_nvidia
- GLESv1_CM_nvidia
- GLESv2_nvidia
- cuda
- nvcuvid
- nvidia-compiler
- nvidia-eglcore
- nvidia-encode
- nvidia-fatbinaryloader
- nvidia-glcore
- nvidia-glsi
- nvidia-ml
- nvidia-opencl
- nvidia-ptxjitcompiler
- nvidia-tls
- )
-
- if use X; then
- libs+=(
- GLX_nvidia
- nvidia-fbc
- nvidia-ifr
- vdpau_nvidia
- )
- fi
-
- local libdir=.
- if [[ -d 32 && ${ABI} == x86 ]]; then
- libdir+=/32
- else
- libs+=(
- nvidia-cfg
- nvidia-wfb
- )
- fi
-
- local lib soname
- for lib in "${libs[@]}"; do
- lib=lib${lib}.so.${PV}
-
- # auto-detect soname and create appropriate symlinks
- soname=$(scanelf -qF'%S#F' ${lib}) || die "Scanning ${lib} failed"
- if [[ ${soname} && ${soname} != ${lib} ]]; then
- ln -s ${lib} ${libdir}/${soname} || die
- fi
- ln -s ${lib} ${libdir}/${lib%.so*}.so || die
-
- dolib.so ${libdir}/${lib%.so*}*
- done
- }
-
- if use driver; then
- linux-mod_src_install
-
- insinto /etc/modprobe.d
- newins "${FILESDIR}"/nvidia-390.conf nvidia.conf
- fi
-
- if use X; then
- exeinto /usr/$(get_libdir)/xorg/modules/drivers
- doexe nvidia_drv.so
-
- # 390 has legacy glx needing a modified .conf (bug #713546)
- exeinto /usr/$(get_libdir)/extensions/nvidia
- newexe libglx.so{.${PV},}
- insinto /usr/share/X11/xorg.conf.d
- newins {,50-}nvidia-drm-outputclass.conf
-
- # vulkan icd uses libGLX_nvidia.so and so requires X
- insinto /usr/share/vulkan/icd.d
- doins nvidia_icd.json
- fi
-
- insinto /usr/share/glvnd/egl_vendor.d
- doins 10_nvidia.json
-
- insinto /etc/OpenCL/vendors
- doins nvidia.icd
-
- insinto /etc/nvidia
- newins nvidia-application-profiles{-${PV},}-rc
-
- # install built helpers
- nvidia-drivers_make_install modprobe
- # allow video group to load mods and create devs (bug #505092)
- fowners root:video /usr/bin/nvidia-modprobe
- fperms 4710 /usr/bin/nvidia-modprobe
-
- nvidia-drivers_make_install persistenced
- newconfd "${FILESDIR}/nvidia-persistenced.confd" nvidia-persistenced
- newinitd "${FILESDIR}/nvidia-persistenced.initd" nvidia-persistenced
- systemd_dounit nvidia-persistenced.service
-
- use X && nvidia-drivers_make_install xconfig
-
- if use tools; then
- nvidia-drivers_make_install settings
- doicon nvidia-settings/doc/nvidia-settings.png
- domenu nvidia-settings/doc/nvidia-settings.desktop
-
- insinto /usr/share/nvidia
- newins nvidia-application-profiles{-${PV},}-key-documentation
-
- exeinto /etc/X11/xinit/xinitrc.d
- newexe "${FILESDIR}"/95-nvidia-settings-r1 95-nvidia-settings
- fi
-
- if use static-libs; then
- dolib.a nvidia-settings/src/libXNVCtrl/libXNVCtrl.a
-
- insinto /usr/include/NVCtrl
- doins nvidia-settings/src/libXNVCtrl/NVCtrl{Lib,}.h
- fi
-
- # install prebuilt-only helpers
- exeinto /opt/bin
-
- doexe nvidia-cuda-mps-control
- doman nvidia-cuda-mps-control.1
- doexe nvidia-cuda-mps-server
-
- doexe nvidia-debugdump
- dobin nvidia-bug-report.sh
-
- doexe nvidia-smi
- doman nvidia-smi.1
-
- # install prebuilt-only libraries
- multilib_foreach_abi nvidia-drivers_libs_install
-
- # create README.gentoo
- local DISABLE_AUTOFORMATTING="yes"
- local DOC_CONTENTS=\
-"Trusted users should be in the 'video' group to use NVIDIA devices.
-You can add yourself by using: gpasswd -a my-user video
-
-See '${EPREFIX}/etc/modprobe.d/nvidia.conf' for modules options.
-
-For general information on using nvidia-drivers, please see:
-https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers"
- readme.gentoo_create_doc
-
- einstalldocs
-}
-
-pkg_preinst() {
- has_version "${CATEGORY}/${PN}[abi_x86_32]" && NV_HAD_ABI32=1
- has_version "${CATEGORY}/${PN}[wayland]" && NV_HAD_WAYLAND=1
-
- use driver || return
- linux-mod_pkg_preinst
-
- # set video group id based on live system (bug #491414)
- local g=$(getent group video | cut -d: -f3)
- [[ ${g} ]] || die "Failed to determine video group id"
- sed -i "s/@VIDEOGID@/${g}/" "${ED}"/etc/modprobe.d/nvidia.conf || die
-}
-
-pkg_postinst() {
- use driver && linux-mod_pkg_postinst
-
- readme.gentoo_print_elog
-
- if [[ -r /proc/driver/nvidia/version &&
- $(grep -o ' [0-9.]* ' /proc/driver/nvidia/version) != " ${PV} " ]]; then
- ewarn "Currently loaded NVIDIA modules do not match the newly installed"
- ewarn "libraries and will lead to GPU-using application issues."
- use driver && ewarn "The easiest way to fix this is usually to reboot."
- fi
-
- if use x86 && [[ ! ${REPLACING_VERSIONS} ]]; then
- elog "Note that NVIDIA is no longer offering support for the unified memory"
- elog "module (nvidia-uvm) on x86 (32bit), as such the module was not built."
- elog "This means OpenCL/CUDA (and related, like nvenc) cannot be used."
- elog "Other functions, like OpenGL, will continue to work."
- fi
-
- if use !abi_x86_32 && [[ ${NV_HAD_ABI32} ]]; then
- elog
- elog "USE=abi_x86_32 is disabled, 32bit applications will not be able to"
- elog "use nvidia-drivers for acceleration without it (e.g. commonly used"
- elog "with app-emulation/wine-*). Re-enable if needed."
- fi
-
- if [[ ${NV_HAD_WAYLAND} ]]; then
- elog
- elog "Support for EGLStream (egl-wayland) is no longer offered with legacy"
- elog "nvidia-drivers. It is recommended to use nouveau drivers for wayland."
- fi
-
- # Try to show this message only to users that may really need it
- # given the workaround is discouraged and usage isn't widespread.
- if use X && [[ ${REPLACING_VERSIONS} ]] &&
- ver_test ${REPLACING_VERSIONS} -lt 390.143 &&
- grep -qr Coolbits "${EROOT}"/etc/X11/{xorg.conf,xorg.conf.d/*.conf} 2>/dev/null; then
- elog
- elog "Coolbits support with ${PN} has been restricted to require Xorg"
- elog "with root privilege by NVIDIA (being in video group is not sufficient)."
- elog "e.g. attempting to change fan speed with nvidia-settings would fail."
- elog
- elog "Depending on your display manager (e.g. sddm starts X as root, gdm doesn't)"
- elog "or if using startx, it may be necessary to emerge x11-base/xorg-server with"
- elog 'USE="suid -elogind -systemd" if wish to keep using this feature.'
- elog "Bug: https://bugs.gentoo.org/784248"
- fi
-}
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-390.147.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-390.147.ebuild
index b3f86cbf8a6e..27bc1f65bc9b 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-390.147.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-390.147.ebuild
@@ -22,7 +22,7 @@ S="${WORKDIR}"
LICENSE="NVIDIA-r2 BSD BSD-2 GPL-2 MIT"
SLOT="0/${PV%%.*}"
-KEYWORDS="-* ~amd64 ~x86"
+KEYWORDS="-* amd64 x86"
IUSE="+X abi_x86_32 abi_x86_64 +driver persistenced static-libs +tools"
COMMON_DEPEND="
@@ -250,9 +250,22 @@ src_install() {
local DISABLE_AUTOFORMATTING=yes
local DOC_CONTENTS="\
Trusted users should be in the 'video' group to use NVIDIA devices.
-You can add yourself by using: gpasswd -a my-user video
-
-See '${EPREFIX}/etc/modprobe.d/nvidia.conf' for modules options.\
+You can add yourself by using: gpasswd -a my-user video\
+$(usex driver "
+
+Like all out-of-tree kernel modules, it is necessary to rebuild
+${PN} after upgrading or rebuilding the Linux kernel
+by for example running \`emerge @module-rebuild\`. Alternatively,
+if using a distribution kernel (sys-kernel/gentoo-kernel{,-bin}),
+this can be automated by setting USE=dist-kernel globally.
+
+Loaded kernel modules also must not mismatch with the installed
+${PN} version (excluding -r revision), meaning should
+ensure \`eselect kernel list\` points to the kernel that will be
+booted before building and preferably reboot after upgrading
+${PN} (the ebuild will emit a warning if mismatching).
+
+See '${EPREFIX}/etc/modprobe.d/nvidia.conf' for modules options." '')\
$(use amd64 && usex abi_x86_32 '' "
Note that without USE=abi_x86_32 on ${PN}, 32bit applications
@@ -407,20 +420,4 @@ pkg_postinst() {
elog "use nvidia-drivers for acceleration without it (e.g. commonly used"
elog "with app-emulation/wine-* or steam). Re-enable if needed."
fi
-
- # Try to show this message only to users that may really need it
- # given the workaround is discouraged and usage isn't widespread.
- if use X && [[ ${REPLACING_VERSIONS} ]] &&
- ver_test ${REPLACING_VERSIONS} -lt 390.143 &&
- grep -qr Coolbits "${EROOT}"/etc/X11/{xorg.conf,xorg.conf.d/*.conf} 2>/dev/null; then
- elog
- elog "Coolbits support with ${PN} has been restricted to require Xorg"
- elog "with root privilege by NVIDIA (being in video group is not sufficient)."
- elog "e.g. attempting to change fan speed with nvidia-settings would fail."
- elog
- elog "Depending on your display manager (e.g. sddm starts X as root, gdm doesn't)"
- elog "or if using startx, it may be necessary to emerge x11-base/xorg-server with"
- elog 'USE="suid -elogind -systemd" if wish to keep using this feature.'
- elog "Bug: https://bugs.gentoo.org/784248"
- fi
}
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-460.91.03-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-460.91.03-r1.ebuild
deleted file mode 100644
index 416d84b7d48a..000000000000
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-460.91.03-r1.ebuild
+++ /dev/null
@@ -1,436 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MODULES_OPTIONAL_USE="driver"
-inherit desktop linux-info linux-mod multilib-build optfeature \
- readme.gentoo-r1 systemd toolchain-funcs unpacker
-
-NV_KERNEL_MAX="5.13"
-NV_URI="https://download.nvidia.com/XFree86/"
-
-DESCRIPTION="NVIDIA Accelerated Graphics Driver"
-HOMEPAGE="https://www.nvidia.com/download/index.aspx"
-SRC_URI="
- amd64? ( ${NV_URI}Linux-x86_64/${PV}/NVIDIA-Linux-x86_64-${PV}.run )
- arm64? ( ${NV_URI}Linux-aarch64/${PV}/NVIDIA-Linux-aarch64-${PV}.run )
- ${NV_URI}nvidia-installer/nvidia-installer-${PV}.tar.bz2
- ${NV_URI}nvidia-modprobe/nvidia-modprobe-${PV}.tar.bz2
- ${NV_URI}nvidia-persistenced/nvidia-persistenced-${PV}.tar.bz2
- ${NV_URI}nvidia-settings/nvidia-settings-${PV}.tar.bz2
- ${NV_URI}nvidia-xconfig/nvidia-xconfig-${PV}.tar.bz2"
-# nvidia-installer is unused but here for GPL-2's "distribute sources"
-S="${WORKDIR}"
-
-LICENSE="GPL-2 MIT NVIDIA-r2 ZLIB"
-SLOT="0/${PV%%.*}"
-KEYWORDS="-* amd64"
-IUSE="+X +driver static-libs +tools"
-
-COMMON_DEPEND="
- acct-group/video
- acct-user/nvpd
- net-libs/libtirpc
- tools? (
- dev-libs/atk
- dev-libs/glib:2
- dev-libs/jansson
- x11-libs/cairo
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:3
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXxf86vm
- x11-libs/pango
- )"
-RDEPEND="
- ${COMMON_DEPEND}
- X? (
- media-libs/libglvnd[X,${MULTILIB_USEDEP}]
- x11-libs/libX11[${MULTILIB_USEDEP}]
- x11-libs/libXext[${MULTILIB_USEDEP}]
- )"
-DEPEND="
- ${COMMON_DEPEND}
- static-libs? (
- x11-libs/libX11
- x11-libs/libXext
- )
- tools? (
- media-libs/libglvnd
- sys-apps/dbus
- x11-base/xorg-proto
- x11-libs/libXrandr
- x11-libs/libXv
- x11-libs/libvdpau
- )"
-BDEPEND="
- app-misc/pax-utils
- sys-devel/m4
- virtual/pkgconfig"
-PDEPEND="X? ( <x11-base/xorg-server-1.21 )"
-
-QA_PREBUILT="opt/* usr/lib*"
-
-PATCHES=(
- "${FILESDIR}"/nvidia-modprobe-390.141-uvm-perms.patch
-)
-
-DOCS=(
- README.txt NVIDIA_Changelog supported-gpus/supported-gpus.json
- nvidia-settings/doc/{FRAMELOCK,NV-CONTROL-API}.txt
-)
-HTML_DOCS=( html/. )
-
-pkg_setup() {
- use driver || return
-
- local CONFIG_CHECK="
- PROC_FS
- ~DRM_KMS_HELPER
- ~SYSVIPC
- ~!DRM_SIMPLEDRM
- ~!LOCKDEP
- !DEBUG_MUTEXES"
- local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but needed for Xorg auto-detection
- of drivers (no custom config), and for wayland / nvidia-drm.modeset=1.
- Cannot be directly selected in the kernel's menuconfig, and may need
- selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or
- DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in.
- Note: DRM_SIMPLEDRM may cause issues and is better disabled for now."
-
- use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764
-
- BUILD_PARAMS='NV_VERBOSE=1 IGNORE_CC_MISMATCH=yes SYSSRC="${KV_DIR}" SYSOUT="${KV_OUT_DIR}"'
- BUILD_TARGETS="modules" # defaults' clean sometimes deletes modules
- MODULE_NAMES="
- nvidia(video:kernel)
- nvidia-drm(video:kernel)
- nvidia-modeset(video:kernel)
- nvidia-uvm(video:kernel)"
-
- linux-mod_pkg_setup
-
- if [[ ${MERGE_TYPE} != binary ]] && kernel_is -gt ${NV_KERNEL_MAX/./ }; then
- ewarn "Kernel ${KV_MAJOR}.${KV_MINOR} is either known to break this version of nvidia-drivers"
- ewarn "or was not tested with it. It is recommended to use one of:"
- ewarn " <=sys-kernel/gentoo-kernel-${NV_KERNEL_MAX}"
- ewarn " <=sys-kernel/gentoo-sources-${NV_KERNEL_MAX}"
- ewarn "You are free to try or use /etc/portage/patches, but support will"
- ewarn "not be given and issues wait until NVIDIA releases a fixed version."
- ewarn
- ewarn "Do _not_ file a bug report if run into issues."
- ewarn
- fi
-}
-
-src_prepare() {
- # make user patches usable across versions
- rm nvidia-modprobe && mv nvidia-modprobe{-${PV},} || die
- rm nvidia-persistenced && mv nvidia-persistenced{-${PV},} || die
- rm nvidia-settings && mv nvidia-settings{-${PV},} || die
- rm nvidia-xconfig && mv nvidia-xconfig{-${PV},} || die
-
- default
-
- # prevent detection of incomplete kernel DRM support (bug #603818)
- sed 's/defined(CONFIG_DRM/defined(CONFIG_DRM_KMS_HELPER/g' \
- -i kernel/conftest.sh || die
-
- sed -e '/Exec=\|Icon=/s/_.*/nvidia-settings/' \
- -e '/Categories=/s/_.*/System;Settings;/' \
- -i nvidia-settings/doc/nvidia-settings.desktop || die
-
- # remove gtk2 support (bug #592730)
- sed '/^GTK2LIB = /d;/INSTALL.*GTK2LIB/,+1d' \
- -i nvidia-settings/src/Makefile || die
-
- sed 's/__USER__/nvpd/' \
- nvidia-persistenced/init/systemd/nvidia-persistenced.service.template \
- > nvidia-persistenced.service || die
-
- gzip -d nvidia-{cuda-mps-control,smi}.1.gz || die
-}
-
-src_compile() {
- nvidia-drivers_make() {
- emake -C nvidia-${1} ${2} \
- PREFIX="${EPREFIX}/usr" \
- HOST_CC="$(tc-getBUILD_CC)" \
- HOST_LD="$(tc-getBUILD_LD)" \
- NV_USE_BUNDLED_LIBJANSSON=0 \
- NV_VERBOSE=1 DO_STRIP= OUTPUTDIR=out
- }
-
- tc-export AR CC LD OBJCOPY
-
- # may no longer be relevant but kept as a safety
- export DISTCC_DISABLE=1 CCACHE_DISABLE=1
-
- use driver && linux-mod_src_compile
-
- nvidia-drivers_make modprobe
- nvidia-drivers_make persistenced
- use X && nvidia-drivers_make xconfig
-
- if use tools; then
- nvidia-drivers_make settings
- elif use static-libs; then
- nvidia-drivers_make settings/src out/libXNVCtrl.a
- fi
-}
-
-src_install() {
- nvidia-drivers_make_install() {
- emake -C nvidia-${1} install \
- DESTDIR="${D}" \
- PREFIX="${EPREFIX}/usr" \
- LIBDIR="${ED}/usr/$(get_libdir)" \
- NV_USE_BUNDLED_LIBJANSSON=0 \
- NV_VERBOSE=1 DO_STRIP= MANPAGE_GZIP= OUTPUTDIR=out
- }
-
- nvidia-drivers_libs_install() {
- local libs=(
- EGL_nvidia
- GLESv1_CM_nvidia
- GLESv2_nvidia
- cuda
- nvcuvid
- nvidia-allocator
- nvidia-eglcore
- nvidia-encode
- nvidia-glcore
- nvidia-glsi
- nvidia-glvkspirv
- nvidia-ml
- nvidia-opencl
- nvidia-opticalflow
- nvidia-ptxjitcompiler
- nvidia-tls
- )
- use amd64 && libs+=( nvidia-compiler )
-
- if use X; then
- libs+=(
- GLX_nvidia
- vdpau_nvidia
- )
- if use amd64; then
- libs+=(
- nvidia-fbc
- nvidia-ifr
- )
- fi
- fi
-
- local libdir=.
- if [[ ${ABI} == x86 ]]; then
- libdir+=/32
- else
- libs+=(
- nvidia-cbl
- nvidia-cfg
- nvidia-rtcore
- nvoptix
- )
- use amd64 && libs+=( nvidia-ngx )
- fi
-
- local lib soname
- for lib in "${libs[@]}"; do
- lib=lib${lib}.so.${PV}
-
- # auto-detect soname and create appropriate symlinks
- soname=$(scanelf -qF'%S#F' ${lib}) || die "Scanning ${lib} failed"
- if [[ ${soname} && ${soname} != ${lib} ]]; then
- ln -s ${lib} ${libdir}/${soname} || die
- fi
- ln -s ${lib} ${libdir}/${lib%.so*}.so || die
-
- dolib.so ${libdir}/${lib%.so*}*
- done
- }
-
- if use driver; then
- linux-mod_src_install
-
- insinto /etc/modprobe.d
- newins "${FILESDIR}"/nvidia-470.conf nvidia.conf
-
- # used for gpu verification with binpkgs (not kept)
- insinto /usr/share/nvidia
- doins supported-gpus/supported-gpus.json
- fi
-
- if use X; then
- exeinto /usr/$(get_libdir)/xorg/modules/drivers
- doexe nvidia_drv.so
-
- exeinto /usr/$(get_libdir)/xorg/modules/extensions
- newexe libglxserver_nvidia.so{.${PV},}
-
- insinto /usr/share/X11/xorg.conf.d
- newins {,50-}nvidia-drm-outputclass.conf
-
- # vulkan icd uses libGLX_nvidia.so and so requires X
- insinto /usr/share/vulkan/icd.d
- doins nvidia_icd.json
- insinto /usr/share/vulkan/implicit_layer.d
- doins nvidia_layers.json
- fi
-
- insinto /usr/share/glvnd/egl_vendor.d
- doins 10_nvidia.json
-
- insinto /etc/OpenCL/vendors
- doins nvidia.icd
-
- insinto /etc/nvidia
- newins nvidia-application-profiles{-${PV},}-rc
-
- # install built helpers
- nvidia-drivers_make_install modprobe
- # allow video group to load mods and create devs (bug #505092)
- fowners root:video /usr/bin/nvidia-modprobe
- fperms 4710 /usr/bin/nvidia-modprobe
-
- nvidia-drivers_make_install persistenced
- newconfd "${FILESDIR}/nvidia-persistenced.confd" nvidia-persistenced
- newinitd "${FILESDIR}/nvidia-persistenced.initd" nvidia-persistenced
- systemd_dounit nvidia-persistenced.service
-
- use X && nvidia-drivers_make_install xconfig
-
- if use tools; then
- nvidia-drivers_make_install settings
- doicon nvidia-settings/doc/nvidia-settings.png
- domenu nvidia-settings/doc/nvidia-settings.desktop
-
- insinto /usr/share/nvidia
- newins nvidia-application-profiles{-${PV},}-key-documentation
-
- exeinto /etc/X11/xinit/xinitrc.d
- newexe "${FILESDIR}"/95-nvidia-settings-r1 95-nvidia-settings
- fi
-
- if use static-libs; then
- dolib.a nvidia-settings/src/out/libXNVCtrl.a
-
- insinto /usr/include/NVCtrl
- doins nvidia-settings/src/libXNVCtrl/NVCtrl{Lib,}.h
- fi
-
- # install prebuilt-only helpers
- exeinto /opt/bin
-
- doexe nvidia-cuda-mps-control
- doman nvidia-cuda-mps-control.1
- doexe nvidia-cuda-mps-server
-
- doexe nvidia-debugdump
- dobin nvidia-bug-report.sh
-
- doexe nvidia-smi
- doman nvidia-smi.1
-
- # install prebuilt-only libraries
- multilib_foreach_abi nvidia-drivers_libs_install
-
- # install systemd sleep services
- exeinto /lib/systemd/system-sleep
- doexe nvidia
- dobin nvidia-sleep.sh
- systemd_dounit nvidia-{hibernate,resume,suspend}.service
-
- # create README.gentoo
- local DISABLE_AUTOFORMATTING="yes"
- local DOC_CONTENTS=\
-"Trusted users should be in the 'video' group to use NVIDIA devices.
-You can add yourself by using: gpasswd -a my-user video
-
-See '${EPREFIX}/etc/modprobe.d/nvidia.conf' for modules options.
-
-For general information on using nvidia-drivers, please see:
-https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers"
- readme.gentoo_create_doc
-
- einstalldocs
-}
-
-pkg_preinst() {
- has_version "${CATEGORY}/${PN}[abi_x86_32]" && NV_HAD_ABI32=1
-
- use driver || return
- linux-mod_pkg_preinst
-
- # set video group id based on live system (bug #491414)
- local g=$(getent group video | cut -d: -f3)
- [[ ${g} ]] || die "Failed to determine video group id"
- sed -i "s/@VIDEOGID@/${g}/" "${ED}"/etc/modprobe.d/nvidia.conf || die
-
- # try to find driver mismatches using temporary supported-gpus.json
- for g in $(grep -l 0x10de /sys/bus/pci/devices/*/vendor 2>/dev/null); do
- g=$(grep -io "\"devid\":\"$(<${g%vendor}device)\"[^}]*branch\":\"[0-9]*" \
- "${ED}"/usr/share/nvidia/supported-gpus.json 2>/dev/null)
- if [[ ${g} ]]; then
- g=$((${g##*\"}+1))
- if ver_test -ge ${g}; then
- NV_LEGACY_MASK=">=${CATEGORY}/${PN}-${g}"
- break
- fi
- fi
- done
- rm "${ED}"/usr/share/nvidia/supported-gpus.json || die
-}
-
-pkg_postinst() {
- use driver && linux-mod_pkg_postinst
-
- readme.gentoo_print_elog
-
- optfeature "wayland EGLStream with nvidia-drm.modeset=1" gui-libs/egl-wayland
-
- if [[ -r /proc/driver/nvidia/version &&
- $(grep -o ' [0-9.]* ' /proc/driver/nvidia/version) != " ${PV} " ]]; then
- ewarn "Currently loaded NVIDIA modules do not match the newly installed"
- ewarn "libraries and will lead to GPU-using application issues."
- use driver && ewarn "The easiest way to fix this is usually to reboot."
- fi
-
- if [[ ${NV_LEGACY_MASK} ]]; then
- ewarn "You are installing a version of nvidia-drivers known not to work"
- ewarn "with a GPU of the current system. If unwanted, add the mask:"
- if [[ -d ${EROOT}/etc/portage/package.mask ]]; then
- ewarn " echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}"
- else
- ewarn " echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask"
- fi
- ewarn "...then downgrade to a legacy branch if possible. For details, see:"
- ewarn "https://www.nvidia.com/object/IO_32667.html"
- fi
-
- if use !abi_x86_32 && [[ ${NV_HAD_ABI32} ]]; then
- elog
- elog "USE=abi_x86_32 is disabled, 32bit applications will not be able to"
- elog "use nvidia-drivers for acceleration without it (e.g. commonly used"
- elog "with app-emulation/wine-*). Re-enable if needed."
- fi
-
- # Try to show this message only to users that may really need it
- # given the workaround is discouraged and usage isn't widespread.
- if use X && [[ ${REPLACING_VERSIONS} ]] &&
- ver_test ${REPLACING_VERSIONS} -lt 460.73.01 &&
- grep -qr Coolbits "${EROOT}"/etc/X11/{xorg.conf,xorg.conf.d/*.conf} 2>/dev/null; then
- elog
- elog "Coolbits support with ${PN} has been restricted to require Xorg"
- elog "with root privilege by NVIDIA (being in video group is not sufficient)."
- elog "e.g. attempting to change fan speed with nvidia-settings would fail."
- elog
- elog "Depending on your display manager (e.g. sddm starts X as root, gdm doesn't)"
- elog "or if using startx, it may be necessary to emerge x11-base/xorg-server with"
- elog 'USE="suid -elogind -systemd" if wish to keep using this feature.'
- elog "Bug: https://bugs.gentoo.org/784248"
- fi
-}
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-460.91.03-r2.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-460.91.03-r2.ebuild
new file mode 100644
index 000000000000..d04eeb51e29c
--- /dev/null
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-460.91.03-r2.ebuild
@@ -0,0 +1,413 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MODULES_OPTIONAL_USE="driver"
+inherit desktop flag-o-matic linux-mod multilib readme.gentoo-r1 \
+ systemd toolchain-funcs unpacker
+
+NV_KERNEL_MAX="5.13"
+NV_URI="https://download.nvidia.com/XFree86/"
+
+DESCRIPTION="NVIDIA Accelerated Graphics Driver"
+HOMEPAGE="https://www.nvidia.com/download/index.aspx"
+SRC_URI="
+ amd64? ( ${NV_URI}Linux-x86_64/${PV}/NVIDIA-Linux-x86_64-${PV}.run )
+ arm64? ( ${NV_URI}Linux-aarch64/${PV}/NVIDIA-Linux-aarch64-${PV}.run )
+ $(printf "${NV_URI}%s/%s-${PV}.tar.bz2 " \
+ nvidia-{installer,modprobe,persistenced,settings,xconfig}{,})"
+# nvidia-installer is unused but here for GPL-2's "distribute sources"
+S="${WORKDIR}"
+
+LICENSE="NVIDIA-r2 BSD BSD-2 GPL-2 MIT ZLIB curl openssl"
+SLOT="0/${PV%%.*}"
+KEYWORDS="-* amd64"
+IUSE="+X abi_x86_32 abi_x86_64 +driver persistenced static-libs +tools"
+
+COMMON_DEPEND="
+ acct-group/video
+ persistenced? (
+ acct-user/nvpd
+ net-libs/libtirpc:=
+ )
+ tools? (
+ dev-libs/atk
+ dev-libs/glib:2
+ dev-libs/jansson:=
+ media-libs/harfbuzz:=
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXxf86vm
+ x11-libs/pango
+ )"
+RDEPEND="
+ ${COMMON_DEPEND}
+ X? (
+ media-libs/libglvnd[X,abi_x86_32(-)?]
+ x11-libs/libX11[abi_x86_32(-)?]
+ x11-libs/libXext[abi_x86_32(-)?]
+ )"
+DEPEND="
+ ${COMMON_DEPEND}
+ static-libs? (
+ x11-libs/libX11
+ x11-libs/libXext
+ )
+ tools? (
+ media-libs/libglvnd
+ sys-apps/dbus
+ x11-base/xorg-proto
+ x11-libs/libXrandr
+ x11-libs/libXv
+ x11-libs/libvdpau
+ )"
+BDEPEND="
+ sys-devel/m4
+ virtual/pkgconfig"
+PDEPEND="X? ( <x11-base/xorg-server-1.21 )"
+
+QA_PREBUILT="opt/bin/* usr/lib*"
+
+PATCHES=(
+ "${FILESDIR}"/nvidia-modprobe-390.141-uvm-perms.patch
+ "${FILESDIR}"/nvidia-settings-390.144-desktop.patch
+ "${FILESDIR}"/nvidia-settings-390.144-no-gtk2.patch
+ "${FILESDIR}"/nvidia-settings-390.144-raw-ldflags.patch
+)
+
+pkg_setup() {
+ use driver || return
+
+ local CONFIG_CHECK="
+ PROC_FS
+ ~DRM_KMS_HELPER
+ ~SYSVIPC
+ ~!DRM_SIMPLEDRM
+ ~!LOCKDEP
+ !DEBUG_MUTEXES"
+ local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but needed for Xorg auto-detection
+ of drivers (no custom config), and for wayland / nvidia-drm.modeset=1.
+ Cannot be directly selected in the kernel's menuconfig, and may need
+ selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or
+ DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in.
+ Note: DRM_SIMPLEDRM may cause issues and is better disabled for now."
+
+ use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764
+
+ MODULE_NAMES="
+ nvidia(video:kernel)
+ nvidia-drm(video:kernel)
+ nvidia-modeset(video:kernel)
+ nvidia-uvm(video:kernel)"
+
+ linux-mod_pkg_setup
+
+ [[ ${MERGE_TYPE} == binary ]] && return
+
+ BUILD_PARAMS='NV_VERBOSE=1 IGNORE_CC_MISMATCH=yes SYSSRC="${KV_DIR}" SYSOUT="${KV_OUT_DIR}"'
+ BUILD_TARGETS="modules"
+
+ if linux_chkconfig_present CC_IS_CLANG; then
+ ewarn "Warning: building ${PN} with a clang-built kernel is experimental"
+
+ BUILD_PARAMS+=' CC=${CHOST}-clang'
+ if linux_chkconfig_present LD_IS_LLD; then
+ BUILD_PARAMS+=' LD=ld.lld'
+ if linux_chkconfig_present LTO_CLANG_THIN; then
+ # kernel enables cache by default leading to sandbox violations
+ BUILD_PARAMS+=' ldflags-y=--thinlto-cache-dir= LDFLAGS_MODULE=--thinlto-cache-dir='
+ fi
+ fi
+ fi
+
+ if kernel_is -gt ${NV_KERNEL_MAX/./ }; then
+ ewarn "Kernel ${KV_MAJOR}.${KV_MINOR} is either known to break this version of ${PN}"
+ ewarn "or was not tested with it. It is recommended to use one of:"
+ ewarn " <=sys-kernel/gentoo-kernel-${NV_KERNEL_MAX}"
+ ewarn " <=sys-kernel/gentoo-sources-${NV_KERNEL_MAX}"
+ ewarn "You are free to try or use /etc/portage/patches, but support will"
+ ewarn "not be given and issues wait until NVIDIA releases a fixed version."
+ ewarn
+ ewarn "Do _not_ file a bug report if run into issues."
+ ewarn
+ fi
+}
+
+src_prepare() {
+ # make patches usable across versions
+ rm nvidia-modprobe && mv nvidia-modprobe{-${PV},} || die
+ rm nvidia-persistenced && mv nvidia-persistenced{-${PV},} || die
+ rm nvidia-settings && mv nvidia-settings{-${PV},} || die
+ rm nvidia-xconfig && mv nvidia-xconfig{-${PV},} || die
+
+ default
+
+ # prevent detection of incomplete kernel DRM support (bug #603818)
+ sed 's/defined(CONFIG_DRM/defined(CONFIG_DRM_KMS_HELPER/g' \
+ -i kernel/conftest.sh || die
+
+ sed 's/__USER__/nvpd/' \
+ nvidia-persistenced/init/systemd/nvidia-persistenced.service.template \
+ > "${T}"/nvidia-persistenced.service || die
+}
+
+src_compile() {
+ tc-export AR CC LD OBJCOPY
+
+ NV_ARGS=(
+ PREFIX="${EPREFIX}"/usr
+ HOST_CC="$(tc-getBUILD_CC)"
+ HOST_LD="$(tc-getBUILD_LD)"
+ NV_USE_BUNDLED_LIBJANSSON=0
+ NV_VERBOSE=1 DO_STRIP= MANPAGE_GZIP= OUTPUTDIR=out
+ )
+
+ use driver && linux-mod_src_compile
+
+ emake "${NV_ARGS[@]}" -C nvidia-modprobe
+ use persistenced && emake "${NV_ARGS[@]}" -C nvidia-persistenced
+ use X && emake "${NV_ARGS[@]}" -C nvidia-xconfig
+
+ if use tools; then
+ # cflags: avoid noisy logs, only use here and set first to let override
+ # ldflags: abi currently needed if LD=ld.lld
+ CFLAGS="-Wno-deprecated-declarations ${CFLAGS}" \
+ RAW_LDFLAGS="$(get_abi_LDFLAGS) $(raw-ldflags)" \
+ emake "${NV_ARGS[@]}" -C nvidia-settings
+ elif use static-libs; then
+ emake "${NV_ARGS[@]}" -C nvidia-settings/src out/libXNVCtrl.a
+ fi
+}
+
+src_install() {
+ local libdir=$(get_libdir) libdir32=$(ABI=x86 get_libdir)
+
+ NV_ARGS+=( DESTDIR="${D}" LIBDIR="${ED}"/usr/${libdir} )
+
+ local -A paths=(
+ [APPLICATION_PROFILE]=/usr/share/nvidia
+ [CUDA_ICD]=/etc/OpenCL/vendors
+ [EGL_EXTERNAL_PLATFORM_JSON]=/usr/share/egl/egl_external_platform.d
+ [GLVND_EGL_ICD_JSON]=/usr/share/glvnd/egl_vendor.d
+ [VULKAN_ICD_JSON]=/usr/share/vulkan
+ [XORG_OUTPUTCLASS_CONFIG]=/usr/share/X11/xorg.conf.d
+
+ [GLX_MODULE_SHARED_LIB]=/usr/${libdir}/xorg/modules/extensions
+ [GLX_MODULE_SYMLINK]=/usr/${libdir}/xorg/modules
+ [XMODULE_SHARED_LIB]=/usr/${libdir}/xorg/modules
+ )
+
+ local skip_files=(
+ $(usex X '' '
+ libGLX_nvidia libglxserver_nvidia
+ libnvidia-ifr
+ nvidia_icd.json nvidia_layers.json')
+ libGLX_indirect # non-glvnd unused fallback
+ libnvidia-gtk nvidia-{settings,xconfig} # built from source
+ libnvidia-egl-wayland 10_nvidia_wayland # gui-libs/egl-wayland
+ )
+ local skip_modules=(
+ $(usex X '' 'nvfbc vdpau xdriver')
+ installer nvpd # handled separately / built from source
+ )
+ local skip_types=(
+ GLVND_LIB GLVND_SYMLINK EGL_CLIENT.\* GLX_CLIENT.\* # media-libs/libglvnd
+ OPENCL_WRAPPER.\* # virtual/opencl
+ DOCUMENTATION DOT_DESKTOP .\*_SRC DKMS_CONF # handled separately / unused
+ )
+
+ local DOCS=(
+ README.txt NVIDIA_Changelog supported-gpus/supported-gpus.json
+ nvidia-settings/doc/{FRAMELOCK,NV-CONTROL-API}.txt
+ )
+ local HTML_DOCS=( html/. )
+ einstalldocs
+
+ local DISABLE_AUTOFORMATTING=yes
+ local DOC_CONTENTS="\
+Trusted users should be in the 'video' group to use NVIDIA devices.
+You can add yourself by using: gpasswd -a my-user video\
+$(usex driver "
+
+Like all out-of-tree kernel modules, it is necessary to rebuild
+${PN} after upgrading or rebuilding the Linux kernel
+by for example running \`emerge @module-rebuild\`. Alternatively,
+if using a distribution kernel (sys-kernel/gentoo-kernel{,-bin}),
+this can be automated by setting USE=dist-kernel globally.
+
+Loaded kernel modules also must not mismatch with the installed
+${PN} version (excluding -r revision), meaning should
+ensure \`eselect kernel list\` points to the kernel that will be
+booted before building and preferably reboot after upgrading
+${PN} (the ebuild will emit a warning if mismatching).
+
+See '${EPREFIX}/etc/modprobe.d/nvidia.conf' for modules options." '')\
+$(use amd64 && usex abi_x86_32 '' "
+
+Note that without USE=abi_x86_32 on ${PN}, 32bit applications
+(typically using wine / steam) will not be able to use GPU acceleration.")
+
+For general information on using ${PN}, please see:
+https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers"
+ readme.gentoo_create_doc
+
+ if use driver; then
+ linux-mod_src_install
+
+ insinto /etc/modprobe.d
+ newins "${FILESDIR}"/nvidia-470.conf nvidia.conf
+
+ # used for gpu verification with binpkgs (not kept, see pkg_preinst)
+ insinto /usr/share/nvidia
+ doins supported-gpus/supported-gpus.json
+ fi
+
+ emake "${NV_ARGS[@]}" -C nvidia-modprobe install
+ fowners :video /usr/bin/nvidia-modprobe #505092
+ fperms 4710 /usr/bin/nvidia-modprobe
+
+ if use persistenced; then
+ emake "${NV_ARGS[@]}" -C nvidia-persistenced install
+ newconfd "${FILESDIR}"/nvidia-persistenced.confd nvidia-persistenced
+ newinitd "${FILESDIR}"/nvidia-persistenced.initd nvidia-persistenced
+ systemd_dounit "${T}"/nvidia-persistenced.service
+ fi
+
+ if use tools; then
+ emake "${NV_ARGS[@]}" -C nvidia-settings install
+
+ doicon nvidia-settings/doc/nvidia-settings.png
+ domenu nvidia-settings/doc/nvidia-settings.desktop
+
+ exeinto /etc/X11/xinit/xinitrc.d
+ newexe "${FILESDIR}"/95-nvidia-settings-r1 95-nvidia-settings
+ fi
+
+ if use static-libs; then
+ dolib.a nvidia-settings/src/out/libXNVCtrl.a
+
+ insinto /usr/include/NVCtrl
+ doins nvidia-settings/src/libXNVCtrl/NVCtrl{Lib,}.h
+ fi
+
+ use X && emake "${NV_ARGS[@]}" -C nvidia-xconfig install
+
+ # mimic nvidia-installer by reading .manifest to install files
+ # 0:file 1:perms 2:type 3+:subtype/arguments -:module
+ local m into
+ while IFS=' ' read -ra m; do
+ ! [[ ${#m[@]} -ge 2 && ${m[-1]} =~ MODULE: ]] ||
+ eval '[[ " ${m[0]##*/}" =~ ^(\ '${skip_files[*]/%/.*|\\}' )$ ]]' ||
+ eval '[[ " ${m[2]}" =~ ^(\ '${skip_types[*]/%/|\\}' )$ ]]' ||
+ has ${m[-1]#MODULE:} "${skip_modules[@]}" && continue
+
+ case ${m[2]} in
+ MANPAGE)
+ gzip -dc ${m[0]} | newman - ${m[0]%.gz}; assert
+ continue
+ ;;
+ VDPAU_SYMLINK) m[4]=vdpau/; m[5]=${m[5]#vdpau/};; # .so to vdpau/
+ esac
+
+ if [[ -v paths[${m[2]}] ]]; then
+ into=${paths[${m[2]}]}
+ elif [[ ${m[2]} =~ _BINARY$ ]]; then
+ into=/opt/bin
+ elif [[ ${m[3]} == COMPAT32 ]]; then
+ use abi_x86_32 || continue
+ into=/usr/${libdir32}
+ elif [[ ${m[2]} =~ _LIB$|_SYMLINK$ ]]; then
+ into=/usr/${libdir}
+ else
+ die "No known installation path for ${m[0]}"
+ fi
+ [[ ${m[3]: -2} == ?/ ]] && into+=/${m[3]%/}
+ [[ ${m[4]: -2} == ?/ ]] && into+=/${m[4]%/}
+
+ if [[ ${m[2]} =~ _SYMLINK$ ]]; then
+ [[ ${m[4]: -1} == / ]] && m[4]=${m[5]}
+ dosym ${m[4]} ${into}/${m[0]}
+ continue
+ fi
+ [[ ${m[0]} =~ ^libnvidia-ngx.so ]] &&
+ dosym ${m[0]} ${into}/${m[0]%.so*}.so.1 # soname not in .manifest
+
+ printf -v m[1] %o $((m[1] | 0200)) # 444->644
+ insopts -m${m[1]}
+ insinto ${into}
+ doins ${m[0]}
+ done < .manifest || die
+
+ # MODULE:installer non-skipped extras
+ exeinto /lib/systemd/system-sleep
+ doexe nvidia
+ dobin nvidia-sleep.sh
+ systemd_dounit nvidia-{hibernate,resume,suspend}.service
+
+ dobin nvidia-bug-report.sh
+}
+
+pkg_preinst() {
+ has_version "${CATEGORY}/${PN}[abi_x86_32]" && NV_HAD_ABI32=
+
+ use driver || return
+ linux-mod_pkg_preinst
+
+ # set video group id based on live system (bug #491414)
+ local g=$(getent group video | cut -d: -f3)
+ [[ ${g} ]] || die "Failed to determine video group id"
+ sed -i "s/@VIDEOGID@/${g}/" "${ED}"/etc/modprobe.d/nvidia.conf || die
+
+ # try to find driver mismatches using temporary supported-gpus.json
+ for g in $(grep -l 0x10de /sys/bus/pci/devices/*/vendor 2>/dev/null); do
+ g=$(grep -io "\"devid\":\"$(<${g%vendor}device)\"[^}]*branch\":\"[0-9]*" \
+ "${ED}"/usr/share/nvidia/supported-gpus.json 2>/dev/null)
+ if [[ ${g} ]]; then
+ g=$((${g##*\"}+1))
+ if ver_test -ge ${g}; then
+ NV_LEGACY_MASK=">=${CATEGORY}/${PN}-${g}"
+ break
+ fi
+ fi
+ done
+ rm "${ED}"/usr/share/nvidia/supported-gpus.json || die
+}
+
+pkg_postinst() {
+ use driver && linux-mod_pkg_postinst
+
+ readme.gentoo_print_elog
+
+ if [[ -r /proc/driver/nvidia/version &&
+ $(</proc/driver/nvidia/version) != *" ${PV} "* ]]; then
+ ewarn "Currently loaded NVIDIA modules do not match the newly installed"
+ ewarn "libraries and may prevent launching GPU-accelerated applications."
+ use driver && ewarn "The easiest way to fix this is usually to reboot."
+ fi
+
+ if [[ -v NV_LEGACY_MASK ]]; then
+ ewarn
+ ewarn "***WARNING***"
+ ewarn
+ ewarn "You are installing a version of ${PN} known not to work"
+ ewarn "with a GPU of the current system. If unwanted, add the mask:"
+ if [[ -d ${EROOT}/etc/portage/package.mask ]]; then
+ ewarn " echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}"
+ else
+ ewarn " echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask"
+ fi
+ ewarn "...then downgrade to a legacy branch if possible. For details, see:"
+ ewarn "https://www.nvidia.com/object/IO_32667.html"
+ fi
+
+ if use !abi_x86_32 && [[ -v NV_HAD_ABI32 ]]; then
+ elog
+ elog "USE=abi_x86_32 is disabled, 32bit applications will not be able to"
+ elog "use nvidia-drivers for acceleration without it (e.g. commonly used"
+ elog "with app-emulation/wine-* or steam). Re-enable if needed."
+ fi
+}
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.62.16.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-470.62.16.ebuild
index 3d69f2220850..6de4753fb633 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.62.16.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-470.62.16.ebuild
@@ -243,9 +243,22 @@ src_install() {
local DISABLE_AUTOFORMATTING=yes
local DOC_CONTENTS="\
Trusted users should be in the 'video' group to use NVIDIA devices.
-You can add yourself by using: gpasswd -a my-user video
-
-See '${EPREFIX}/etc/modprobe.d/nvidia.conf' for modules options.\
+You can add yourself by using: gpasswd -a my-user video\
+$(usex driver "
+
+Like all out-of-tree kernel modules, it is necessary to rebuild
+${PN} after upgrading or rebuilding the Linux kernel
+by for example running \`emerge @module-rebuild\`. Alternatively,
+if using a distribution kernel (sys-kernel/gentoo-kernel{,-bin}),
+this can be automated by setting USE=dist-kernel globally.
+
+Loaded kernel modules also must not mismatch with the installed
+${PN} version (excluding -r revision), meaning should
+ensure \`eselect kernel list\` points to the kernel that will be
+booted before building and preferably reboot after upgrading
+${PN} (the ebuild will emit a warning if mismatching).
+
+See '${EPREFIX}/etc/modprobe.d/nvidia.conf' for modules options." '')\
$(use amd64 && usex abi_x86_32 '' "
Note that without USE=abi_x86_32 on ${PN}, 32bit applications
@@ -430,20 +443,4 @@ pkg_postinst() {
elog "This version of ${PN} only supports EGLStream which is only"
elog "supported by a few wayland compositors (e.g. kwin / mutter, not sway)."
fi
-
- # Try to show this message only to users that may really need it
- # given the workaround is discouraged and usage isn't widespread.
- if use X && [[ ${REPLACING_VERSIONS} ]] &&
- ver_test ${REPLACING_VERSIONS} -lt 460.73.01 &&
- grep -qr Coolbits "${EROOT}"/etc/X11/{xorg.conf,xorg.conf.d/*.conf} 2>/dev/null; then
- elog
- elog "Coolbits support with ${PN} has been restricted to require Xorg"
- elog "with root privilege by NVIDIA (being in video group is not sufficient)."
- elog "e.g. attempting to change fan speed with nvidia-settings would fail."
- elog
- elog "Depending on your display manager (e.g. sddm starts X as root, gdm doesn't)"
- elog "or if using startx, it may be necessary to emerge x11-base/xorg-server with"
- elog 'USE="suid -elogind -systemd" if wish to keep using this feature.'
- elog "Bug: https://bugs.gentoo.org/784248"
- fi
}
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.86-r2.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-470.86-r2.ebuild
deleted file mode 100644
index 6fc46d5276eb..000000000000
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.86-r2.ebuild
+++ /dev/null
@@ -1,482 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MODULES_OPTIONAL_USE="driver"
-inherit desktop linux-mod multilib-build \
- readme.gentoo-r1 systemd toolchain-funcs unpacker
-
-NV_KERNEL_MAX="5.15"
-NV_URI="https://download.nvidia.com/XFree86/"
-
-DESCRIPTION="NVIDIA Accelerated Graphics Driver"
-HOMEPAGE="https://www.nvidia.com/download/index.aspx"
-SRC_URI="
- amd64? ( ${NV_URI}Linux-x86_64/${PV}/NVIDIA-Linux-x86_64-${PV}.run )
- arm64? ( ${NV_URI}Linux-aarch64/${PV}/NVIDIA-Linux-aarch64-${PV}.run )
- ${NV_URI}nvidia-installer/nvidia-installer-${PV}.tar.bz2
- ${NV_URI}nvidia-modprobe/nvidia-modprobe-${PV}.tar.bz2
- ${NV_URI}nvidia-persistenced/nvidia-persistenced-${PV}.tar.bz2
- ${NV_URI}nvidia-settings/nvidia-settings-${PV}.tar.bz2
- ${NV_URI}nvidia-xconfig/nvidia-xconfig-${PV}.tar.bz2"
-# nvidia-installer is unused but here for GPL-2's "distribute sources"
-S="${WORKDIR}"
-
-LICENSE="NVIDIA-r2 GPL-2 MIT ZLIB"
-SLOT="0/${PV%%.*}"
-KEYWORDS="-* amd64"
-IUSE="+X +driver static-libs +tools wayland"
-
-COMMON_DEPEND="
- acct-group/video
- acct-user/nvpd
- net-libs/libtirpc:=
- tools? (
- dev-libs/atk
- dev-libs/glib:2
- dev-libs/jansson
- media-libs/harfbuzz:=
- x11-libs/cairo
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:3
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXxf86vm
- x11-libs/pango
- )"
-RDEPEND="
- ${COMMON_DEPEND}
- X? (
- media-libs/libglvnd[X,${MULTILIB_USEDEP}]
- x11-libs/libX11[${MULTILIB_USEDEP}]
- x11-libs/libXext[${MULTILIB_USEDEP}]
- )
- wayland? (
- ~gui-libs/egl-wayland-1.1.7
- media-libs/libglvnd
- )"
-DEPEND="
- ${COMMON_DEPEND}
- static-libs? (
- x11-libs/libX11
- x11-libs/libXext
- )
- tools? (
- media-libs/libglvnd
- sys-apps/dbus
- x11-base/xorg-proto
- x11-libs/libXrandr
- x11-libs/libXv
- x11-libs/libvdpau
- )"
-BDEPEND="
- app-misc/pax-utils
- sys-devel/m4
- virtual/pkgconfig"
-
-QA_PREBUILT="lib/firmware/* opt/bin/* usr/lib*"
-
-PATCHES=(
- "${FILESDIR}"/nvidia-modprobe-390.141-uvm-perms.patch
-)
-
-pkg_setup() {
- use driver || return
-
- local CONFIG_CHECK="
- PROC_FS
- ~DRM_KMS_HELPER
- ~SYSVIPC
- ~!DRM_SIMPLEDRM
- ~!LOCKDEP
- ~!SLUB_DEBUG_ON
- !DEBUG_MUTEXES"
- local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but needed for Xorg auto-detection
- of drivers (no custom config), and for wayland / nvidia-drm.modeset=1.
- Cannot be directly selected in the kernel's menuconfig, and may need
- selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or
- DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in.
- Note: DRM_SIMPLEDRM may cause issues and is better disabled for now."
-
- use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764
-
- MODULE_NAMES="
- nvidia(video:kernel)
- nvidia-drm(video:kernel)
- nvidia-modeset(video:kernel)
- nvidia-peermem(video:kernel)
- nvidia-uvm(video:kernel)"
-
- linux-mod_pkg_setup
-
- [[ ${MERGE_TYPE} == binary ]] && return
-
- BUILD_PARAMS='NV_VERBOSE=1 IGNORE_CC_MISMATCH=yes SYSSRC="${KV_DIR}" SYSOUT="${KV_OUT_DIR}"'
- BUILD_TARGETS="modules" # defaults' clean sometimes deletes modules
-
- if linux_chkconfig_present CC_IS_CLANG; then
- ewarn "Warning: building ${PN} with a clang-built kernel is experimental."
-
- BUILD_PARAMS+=' CC=${CHOST}-clang'
- if linux_chkconfig_present LD_IS_LLD; then
- BUILD_PARAMS+=' LD=ld.lld'
- if linux_chkconfig_present LTO_CLANG_THIN; then
- # kernel enables cache by default leading to sandbox violations
- BUILD_PARAMS+=' ldflags-y=--thinlto-cache-dir= LDFLAGS_MODULE=--thinlto-cache-dir='
- fi
- fi
- fi
-
- if kernel_is -gt ${NV_KERNEL_MAX/./ }; then
- ewarn "Kernel ${KV_MAJOR}.${KV_MINOR} is either known to break this version of nvidia-drivers"
- ewarn "or was not tested with it. It is recommended to use one of:"
- ewarn " <=sys-kernel/gentoo-kernel-${NV_KERNEL_MAX}"
- ewarn " <=sys-kernel/gentoo-sources-${NV_KERNEL_MAX}"
- ewarn "You are free to try or use /etc/portage/patches, but support will"
- ewarn "not be given and issues wait until NVIDIA releases a fixed version."
- ewarn
- ewarn "Do _not_ file a bug report if run into issues."
- ewarn
- fi
-}
-
-src_prepare() {
- # make user patches usable across versions
- rm nvidia-modprobe && mv nvidia-modprobe{-${PV},} || die
- rm nvidia-persistenced && mv nvidia-persistenced{-${PV},} || die
- rm nvidia-settings && mv nvidia-settings{-${PV},} || die
- rm nvidia-xconfig && mv nvidia-xconfig{-${PV},} || die
-
- default
-
- # prevent detection of incomplete kernel DRM support (bug #603818)
- sed 's/defined(CONFIG_DRM/defined(CONFIG_DRM_KMS_HELPER/g' \
- -i kernel/conftest.sh || die
-
- sed -e '/Exec=\|Icon=/s/_.*/nvidia-settings/' \
- -e '/Categories=/s/_.*/System;Settings;/' \
- -i nvidia-settings/doc/nvidia-settings.desktop || die
-
- # remove gtk2 support (bug #592730)
- sed '/^GTK2LIB = /d;/INSTALL.*GTK2LIB/,+1d' \
- -i nvidia-settings/src/Makefile || die
-
- sed 's/__USER__/nvpd/' \
- nvidia-persistenced/init/systemd/nvidia-persistenced.service.template \
- > nvidia-persistenced.service || die
-
- # enable nvidia-drm.modeset=1 by default with USE=wayland
- cp "${FILESDIR}"/nvidia-470.conf "${T}"/nvidia.conf || die
- use !wayland || sed -i '/^#.*modeset=1$/s/^#//' "${T}"/nvidia.conf || die
-
- gzip -d nvidia-{cuda-mps-control,smi}.1.gz || die
-}
-
-src_compile() {
- nvidia-drivers_make() {
- emake -C nvidia-${1} ${2} \
- PREFIX="${EPREFIX}/usr" \
- HOST_CC="$(tc-getBUILD_CC)" \
- HOST_LD="$(tc-getBUILD_LD)" \
- NV_USE_BUNDLED_LIBJANSSON=0 \
- NV_VERBOSE=1 DO_STRIP= OUTPUTDIR=out
- }
-
- tc-export AR CC LD OBJCOPY
-
- # may no longer be relevant but kept as a safety
- export DISTCC_DISABLE=1 CCACHE_DISABLE=1
-
- use driver && linux-mod_src_compile
-
- nvidia-drivers_make modprobe
- nvidia-drivers_make persistenced
- use X && nvidia-drivers_make xconfig
-
- if use tools; then
- nvidia-drivers_make settings
- elif use static-libs; then
- nvidia-drivers_make settings/src out/libXNVCtrl.a
- fi
-}
-
-src_install() {
- nvidia-drivers_make_install() {
- emake -C nvidia-${1} install \
- DESTDIR="${D}" \
- PREFIX="${EPREFIX}/usr" \
- LIBDIR="${ED}/usr/$(get_libdir)" \
- NV_USE_BUNDLED_LIBJANSSON=0 \
- NV_VERBOSE=1 DO_STRIP= MANPAGE_GZIP= OUTPUTDIR=out
- }
-
- nvidia-drivers_libs_install() {
- local libs=(
- EGL_nvidia
- GLESv1_CM_nvidia
- GLESv2_nvidia
- cuda
- nvcuvid
- nvidia-allocator
- nvidia-eglcore
- nvidia-encode
- nvidia-glcore
- nvidia-glsi
- nvidia-glvkspirv
- nvidia-ml
- nvidia-opencl
- nvidia-opticalflow
- nvidia-ptxjitcompiler
- nvidia-tls
- $(usex X "
- GLX_nvidia
- nvidia-fbc
- vdpau_nvidia
- $(usex amd64 nvidia-ifr '')
- " '')
- $(usex amd64 nvidia-compiler '')
- )
-
- local libdir=.
- if [[ ${ABI} == x86 ]]; then
- libdir+=/32
- else
- libs+=(
- libnvidia-nvvm.so.4.0.0
- nvidia-cbl
- nvidia-cfg
- nvidia-rtcore
- nvoptix
- $(usex amd64 nvidia-ngx '')
- $(usex wayland nvidia-vulkan-producer '')
- )
- fi
-
- local lib soname
- for lib in "${libs[@]}"; do
- [[ ${lib:0:3} != lib ]] && lib=lib${lib}.so.${PV}
-
- # auto-detect soname and create appropriate symlinks
- soname=$(scanelf -qF'%S#F' ${lib}) || die "Scanning ${lib} failed"
- if [[ ${soname} && ${soname} != ${lib} ]]; then
- ln -s ${lib} ${libdir}/${soname} || die
- fi
- ln -s ${lib} ${libdir}/${lib%.so*}.so || die
-
- dolib.so ${libdir}/${lib%.so*}*
- done
- }
-
- if use driver; then
- linux-mod_src_install
-
- insinto /etc/modprobe.d
- doins "${T}"/nvidia.conf
-
- insinto /lib/firmware/nvidia/${PV}
- use amd64 && doins firmware/gsp.bin
-
- # used for gpu verification with binpkgs (not kept)
- insinto /usr/share/nvidia
- doins supported-gpus/supported-gpus.json
- fi
-
- if use X; then
- exeinto /usr/$(get_libdir)/xorg/modules/drivers
- doexe nvidia_drv.so
-
- exeinto /usr/$(get_libdir)/xorg/modules/extensions
- newexe libglxserver_nvidia.so{.${PV},}
-
- insinto /usr/share/X11/xorg.conf.d
- newins {,50-}nvidia-drm-outputclass.conf
-
- # vulkan icd uses libGLX_nvidia.so and so requires X
- insinto /usr/share/vulkan/icd.d
- doins nvidia_icd.json
- insinto /usr/share/vulkan/implicit_layer.d
- doins nvidia_layers.json
- fi
-
- insinto /usr/share/glvnd/egl_vendor.d
- doins 10_nvidia.json
-
- insinto /etc/OpenCL/vendors
- doins nvidia.icd
-
- insinto /etc/nvidia
- newins nvidia-application-profiles{-${PV},}-rc
-
- # install built helpers
- nvidia-drivers_make_install modprobe
- # allow video group to load mods and create devs (bug #505092)
- fowners :video /usr/bin/nvidia-modprobe
- fperms 4710 /usr/bin/nvidia-modprobe
-
- nvidia-drivers_make_install persistenced
- newconfd "${FILESDIR}"/nvidia-persistenced.confd nvidia-persistenced
- newinitd "${FILESDIR}"/nvidia-persistenced.initd nvidia-persistenced
- systemd_dounit nvidia-persistenced.service
-
- use X && nvidia-drivers_make_install xconfig
-
- if use tools; then
- nvidia-drivers_make_install settings
- doicon nvidia-settings/doc/nvidia-settings.png
- domenu nvidia-settings/doc/nvidia-settings.desktop
-
- insinto /usr/share/nvidia
- newins nvidia-application-profiles{-${PV},}-key-documentation
-
- exeinto /etc/X11/xinit/xinitrc.d
- newexe "${FILESDIR}"/95-nvidia-settings-r1 95-nvidia-settings
- fi
-
- if use static-libs; then
- dolib.a nvidia-settings/src/out/libXNVCtrl.a
-
- insinto /usr/include/NVCtrl
- doins nvidia-settings/src/libXNVCtrl/NVCtrl{Lib,}.h
- fi
-
- # install prebuilt-only helpers
- exeinto /opt/bin
-
- doexe nvidia-cuda-mps-control
- doman nvidia-cuda-mps-control.1
- doexe nvidia-cuda-mps-server
-
- doexe nvidia-debugdump
- dobin nvidia-bug-report.sh
-
- doexe nvidia-smi
- doman nvidia-smi.1
-
- # install prebuilt-only libraries
- multilib_foreach_abi nvidia-drivers_libs_install
-
- # install dlls for optional use with proton/wine
- insinto /usr/$(get_libdir)/nvidia/wine
- use amd64 && doins {_,}nvngx.dll
-
- # install systemd sleep services
- exeinto /lib/systemd/system-sleep
- doexe systemd/system-sleep/nvidia
- dobin systemd/nvidia-sleep.sh
- systemd_dounit systemd/system/nvidia-{hibernate,resume,suspend}.service
-
- # create README.gentoo
- local DISABLE_AUTOFORMATTING=yes
- local DOC_CONTENTS=\
-"Trusted users should be in the 'video' group to use NVIDIA devices.
-You can add yourself by using: gpasswd -a my-user video
-
-See '${EPREFIX}/etc/modprobe.d/nvidia.conf' for modules options.
-
-For general information on using nvidia-drivers, please see:
-https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers"
- readme.gentoo_create_doc
-
- local DOCS=(
- README.txt NVIDIA_Changelog supported-gpus/supported-gpus.json
- nvidia-settings/doc/{FRAMELOCK,NV-CONTROL-API}.txt
- )
- local HTML_DOCS=( html/. )
- einstalldocs
-}
-
-pkg_preinst() {
- has_version "${CATEGORY}/${PN}[abi_x86_32]" && NV_HAD_ABI32=1
- has_version "${CATEGORY}/${PN}[wayland]" && NV_HAD_WAYLAND=1
-
- use driver || return
- linux-mod_pkg_preinst
-
- # set video group id based on live system (bug #491414)
- local g=$(getent group video | cut -d: -f3)
- [[ ${g} ]] || die "Failed to determine video group id"
- sed -i "s/@VIDEOGID@/${g}/" "${ED}"/etc/modprobe.d/nvidia.conf || die
-
- # try to find driver mismatches using temporary supported-gpus.json
- for g in $(grep -l 0x10de /sys/bus/pci/devices/*/vendor 2>/dev/null); do
- g=$(grep -io "\"devid\":\"$(<${g%vendor}device)\"[^}]*branch\":\"[0-9]*" \
- "${ED}"/usr/share/nvidia/supported-gpus.json 2>/dev/null)
- if [[ ${g} ]]; then
- g=$((${g##*\"}+1))
- if ver_test -ge ${g}; then
- NV_LEGACY_MASK=">=${CATEGORY}/${PN}-${g}"
- break
- fi
- fi
- done
- rm "${ED}"/usr/share/nvidia/supported-gpus.json || die
-}
-
-pkg_postinst() {
- use driver && linux-mod_pkg_postinst
-
- readme.gentoo_print_elog
-
- if [[ -r /proc/driver/nvidia/version &&
- $(grep -o ' [0-9.]* ' /proc/driver/nvidia/version) != " ${PV} " ]]; then
- ewarn "Currently loaded NVIDIA modules do not match the newly installed"
- ewarn "libraries and will lead to GPU-using application issues."
- use driver && ewarn "The easiest way to fix this is usually to reboot."
- fi
-
- if [[ $(</proc/cmdline) == *slub_debug=[!-]* ]]; then
- ewarn "Detected that the current kernel command line is using 'slub_debug=',"
- ewarn "this may lead to system instability/freezes with this version of"
- ewarn "${PN}. Bug: https://bugs.gentoo.org/796329"
- fi
-
- if [[ ${NV_LEGACY_MASK} ]]; then
- ewarn
- ewarn "***WARNING***"
- ewarn
- ewarn "You are installing a version of nvidia-drivers known not to work"
- ewarn "with a GPU of the current system. If unwanted, add the mask:"
- if [[ -d ${EROOT}/etc/portage/package.mask ]]; then
- ewarn " echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}"
- else
- ewarn " echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask"
- fi
- ewarn "...then downgrade to a legacy branch if possible. For details, see:"
- ewarn "https://www.nvidia.com/object/IO_32667.html"
- fi
-
- if use !abi_x86_32 && [[ ${NV_HAD_ABI32} ]]; then
- elog
- elog "USE=abi_x86_32 is disabled, 32bit applications will not be able to"
- elog "use nvidia-drivers for acceleration without it (e.g. commonly used"
- elog "with app-emulation/wine-*). Re-enable if needed."
- fi
-
- if use wayland && use driver && [[ ! ${NV_HAD_WAYLAND} ]]; then
- elog
- elog "With USE=wayland, this version of ${PN} sets nvidia-drm.modeset=1"
- elog "in '${EROOT}/etc/modprobe.d/nvidia.conf'. This feature is considered"
- elog "experimental but is required for EGLStream (used for wayland acceleration"
- elog "in compositors that support it)."
- elog
- elog "If you experience issues, please comment out the option from nvidia.conf."
- elog "Of note, may possibly cause issues with SLI and Reverse PRIME."
- fi
-
- # Try to show this message only to users that may really need it
- # given the workaround is discouraged and usage isn't widespread.
- if use X && [[ ${REPLACING_VERSIONS} ]] &&
- ver_test ${REPLACING_VERSIONS} -lt 460.73.01 &&
- grep -qr Coolbits "${EROOT}"/etc/X11/{xorg.conf,xorg.conf.d/*.conf} 2>/dev/null; then
- elog
- elog "Coolbits support with ${PN} has been restricted to require Xorg"
- elog "with root privilege by NVIDIA (being in video group is not sufficient)."
- elog "e.g. attempting to change fan speed with nvidia-settings would fail."
- elog
- elog "Depending on your display manager (e.g. sddm starts X as root, gdm doesn't)"
- elog "or if using startx, it may be necessary to emerge x11-base/xorg-server with"
- elog 'USE="suid -elogind -systemd" if wish to keep using this feature.'
- elog "Bug: https://bugs.gentoo.org/784248"
- fi
-}
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.94.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-470.94.ebuild
index 22378a87d712..bba3a75169aa 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.94.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-470.94.ebuild
@@ -22,7 +22,7 @@ S="${WORKDIR}"
LICENSE="NVIDIA-r2 BSD BSD-2 GPL-2 MIT ZLIB curl openssl"
SLOT="0/${PV%%.*}"
-KEYWORDS="-* ~amd64"
+KEYWORDS="-* amd64"
IUSE="+X abi_x86_32 abi_x86_64 +driver persistenced static-libs +tools wayland"
COMMON_DEPEND="
@@ -243,9 +243,22 @@ src_install() {
local DISABLE_AUTOFORMATTING=yes
local DOC_CONTENTS="\
Trusted users should be in the 'video' group to use NVIDIA devices.
-You can add yourself by using: gpasswd -a my-user video
-
-See '${EPREFIX}/etc/modprobe.d/nvidia.conf' for modules options.\
+You can add yourself by using: gpasswd -a my-user video\
+$(usex driver "
+
+Like all out-of-tree kernel modules, it is necessary to rebuild
+${PN} after upgrading or rebuilding the Linux kernel
+by for example running \`emerge @module-rebuild\`. Alternatively,
+if using a distribution kernel (sys-kernel/gentoo-kernel{,-bin}),
+this can be automated by setting USE=dist-kernel globally.
+
+Loaded kernel modules also must not mismatch with the installed
+${PN} version (excluding -r revision), meaning should
+ensure \`eselect kernel list\` points to the kernel that will be
+booted before building and preferably reboot after upgrading
+${PN} (the ebuild will emit a warning if mismatching).
+
+See '${EPREFIX}/etc/modprobe.d/nvidia.conf' for modules options." '')\
$(use amd64 && usex abi_x86_32 '' "
Note that without USE=abi_x86_32 on ${PN}, 32bit applications
@@ -430,20 +443,4 @@ pkg_postinst() {
elog "This version of ${PN} only supports EGLStream which is only"
elog "supported by a few wayland compositors (e.g. kwin / mutter, not sway)."
fi
-
- # Try to show this message only to users that may really need it
- # given the workaround is discouraged and usage isn't widespread.
- if use X && [[ ${REPLACING_VERSIONS} ]] &&
- ver_test ${REPLACING_VERSIONS} -lt 460.73.01 &&
- grep -qr Coolbits "${EROOT}"/etc/X11/{xorg.conf,xorg.conf.d/*.conf} 2>/dev/null; then
- elog
- elog "Coolbits support with ${PN} has been restricted to require Xorg"
- elog "with root privilege by NVIDIA (being in video group is not sufficient)."
- elog "e.g. attempting to change fan speed with nvidia-settings would fail."
- elog
- elog "Depending on your display manager (e.g. sddm starts X as root, gdm doesn't)"
- elog "or if using startx, it may be necessary to emerge x11-base/xorg-server with"
- elog 'USE="suid -elogind -systemd" if wish to keep using this feature.'
- elog "Bug: https://bugs.gentoo.org/784248"
- fi
}
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-495.44-r2.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-495.44-r2.ebuild
index 45f7181d5c6c..cb68478d1349 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-495.44-r2.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-495.44-r2.ebuild
@@ -487,22 +487,6 @@ pkg_postinst() {
elog "Of note, may possibly cause issues with SLI and Reverse PRIME."
fi
- # Try to show this message only to users that may really need it
- # given the workaround is discouraged and usage isn't widespread.
- if use X && [[ ${REPLACING_VERSIONS} ]] &&
- ver_test ${REPLACING_VERSIONS} -lt 460.73.01 &&
- grep -qr Coolbits "${EROOT}"/etc/X11/{xorg.conf,xorg.conf.d/*.conf} 2>/dev/null; then
- elog
- elog "Coolbits support with ${PN} has been restricted to require Xorg"
- elog "with root privilege by NVIDIA (being in video group is not sufficient)."
- elog "e.g. attempting to change fan speed with nvidia-settings would fail."
- elog
- elog "Depending on your display manager (e.g. sddm starts X as root, gdm doesn't)"
- elog "or if using startx, it may be necessary to emerge x11-base/xorg-server with"
- elog 'USE="suid -elogind -systemd" if wish to keep using this feature.'
- elog "Bug: https://bugs.gentoo.org/784248"
- fi
-
ewarn
ewarn "This revision of ${PN} is applying a binary patch to prevent heavy"
ewarn "dbus spamming while using OpenGL. If you experience issues, please try to"
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r10.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r10.ebuild
index dd05555ba26e..9983bd4e0e6b 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r10.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r10.ebuild
@@ -257,9 +257,22 @@ src_install() {
local DISABLE_AUTOFORMATTING=yes
local DOC_CONTENTS="\
Trusted users should be in the 'video' group to use NVIDIA devices.
-You can add yourself by using: gpasswd -a my-user video
-
-See '${EPREFIX}/etc/modprobe.d/nvidia.conf' for modules options.\
+You can add yourself by using: gpasswd -a my-user video\
+$(usex driver "
+
+Like all out-of-tree kernel modules, it is necessary to rebuild
+${PN} after upgrading or rebuilding the Linux kernel
+by for example running \`emerge @module-rebuild\`. Alternatively,
+if using a distribution kernel (sys-kernel/gentoo-kernel{,-bin}),
+this can be automated by setting USE=dist-kernel globally.
+
+Loaded kernel modules also must not mismatch with the installed
+${PN} version (excluding -r revision), meaning should
+ensure \`eselect kernel list\` points to the kernel that will be
+booted before building and preferably reboot after upgrading
+${PN} (the ebuild will emit a warning if mismatching).
+
+See '${EPREFIX}/etc/modprobe.d/nvidia.conf' for modules options." '')\
$(use amd64 && usex abi_x86_32 '' "
Note that without USE=abi_x86_32 on ${PN}, 32bit applications
@@ -443,22 +456,6 @@ pkg_postinst() {
elog "Of note, may possibly cause issues with SLI and Reverse PRIME."
fi
- # Try to show this message only to users that may really need it
- # given the workaround is discouraged and usage isn't widespread.
- if use X && [[ ${REPLACING_VERSIONS} ]] &&
- ver_test ${REPLACING_VERSIONS} -lt 460.73.01 &&
- grep -qr Coolbits "${EROOT}"/etc/X11/{xorg.conf,xorg.conf.d/*.conf} 2>/dev/null; then
- elog
- elog "Coolbits support with ${PN} has been restricted to require Xorg"
- elog "with root privilege by NVIDIA (being in video group is not sufficient)."
- elog "e.g. attempting to change fan speed with nvidia-settings would fail."
- elog
- elog "Depending on your display manager (e.g. sddm starts X as root, gdm doesn't)"
- elog "or if using startx, it may be necessary to emerge x11-base/xorg-server with"
- elog 'USE="suid -elogind -systemd" if wish to keep using this feature.'
- elog "Bug: https://bugs.gentoo.org/784248"
- fi
-
ewarn
ewarn "This revision of ${PN} is applying a binary patch to prevent heavy"
ewarn "dbus spamming while using OpenGL. If you experience issues, please try to"
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r20.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r20.ebuild
index 3e93e2f0a367..6ef95b7be24f 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r20.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r20.ebuild
@@ -255,9 +255,22 @@ src_install() {
local DISABLE_AUTOFORMATTING=yes
local DOC_CONTENTS="\
Trusted users should be in the 'video' group to use NVIDIA devices.
-You can add yourself by using: gpasswd -a my-user video
-
-See '${EPREFIX}/etc/modprobe.d/nvidia.conf' for modules options.\
+You can add yourself by using: gpasswd -a my-user video\
+$(usex driver "
+
+Like all out-of-tree kernel modules, it is necessary to rebuild
+${PN} after upgrading or rebuilding the Linux kernel
+by for example running \`emerge @module-rebuild\`. Alternatively,
+if using a distribution kernel (sys-kernel/gentoo-kernel{,-bin}),
+this can be automated by setting USE=dist-kernel globally.
+
+Loaded kernel modules also must not mismatch with the installed
+${PN} version (excluding -r revision), meaning should
+ensure \`eselect kernel list\` points to the kernel that will be
+booted before building and preferably reboot after upgrading
+${PN} (the ebuild will emit a warning if mismatching).
+
+See '${EPREFIX}/etc/modprobe.d/nvidia.conf' for modules options." '')\
$(use amd64 && usex abi_x86_32 '' "
Note that without USE=abi_x86_32 on ${PN}, 32bit applications
@@ -441,22 +454,6 @@ pkg_postinst() {
elog "Of note, may possibly cause issues with SLI and Reverse PRIME."
fi
- # Try to show this message only to users that may really need it
- # given the workaround is discouraged and usage isn't widespread.
- if use X && [[ ${REPLACING_VERSIONS} ]] &&
- ver_test ${REPLACING_VERSIONS} -lt 460.73.01 &&
- grep -qr Coolbits "${EROOT}"/etc/X11/{xorg.conf,xorg.conf.d/*.conf} 2>/dev/null; then
- elog
- elog "Coolbits support with ${PN} has been restricted to require Xorg"
- elog "with root privilege by NVIDIA (being in video group is not sufficient)."
- elog "e.g. attempting to change fan speed with nvidia-settings would fail."
- elog
- elog "Depending on your display manager (e.g. sddm starts X as root, gdm doesn't)"
- elog "or if using startx, it may be necessary to emerge x11-base/xorg-server with"
- elog 'USE="suid -elogind -systemd" if wish to keep using this feature.'
- elog "Bug: https://bugs.gentoo.org/784248"
- fi
-
ewarn
ewarn "This revision of ${PN} is applying a binary patch to prevent heavy"
ewarn "dbus spamming while using OpenGL. If you experience issues, please try to"
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-495.46.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-495.46.ebuild
index cf5827d21dcf..38e290de75f8 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-495.46.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-495.46.ebuild
@@ -246,9 +246,22 @@ src_install() {
local DISABLE_AUTOFORMATTING=yes
local DOC_CONTENTS="\
Trusted users should be in the 'video' group to use NVIDIA devices.
-You can add yourself by using: gpasswd -a my-user video
-
-See '${EPREFIX}/etc/modprobe.d/nvidia.conf' for modules options.\
+You can add yourself by using: gpasswd -a my-user video\
+$(usex driver "
+
+Like all out-of-tree kernel modules, it is necessary to rebuild
+${PN} after upgrading or rebuilding the Linux kernel
+by for example running \`emerge @module-rebuild\`. Alternatively,
+if using a distribution kernel (sys-kernel/gentoo-kernel{,-bin}),
+this can be automated by setting USE=dist-kernel globally.
+
+Loaded kernel modules also must not mismatch with the installed
+${PN} version (excluding -r revision), meaning should
+ensure \`eselect kernel list\` points to the kernel that will be
+booted before building and preferably reboot after upgrading
+${PN} (the ebuild will emit a warning if mismatching).
+
+See '${EPREFIX}/etc/modprobe.d/nvidia.conf' for modules options." '')\
$(use amd64 && usex abi_x86_32 '' "
Note that without USE=abi_x86_32 on ${PN}, 32bit applications
@@ -431,20 +444,4 @@ pkg_postinst() {
elog "If you experience issues, either disable wayland or edit nvidia.conf."
elog "Of note, may possibly cause issues with SLI and Reverse PRIME."
fi
-
- # Try to show this message only to users that may really need it
- # given the workaround is discouraged and usage isn't widespread.
- if use X && [[ ${REPLACING_VERSIONS} ]] &&
- ver_test ${REPLACING_VERSIONS} -lt 460.73.01 &&
- grep -qr Coolbits "${EROOT}"/etc/X11/{xorg.conf,xorg.conf.d/*.conf} 2>/dev/null; then
- elog
- elog "Coolbits support with ${PN} has been restricted to require Xorg"
- elog "with root privilege by NVIDIA (being in video group is not sufficient)."
- elog "e.g. attempting to change fan speed with nvidia-settings would fail."
- elog
- elog "Depending on your display manager (e.g. sddm starts X as root, gdm doesn't)"
- elog "or if using startx, it may be necessary to emerge x11-base/xorg-server with"
- elog 'USE="suid -elogind -systemd" if wish to keep using this feature.'
- elog "Bug: https://bugs.gentoo.org/784248"
- fi
}
diff --git a/x11-drivers/xf86-input-evdev/Manifest b/x11-drivers/xf86-input-evdev/Manifest
index 47de72889f82..0e0b6ee4e691 100644
--- a/x11-drivers/xf86-input-evdev/Manifest
+++ b/x11-drivers/xf86-input-evdev/Manifest
@@ -1,3 +1,3 @@
DIST xf86-input-evdev-2.10.6.tar.bz2 408138 BLAKE2B 2b5815e6ee71971e5023392e893d0b8bdba315ff73b34926b9facd95141ff541de052b84a569fe7bbd4b98810afb4d643a3bcaa97fe5a4e23c37e1ce410a9e12 SHA512 560b0a6491d50a46913a5890a35c0367e59f550670993493bd9712d712a9747ddaa6fe5086daabf2fcafa24b0159383787eb273da4a2a60c089bfc0a77ad2ad1
-EBUILD xf86-input-evdev-2.10.6.ebuild 537 BLAKE2B c72f01ba38247283472df841d7c854ce553f6e324968820f028a044e379ee45a1f6c886d392559e1de5d850d04082d899a65f00821d90ac61b7a1f91b0090fcc SHA512 aa81208319593885c1d038704dc14b24590f2abba54ab82e5fa585e28d79c4254030c40aada3192414a1b1f4a1e5eb280087174e67a3aa915e42815a6ab37571
+EBUILD xf86-input-evdev-2.10.6.ebuild 543 BLAKE2B a8905c03d21e32a16822c2c16f09474fe22459aa8870a701d376575df50711da7d16b4cacc8839ceb212ac2def2fde2dffabc5a76a2703da1e50ce4de1da4023 SHA512 fb8cf9471238d0420d1e88e609bfcecd6a9ba9e80467cc12a436338245bdb0b5da31e1f765f7ca75fddb350e10d72048d75e3a13943578db56ae6a1530ce7961
MISC metadata.xml 231 BLAKE2B 6373a9c04316f777f87754fbb7cbc856493138d32bdb05d1015946ebbb359c4b8adb9372554097833d5c9a20e00e32fa0a1c90995d9299dd2215a2cadcccbb73 SHA512 bf6ad5078a6775cd61d257939d41ec53d006124475da2949c55b4b3ac138ec85a88b9068c5920b1e781fadda963939b8f120f8864d82e10cf50e09cc8052a6dc
diff --git a/x11-drivers/xf86-input-evdev/xf86-input-evdev-2.10.6.ebuild b/x11-drivers/xf86-input-evdev/xf86-input-evdev-2.10.6.ebuild
index b694533616cc..4a5d1dd80538 100644
--- a/x11-drivers/xf86-input-evdev/xf86-input-evdev-2.10.6.ebuild
+++ b/x11-drivers/xf86-input-evdev/xf86-input-evdev-2.10.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -6,7 +6,7 @@ EAPI=7
inherit linux-info xorg-3
DESCRIPTION="Generic Linux input driver"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv sparc x86"
RDEPEND="
>=x11-base/xorg-server-1.18[udev]
diff --git a/x11-drivers/xf86-input-joystick/Manifest b/x11-drivers/xf86-input-joystick/Manifest
index 9abaa4c85875..3b9634d6d4ef 100644
--- a/x11-drivers/xf86-input-joystick/Manifest
+++ b/x11-drivers/xf86-input-joystick/Manifest
@@ -1,3 +1,3 @@
DIST xf86-input-joystick-1.6.3.tar.bz2 351846 BLAKE2B 3cbba17066cce241d6ed1a04ae26d4a875b994b47eb2d1078704d9dd109c9477ca367aebfec15b3358a7c857b91a8e751a83c2c4bab28f26b7aa6c02119463d8 SHA512 541c993bd37dd74d96d90060407d9fb9ebd3fbca352189a08c6b0c899c84609a1b5a3c1ea3febb4ceb5e2b881b54e45c75b8f9b2e475e16d7cffbbe42a3221e5
-EBUILD xf86-input-joystick-1.6.3.ebuild 435 BLAKE2B 7a2b84da0d3556bb05319113a6fe5200b3ecccb34b160cfd1a659be865420baa874f2fea68aca7ae0ef65364a16ab0e03ca0583865d3b72cf0b3b2dd7e8d778f SHA512 b621e198991611ad8a70592a72af1d6e34f0b6961a0a8241b3650c94394a2f79fe1255f85d1da0b393399437c5da853f762a758617a670cdb81ac1f01b06f9e4
+EBUILD xf86-input-joystick-1.6.3.ebuild 441 BLAKE2B f864200e84f569d1f18db6ea5fbc42c2ae5837ac52996beaeedc0d840cfd56aafe0621d8b977f02ada66ef9702bdf29812dd898e1e586ba61bca0479bf198cff SHA512 6fc2c6da43afff2e043dddf7296a6bc3bc92ffd1a6faea7e85185601c71d0c4c08cc13c50fddc53f839c706ef8a8a0b4da3b0691f463bc8948670146fce9e6f3
MISC metadata.xml 231 BLAKE2B 6373a9c04316f777f87754fbb7cbc856493138d32bdb05d1015946ebbb359c4b8adb9372554097833d5c9a20e00e32fa0a1c90995d9299dd2215a2cadcccbb73 SHA512 bf6ad5078a6775cd61d257939d41ec53d006124475da2949c55b4b3ac138ec85a88b9068c5920b1e781fadda963939b8f120f8864d82e10cf50e09cc8052a6dc
diff --git a/x11-drivers/xf86-input-joystick/xf86-input-joystick-1.6.3.ebuild b/x11-drivers/xf86-input-joystick/xf86-input-joystick-1.6.3.ebuild
index ebf5a3965895..7bea1935137d 100644
--- a/x11-drivers/xf86-input-joystick/xf86-input-joystick-1.6.3.ebuild
+++ b/x11-drivers/xf86-input-joystick/xf86-input-joystick-1.6.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -7,7 +7,7 @@ inherit xorg-3
DESCRIPTION="X.Org driver for joystick input devices"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ppc ppc64 sparc x86"
RDEPEND="x11-base/xorg-server"
DEPEND="${RDEPEND}
diff --git a/x11-drivers/xf86-input-libinput/Manifest b/x11-drivers/xf86-input-libinput/Manifest
index dd7a58ae0f74..a451acb9317e 100644
--- a/x11-drivers/xf86-input-libinput/Manifest
+++ b/x11-drivers/xf86-input-libinput/Manifest
@@ -1,3 +1,3 @@
DIST xf86-input-libinput-1.2.0.tar.bz2 358985 BLAKE2B f6fc97c4cb81ae61604d2a56063127a5a9a548c529eda9c506a77d8591b9a439cd0fac9c471e7429fddac6e8c4c043087e53d5113ac62c8bdb5b11381f3d5dce SHA512 ebff9490d33fd7495df2e03203060a76b3274f0e638bc92f3d95257fac57cdb9dac308e90e54006fe9522b6de3b1f1c38fd5f0b0b75b7051e5422290f43de52d
-EBUILD xf86-input-libinput-1.2.0.ebuild 454 BLAKE2B 7cb15de648a06c86648c4aa94935885ed7db9e064fa470a26b3f39e195d87ff5f9ac641a651c768d73de9c385aafcfa308f7ad23284e3856c8fb5608c4b14bd8 SHA512 abd2e1f4df6fd48de8ecf837e520101b496052541aaa055796e1ac35425299fb82a899d4b396fb1c546d537b09512bd263969cf9e2c430e09dbc8055fe97e69f
+EBUILD xf86-input-libinput-1.2.0.ebuild 460 BLAKE2B c010f570daf37a294af0959dca737969b0991f1abd4ab80729129baf3f217f821b5d19b9dd433bc82dd61c651d871d685a16327d3b177c317eaa0438b60741f8 SHA512 d49995162bc85da6d24f1a4de4ba6fc14d286c2d806f1df68e9fbe6aeb27de0d7dafdaca24053e318e9053769ae5069df7d19d44a365de8e9de42fc7f7fe7f85
MISC metadata.xml 231 BLAKE2B 6373a9c04316f777f87754fbb7cbc856493138d32bdb05d1015946ebbb359c4b8adb9372554097833d5c9a20e00e32fa0a1c90995d9299dd2215a2cadcccbb73 SHA512 bf6ad5078a6775cd61d257939d41ec53d006124475da2949c55b4b3ac138ec85a88b9068c5920b1e781fadda963939b8f120f8864d82e10cf50e09cc8052a6dc
diff --git a/x11-drivers/xf86-input-libinput/xf86-input-libinput-1.2.0.ebuild b/x11-drivers/xf86-input-libinput/xf86-input-libinput-1.2.0.ebuild
index 015cc4b53f82..4af16d07326c 100644
--- a/x11-drivers/xf86-input-libinput/xf86-input-libinput-1.2.0.ebuild
+++ b/x11-drivers/xf86-input-libinput/xf86-input-libinput-1.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -7,7 +7,7 @@ inherit linux-info xorg-3
DESCRIPTION="X.org input driver based on libinput"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND=">=dev-libs/libinput-1.11.0:0="
DEPEND="${RDEPEND}
diff --git a/x11-drivers/xf86-input-void/Manifest b/x11-drivers/xf86-input-void/Manifest
index 8eb7ca76c9f8..766296a6c6a0 100644
--- a/x11-drivers/xf86-input-void/Manifest
+++ b/x11-drivers/xf86-input-void/Manifest
@@ -1,3 +1,3 @@
DIST xf86-input-void-1.4.1.tar.bz2 271597 BLAKE2B c78d829dfc9aed788fc2e527f796c697546dfa9687189f5f36043fb017515307303d1bc419458e909107fdb30f6f534e9086e86708d4b8bf2447ed941d223011 SHA512 3cbcba9510635fc4a3b610fb940584417d4b3fcace88670b1289906a7da15614e9a286590cecd1840af4bb3bd0c62f246522b1203700067ec384c3cc11b7e94a
-EBUILD xf86-input-void-1.4.1.ebuild 311 BLAKE2B 9258572a9a27d7717f589398e7431a07a29082a99808c184eb6a508ac0ab642adccf475ac2c299d39364359cfde0a223f970ed23f61f430da8431d695a7c8bcd SHA512 0f497e67caf01736bf35d83ea3816d7627d0c3b1f7c4ca4a5ab0acb84c0db37e7622fb67ac10b9b5df8c2afdcc7cddd7bd9fb5131b888767c6968f235a6725a3
+EBUILD xf86-input-void-1.4.1.ebuild 317 BLAKE2B 26bb7df37c0ee161bde2305ccf16b3a4e6fb0900c471d7fe339df0af4fde9c3ed6fd981ff5602913147f677f8238fd03b51801e93611633b3543515e78d9babf SHA512 5ec93fc95cdfbb1317e8feb6cdd8ad0bbd438a8ac2620d4b2317799f36ce24609eab33a86dd4d5bda25d8ba649daaf2ad9fe9a3edb5519ed52e9f44b24655f41
MISC metadata.xml 231 BLAKE2B 6373a9c04316f777f87754fbb7cbc856493138d32bdb05d1015946ebbb359c4b8adb9372554097833d5c9a20e00e32fa0a1c90995d9299dd2215a2cadcccbb73 SHA512 bf6ad5078a6775cd61d257939d41ec53d006124475da2949c55b4b3ac138ec85a88b9068c5920b1e781fadda963939b8f120f8864d82e10cf50e09cc8052a6dc
diff --git a/x11-drivers/xf86-input-void/xf86-input-void-1.4.1.ebuild b/x11-drivers/xf86-input-void/xf86-input-void-1.4.1.ebuild
index 6727b99d7eba..e4ab0c0ef9b5 100644
--- a/x11-drivers/xf86-input-void/xf86-input-void-1.4.1.ebuild
+++ b/x11-drivers/xf86-input-void/xf86-input-void-1.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -7,7 +7,7 @@ inherit xorg-3
DESCRIPTION="null input driver"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
RDEPEND="x11-base/xorg-server"
DEPEND="${RDEPEND}"
diff --git a/x11-drivers/xf86-video-dummy/Manifest b/x11-drivers/xf86-video-dummy/Manifest
index 24423fcd15aa..f32219aa26f3 100644
--- a/x11-drivers/xf86-video-dummy/Manifest
+++ b/x11-drivers/xf86-video-dummy/Manifest
@@ -1,3 +1,3 @@
DIST xf86-video-dummy-0.3.8.tar.bz2 302353 BLAKE2B 1327db3aeec2ff7e3ff0876b25eace6fcdc7fc428967dee9f0b8ee4c22dd7904dcb47d5433bdc14ab56638225b2d33f3a26543dc9e6041c60af4135c1555f798 SHA512 f534113fd9987e44d2e0d0c53bd1b71be4ba69ec239ecec4aba8fcdcc10597722c54cbc01da38e0975ac7660e4e4028330e4cdd369e755c25ec059d2dfabad80
-EBUILD xf86-video-dummy-0.3.8.ebuild 469 BLAKE2B 43ca4f0cb04bc91a620c98284a236fbcfc550d37b44830c0692a22678b390befdd60b8425bd581461a59427b473b194ad6844e0cd3b8eca621a87082e944e0b7 SHA512 ad3bde9cdb27e3580a3311315065cc1a071d947f9074a97a9d94d78ef939d8d0c8c4bd6bd5fd3367c36adedbf56f76b114110b8ca08e9f16aba335327f5e0f2d
+EBUILD xf86-video-dummy-0.3.8.ebuild 475 BLAKE2B f2d8127e457dea06bd3dca38808cb80f597a85275572ce1806cad20f3b76dd3a00b5934576c88f8776d6d39f293ad38efbc38ece53370972c2b320071b0e2475 SHA512 68caf4e84367b2429af6f1b1ff30598fae369485db667a97ac2867289f2179927c4d6d645d05f25a1842539fa8eef650882b3e00cc0d93a9c7a1c5065b0cd250
MISC metadata.xml 231 BLAKE2B 6373a9c04316f777f87754fbb7cbc856493138d32bdb05d1015946ebbb359c4b8adb9372554097833d5c9a20e00e32fa0a1c90995d9299dd2215a2cadcccbb73 SHA512 bf6ad5078a6775cd61d257939d41ec53d006124475da2949c55b4b3ac138ec85a88b9068c5920b1e781fadda963939b8f120f8864d82e10cf50e09cc8052a6dc
diff --git a/x11-drivers/xf86-video-dummy/xf86-video-dummy-0.3.8.ebuild b/x11-drivers/xf86-video-dummy/xf86-video-dummy-0.3.8.ebuild
index ab64adc06bea..d42b8ae591db 100644
--- a/x11-drivers/xf86-video-dummy/xf86-video-dummy-0.3.8.ebuild
+++ b/x11-drivers/xf86-video-dummy/xf86-video-dummy-0.3.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -7,7 +7,7 @@ inherit xorg-3
DESCRIPTION="X.Org driver for dummy cards"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
IUSE="dga"
RDEPEND="x11-base/xorg-server"
diff --git a/x11-drivers/xf86-video-fbdev/Manifest b/x11-drivers/xf86-video-fbdev/Manifest
index 4d4c2e09ef16..f2847ead0209 100644
--- a/x11-drivers/xf86-video-fbdev/Manifest
+++ b/x11-drivers/xf86-video-fbdev/Manifest
@@ -1,3 +1,3 @@
DIST xf86-video-fbdev-0.5.0.tar.bz2 295102 BLAKE2B f3696662e782f35eeae66a755761b8f5d6f1304321976ef7e17758576da014091c0dce9046c4fde6b0ec4cfa1dce998b4b9130e646911d4d1dad983bd530d06b SHA512 c1217b943bbe3301b3c2a8649ed1004c3c67b02607bd56bbc14f6dfa05e7f0184332c81a6a19595514745501ed88526aee932e555779b7c3a8233646b0979448
-EBUILD xf86-video-fbdev-0.5.0-r1.ebuild 331 BLAKE2B 5d7193b68869d9e0474a67ab18374de9b96c0120bfef94ff4f3624b2a87090a963626b31243e206725dab346bff86a19b531718618ee67cec4d5d3012b4f95a9 SHA512 c5a2260c11bc273942a9543bdceaa3ed66749822800080ed12858bb077003d17f89a273e1e953c777cde44022f08ceb5af8b748cd82e4f3bd05fd14ec5777138
+EBUILD xf86-video-fbdev-0.5.0-r1.ebuild 337 BLAKE2B d312ef170932402ca6447e84c53ac973aec2cb84acaa4591438aea2e3fdfb6bf8830fdff8ce026efb4b04f4bcd3f28cb8ee6efa47007c4b18eb0694313a45710 SHA512 60e3d9afa84d7251985b6fdc511fb4abdb39c96779b272e4787a0194d8e4555844936544cf92df5b3ea99c8b4423debe2154062e1c2674acafaa88f5035fddcb
MISC metadata.xml 231 BLAKE2B 6373a9c04316f777f87754fbb7cbc856493138d32bdb05d1015946ebbb359c4b8adb9372554097833d5c9a20e00e32fa0a1c90995d9299dd2215a2cadcccbb73 SHA512 bf6ad5078a6775cd61d257939d41ec53d006124475da2949c55b4b3ac138ec85a88b9068c5920b1e781fadda963939b8f120f8864d82e10cf50e09cc8052a6dc
diff --git a/x11-drivers/xf86-video-fbdev/xf86-video-fbdev-0.5.0-r1.ebuild b/x11-drivers/xf86-video-fbdev/xf86-video-fbdev-0.5.0-r1.ebuild
index 9cf55c8ba7fa..4d1efc2f58a0 100644
--- a/x11-drivers/xf86-video-fbdev/xf86-video-fbdev-0.5.0-r1.ebuild
+++ b/x11-drivers/xf86-video-fbdev/xf86-video-fbdev-0.5.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -6,7 +6,7 @@ inherit xorg-3
DESCRIPTION="video driver for framebuffer device"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv sparc x86"
DEPEND="x11-base/xorg-proto"
RDEPEND="${DEPEND}