summaryrefslogtreecommitdiff
path: root/x11-drivers/nvidia-drivers
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-23 14:59:31 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-23 14:59:31 +0100
commit764cacf515464f89b60c94a29b3b7262479feb22 (patch)
treec29184ca60bf08fd667d410fac9802dd3df8d099 /x11-drivers/nvidia-drivers
parent955b5fcaf4acc77c39a1f145d7c56e99f13083a7 (diff)
gentoo auto-resync : 23:05:2023 - 14:59:31
Diffstat (limited to 'x11-drivers/nvidia-drivers')
-rw-r--r--x11-drivers/nvidia-drivers/Manifest11
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-525.105.17.ebuild633
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-525.116.04.ebuild2
3 files changed, 2 insertions, 644 deletions
diff --git a/x11-drivers/nvidia-drivers/Manifest b/x11-drivers/nvidia-drivers/Manifest
index afa959afff5f..7cae31e0df04 100644
--- a/x11-drivers/nvidia-drivers/Manifest
+++ b/x11-drivers/nvidia-drivers/Manifest
@@ -15,7 +15,6 @@ AUX nvidia-settings-390.144-no-gtk2.patch 367 BLAKE2B 59a60b103df6b187009417dca2
AUX nvidia-settings-390.144-raw-ldflags.patch 468 BLAKE2B bf4c00a76351e6c3d1587b4f71be61fac8cc516fa22da0a47538fede92b619eb77b1cc09222cd403175a2015eb2ca745e8cdca90c9dca1b938ca13a2e59810ba SHA512 1fc568bfd1faba1f7af4f4b07715912b7f1d8103626ec0c9fcbb465ded606059ca264f386fe415105ab9f95c4ab173bf4b784ea7380bf17ab6979f56fbd01757
AUX nvidia-settings-530.30.02-desktop.patch 406 BLAKE2B 63f645d5c9f76349b405c61327bc4f6d44e0716b4ec4c2f1aa012505638be0a329bc9589812d1f164641e4725dd15ac652eed0992161e767325b1310d9cd0718 SHA512 ff0fed69d7d36b2f67f9382055490a031ef8e834119bb18b0f71d1265afe92fad44cb11d6fabc5e3750a434c51e4660cfaa3347d062036d975fd341967187494
DIST NVIDIA-Linux-aarch64-515.105.01.run 221114790 BLAKE2B d01add008c0dc6b45f951341ad78b5c2da4e080cd3be38eec83c6408af19dec353c3eb40a5bdce2a23ec26b81bc31d7983be0a557760e408b16a0aa516dde43e SHA512 07d8b680e3bc4727727dc00225b42577eff3f00fb45281fb3b75400f66572d8ad67fed1adba36689cf7d28afa6241fe3ccc11789dccfcb5e6705496c5930af2b
-DIST NVIDIA-Linux-aarch64-525.105.17.run 263030663 BLAKE2B 6a76649f1f4dd5cc9347b91474af899a202218bbea56dd8574e0c1ef286b1e3c5a61ba6723a49295ca4baf90ee2b70adedbe809c16b2d9a6b6328dd57d6c3e6c SHA512 75192acf8448a206a956b94b01b5e1e05cd21c7f172557bd6a2d1f1d92877583734c7e0998cedc3b54a8bdc5c7e869531ddea4161639daf40cbd0bf035252759
DIST NVIDIA-Linux-aarch64-525.116.03.run 262872796 BLAKE2B bd414f79e91b4fcaaf26a8580b61d85b80187298416f6850d13057ea53e6b63b0325b7d4f009643a13cf28a1bba22a3cef8fae691e0a7d102535f4c0f3965ce3 SHA512 59ae65f041b61f84bf4f560b4b3bcdba7a69e61990b218d8fd354cb4803c2a105c714757977505703f4bafe841dad1d38dde623dcf78e076e7a7b8baca3911e7
DIST NVIDIA-Linux-aarch64-525.116.04.run 263223228 BLAKE2B 40797a46658aa6d1278b5865368e2050f492d95842fe8b80fa90a98739c70b24a32d896f48c8c54b8fdc1ffc3b2f95030d08bdf4b727ef71dbef78464be6b3fc SHA512 819f98fe9a9075de13a4e5e58c965ea91983a6a5fc0cd6538543eed83f0c44f39204535b79eaa571d34c1014a8af32e01037f65f820789a5464260cff68b4bb1
DIST NVIDIA-Linux-aarch64-530.41.03.run 218674884 BLAKE2B 5f1e61c43810ae3428c07d27b7a6a80ed2d04e1fe6f2ff8f8da20c615d9d35c494f30c1baf6fd0c6046b7780e621095ff0a61e40ec40295e599acf4727cc45cf SHA512 abb9d33b2cfa57be25d5395d5e9805d401b67375761cd07da0e78cc372d8f424c9a7129966967ed36b2123eafbb0fa99f478deb2c4b6a9d85764bdfb60c1139e
@@ -23,48 +22,41 @@ DIST NVIDIA-Linux-x86-390.157.run 49417041 BLAKE2B 435b5e0e60468cc74b41cc5d9b5bb
DIST NVIDIA-Linux-x86_64-390.157.run 85835541 BLAKE2B 44b855cd11f3b2f231f9fb90492ae2e67a67ea3ea83c413e7c90956d38c9730a8bd0321281ae03c6afce633d102f5b499aed25622b9bfd31bdd2c98f0717e95b SHA512 4780503a4cff0180b1b1f37d20a6ba3438dd78b51fa7f69b98d35521835e5d61099129746929d51d63afa2d47b672b3e145e1e1897584dc3799e7f822c5b3a0a
DIST NVIDIA-Linux-x86_64-470.182.03.run 271685302 BLAKE2B 47acdc53dea1698558fea8e18f481341dd542b725153a83563f9da420844b59db41f69a8eb7ad7e16a22050a7a6cffc2265a9cb8832cb5a6439c6a5b0910bfce SHA512 73619d65bd3267427acaf2deee07a2c98c490df937aa13e2c95d54cfd19ce2a82a91d3a5aa886dbe88f6230251f9cf54c38f5841cfacd77e53301e8d61fa3d7d
DIST NVIDIA-Linux-x86_64-515.105.01.run 363738348 BLAKE2B b78b7e9dbc1450a7d01d9b3b75e0612ce0b71f8647dc5ee084660c9cb12a8ac4b2f278d49b195e0f4600d02f3297af796158cbca9cdaff0d27f78f56153bdefd SHA512 9b9e820754254c70aeab2bcc1cfdae396d3b30fb948198e378f764a6f0d89ad6f6687afffa2d6f48072ab726c6d180dc3c83891eef61f273c0b11f7bc2c9bd67
-DIST NVIDIA-Linux-x86_64-525.105.17.run 414594622 BLAKE2B c1db447a2e121fb13a90a26a4086f8759e8ef5e6eb3b355e3f4497cd67169b8b38506e00bdb8cfd0f5f7f25e0cacbe6e5ed05732815dbf4e63f2e800830ae3dd SHA512 1a44a8d92d8434d356dcd6087c8a3277136e0819ffa5e4b6895854811cf63e44ad3dc08e0d248f149f8dc2280ab0993be6ee7fdf3c676fb9a85ff3dce83fd69a
DIST NVIDIA-Linux-x86_64-525.116.03.run 414602354 BLAKE2B f46c88b579901cd4bf0263f046fc2915a8f147af4c4669d849fadd3df1dd6aad913a8cc27f9dde3c5ba9aa3f40df725220d06b590ccf9e185ecd720eb3977836 SHA512 684c2eddb621a18dddf047cc7d89521a4841fedbfad674e6ccb0bac7dba141a6e8e3ee77b6f2a692dab6d6e3310a88d38ea14f8198e94b21a299927e69234114
DIST NVIDIA-Linux-x86_64-525.116.04.run 413341618 BLAKE2B f769c72bb38c10e16f88bdf655ef77a480097c31b5856de00858494e1b1708bc243d8d562e37b15c7fc4641c7c4937472cf16f84fc1b3b3dc837ace35a3570de SHA512 8e511e4965f11c849ae0bb3f399bc79eb004bb3a15612b35e6c7b9ec236a73085b58cc4e8cb37b5ffde7e7fe202928a08618b5dd3328235795bb942bde339195
DIST NVIDIA-Linux-x86_64-525.47.26.run 414811422 BLAKE2B 9dbb4ed5ce71b329f2c2fd12ae5697f299212916f9a0c357e4526863abd3d6123b9f6769dd44c0c1adbf43ca1f6f5e596ac6ec34cf06802428b652fa1ff494dd SHA512 41d77f7200acff1cc8c3dd86e4809555ca5a0c84f405c864431a6b195826ee4263830eee182525d19ef96b8714dfec04a6416189c9ad9959e6e58147820ae94b
DIST NVIDIA-Linux-x86_64-530.41.03.run 344312858 BLAKE2B bb5507afd23e6e063314532f37e5c7cc2530f96f359664d79ebac998c6a32ee238790b4aa66339a913e31114d22795e8e80aebced2260ff04b5d3589af472fc9 SHA512 90068122824322884ec8f3e4be2fe7f76bf07ee1163baf6da15d09ba3ff886e5c5ef72016509eef9f4af9d85f154ebbe051d5fb3af5e867f1f67f03af8068100
DIST NVIDIA-kernel-module-source-515.105.01.tar.xz 7531676 BLAKE2B 05a2e00141ce699956366dfc513c12b766b17b95bbabeb0e6da496a3babd4d8ce02ef82a7c125b3dd9d884b132079398225c5588a5ec853dfd3db7359cafea74 SHA512 5eb4ebb3641343eedaa3f6df9cfcc539011e4141f109c6ea585f6e7f2efc41ae1156fb5b056b070a17d8781f62028b396da9ec47972660548f8a651a032a6877
-DIST NVIDIA-kernel-module-source-525.105.17.tar.xz 10120440 BLAKE2B 00fdaaa690a8ae14db333237e2ee3ef14d83ac7be84d53c0300e0ed70e5b2681e293730d737f82e2e74487ddf895c831ee620b6a8162dea9f0f0b979357992fc SHA512 bdb475cc9e5332e383a5375baeae444c9148c6f145e7870392e4eecc1f91708d4e52fb5eb844accda19bcd749ae0c2850c29310cb234b015e9307c3c62088bd8
DIST NVIDIA-kernel-module-source-525.116.03.tar.xz 10106052 BLAKE2B 438158c502f46355ec41f7028a8f7be00fc9b0709c8e8a52fe71430d75c43b727efd86d87d80463d57244a5d54733c19eef682dff6c413b1473aed73a3b4fe59 SHA512 f1dac42833d495c1e5e7215b864fec8f76fb9514fe0a503fbcd8462215ef2ce7b28437c206496998ad2ba7542fc7fdd3fc8af7533635f733a5917844952000a1
DIST NVIDIA-kernel-module-source-525.116.04.tar.xz 10114352 BLAKE2B 672e85f8c253eb2fffd1dc2c5854ff75db71a4155c7f02989177ebd068c0b076c4a449e2c602a337c0e39f58dd75e42cef297511bdeec06c7cce9b4991ad3175 SHA512 23522aaa73170e3bf21a396b0923398d55dc833e09f93b6f2e1c2855c5c030b88440b3cc87dd74cda923170397f31614b550e3226bde1ac37cb9978af15a9760
DIST NVIDIA-kernel-module-source-530.41.03.tar.xz 10485752 BLAKE2B 2241be04820de7bea99a3833de04a67e6eed03e3addbeb9d8ebb2b6f802f528f87e27deae7e404aac3cbbd17071b6183762a72cdda3adfe7ee6d2ea88c916b01 SHA512 c6dea65d8b5f089a2a04788e7f0d7abb667ae1b3846db07b3f35b3535f6bbe8decb4577a10da1172955bce2431becd2670f9f14678141d09f5b0718d1e2da3b7
DIST nvidia-installer-390.157.tar.bz2 150323 BLAKE2B 8058ca87a6dea956d564af9f7eab9b1fc82b1f2382bd5cb2f6d97cbe2e19292533522d5f8f2eacbeb16520372715fcb72f8f9b0998962af5d4e75522c8d74524 SHA512 93a7ece648602157496c8e27a88864ede341a100f5328a4c1a25faf8f0b94d252060e5e2f71d0c302fd0566c10773c30b76b3b5f431d8039b71c90a7969f7d7e
DIST nvidia-installer-470.182.03.tar.bz2 146269 BLAKE2B bfd1c1bac525e9bd6502a7a356064a96030b61a0e037e893506c397ac95d48bb513a8bc6e1a6060d39f6441191538b0be50c12a3199fd0e720c0f5c2872e5d5e SHA512 d3ff67619e260e1bf4519b087637a9126406600519bcc42d938e12bbd2bbca45e8ec39bec4d23c95ac1c3c8eff0430f90e8e360769d8516ef30e57e99bd4aeb2
DIST nvidia-installer-515.105.01.tar.bz2 144859 BLAKE2B c115987d5b95e0b4baba29512169f8222ce02c3968733e6b59bae0486a6f54af364ceaa0e20cbfdff71e73e678352f7b9470b8c1a9eebe5c50e429f3bee08d78 SHA512 181520f463d3e0c27e83e68ee33cf451c6ed4794bcb1be479056455afb57ea00a3babbd8e2e262f0978feb2ce37e261c0a8efb4973b0c90601d17023a438c2ba
-DIST nvidia-installer-525.105.17.tar.bz2 147761 BLAKE2B 1875f143ebcb62a15b91498af0a8b4ffcc67d5518b3c4951c6400a5a4dd96b58af8f0a05c4d40d3e863a5db2c3ef65eba9846d853958ab457db06809d03781b8 SHA512 b58f0dd24010b511d77e13e19d95aa39e55d08ab25389f44976cde4c900120d3a101998a3d265862e7d57cadaa2948b7f7fbd717fa6d6858e7a42f86c51f943f
DIST nvidia-installer-525.116.03.tar.bz2 147705 BLAKE2B 3a852a7fce16547958867ca292199315d3ec1107022a2be700d11e128698aba09475bd115c4cc6d79409393f202423ba6109c9daab36316deddf947f728eef31 SHA512 1bd2b2940a281a70830542d8d22380fe7efb8d35425159e21a91c1fd06d5021bd75354969f359d9191aa94649387f7994264bb8bc266dba02f48e3b5ca26f9b3
DIST nvidia-installer-525.116.04.tar.bz2 147752 BLAKE2B 9f40a0bd0b4bfd9164ef31bd7c9c7ef2e368872794f374ccf0f24ff899e4055198861c9864f105754d189829a9d91dec52e844e70bfd89f61c126acc708c8aa7 SHA512 05e32adbdd33dd744f464dffc4b5b42a08369ab21a48c52bd83ddc796e92698ffafecad9ac28e565352432223ad590af67a6ac2b40862ccf0c2f6b4fff8cb30c
DIST nvidia-installer-530.41.03.tar.bz2 147834 BLAKE2B 87fa794ef5d301acdc51baec0e30a1d2d3faf1c138422cb32324edf648a022d61b9359fd851aee596effc1fb0648f8bb165423f54271ceb7fdabea43db9c3444 SHA512 c74fd0219f785788476a16982d7472401892b8cfbb34ca5acbc7367ed597b3262cdb81772452e70a3e26af308170a2763701c9fe93da405dc273d65d3a23b274
DIST nvidia-modprobe-390.157.tar.bz2 35306 BLAKE2B 80d202b39c2f95ec0f909712c2e101483af50124092c32efb33bd98ff58ddfb97b737ff07f1ddc941f688c1b4c26a15f392566d522e18506771f10422fcd571c SHA512 109bbe24a3758b568ea65fe1e9d78f69fae6108ec0497b796c885a3912825fe04ffd7389a3e22987f1a10a2926bf6eaa384faabc59478aa3ee244dd3ac91c6d3
DIST nvidia-modprobe-470.182.03.tar.bz2 38816 BLAKE2B 67718e61b3a3a753f8c979c516db537ebd5d6a8117524417022969d3cff2779027cd823233e28ff269c4bf311f86c3fd488ac89c8fe93ba93d9c2d177a4d081f SHA512 df313af02c0130ad18d7758800d6acc55c55dbff12117691a1f57dd110d5477309958cb406e6d59154e7c85978c9cb79a7d6445bb5f2fffdabb37dc32db2692d
DIST nvidia-modprobe-515.105.01.tar.bz2 39528 BLAKE2B 049087765245597eea26218a912b9fdc4eba94d11e0c40e5c0890d830638f881e8e297116bb0bfcab8792e5649152f60bf27bd53c0f8452f1eba8c37ce5e3067 SHA512 a99b01382ff74fb9ad8a6ef02471159b9daa1190d3e96d74ee6daa8e2c90df7de2e9a872dd10efdb4251395b841dfc2b1fb546dc592192a09d966cac13da1b6c
-DIST nvidia-modprobe-525.105.17.tar.bz2 40445 BLAKE2B de849fb838c7a10009773a0469d281687ae6cf3e4e4bbfe56063d4d1bfa8b6c596ab23ae3d9e82a39c6bf7602c3d1a7e001c822422d0275fd257eaa20ad1e4c2 SHA512 861ef670aec6bd106d86284fd8075da9ea977274d1f258df55408f530725aa20ee4cd3bf0600f84981e602ebddf7cba095654a4ada43bb061747bf2ecb7c71b7
DIST nvidia-modprobe-525.116.03.tar.bz2 40420 BLAKE2B 1ae882c275b89404357e6f144d205a50008ba2bea7d5e47c980fd3cd75a121c5ca8050e66dc9e20d6f9219e8f48f5a1dfa00c38fe7af4beae1f7ea3e45f6abd7 SHA512 6425c978687c6a31bb1c893a296e59e1e8af7101b464c7862be1b13c7704b425198481c2c1f2d983a055f4cee3b7ddba8eaae077741640120c3407f675aaec68
DIST nvidia-modprobe-525.116.04.tar.bz2 40425 BLAKE2B efa536d1c4573b584eb7eb04d7f374b7e44ae859998d7b969495be1f33c4b9a9b8f2450ab2b1c656c3a80c1d127b0419e2c2547ed1729bc9ffa59e5d7d2ff5f9 SHA512 b646288dd72f9d041f92a51fa8629228acd7ec62153bf6422461a6f3312832e30165af17d5391ef2659fb751c6cada117983e73a49492eb7d8f958d783cbaf1b
DIST nvidia-modprobe-530.41.03.tar.bz2 40002 BLAKE2B 46caaa7b4f6d7b6561433ff27c4d3c89d29a393eca560b99a2c7d94ca657cfd80e44703dafef0596b5b076a1e206ab47ea8c830e5c5b2408b8e3c432a92c963f SHA512 1b208a10fdc44b550655753f37086ceadad7b7e30a852c2d4f781c645b50cdbae65f844c7f15962d716a0dc5e28b785b8055ed430476c23c73fd9b2ae9ef7654
DIST nvidia-persistenced-390.157.tar.bz2 48654 BLAKE2B 2cf6c92da90acff55e8c180a06b0c6a29d48be9fd8ca3c541202fd14f0697220fba6b66452942aa7ae7cc8821f5c5eb9fa8f7a31d2248624e5f9141d83a176b8 SHA512 70f0707ed6f2b877e69ef90cf782f66cbc9d2071db53ca09ceb7b89427b0fe176708517340621fa251539b7d481b238adeeb60261674eed74de1f62db6dbb72e
DIST nvidia-persistenced-470.182.03.tar.bz2 46527 BLAKE2B 614cc5bf88e8b0d1ff7b74d68049e1c7d78718c9a3801d3c88a7b34bbf13d0ede6438118402139a997985bb5c757aedf609e8fa6dcd1bac37441cfd61950605b SHA512 a80c3c78430f354ad1a03eb2576948d0bbbe066f64b97429b7c8aa02070a10d7f3a7f60db898d5589696cf0a77f04edba26069d4a89be6d0a492642caab5ab96
DIST nvidia-persistenced-515.105.01.tar.bz2 47144 BLAKE2B 7d60577e41eca01096eb605d79c9b39e38d7f80b6b848501139d206b5853515fa3cd49a1d28e75667c902c4a6d0a90e31b16652f8d6942185d1502a60683dfb9 SHA512 bee44ad4337bd295590a08408eca3441c2be386bf2776903aa95436e6efdafe437df3c69de711f4abe14722f27705f1cc3d96ad8febdaf617e97868c22e9013f
-DIST nvidia-persistenced-525.105.17.tar.bz2 48059 BLAKE2B 51bca934bae5554a5668623745005c53a48e2ee8b9af5b034205e8a06070911d88ac85c5a7632f69fc508a41399d212aca2787e4b293836ea84bfdee0410ddff SHA512 9bbb69b917d714045832269db51b9b1cb747027f3db96c245bcdc293d7fcbf5a105903766ad90841b4facca93370ee48263c9aea8cf9c39fa88965d64655163f
DIST nvidia-persistenced-525.116.03.tar.bz2 48033 BLAKE2B c92b8e7c0c68ee2004e88a74e75dd6b35cc803276b0a4c48395aece1d4d16d45c34ccc5bbc202cf24a4a0e4cfd587f07572c5c267939105e5c66be0532bab538 SHA512 88d7e14da89192367841e5398f669069b7fbb1946829f9d31426f9fb44628c700318ad2fc98c25d901c59e2cef6c1b4a2a575630579efe53b6cc920cba00d8ba
DIST nvidia-persistenced-525.116.04.tar.bz2 48041 BLAKE2B ae7f1ab6e9d46df9af3d95871c8ee8c4e05544da3599dca62dfce92c2d17861711d891ba8e412745f4730e7d7d621d8113aab9d90de6fc82dd21e9fe7ba7987e SHA512 b366fabc4080456d3df6155ffabb0035834b68fb54e6608f09612a17c8adf568c6d1ab31fbf1f2d973d5004de6ae3550cd7292810441b4f3b4db3acdc7c55239
DIST nvidia-persistenced-530.41.03.tar.bz2 48191 BLAKE2B 8f2127eb66a4752ae504ab5b01fb897d81314a913ac231533f87ead5c3cf82656cb8db361bde0a81b87fa6f53ba24d2a6c34ba08c79feea8f66895b0514b2bd4 SHA512 0b901344df116d0131f1c6cabff771f78d1bfa43d0dc21caf0fe79d8e17d5015f371da6f302f98b33f1f05894ebfd6928427b15ed4e2f6ab2de275b91d5b97da
DIST nvidia-settings-390.157.tar.bz2 1108938 BLAKE2B d9ec1ab5d7f157d74627272adf752a671dd17e2ede02069437b6180b927fe315b15cc6416d584ab2f038b76fe01e5b64514a834f24d88ac16676e55205fdecdd SHA512 b16699009bf56a1ff3b623a528c58061c4f5a2c5c4a373756a07bcd667743a1df7c733a572d2d0baa835a904ac2fda8a5c85890dcc00c3a0f223e0467aea902d
DIST nvidia-settings-470.182.03.tar.bz2 1061536 BLAKE2B 488a5f44259f6d26d37b65ab2b88b7ed008f3cb583d41bb5492bdaeb768d7d58ba239cd16349e6b08d8305ddb5663002c5101fb47a24e7759c42f55d2babe467 SHA512 38fd820d7a1227376f612e89afc7139563c7f87bfb9256037e71a7f33556286570b09f9c7f057596a8d6cf89f18fee73f4be8fd590e2da879cabf12903ec858c
DIST nvidia-settings-515.105.01.tar.bz2 1079973 BLAKE2B 3dc40667d389fd6b3508e5c2eb22e05d358e6fea32f005655e14ca4f89d00662ba7fd085171811c6c1465fa98a10a3addaa1ac24b4eda1d30e99763b55404b4a SHA512 5be33a0f4537be12e9644cbd85ef577decb7de819f8d35b3de032052aad6820a1cec5f7e9d99806ccbd92a77d9ebec6e49a0a35fbc6b47aa81f06e6fda7e483b
-DIST nvidia-settings-525.105.17.tar.bz2 1087544 BLAKE2B 9e6e67cc2b4dfb5417562a1f64f5a86f98fa19eb1c2a90d72a7925a7dc7db1b0f88a157807ba2dbeacbe426849ad0a2027e363ec31c2c1d9f534b49128269381 SHA512 36a2f1f6415f9c810bf3861566120e88ed14bc09be1034ba3c2ca174d8b47ef9d817f27a51358b569e5966281b5e341d424036b6ac3b87c74ab7962f3c533820
DIST nvidia-settings-525.116.03.tar.bz2 1087874 BLAKE2B ec918eeda5a22a8b0e14cd1c3ea5417d9863e0ca89a1dd9a99ea7e4cf0ea454526d82b0b2eb0dec3cc8fff05ddd9f59a52738f485c892bc079e7cee902db4fe5 SHA512 4b8094dbfc96f532675f1b3a9a83ff0e70513b41d0bf41510b5769a57987de69f1e12734d1428db0d605e5375d596e1210b2b88da1322bd79f441910886add5d
DIST nvidia-settings-525.116.04.tar.bz2 1087420 BLAKE2B f37b52937d7a121a1ffd7bb6fb2958f4668b5d6df0a28eae9dc030077828d4a8bd7c51ff8f966f1d8797140573624cf55e796bb959feeb1271998b9064c78036 SHA512 911de09f2e2f2481219be9afa680f5c6909bf0068ad6b3833ca27ab29fe95dcb624559d2b828adad2a7c0f107260f0e632a3d892abe0aa584afce09ebd0d7cb7
DIST nvidia-settings-530.41.03.tar.bz2 1087946 BLAKE2B 1c5cde28d6662707ddbbef7bcd5ca8a35c343e76874b5f4a7d9a1f69364145d5205f8ec8f887b2fb7d0684ead507ed515b23421d074d2cc9e491f4bacbf5afc7 SHA512 84840296e9a18ac95778f5b2efade9aef23da7e22c6cd36f2a30ee04aed661ae20b80e0cdd1be4ab7a0ca57a62c7096be807dd69f805d03b5cafe50a035bbb4b
DIST nvidia-xconfig-390.157.tar.bz2 107399 BLAKE2B 0cbb3b1ba508ddc3ba4a161c290b31bf7a67f67880bdbd01171a962c5fa97ca945b1ef17932403f8589309380743f1da632c728d8accb6d4e56dbd895e7486bb SHA512 50b390811c9bf091b14add41f886925b17496b41006b7d3981d2398caa65cf5db8a579c8cebed78278384bf3acc629befb07b54339c61abcc75852c0dcb8b8ca
DIST nvidia-xconfig-470.182.03.tar.bz2 108697 BLAKE2B 3c2d5e3288fd8dcb253c5980b2528678ce1b1322920fee44a1ec29cfa15d799aa51a613ba3a2f25ce0a169eb4768c886e0f4703c27dd8d99fb5102ea7382b076 SHA512 942450fb3eb07297ea4b5fe6d9653c96257a41bd4ef819b339e080489c5a6d2b78d826859886701e954b7e3dcce8af6d8a78ab0dca2de44ca930370baff27954
DIST nvidia-xconfig-515.105.01.tar.bz2 109756 BLAKE2B 7eef6613197909f9c2188e904fdf8bfe73e471244859b617f6fed4ad33d6e5d5e789a14bc7b9c483e70f895624ac7de1394659d173a09954e1ef86cc67dff244 SHA512 bfc08f9c334424f29d1b1d474f49f8366e25b3c358b6b646e952c860f3e40cb241343e9cdf0a05df47c419f5bb820245fe80e4d51fc80a3b3912a2d372c94502
-DIST nvidia-xconfig-525.105.17.tar.bz2 110608 BLAKE2B 3db4f55f34fb16e00224d2dff7596e15960d0f6555bb90c141566e48cbcee65080d1f3addfbc40f9cdd81b8b75d11659f007499c5cd6d31eb0c082a3c26f61e6 SHA512 d794459dd292e18310a549d4f09aec405b5f7f065cc3dd61e6bc98d19f08bc56cceb4e667e6442831c1c49e6709e403012b302892d93ebe6368d152ef921b762
DIST nvidia-xconfig-525.116.03.tar.bz2 110982 BLAKE2B 9aec023c8ab61e2a184bf8f341a458d17c2e6c4fd19b3e16a56e9eb9180b27a5745fd8073db613f26d501d277aacbda1479baae046eeef26e12a2a539313c6c6 SHA512 0f60dc86117670e52a15d09ec6a71fb6e3354bcc6d5f67ddddb3650bc3dcb9c01a36eb74776da14476a8c6f6363972c100ca12665cfbd17b55ae22391c1c7ed5
DIST nvidia-xconfig-525.116.04.tar.bz2 110583 BLAKE2B 7fa42ffddee83dd6df0f3d86259831a34eb123dcb4aa7689e94ae40bbd463b30795b9a0f6f9a78ec869858625c5e19c3a5faec75fad0257500adbf7b8f5cb2d3 SHA512 2528616c78d4d0f1b28c479c0e211fe35653823f65a5a23b32f3bc2681b9730fd2a10907e46e264dff2fb80dad92b4aad29b659696acaef8f6ed6d244d41ac51
DIST nvidia-xconfig-530.41.03.tar.bz2 110920 BLAKE2B c7b90382b0e42f9f0d839c40c53c613243314399c715c303d9221c1d9558bed4d159bc1b76c2ab8ff4831d32fc93b661650b9833ef7397559847c3a14763cdfa SHA512 72cb1b44ff2fd162fc76fa4993b24a2994545b2b5e8f23252729a55e2deb2d10cc9263dfbe6449a81e3e18beca0bd6506b295a7299696bb9fea628fd99dca555
@@ -72,9 +64,8 @@ DIST open-gpu-kernel-modules-525.47.26.tar.gz 10323511 BLAKE2B 00d9dd7bef6cf8ce3
EBUILD nvidia-drivers-390.157.ebuild 18829 BLAKE2B e8ea620be73e325613179bbfa02daf269699d2fa12f3338b3e1bab90f620d3ade276977e6037d603f6f7ea36bc5e803c10b415512335c89c0e2f82274265a241 SHA512 fe0e5b627eba87cf0b880636b11d15aea9968f941b162e3c785daabba6f556532328a8a4f4375b7b17a9d1329e58b86172e9d7d4815a304347a0f60e0f1d5d73
EBUILD nvidia-drivers-470.182.03.ebuild 19487 BLAKE2B 8c85ad2e1c300e62c29086a5153fd2a762763bd823a46fcff34df3e322591beebce94bfa6cf13f6ac266a53b37b8ce713465a29d299ac435dd81dd9508f71b3e SHA512 c44cf24eec21fa2f9b4a1e9dac7db5a6aa1ce88c14340708fe867911acec54a985b44dcb4efa222e883de394dab0c8b1b1fd8f59ed89615e57d666d1cb0ae4f5
EBUILD nvidia-drivers-515.105.01.ebuild 22072 BLAKE2B 2c60697e5c43596d569100e883b78c8b41029abad70ca1aa5d5c766be4583afc30ff04c7ba33fdbc07eee8eb9da55775ef06b15843b88416eb9d6d9000f61fab SHA512 91874095f309f8ecbbbe6b91f218b02bc8c61036045daae1424a9246cca732b2873dc9ffe79a1a6fe4b97fed9fad89abd37b770da6d6105cfefa03615411d710
-EBUILD nvidia-drivers-525.105.17.ebuild 21950 BLAKE2B 28cf57b8ced717ce6c72e9ea152ab9a47bcef0379025c82b0a37483a20c768ed810a00e1448b0f1883332a05a225a6fb0a5c8b72eccd667e524f7fe3ffd60526 SHA512 ca1301ecb041cdce7ada63e5b08761cbe3b1c0b448ebcc0dfb6f1d402df22d98ff86df209110e6f332d5711f712f002d2aea9bfe26dcf8d5bd7ea2270d0234cd
EBUILD nvidia-drivers-525.116.03.ebuild 21950 BLAKE2B 28cf57b8ced717ce6c72e9ea152ab9a47bcef0379025c82b0a37483a20c768ed810a00e1448b0f1883332a05a225a6fb0a5c8b72eccd667e524f7fe3ffd60526 SHA512 ca1301ecb041cdce7ada63e5b08761cbe3b1c0b448ebcc0dfb6f1d402df22d98ff86df209110e6f332d5711f712f002d2aea9bfe26dcf8d5bd7ea2270d0234cd
-EBUILD nvidia-drivers-525.116.04.ebuild 21951 BLAKE2B 72cdebeff1a429143dda55d2d273038aa4bdf96b4573bf9e304e0604a94749d1446bae782d903827af7bcf522e449ed3f26889745bbe2902c6c15dfe76ffad0e SHA512 3e7750947838ae9dbca7224e332c9c25b9766eed409bc55287d13b6159e22850102ba937d1b0727d84fd8ec6f3f10e29c83bdcc774ac65f3359b1ec83f5e30a4
+EBUILD nvidia-drivers-525.116.04.ebuild 21950 BLAKE2B 28cf57b8ced717ce6c72e9ea152ab9a47bcef0379025c82b0a37483a20c768ed810a00e1448b0f1883332a05a225a6fb0a5c8b72eccd667e524f7fe3ffd60526 SHA512 ca1301ecb041cdce7ada63e5b08761cbe3b1c0b448ebcc0dfb6f1d402df22d98ff86df209110e6f332d5711f712f002d2aea9bfe26dcf8d5bd7ea2270d0234cd
EBUILD nvidia-drivers-525.47.26.ebuild 21963 BLAKE2B 240a851f9ec1ea050d3d7544b902b31215288001c91c9454c9f9b1455fe418fd1429a08cb023acb8f1fad71fdd5fc3a0a78bc824fee497d7bda078a28dbfecc3 SHA512 6c378b85977dda2a8208520abf096b3e2bd17c23d5c3c4538664e32d8e639287f66f0156cb598a7a879791f3d7710aafad94a9d6ba69242ea6ff6b72693c744c
EBUILD nvidia-drivers-530.41.03.ebuild 21953 BLAKE2B 269d883e56e371af0e4870c3001113bad2053deef9ac9f604393875c2870b0d95a292a104b56a9006838df4e0b4bce77efe699c0184c935129cf093325dcca82 SHA512 445973a185dd53a163059fa20bf3e3604f1743b05860e49bf759c58cfc5dc71e3c6d4349892686b2d027364ef05db24ca34b2924b4401e56c697ce79a12b9a56
MISC metadata.xml 1340 BLAKE2B 8afeddcb3cb7ab0f83ecc0141cee9e3d8729baf5ce559d15a305c3efdeb4b172fbf86607aa5c8f546aaf7a704d837f13afffce615d3bc831bee63d77e0580afb SHA512 26fbfc0164ce57126d75f112859d91d21f17a5a9a48c7ab4d8bb9d7c8c63ce9fab9304f2992e61050dcae5e01836d4cb9b0384e680fe51ee5322efe39bc5693b
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-525.105.17.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-525.105.17.ebuild
deleted file mode 100644
index 5b5b3da2dd33..000000000000
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-525.105.17.ebuild
+++ /dev/null
@@ -1,633 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MODULES_OPTIONAL_USE="driver"
-inherit desktop flag-o-matic linux-mod multilib readme.gentoo-r1 \
- systemd toolchain-funcs unpacker user-info
-
-NV_KERNEL_MAX="6.3"
-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}{,})
- ${NV_URI}NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${PV}.tar.xz"
-# 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 ~arm64"
-IUSE="+X abi_x86_32 abi_x86_64 +driver kernel-open persistenced +static-libs +tools wayland"
-REQUIRED_USE="kernel-open? ( driver )"
-
-COMMON_DEPEND="
- acct-group/video
- sys-libs/glibc
- X? ( x11-libs/libpciaccess )
- persistenced? (
- acct-user/nvpd
- net-libs/libtirpc:=
- )
- tools? (
- >=app-accessibility/at-spi2-core-2.46:2
- dev-libs/glib:2
- dev-libs/jansson:=
- media-libs/harfbuzz:=
- x11-libs/cairo
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:3[X]
- 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(-)?]
- )
- wayland? (
- gui-libs/egl-gbm
- >=gui-libs/egl-wayland-1.1.10
- 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="
- sys-devel/m4
- virtual/pkgconfig"
-
-QA_PREBUILT="lib/firmware/* opt/bin/* usr/lib*"
-
-PATCHES=(
- "${FILESDIR}"/nvidia-kernel-module-source-515.86.01-raw-ldflags.patch
- "${FILESDIR}"/nvidia-modprobe-390.141-uvm-perms.patch
- "${FILESDIR}"/nvidia-settings-390.144-desktop.patch
- "${FILESDIR}"/nvidia-settings-390.144-raw-ldflags.patch
-)
-
-pkg_setup() {
- use driver || return
-
- local CONFIG_CHECK="
- PROC_FS
- ~DRM_KMS_HELPER
- ~SYSVIPC
- ~!LOCKDEP
- ~!SLUB_DEBUG_ON
- ~!X86_KERNEL_IBT
- !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."
- local ERROR_X86_KERNEL_IBT="CONFIG_X86_KERNEL_IBT: is set, be warned the modules may not load.
- If run into problems, either unset or try to pass ibt=off to the kernel."
-
- use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764
-
- use kernel-open && CONFIG_CHECK+=" MMU_NOTIFIER" #843827
- local ERROR_MMU_NOTIFIER="CONFIG_MMU_NOTIFIER: is not set but needed to build with USE=kernel-open.
- Cannot be directly selected in the kernel's menuconfig, and may need
- selection of another option that requires it such as CONFIG_KVM."
-
- MODULE_NAMES="
- nvidia(video:kernel)
- nvidia-drm(video:kernel)
- nvidia-modeset(video:kernel)
- nvidia-peermem(video:kernel)
- nvidia-uvm(video:kernel)"
- use kernel-open &&
- MODULE_NAMES=${MODULE_NAMES//:kernel/:kernel-module-source:kernel-module-source/kernel-open}
-
- linux-mod_pkg_setup
-
- [[ ${MERGE_TYPE} == binary ]] && return
-
- # do some extra checks manually as it gets messy to handle builtin-only
- # and some other conditional checks through CONFIG_CHECK
- # TODO?: maybe move other custom checks here for uniformity
- local warn=()
-
- if linux_chkconfig_builtin DRM_NOUVEAU; then
- # suggest =m given keeps KMS_HELPER enabled and can serve as fallback
- warn+=(
- " CONFIG_DRM_NOUVEAU: is builtin (=y), and will prevent loading NVIDIA"
- " modules (can be safely kept as a module (=m) instead)."
- )
- fi
-
- if linux_chkconfig_builtin DRM_SIMPLEDRM; then
- # wrt prebuilts, Fedora is pushing =y and gentoo-kernel-bin uses its
- # configs (bug #840439), but without Fedora's kernel patch to
- # workaround this issue (which is unlikely to work for us anyway)
- # https://github.com/NVIDIA/open-gpu-kernel-modules/issues/228
- warn+=(
- " CONFIG_DRM_SIMPLEDRM: is builtin (=y), and may conflict with NVIDIA"
- " (i.e. blanks when X/wayland starts, and tty loses display)."
- " For prebuilt kernels, unfortunately no known good workarounds."
- )
- fi
-
- if ! linux_chkconfig_present FB_EFI &&
- ! linux_chkconfig_present FB_SIMPLE &&
- ! linux_chkconfig_present FB_VESA
- then
- # nvidia-drivers does not handle the tty (beside mode restoration) but,
- # given few options are viable, try to warn if all missing
- warn+=(
- " CONFIG_FB_(EFI|SIMPLE|VESA): none set, but note at least one is normally"
- " needed to get a display for the tty console. In most cases, it is"
- " recommended to enable FB_EFI=y and disable FB_SIMPLE (can be quirky)."
- " Non-EFI systems are likely to want FB_VESA=y. Users with multiple GPUs"
- " or not using the tty may be able to safely ignore this warning."
- )
- fi
-
- if kernel_is -ge 5 18 13; then
- if linux_chkconfig_present FB_SIMPLE; then
- warn+=(
- " CONFIG_FB_SIMPLE: is set, recommended to disable and switch to FB_EFI or"
- " FB_VESA as it currently may be broken with >=kernel-5.18.13 + NVIDIA:"
- " https://github.com/NVIDIA/open-gpu-kernel-modules/issues/341"
- " (feel free to ignore this if it works for you)"
- )
- fi
-
- if linux_chkconfig_present SYSFB_SIMPLEFB &&
- { linux_chkconfig_present FB_EFI || linux_chkconfig_present FB_VESA; }
- then
- warn+=(
- " CONFIG_SYSFB_SIMPLEFB: is set, this may prevent FB_EFI or FB_VESA"
- " from providing a working tty console display (ignore if unused)."
- )
- fi
- fi
-
- (( ${#warn[@]} )) &&
- ewarn "Detected potential configuration issues with used kernel:${warn[*]/#/$'\n'}"
-
- BUILD_PARAMS='NV_VERBOSE=1 IGNORE_CC_MISMATCH=yes SYSSRC="${KV_DIR}" SYSOUT="${KV_OUT_DIR}"'
- BUILD_TARGETS="modules"
-
- # Try to match toolchain with kernel only for modules
- # (experimental, ideally this should be handled in linux-mod.eclass)
- nvidia-tc-set() {
- local -n var=KERNEL_${1}
- if [[ ! -v var ]]; then
- read -r var < <(type -P "${@:2}") ||
- die "failed to find in PATH at least one of: ${*:2}"
- einfo "Forcing '${var}' for modules (set ${!var} to override)"
- fi
- }
-
- local tool switch
- if linux_chkconfig_present CC_IS_GCC; then
- if ! tc-is-gcc; then
- switch=
- nvidia-tc-set CC {${CHOST}-,}gcc
- nvidia-tc-set CXX {${CHOST}-,}g++ # needed by kernel-open
- fi
- elif linux_chkconfig_present CC_IS_CLANG; then
- ewarn "Warning: using ${PN} with a clang-built kernel is largely untested"
- if ! tc-is-clang; then
- switch=llvm-
- nvidia-tc-set CC {${CHOST}-,}clang
- nvidia-tc-set CXX {${CHOST}-,}clang++
- fi
- fi
-
- if linux_chkconfig_present LD_IS_BFD; then
- # tc-ld-is-bfd needs https://github.com/gentoo/gentoo/pull/28355
- [[ $(LC_ALL=C $(tc-getLD) --version 2>/dev/null) == "GNU ld"* ]] ||
- nvidia-tc-set LD {${CHOST}-,}{ld.bfd,ld}
- elif linux_chkconfig_present LD_IS_LLD; then
- tc-ld-is-lld || nvidia-tc-set LD {${CHOST}-,}{ld.lld,lld}
- fi
-
- if [[ -v switch ]]; then
- # only need llvm-nm for lto, but use complete set to be safe
- for tool in AR NM OBJCOPY OBJDUMP READELF STRIP; do
- case $(LC_ALL=C $(tc-get${tool}) --version 2>/dev/null) in
- LLVM*|llvm*) [[ ! ${switch} ]];;
- *) [[ ${switch} ]];;
- esac && nvidia-tc-set ${tool} {${CHOST}-,}${switch}${tool,,}
- done
- fi
-
- # pass unconditionally given exports are semi-ignored except CC/LD
- for tool in CC CXX LD AR NM OBJCOPY OBJDUMP READELF STRIP; do
- BUILD_PARAMS+=" ${tool}=\"\${KERNEL_${tool}:-\$(tc-get${tool})}\""
- done
-
- 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
-
- 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}.x"
- ewarn " <=sys-kernel/gentoo-sources-${NV_KERNEL_MAX}.x"
- 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 "(Gentoo will not accept patches for this)."
- 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
- mv NVIDIA-kernel-module-source-${PV} kernel-module-source || die
-
- default
-
- # prevent detection of incomplete kernel DRM support (bug #603818)
- sed 's/defined(CONFIG_DRM/defined(CONFIG_DRM_KMS_HELPER/g' \
- -i kernel{,-module-source/kernel-open}/conftest.sh || die
-
- # adjust service files
- sed 's/__USER__/nvpd/' \
- nvidia-persistenced/init/systemd/nvidia-persistenced.service.template \
- > "${T}"/nvidia-persistenced.service || die
- use !amd64 || sed -i "s|/usr|${EPREFIX}/opt|" systemd/system/nvidia-powerd.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
-
- # makefile attempts to install wayland library even if not built
- use wayland || sed -i 's/ WAYLAND_LIB_install$//' \
- nvidia-settings/src/Makefile || die
-
- # temporary option, nvidia will remove in the future
- use !kernel-open ||
- sed -i '/blacklist/a\
-\
-# Enable using kernel-open with workstation GPUs (experimental)\
-options nvidia NVreg_OpenRmEnableUnsupportedGpus=1' "${T}"/nvidia.conf || die
-}
-
-src_compile() {
- tc-export AR CC CXX LD OBJCOPY OBJDUMP
- local -x RAW_LDFLAGS="$(get_abi_LDFLAGS) $(raw-ldflags)" # raw-ldflags.patch
-
- local xnvflags=-fPIC #840389
- # lto static libraries tend to cause problems without fat objects
- is-flagq '-flto@(|=*)' && xnvflags+=" $(test-flags-CC -ffat-lto-objects)"
-
- NV_ARGS=(
- PREFIX="${EPREFIX}"/usr
- HOST_CC="$(tc-getBUILD_CC)"
- HOST_LD="$(tc-getBUILD_LD)"
- BUILD_GTK2LIB=
- NV_USE_BUNDLED_LIBJANSSON=0
- NV_VERBOSE=1 DO_STRIP= MANPAGE_GZIP= OUTPUTDIR=out
- WAYLAND_AVAILABLE=$(usex wayland 1 0)
- XNVCTRL_CFLAGS="${xnvflags}"
- )
-
- if use driver; then
- if linux_chkconfig_present GCC_PLUGINS; then
- mkdir "${T}"/plugin-test || die
- echo "obj-m += test.o" > "${T}"/plugin-test/Kbuild || die
- :> "${T}"/plugin-test/test.c || die
- if [[ $(LC_ALL=C make -C "${KV_OUT_DIR}" ARCH="$(tc-arch-kernel)" \
- HOSTCC="$(tc-getBUILD_CC)" CC="${CC}" M="${T}"/plugin-test 2>&1) \
- =~ "error: incompatible gcc/plugin version" ]]
- then
- eerror "Detected kernel was built with a different gcc/plugin version,"
- eerror "Please 'make clean' and rebuild your kernel with the current"
- eerror "gcc (or re-emerge for distribution kernels, including kernel-bin)."
- die "kernel ${KV_FULL} needs to be rebuilt"
- fi
- fi
-
- local o_cflags=${CFLAGS} o_cxxflags=${CXXFLAGS} o_ldflags=${LDFLAGS}
- if use kernel-open; then
- # building the nvidia "blob" fails with lto, and also need
- # to strip in case of a different toolchain for the kernel
- filter-lto
- strip-unsupported-flags
- fi
- linux-mod_src_compile
- CFLAGS=${o_cflags} CXXFLAGS=${o_cxxflags} LDFLAGS=${o_ldflags}
- fi
-
- 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
- CFLAGS="-Wno-deprecated-declarations ${CFLAGS}" \
- emake "${NV_ARGS[@]}" -C nvidia-settings
- elif use static-libs; then
- # pretend GTK+3 is available, not actually used (bug #880879)
- emake "${NV_ARGS[@]}" BUILD_GTK3LIB=1 \
- -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
- [FIRMWARE]=/lib/firmware/nvidia/${PV}
- [GBM_BACKEND_LIB_SYMLINK]=/usr/${libdir}/gbm
- [GLVND_EGL_ICD_JSON]=/usr/share/glvnd/egl_vendor.d
- [VULKAN_ICD_JSON]=/usr/share/vulkan
- [WINE_LIB]=/usr/${libdir}/nvidia/wine
- [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=(
- # nvidia_icd/layers(vulkan): skip with -X too as it uses libGLX_nvidia
- $(usev !X "
- libGLX_nvidia libglxserver_nvidia
- nvidia_icd.json nvidia_layers.json")
- $(usev !wayland libnvidia-vulkan-producer)
- libGLX_indirect # non-glvnd unused fallback
- libnvidia-{gtk,wayland-client} nvidia-{settings,xconfig} # from source
- libnvidia-egl-gbm 15_nvidia_gbm # gui-libs/egl-gbm
- libnvidia-egl-wayland 10_nvidia_wayland # gui-libs/egl-wayland
- )
- local skip_modules=(
- $(usev !X "nvfbc vdpau xdriver")
- $(usev !driver gsp)
- 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 SYSTEMD_UNIT # 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\
-$(usev 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 && usev !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
- doins "${T}"/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: ]] ||
- [[ " ${m[0]##*/}" =~ ^(\ ${skip_files[*]/%/.*|\\} )$ ]] ||
- [[ " ${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
- ;;
- GBM_BACKEND_LIB_SYMLINK) m[4]=../${m[4]};; # missing ../
- 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|^libnvidia-egl-gbm.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
- : "$(systemd_get_sleepdir)"
- exeinto "${_#"${EPREFIX}"}"
- doexe systemd/system-sleep/nvidia
- dobin systemd/nvidia-sleep.sh
- systemd_dounit systemd/system/nvidia-{hibernate,resume,suspend}.service
-
- dobin nvidia-bug-report.sh
-
- # MODULE:powerd extras
- if use amd64; then
- systemd_dounit systemd/system/nvidia-powerd.service
-
- insinto /usr/share/dbus-1/system.d
- doins nvidia-dbus.conf
- fi
-
- # symlink non-versioned so nvidia-settings can use it even if misdetected
- dosym nvidia-application-profiles-${PV}-key-documentation \
- ${paths[APPLICATION_PROFILE]}/nvidia-application-profiles-key-documentation
-
- # don't attempt to strip firmware files (silences errors)
- dostrip -x ${paths[FIRMWARE]}
-}
-
-pkg_preinst() {
- has_version "${CATEGORY}/${PN}[wayland]" && NV_HAD_WAYLAND=
-
- use driver || return
- linux-mod_pkg_preinst
-
- # set video group id based on live system (bug #491414)
- local g=$(egetent group video | cut -d: -f3)
- [[ ${g} =~ ^[0-9]+$ ]] || die "Failed to determine video group id (got '${g}')"
- 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() {
- 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 [[ $(</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 [[ -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[1] branch if possible (not all old versions"
- ewarn "are available or fully functional, may need to consider nouveau[2])."
- ewarn "[1] https://www.nvidia.com/object/IO_32667.html"
- ewarn "[2] https://wiki.gentoo.org/wiki/Nouveau"
- fi
-
- if use kernel-open; then
- ewarn
- ewarn "Open source variant of ${PN} was selected, be warned it is experimental"
- ewarn "and only usable with Turing / Ampere and later GPUs, aka GTX 1650+."
- ewarn "Please also see: ${EROOT}/usr/share/doc/${PF}/html/kernel_open.html"
- ewarn
- ewarn "Many features are not yet implemented in the drivers and limitations are"
- ewarn "to be expected. Please do not report non-build/packaging bugs to Gentoo."
- ewarn "Switch back to USE=-kernel-open to restore functionality if needed for now."
- fi
-
- if use wayland && use driver && [[ ! -v 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 wayland."
- elog
- 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
-}
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-525.116.04.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-525.116.04.ebuild
index bac11bc28c67..5b5b3da2dd33 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-525.116.04.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-525.116.04.ebuild
@@ -23,7 +23,7 @@ S="${WORKDIR}"
LICENSE="NVIDIA-r2 BSD BSD-2 GPL-2 MIT ZLIB curl openssl"
SLOT="0/${PV%%.*}"
-KEYWORDS="-* ~amd64 ~arm64"
+KEYWORDS="-* amd64 ~arm64"
IUSE="+X abi_x86_32 abi_x86_64 +driver kernel-open persistenced +static-libs +tools wayland"
REQUIRED_USE="kernel-open? ( driver )"