summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-06-05 11:08:12 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-06-05 11:12:10 -0400
commit0a20a7c54bcbbc5f7629925e80189922d6037994 (patch)
tree9ce3a7d0016f74a4526789ae99df82289406d2fe /x11-drivers
parentdev-python/pydevd: Deselect flaky test (diff)
downloadgentoo-0a20a7c54bcbbc5f7629925e80189922d6037994.tar.gz
gentoo-0a20a7c54bcbbc5f7629925e80189922d6037994.tar.bz2
gentoo-0a20a7c54bcbbc5f7629925e80189922d6037994.zip
x11-drivers/nvidia-drivers: add 555.52.04 unkeyworded (beta)
Unusual for a 2nd version, but Still marked BETA by nvidia. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/nvidia-drivers/Manifest8
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-555.52.04.ebuild502
2 files changed, 510 insertions, 0 deletions
diff --git a/x11-drivers/nvidia-drivers/Manifest b/x11-drivers/nvidia-drivers/Manifest
index b9973319263f..27fce176bf99 100644
--- a/x11-drivers/nvidia-drivers/Manifest
+++ b/x11-drivers/nvidia-drivers/Manifest
@@ -4,6 +4,7 @@ DIST NVIDIA-Linux-aarch64-535.183.01.run 269908911 BLAKE2B 93665bfd2c66391b232c0
DIST NVIDIA-Linux-aarch64-550.78.run 236152931 BLAKE2B 1ae4edd55f762a18243501acbe9ce82c77aa4ce86e30a30d36499279d6672f0840c134707a6638529e3d496e48f8ef82139615fe79f54686b9c113c8aadc05cb SHA512 b823c031b5adbe6a19c1bb69bd990d0d4dbcb371628f7933843fb935547d9a749a359db54ab252bf7fa54797da21357d9eb6c020b1fe947cc2aeece3302fde70
DIST NVIDIA-Linux-aarch64-550.90.07.run 236478345 BLAKE2B dba3321c10e14afcf95a7d97173635b066881e56bcbaff3e9ba1ef4dafa132342f3ad39f4ffe0359259f9f3e1b2fd95746a84be09f6d30de5effde1c7fcd4731 SHA512 79b956ad890a096bfb00c9dd996cba0673200b1d61f702ea6c5c64ca3fe2cefdd61e2bc844fdb7b4668c2796af5399be51e6f511565c3799cf731de2a7e9efaa
DIST NVIDIA-Linux-aarch64-555.42.02.run 234097043 BLAKE2B 82664f7ef7ed9c38dfbb21498174d24f2a6d44cc2ff7d00dceb16019d1d8f24861b4db5c1ff3dc265a4d3fd8c50ac1abafa8dd8df272242f2b67a1395c87bf7c SHA512 44fa733b593ebb90992224b4d174b2101714ce8503961756ef4525547d7daf3abbdda896637f9f204e10dfffdc3eda7739c5c7747740726ca59eb122d6e4c243
+DIST NVIDIA-Linux-aarch64-555.52.04.run 234131612 BLAKE2B 9dd9d2e5c161c2dbf7afef8f38b746ec87b48821ff889ecb5fa801f708321bb9fca16a2fda4c0a191fbcfaa19049bec2ab16aeae6cbe27bf850ae9a396c6db11 SHA512 2b80791be01b95adc24b291ff9864ece3aea351a739353feffd124a7c996cd940f1306b4a28d624f1b96259f1e2152ef9200ca64a4afe8a765de8a7759abf0db
DIST NVIDIA-Linux-x86-390.157.run 49417041 BLAKE2B 435b5e0e60468cc74b41cc5d9b5bb0105d29c11a2d408457835212a96519c9334ecf19278b36749d3ff7f498f5b0ae45a2efae2d428703dac21245c62f1efebe SHA512 dae9ac2c12f9ad90f7441e00e01a984147c577892421911d7f67f6a31e616ac1cb7d434bc9c7f58fbd9b8ae909521b5bece607a63c79588c0bb9d99c6bad5fb0
DIST NVIDIA-Linux-x86_64-390.157.run 85835541 BLAKE2B 44b855cd11f3b2f231f9fb90492ae2e67a67ea3ea83c413e7c90956d38c9730a8bd0321281ae03c6afce633d102f5b499aed25622b9bfd31bdd2c98f0717e95b SHA512 4780503a4cff0180b1b1f37d20a6ba3438dd78b51fa7f69b98d35521835e5d61099129746929d51d63afa2d47b672b3e145e1e1897584dc3799e7f822c5b3a0a
DIST NVIDIA-Linux-x86_64-470.239.06.run 272849102 BLAKE2B 556c8f7058b83d8c4c7ccb2f62619ac001f7c3868b80ee091e2949fb7b35e136fec83c15efcf4dd4c99d312f8c36f83c76e250d18d091e053355396b8347af11 SHA512 92bdfb11db405071cd58deed2a0853448932657e256258e0a0bda5069f00485e2b6e49b4a0eeff499a4991be4f884273f3564c164110b1ed1f5d924506f13e2d
@@ -15,11 +16,13 @@ DIST NVIDIA-Linux-x86_64-550.40.63.run 311906744 BLAKE2B f1cae98e5d5e6cdcc0837f4
DIST NVIDIA-Linux-x86_64-550.78.run 306886562 BLAKE2B acc9e787d0cbaee86fc568010a67314a6d3a133f23ebc8aa622f253f92b27df9969a197084a3eb71442c51b5a599361fab4a38c93e3f85898ed6a68bb965aa6e SHA512 02c69e2699cd20c99bf147139920ce4708c0e4224b7234c499481996e45a879f29ebe1e5eb0e94f756bf8290d2a019050dd92add9ad375ea3bd5e21704823249
DIST NVIDIA-Linux-x86_64-550.90.07.run 307583808 BLAKE2B 2bb4c03d4df42c0f6847bb0b088e9f0094382acac4a87204721dfe09a4b555373b4a9f0e6984ad65bdf98ade7cc70b316222413a94824bdc89926bb9b46db0a4 SHA512 b8c2cdc918ec74b44517fc181f9eb08ea44d0d9a53f221c0aa243e34872203721a9a7fb27628d35e3028a6aa68917abd2962cc13d5d4b09e92866e14678567a4
DIST NVIDIA-Linux-x86_64-555.42.02.run 304024834 BLAKE2B 41a87750da7d67cb48e7ca1fde805b36a2707e6f04582dcd356cb2756490daa484a7efcc9efeb989b0e58a4132ab1652c3c76a1903aff9997b3c2eb25d708a84 SHA512 d19208896d0c0415fad5148999d08ef4e89e27c75b6b81a295345b349839e51a04a50428177d900300be9629c43a192ee4774f99d30fc5a98084a6725cf2a251
+DIST NVIDIA-Linux-x86_64-555.52.04.run 304165755 BLAKE2B 1390526c0687931624c11cf8cc800d51a24f0d5a0dd684f1046ddea9c95353a9410c573c147fad64e9dd32c65d75a18b6be4266967b6b9bc80fe5c9b34438e45 SHA512 4b0b082105013e17d67976e12fc88607f4c7d89880ca1b13e0fb79f90f0173e472dda17b28cc1d3bbdfb80062c91ee237ad0f0f5ae8a894bc3f3f680bbf0c5ee
DIST NVIDIA-kernel-module-source-525.147.05.tar.xz 10140684 BLAKE2B a8ce7c1d1047be9154fd67366c5bfa13a19f03c883f24ee35043d17d517e83303420449750f9e7adc7142f61564dd5d8e5a19884dbe540514979df6381ff7f1f SHA512 58920b26081a68e05178176edb0ce8ac4a5d365492adf51d6ffe57102385ff08abc5e14741e0500419e62a752441c97051d60939245eea64b039cc7efca15b7d
DIST NVIDIA-kernel-module-source-535.179.tar.xz 12509824 BLAKE2B 5380e5d06fbe372cccb5fca4b53980ba08baf0daf5f00aa72ae7995d0fdb0b9cdf4400a950ddd428a684153c59a000b99f5deffc409127b2869af5a541c1beac SHA512 ef70dc527fca2d0ffdc2c6052e0eafeb1c5520663cbc983a374c6741208260605ff689ff3b8383e2d9563311f3f156c5e43a083433ac22933424116f5a0953b5
DIST NVIDIA-kernel-module-source-535.183.01.tar.xz 12521824 BLAKE2B 5ae8c2c0d9d019b99c947f1581712989325815cfe88ee308df0b710b64c4bc5c501c9741c67e25c47eaf7a114c521a595aabc85d0f05854c0692216f320378c4 SHA512 1c255eeafc79d228b3d76d1d20d1a2dc4583cbbb77db6af48b389694b0daaabd7c1962cf73e1a489e0ab07cf57751770ff8ce5f2489f2489a211e39bd7436637
DIST NVIDIA-kernel-module-source-550.78.tar.xz 13468756 BLAKE2B 3f8786d1ca1aa84fa4cf68cdc4044332df19de40688eee280ab04da4fb7eb2d6be4e198b4315db8125f4c9f4351730dfd1631ff7adc0cee8c82898de9c8d7f2e SHA512 ac636712b3be56d29ed6f0dc91f5591a43c499f971b45e606104d47b93667a866314f178ddf752bdfe9b79357ab59dcaf644a64de3a35fba74228b56a5993895
DIST NVIDIA-kernel-module-source-550.90.07.tar.xz 13504752 BLAKE2B 0bc4e882cba6408db0a62323764b4302d77ce5dae801ec46bd1c08946358624776c2e36ee3dbc070c40ee1b77a4fa6b303c5a73ef311ba1f8d1454f48ace58eb SHA512 f2f0deabce609fbd5125110e7e0bb3b758491d365a6e8d975bb4893f588403faa9f25b7e03218a4ada54dc916a8fbe955f042dd2e8d53bcc69e81f5e22aece82
+DIST NVIDIA-kernel-module-source-555.52.04.tar.xz 13673476 BLAKE2B e30287bb46132a0d1dae9086ee9af8df279106c71072ae92eb3eb6ae8b9259f0cea3f84f6c238c60f62fec7ac586e33de14e37e59e7b009224a02f017a68550a SHA512 e75107a19c119eb64ad92793009eafccc719d8b5a16b243d7735a246558b3def3a06da5250060816a2aefbad50ccc263ac787359fa4d291280b071691b148780
DIST nvidia-installer-390.157.tar.bz2 150323 BLAKE2B 8058ca87a6dea956d564af9f7eab9b1fc82b1f2382bd5cb2f6d97cbe2e19292533522d5f8f2eacbeb16520372715fcb72f8f9b0998962af5d4e75522c8d74524 SHA512 93a7ece648602157496c8e27a88864ede341a100f5328a4c1a25faf8f0b94d252060e5e2f71d0c302fd0566c10773c30b76b3b5f431d8039b71c90a7969f7d7e
DIST nvidia-installer-470.239.06.tar.bz2 146286 BLAKE2B c288c0455e6426d0e18ab7b9f5c0437af50420bdf86cebd798dd3aca463341e831808ecb297d9c3233d50a4e9dac435f8114d6eb2ed2fcb6c39be7824c3dc95c SHA512 e60f6d295649557c3c316174fb37ca0ae6e57604bc3880a3b5929b33ff6d7cc8ef74a118f9075795b81d36b6a4107a02fbad0acbca18b78d05e5d9e7998c82a8
DIST nvidia-installer-470.256.02.tar.bz2 146269 BLAKE2B 4402e725c8fd0157eb84d4ec140a33f97e873014577487ef1e32fb8921cabe79c60ff46532e5bfaabb2b6ac894f7c80086dbab19e61906e2e27346fb85f98829 SHA512 c962dc17d9696256d1ebedcaeb3010994f2ce3895aedc47987599ebfec132a9b9a249d2ece6502b15bd4a93f9b0106aa13487a7da5f64199c274ce11eba27cfd
@@ -29,6 +32,7 @@ DIST nvidia-installer-535.183.01.tar.bz2 148412 BLAKE2B 6eff47169ab5b2b4bfec5917
DIST nvidia-installer-550.78.tar.bz2 155771 BLAKE2B 8834c210e35485548a63c42d976cc85cb8e41f9f2fb171dce179a28041a664d750239c55cf87522852efd63710a21fac2274829feac886a61d2da2e700f6927b SHA512 42617f36213a7b566da72d8ed71fbdd5470a2aed50142759882fd72875e011ad5a269eea23f71c91b23061845db82f07ef811be6017d177ac54cb170a1722473
DIST nvidia-installer-550.90.07.tar.bz2 155441 BLAKE2B 16a22549ac3b188933d2a0ed875aefcff01a195741d309641b343cafca4d62c7c269f5864dab94a231d23f323986b9c28c2f4472a922548f411aa569e04eb47a SHA512 7d902e2e26b752ab10945e12864624b809b48236499eeee50c838129b843ecb3ac263579ef0cfcd87cbe3292c5f3b39e3e6e33b98bb6f9ff5a2aa5c05363f20c
DIST nvidia-installer-555.42.02.tar.gz 219438 BLAKE2B 82d0c35e4ace7130992c3a1a4dcb79bd200bc61a9215a73b33a0e4383083708acbb3b0ecd164929cb2cd14b96e99ed2119deecc6aafaf99b77aae453bd15e287 SHA512 37cd1b42b3bda830c3eff7b9e7a124dcb5a35883e769ebdef8f4b62e70b3139eafeb8bc42e1b10fb0a37a2723caf7354d5b2a30056fc87388b88a1ea406214e9
+DIST nvidia-installer-555.52.04.tar.bz2 158441 BLAKE2B 4b5df4ab47d5f92f3823c36a54a7394b9751330a8bbf2525e6f93ad84c71314a29efd2e0b88a73f3cbb9f3ed638efa03b54cb2624f8f18edd8bd6b80a9d5595e SHA512 db13ac390e54957ea51dea2448c71e075db541ac3cbfbe709cbd8780ee7d028e7a2449fe00c12597a61413cb0279d9f68c07f0af932501b185ac521b3afbc1b3
DIST nvidia-modprobe-390.157.tar.bz2 35306 BLAKE2B 80d202b39c2f95ec0f909712c2e101483af50124092c32efb33bd98ff58ddfb97b737ff07f1ddc941f688c1b4c26a15f392566d522e18506771f10422fcd571c SHA512 109bbe24a3758b568ea65fe1e9d78f69fae6108ec0497b796c885a3912825fe04ffd7389a3e22987f1a10a2926bf6eaa384faabc59478aa3ee244dd3ac91c6d3
DIST nvidia-modprobe-470.239.06.tar.bz2 38783 BLAKE2B d572bfb18b0ff99606a5ca909c0f4e45709d69dbcbba43ce37e570d4dfa2dae11fab352129879418af2af26d8ad20eb976e9c2e4d181895bdbec00beb61a9fc6 SHA512 9293b33b4c14e5f873846fba3526059b6605d70a4d7e35c7032c3ed89cc7a6a71e04b344695093d97ed3280ec2094988105144e8c66dc037ed5eb8292022eec0
DIST nvidia-modprobe-470.256.02.tar.bz2 38769 BLAKE2B 0db444b09b0b6d24c04877fae95249e781d82b3141f90eb05d869b64d2b6e65ad00bf44c4e427c64dbd4765fa99a8699f80a1d95b00c66137a54dc878d7ea298 SHA512 c1cbfa6c8e188e5a5eb5d390b9a903406cbff103d212fc30e611e4023be3fde896ad84e8bb45b030beb5d1bcd8155c9e55a8f9636c45ce1e2a5c03f672989a31
@@ -38,6 +42,7 @@ DIST nvidia-modprobe-535.183.01.tar.bz2 40623 BLAKE2B 52c6f6758b6881ef61a41a7e24
DIST nvidia-modprobe-550.78.tar.bz2 41538 BLAKE2B 6cac94baccb3cd402d42140803317856feb659cde43613e8b59c37f6f0b8e5697cfd9583002ab40d0ab53757a64d902f8fb3a7e302a2ca11022b6fbd9188fac3 SHA512 e97501946ec6250a0778c99fe5ba2698cc0d4a49c19bbcedf60a20aedfc722cf56b31a75dccaf19a3a44852b52451fcacb7b84b6529a84a8313fc6afe8a99439
DIST nvidia-modprobe-550.90.07.tar.bz2 41494 BLAKE2B c76ca53c8461af8a19b41f1e167785ad3db0c97df6e5b860300793facd5db8f3dfa1053e8e96b98eb1261850c5aefce4be77e2c8f26787eff1584c07a10114fd SHA512 40d8d1ed0a230ffa8f63b6f4dfbcecd0712347b326371552b29d5d00f3def72e145056a896bb04389095f06ffb0b4bb51b24ee226cd3ea638ff479dfd40c1139
DIST nvidia-modprobe-555.42.02.tar.gz 47294 BLAKE2B 07a29c7e8d36d69ffd9544396cc2660a405c1b42f67928e23c19e95802fd5a2ad99580f75f8aef4849f89714dcc1413b069a70d661873bdcc61a8fc8e23720a1 SHA512 e6a8d6be5e7f73b3fc000bb932e1ce54c0a6917c982c78ed0522041b76fd6453f5c0240fdf9c50e132ee09aef59f8f834f3e2708d5390412354fa9b5a1e1833d
+DIST nvidia-modprobe-555.52.04.tar.bz2 41687 BLAKE2B 1b6722fcc72ca0149d0b0186c89685e0fe5e95ffda8c94b0962de70382a2307e6aa3627deea1ad9f3740a65840a6260806827b3f30f66e2e2b0899865662de9c SHA512 9137eb69577e9c1eb81b34e3ada7beb235b6571d5069b82dca0acc4190699af66aee42224ab71081329f08685ed4f7ba795b0fb734d7a4fcdbffe9e72d42d296
DIST nvidia-persistenced-390.157.tar.bz2 48654 BLAKE2B 2cf6c92da90acff55e8c180a06b0c6a29d48be9fd8ca3c541202fd14f0697220fba6b66452942aa7ae7cc8821f5c5eb9fa8f7a31d2248624e5f9141d83a176b8 SHA512 70f0707ed6f2b877e69ef90cf782f66cbc9d2071db53ca09ceb7b89427b0fe176708517340621fa251539b7d481b238adeeb60261674eed74de1f62db6dbb72e
DIST nvidia-persistenced-470.239.06.tar.bz2 46554 BLAKE2B 41d8ba35f68dd4609cd215249913790b150c22410c3c6b3675d7003136b660f427e14d48abb9495851d18028042ecbd1cf0557bad877fe5b0e5e6cf15d90b77c SHA512 69ff1cf92e90e5ef87d44764abf165cf3540d321264962dc09e093bb9c1e767f468e9d1e989f43a14d1ba47fc24f1e34252bf478743a80f51373d4bd20baf6fa
DIST nvidia-persistenced-470.256.02.tar.bz2 46567 BLAKE2B 8f837322a3b88412fd2f6acf38721b49a6cb444fbd842d652519e5596f2e545d8f06bbdf017f46a22301ce87455f96147fab2829ca5fbf26131ec3e4a772e282 SHA512 4fd19258649b7d39945fb5c8578bf11ab118617dd14f3d11cdf15cb3fe77daf7b4719e4ae57af59031b1b809d02f4e8e8afed0ec60b9d0aed4d2488bd3013cd9
@@ -47,6 +52,7 @@ DIST nvidia-persistenced-535.183.01.tar.bz2 48585 BLAKE2B 8f000f85ff959b86e7e0a4
DIST nvidia-persistenced-550.78.tar.bz2 49682 BLAKE2B 860785b94f35affa85fc6fa4f68508cc63e841168534be9bb762f82e72fe89434a32e265722a3f37cb3ffc2f41c57fae354a5b6679a68b40269efeecc81b37f9 SHA512 86dbe155a8270a292dc68b2ad8e9ab751d0e06fbcbd906085cafdbd3a681449159dcd1842ee5e2c9b09c157f035e2759e32b8fb8b654c36fb48f1de789e97118
DIST nvidia-persistenced-550.90.07.tar.bz2 49680 BLAKE2B 0055472f692f8bc0d94a0b758d63c1e3197d88ecf6bec8418e47ee354b4d9f9c367a88e9859cafa0eaebfc622927c4208fa9d6b33493e40f9ecbddaa89637b52 SHA512 60fed926b2d8778345899ea15d455ac59677f7e8b0ce0416d404403ca51269217d55a0c67c0a180d9ee08e9160899e10a28b59c48e76e9a4d3521ab422778061
DIST nvidia-persistenced-555.42.02.tar.gz 57896 BLAKE2B 57d5af52f90bf58e508e3887e0173cb06ba698f80c7ecc3aa40aa95f58d1a4e8df6debc2919163915dbfb5a1e261ca907cddb82ed5b0e9bb6a034f4e3fb6389c SHA512 a55af8d16c5c0bf586319b57af589862fe0d00806f18042537095c4fbfcbc22fbadfb3d39bae0b80508cc458eb9b0be871d48a141f20fa6563459125382db072
+DIST nvidia-persistenced-555.52.04.tar.bz2 49892 BLAKE2B 7a8063361ccb7daceb4502f9caa3f84d30e489e46031cdf862170f28429cb5249ce3b5da89a6927c03eae17e48b7617d3a8a0b015845574fb15f73e1f4ce9d60 SHA512 5525316e33363b6ce6f4a6885e36659b17b948efeb5ffd509cd3206c586ee723d5e10c2e10b03375d8db0d06cd1408d2e02329441c20a1da74907ae7cdd49462
DIST nvidia-settings-390.157.tar.bz2 1108938 BLAKE2B d9ec1ab5d7f157d74627272adf752a671dd17e2ede02069437b6180b927fe315b15cc6416d584ab2f038b76fe01e5b64514a834f24d88ac16676e55205fdecdd SHA512 b16699009bf56a1ff3b623a528c58061c4f5a2c5c4a373756a07bcd667743a1df7c733a572d2d0baa835a904ac2fda8a5c85890dcc00c3a0f223e0467aea902d
DIST nvidia-settings-470.239.06.tar.bz2 1062310 BLAKE2B 1154421feafe40a0ce0e980374a60f325801f52a03af9f96ea9411c61de6c7bf8049dd2750204ae53a570ebe600c7972cdefcee84886fb2a6c170affd00d51bc SHA512 a1f70491bb8bb06a802c3db36858c8956fb93db463b46c13bd8dc4fa81ff4aea01bb53ebbc9b4d18da241c4442e8d17cb4204fdcbb5a8ad3e23275b7205bf3c1
DIST nvidia-settings-470.256.02.tar.bz2 1062273 BLAKE2B 8e66201e7861469b12932595ef8f9fd29d4cfd570c2576ae7fbb7383f61c55ac71fe721cc431e79d6d69f86d998b5b4c3cafe531b573f439e6b499b0fc047a19 SHA512 626e66118ae2e62eacfdf44e37529c409b945a6f33637b9690d74abd87a2afb581aaca5f90328d280da99ceb659959d0e5dc5c22ef8013b2205b2b1c72e08007
@@ -56,6 +62,7 @@ DIST nvidia-settings-535.183.01.tar.bz2 1094944 BLAKE2B 70d8deff3b587f54fcc6eb9b
DIST nvidia-settings-550.78.tar.bz2 1099746 BLAKE2B a57b4731109072c9bf2accdffebf3ac4e12c964f85e4a70b6058f2e78843caa1cc46d468de87ecb01965787323af9bcbcecde1d72f5ecf5a18d9d122391af52a SHA512 f7e1a82f86cadb78b5c5b6482893fd949cc5017ca052ce083aec4ad0e48d83c35330ed9e2d970fd49c4907bec8cda8231d34b66f47cf0187a25735159989d42e
DIST nvidia-settings-550.90.07.tar.bz2 1099159 BLAKE2B de06cdc13bf6fe1f20cb9173928b6931bbd92fdb410b3914fa0425397024fe5da34493c4534b1650745082ea4deeb77db0c17d21692ce17717e022158a3e361f SHA512 b4a8d9f57c8067af78293e2522de137569dced0b23013f8bd8fcebe1558ee1bad3838eb52a792044f31cd0d380cf2bd630d2b36968c71a602b7b0889ebad0696
DIST nvidia-settings-555.42.02.tar.gz 1280477 BLAKE2B af1bf7433dc376959637412ea4b10b5fb77beb3e0ad7a82a1146e133a5cbd924edbe394d0b93f76b93022da13f723ce32df301bea73c0a634ee1a7d0f20bf12f SHA512 2807ce9ae077c979f38e22aa7da75f0afcb588d776c6ee8d84158076da1933fef7f86adfed52c29159823fa60ebefe5a5fb0c1591ead36c72ab73fd4376359e8
+DIST nvidia-settings-555.52.04.tar.bz2 1100172 BLAKE2B 0a464a5ac5a79256c4b29e063f68ba77eb34dcded2da5e343d1c4ef2779c650c5f853d4d1c3b0dc09af433604d53e0dbd55a458331e30dcd3130b6068333b927 SHA512 cb760b712e15424afe7e5241dddbf06d56756178c02320d974cf0b3eaaa946f35b1a485fef975ea826319613c6316d529426d52ab50f305212707c849da8bdb7
DIST nvidia-xconfig-390.157.tar.bz2 107399 BLAKE2B 0cbb3b1ba508ddc3ba4a161c290b31bf7a67f67880bdbd01171a962c5fa97ca945b1ef17932403f8589309380743f1da632c728d8accb6d4e56dbd895e7486bb SHA512 50b390811c9bf091b14add41f886925b17496b41006b7d3981d2398caa65cf5db8a579c8cebed78278384bf3acc629befb07b54339c61abcc75852c0dcb8b8ca
DIST nvidia-xconfig-470.239.06.tar.bz2 108687 BLAKE2B e400a59b4626b37abd12893438774737f18500771c8fd8d63e7060e80463a8599f7248fda542096a5e9bcac700595cec151494695e68dc7667c89509eeb14646 SHA512 aec235f65c9f568c6717a37fe0f16b8100ffbba7731975bac5c17802b70f1ec1ff235e08c09a0bc9de0c63a705018ce76acc8252a39f56c300b9e2a556f3612a
DIST nvidia-xconfig-470.256.02.tar.bz2 108698 BLAKE2B e468574e4bc57e7279d4120e2b08a201671b50d408be0c530eabe5da7d45daaf21cbf5c7fa31410d0d732fe8ea1551cbfb21d1ae193c1b3f5b5c50c764c9e236 SHA512 9dcec1e0c2b56b4d38a5f2c76086302f8bc0860cc15012cce29c3a5062f801a48b6a2bb78344361b07a2717b58502783441a2daf402d9973a17526175b1f15ca
@@ -65,5 +72,6 @@ DIST nvidia-xconfig-535.183.01.tar.bz2 110994 BLAKE2B 154f0e3885fdc2a30373daad07
DIST nvidia-xconfig-550.78.tar.bz2 111190 BLAKE2B d4c7418554765d278458dcc664d37a5d641baa047312920787717c09aceaad13a2d99a0eb97f0d8d7b4b960013a02183eb3a1ee31fca40918e5f4c0fda024e43 SHA512 513733a80ec5a4e5fc60c3a1a0f787a6f1b64ffefd72d69208833626cd096a09957ad8f66568711c4059178879c3ce6167acefee6f23e4dd99cc226eecadf080
DIST nvidia-xconfig-550.90.07.tar.bz2 111144 BLAKE2B 730986cafd56798a8cd51c06870d596ec812dc807e168b80857b323d353119c8ff28f08a7584434c5f7ff9e2eea1a754c51c680fe61f3b88c2aa527eaf9ecda4 SHA512 106c6735444f321f429e8a30ff6d1c3cfa2dca08237a6cc8e4619735895ac42e041f7bd97fc1d498a4db151b1020d88f5a506dea80a6a3325e706884c56a1feb
DIST nvidia-xconfig-555.42.02.tar.gz 145634 BLAKE2B 55b020b60f1f68a8e643ceb2cf26c19cded97e987d33d38c87f1a06d5f96a2ee9327550e9400b7505cee68a62b34aac32d34be730425594a76737dd86c3c75e0 SHA512 3c9cccb9ab06c295369c109075898d6c0ff1f206257e05d54a9df5bae7e1b6c53157cf58056c19c017000ca79e308cf5a6f1347c7b0f30e078d3d63463283fe8
+DIST nvidia-xconfig-555.52.04.tar.bz2 111211 BLAKE2B a42c8f45b1c17fd50803210e32540c41f076dac5da0822c490a9c92e4c874bc99c287b3293d297e3b1731d85ffc771edf3917d6dcfbbb48236e3b473f2992adf SHA512 19fff2f07ca5f30aacf44b633ac5a9969e5b40ebe54416feef37c349ea7b9305837d2dcbc28122d3a45d2b75bd2c293227f19da8938325a03c31add6145cb3c5
DIST open-gpu-kernel-modules-550.40.63.tar.gz 13764093 BLAKE2B be201222e19fef570968592ef8ee6dc7386cbc86a099ed7e28cc2d4da3278ac5d4c339665369f3346ad10d4af9bd2b6faf3d7fc4612802cecbfa70b95b9f53ea SHA512 5612f1a081b4ffd1d096b67b36a2b5b34d3e6016ea09e19da49ea08bde8fd2a9d2c54e9242a50a124cf3c662642558815cd17889191f5e1c2ca2f99ca4315208
DIST open-gpu-kernel-modules-555.42.02.tar.gz 14031192 BLAKE2B caac5380718d0369390f7948769a50302bd7f3835c665a7123cbd9dbf341868d7403a092d6a3643aa740417885ca2d2b69722593bd75b671c430ff0703be4523 SHA512 2fd2e9b36c4d5c1ef10099e05625898bfec461e1b818f5d4ea5f8b4d01dd2dbaf014bccc0621fcd4295d5dc7fbe303f15c2ed8e975687e71a6ea1dae29d7ff3f
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-555.52.04.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-555.52.04.ebuild
new file mode 100644
index 000000000000..bd5205a9ad26
--- /dev/null
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-555.52.04.ebuild
@@ -0,0 +1,502 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MODULES_OPTIONAL_IUSE=+modules
+inherit desktop flag-o-matic linux-mod-r1 readme.gentoo-r1
+inherit systemd toolchain-funcs unpacker user-info
+
+MODULES_KERNEL_MAX=6.9
+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 Apache-2.0 BSD BSD-2 GPL-2 MIT ZLIB curl openssl"
+SLOT="0/${PV%%.*}"
+# kept unkeyworded due to being a beta
+#KEYWORDS="-* ~amd64 ~arm64"
+IUSE="+X abi_x86_32 abi_x86_64 kernel-open persistenced powerd +static-libs +tools wayland"
+REQUIRED_USE="kernel-open? ( modules )"
+
+COMMON_DEPEND="
+ acct-group/video
+ 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}
+ dev-libs/openssl:0/3
+ sys-libs/glibc
+ X? (
+ media-libs/libglvnd[X,abi_x86_32(-)?]
+ x11-libs/libX11[abi_x86_32(-)?]
+ x11-libs/libXext[abi_x86_32(-)?]
+ )
+ powerd? ( sys-apps/dbus[abi_x86_32(-)?] )
+ wayland? (
+ gui-libs/egl-gbm
+ >=gui-libs/egl-wayland-1.1.10
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ static-libs? (
+ x11-base/xorg-proto
+ 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-modprobe-390.141-uvm-perms.patch
+ "${FILESDIR}"/nvidia-settings-530.30.02-desktop.patch
+)
+
+pkg_setup() {
+ use modules && [[ ${MERGE_TYPE} != binary ]] || return
+
+ local CONFIG_CHECK="
+ PROC_FS
+ ~DRM_KMS_HELPER
+ ~SYSVIPC
+ ~!LOCKDEP
+ ~!SLUB_DEBUG_ON
+ !DEBUG_MUTEXES
+ $(usev powerd '~CPU_FREQ')
+ "
+
+ 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."
+
+ 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."
+
+ linux-mod-r1_pkg_setup
+}
+
+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
+ sed -i "s|/usr|${EPREFIX}/opt|" systemd/system/nvidia-powerd.service || die
+
+ # use alternative vulkan icd option if USE=-X (bug #909181)
+ use X || sed -i 's/"libGLX/"libEGL/' nvidia_{layers,icd}.json || die
+
+ # enable nvidia-drm.modeset=1 by default with USE=wayland
+ cp "${FILESDIR}"/nvidia-545.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
+}
+
+src_compile() {
+ tc-export AR CC CXX LD OBJCOPY OBJDUMP PKG_CONFIG
+
+ local xnvflags=-fPIC #840389
+ # lto static libraries tend to cause problems without fat objects
+ tc-is-lto && 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 modules; then
+ local o_cflags=${CFLAGS} o_cxxflags=${CXXFLAGS} o_ldflags=${LDFLAGS}
+
+ local modlistargs=video:kernel
+ if use kernel-open; then
+ modlistargs+=-module-source:kernel-module-source/kernel-open
+
+ # environment flags are normally unused for modules, but nvidia
+ # uses it for building the "blob" and it is a bit fragile
+ filter-flags -fno-plt #912949
+ filter-lto
+ CC=${KERNEL_CC} CXX=${KERNEL_CXX} strip-unsupported-flags
+ fi
+
+ local modlist=( nvidia{,-drm,-modeset,-peermem,-uvm}=${modlistargs} )
+ local modargs=(
+ IGNORE_CC_MISMATCH=yes NV_VERBOSE=1
+ SYSOUT="${KV_OUT_DIR}" SYSSRC="${KV_DIR}"
+ )
+
+ # temporary workaround for bug #914468
+ CPP="${KERNEL_CC} -E" tc-is-clang && addpredict "${KV_OUT_DIR}"
+
+ linux-mod-r1_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
+ # avoid noisy *very* noisy logs with deprecation warnings
+ 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
+ [OPENGL_DATA]=/usr/share/nvidia
+ [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=(
+ $(usev !X "libGLX_nvidia libglxserver_nvidia")
+ 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
+ libnvidia-pkcs11.so # using the openssl3 version instead
+ )
+ local skip_modules=(
+ $(usev !X "nvfbc vdpau xdriver")
+ $(usev !modules gsp)
+ $(usev !powerd powerd)
+ 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 modules "
+
+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 additional information or for troubleshooting issues, please see
+https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers and NVIDIA's own
+documentation that is installed alongside this README."
+ readme.gentoo_create_doc
+
+ if use modules; then
+ linux-mod-r1_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]} == EXPLICIT_PATH ]]; then
+ into=${m[3]}
+ 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
+ insopts -m0644 # reset
+
+ # 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 powerd; then
+ newinitd "${FILESDIR}"/nvidia-powerd.initd nvidia-powerd #923117
+ 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]}
+
+ # sandbox issues with /dev/nvidiactl others (bug #904292,#921578)
+ # are widespread and sometime affect revdeps of packages built with
+ # USE=opencl/cuda making it hard to manage in ebuilds (minimal set,
+ # ebuilds should handle manually if need others or addwrite)
+ insinto /etc/sandbox.d
+ newins - 20nvidia <<<'SANDBOX_PREDICT="/dev/nvidiactl:/dev/nvidia-caps:/dev/char"'
+}
+
+pkg_preinst() {
+ has_version "${CATEGORY}/${PN}[kernel-open]" && NV_HAD_KERNEL_OPEN=
+ has_version "${CATEGORY}/${PN}[wayland]" && NV_HAD_WAYLAND=
+
+ use modules || return
+
+ # 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
+ # TODO?: automatically check "kernelopen" bit for USE=kernel-open compat
+ 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-r1_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."
+ if use modules; then
+ ewarn "Easiest way to fix this is normally to reboot. If still run into issues"
+ ewarn "(e.g. API mismatch messages in the \`dmesg\` output), please verify"
+ ewarn "that the running kernel is ${KV_FULL} and that (if used) the"
+ ewarn "initramfs does not include NVIDIA modules (or at least, not old ones)."
+ fi
+ 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 && [[ ! -v NV_HAD_KERNEL_OPEN ]]; then
+ ewarn
+ ewarn "Open source variant of ${PN} was selected, note that it requires"
+ ewarn "Turing/Ampere+ GPUs (aka GTX 1650+). Try disabling if run into issues."
+ ewarn "Also see: ${EROOT}/usr/share/doc/${PF}/html/kernel_open.html"
+ fi
+
+ if use wayland && use modules && [[ ! -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
+}