diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-08 16:22:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-08 16:22:31 +0100 |
commit | 39bccce90513402ec93bb0fde30678f16b07a9cc (patch) | |
tree | 09417c5e2344bd6eaa7ee05ea495d4779a8e93f9 /x11-drivers | |
parent | 92ebda186167f9887d5f43803ced730b499dcf57 (diff) |
gentoo auto-resync : 08:07:2023 - 16:22:31
Diffstat (limited to 'x11-drivers')
-rw-r--r-- | x11-drivers/Manifest.gz | bin | 4715 -> 4718 bytes | |||
-rw-r--r-- | x11-drivers/nvidia-drivers/Manifest | 10 | ||||
-rw-r--r-- | x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild | 68 | ||||
-rw-r--r-- | x11-drivers/nvidia-drivers/nvidia-drivers-470.199.02.ebuild | 68 | ||||
-rw-r--r-- | x11-drivers/nvidia-drivers/nvidia-drivers-525.125.06.ebuild | 68 | ||||
-rw-r--r-- | x11-drivers/nvidia-drivers/nvidia-drivers-525.47.27.ebuild | 68 | ||||
-rw-r--r-- | x11-drivers/nvidia-drivers/nvidia-drivers-535.54.03.ebuild | 68 |
7 files changed, 20 insertions, 330 deletions
diff --git a/x11-drivers/Manifest.gz b/x11-drivers/Manifest.gz Binary files differindex a4f765b5187a..77cd710ab208 100644 --- a/x11-drivers/Manifest.gz +++ b/x11-drivers/Manifest.gz diff --git a/x11-drivers/nvidia-drivers/Manifest b/x11-drivers/nvidia-drivers/Manifest index 3927d003ddb0..74fbb99b47a5 100644 --- a/x11-drivers/nvidia-drivers/Manifest +++ b/x11-drivers/nvidia-drivers/Manifest @@ -51,9 +51,9 @@ DIST nvidia-xconfig-525.116.04.tar.bz2 110583 BLAKE2B 7fa42ffddee83dd6df0f3d8625 DIST nvidia-xconfig-525.125.06.tar.bz2 111119 BLAKE2B bd9ef08c361e969775522911a931a25b4512a59d9aa2f90ab1be1696161cd127f20c526b31173d0226408c74da14b5cb381c717d6b8b8b3975b2449e5beb7d9c SHA512 7595f88004aa23595364dd25db35986abb802de80c9e70c9f22367184859057140271dcfd8688ec9d686ca67ae85740c21300ddebd1dbd78af5660896154f3b4 DIST nvidia-xconfig-535.54.03.tar.bz2 110606 BLAKE2B 99af140f7742e23db430fdf392ce985c035c7669f619bff709987a4739e4872ff03991f2324ffbf40f53259906832464f02baf0ba485a16ecdea52af66ab958b SHA512 5927ba6514d25cd0c4a05e42533ea082d5c91c0e05f8cdadedc6fbb5c0b6f0e424d057cee0dfd4dec937514a85f1d28e81c5ea7e2aa8ee374476ba376255d035 DIST open-gpu-kernel-modules-525.47.27.tar.gz 10324085 BLAKE2B b9f7297ada26dc8db9652ddc37144b69f28d473e9c7638acce0b6abb26ab6dc5f3fe31a5b666f8b99857c9d4d5443e46fba5140d4969a244697a26f0da49a34d SHA512 bd1a434aaea27ff1db33dbbd30b32247a870e2079d925d272b09a41d09f50ed192a3246a57dd5c78649ad77a898710701981effa55f574495f7c504e2fb9b8e8 -EBUILD nvidia-drivers-390.157.ebuild 16152 BLAKE2B e26ecc131dbce4befb11cc755fbeae2923d8ebf8af9464e76de22584d41e13759f221b5b6703f77da1b63601ebd6a83c2b22482a9c769323f67a7d2e9df4a035 SHA512 a81a5c94105f5696145646d026d6ee86ba6a4a3b1377a56d08ad83bf35651b2a43b97b49d5963a129097cb203b0c33b70cdb8b3cb0a7f2e496fcdca68a087a7d -EBUILD nvidia-drivers-470.199.02.ebuild 16991 BLAKE2B 26cfd720ae53270ecc450e4e45f3abb9d355b0e16bf9da726aec28c12ef84d1cc626e50226ce88974e546158350d4a6fcd1be3647cb61c987f7bc2ade5b7d9f4 SHA512 ebc18f5020da15bc9bac2ad8449b1a7fa80989239c77fd32c8a4d1a117d882dfec8881ce77186f5517f46979fd8535df3fc697737843416f191278c6389c6f9a -EBUILD nvidia-drivers-525.125.06.ebuild 19477 BLAKE2B 40270b219d9aabab0655c823cf5bbe29db0157a155f7fb1ed2eb6ec03618286da8986c4a1d3de0381268095d2ef0798711877d6473b2dac9573e7a570a56c823 SHA512 2ce0af8fd12eb4bce6f97b1d0bc057c10b878607b18f63b4d7a896a7a9c9896eee8bc8f5941f66e56fa7777df553a5a3013e483f8ef77d1f24b983fada934f76 -EBUILD nvidia-drivers-525.47.27.ebuild 19488 BLAKE2B 2ad6ca40a817e95db29621cb54cbfc511355746f2d76bbf5dd22b50cde0862b6cba0fd7ee07ce8804e0de94cf89229764e8141791e14ebad31ec4e4f8c4a3b94 SHA512 2a1bbb6354d9696e1be6655562d399e29dc8f6019e49c682691ec793622af60d8d46523b53a8845ca5bd05bd7d386eff14e448b7dc55b0d5b45347a0776b3379 -EBUILD nvidia-drivers-535.54.03.ebuild 19980 BLAKE2B d7a45629cade0c0e7c7d4ed4d6fd1095f0f06eaadf1e11209af5a5a951259934f962345cedd2ad00a5e37789b2a73e643ddc5984bd93232362bce13d1221d650 SHA512 0a60405425436c338f6eb552997631fdc0652e94125cbe8915acf70d5b036daafbd881384baeac32afd8198c96533acead9f84fe2bdf74e9ef0d372c0dca0f63 +EBUILD nvidia-drivers-390.157.ebuild 13741 BLAKE2B 536fbe282cb5afa9dc112d3988d695fbc73ed63051cbc638db111f4a9ea59ddb3944155b8b4a2a811440200437a0dc2202bab24e550be32b05d35b4362113638 SHA512 4baacd4bc70c413ea36d81c7114be97e29fca55563131d8bb25b4b645cddd4b4e64c203b7ad587e01cd6e510f83241aae40ddaefe401b86733cd8d02ac4544b4 +EBUILD nvidia-drivers-470.199.02.ebuild 14580 BLAKE2B 7e5375290df72ace55c6c343a534b14e9d404cfe3b77cf19fd7048bb6058e844c5cff3565e00a6d2b6832bf2b53d42c9291b8929abf095895501c31706697a1d SHA512 3362dc20826874af6d8c0382244c732c73ee6fae6616c5fb01482d1e394335fdc3d7f6bd49b977ea4fabb350cbb22e1a598ccf1fb28ac3aa6c7717a82965a542 +EBUILD nvidia-drivers-525.125.06.ebuild 17066 BLAKE2B 86f556a1409188a1c38f340b2e7202def54c0a4092ee86030e7b410f11de873eba78bbc456eeec0023d7f22250ce1e4e8345e7329224685f40b891e3c69e4184 SHA512 d631dbad857ac68021cceb9bb6351119cccd4c68c599dd983aa8fcc56d19ea6a648713736a9cb68aeef87d5e59d609e9bc49209827c83292a75e864211abfe3e +EBUILD nvidia-drivers-525.47.27.ebuild 17077 BLAKE2B 18d0dd9335f70863fdfc6343037f22318a5c4a975cafd500b938e1e42a62cd45cccd17be91f4228289139a976a7ab890c032b7eacf295d27ae9049f6c4f7c685 SHA512 682446999366b4169be81cb6ec704c977b7b60fd920426d5dcdb02a9aaeec5aed0d55226d6d5be98184e4688a5055ebe1e4829e6e22d9dd1faf4f16e96e741ac +EBUILD nvidia-drivers-535.54.03.ebuild 17569 BLAKE2B 55a55905edfb29eb5e05aa5379213fa28525e7f089809c23f32a6b590202f265c45633f4c67c6b224c83ecfd101c5ecab70332889292783d8464eea0aa4dfb3e SHA512 e1864c7103d7cf7705149bacb0cfaf3db527726e0e8c2e6444ee32466893567b77dfcaeb9d859c78b23e433e95ebe43942053e29c3334565f5eb2a8cde7e6a41 MISC metadata.xml 1281 BLAKE2B 2d2dd88b6c8afbe3b8d4799813fcc65a7102dfaf47fd6266ebd627acce1dde00acdf69d9d85193886cdce3e6553e261987647d12737cdec701ea4f9ba865366b SHA512 00100ef8ec37c1703a2bae7de811ded281c5dcf373407e22e9b359a92feac3ceefb007ed2980ad05cfcc7a698e5434e4cc7e2fc5c6ab82a3d60b679d984963c4 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild index 44a0ef4ec290..9abc49b88f6b 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild @@ -103,69 +103,6 @@ pkg_setup() { kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764 linux-mod-r1_pkg_setup - - # 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'}" } src_prepare() { @@ -323,8 +260,9 @@ If wish to continue using this hardware, should consider switching to the Nouveau open source driver. https://nvidia.custhelp.com/app/answers/detail/a_id/3142/ -For general information on using ${PN}, please see: -https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers" +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 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.199.02.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-470.199.02.ebuild index 885d53d2f474..9236174320c5 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.199.02.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-470.199.02.ebuild @@ -107,69 +107,6 @@ pkg_setup() { use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764 linux-mod-r1_pkg_setup - - # 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'}" } src_prepare() { @@ -303,8 +240,9 @@ $(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" +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 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-525.125.06.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-525.125.06.ebuild index 61453ca0a97d..270d42f08bfc 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-525.125.06.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-525.125.06.ebuild @@ -116,69 +116,6 @@ pkg_setup() { selection of another option that requires it such as CONFIG_KVM." linux-mod-r1_pkg_setup - - # 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'}" } src_prepare() { @@ -348,8 +285,9 @@ $(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" +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 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-525.47.27.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-525.47.27.ebuild index 0528f317bbca..1afcffb0421d 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-525.47.27.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-525.47.27.ebuild @@ -117,69 +117,6 @@ pkg_setup() { selection of another option that requires it such as CONFIG_KVM." linux-mod-r1_pkg_setup - - # 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'}" } src_prepare() { @@ -349,8 +286,9 @@ $(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" +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 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-535.54.03.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-535.54.03.ebuild index 1e24166af1ae..66b37eefdede 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-535.54.03.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-535.54.03.ebuild @@ -119,69 +119,6 @@ pkg_setup() { selection of another option that requires it such as CONFIG_KVM." linux-mod-r1_pkg_setup - - # 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'}" } src_prepare() { @@ -356,8 +293,9 @@ $(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" +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 |