summaryrefslogtreecommitdiff
path: root/x11-drivers
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-07 03:59:02 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-07 03:59:02 +0000
commit632aa90c53a31517c5d2259537aadc192434a332 (patch)
treed466e8c0d3bf25eda998e2f04dc4872de416d117 /x11-drivers
parent6bdf113f9fe24f179ee150bada14098e20e87476 (diff)
gentoo auto-resync : 07:02:2024 - 03:59:02
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/Manifest.gzbin4716 -> 4716 bytes
-rw-r--r--x11-drivers/nvidia-drivers/Manifest14
-rw-r--r--x11-drivers/nvidia-drivers/metadata.xml1
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-525.147.05.ebuild9
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-535.146.02.ebuild9
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-535.154.05.ebuild9
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-535.43.25.ebuild9
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-545.29.06-r1.ebuild9
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-550.40.07.ebuild17
9 files changed, 49 insertions, 28 deletions
diff --git a/x11-drivers/Manifest.gz b/x11-drivers/Manifest.gz
index 11ef7d3fea59..f0dcc993d0b4 100644
--- a/x11-drivers/Manifest.gz
+++ b/x11-drivers/Manifest.gz
Binary files differ
diff --git a/x11-drivers/nvidia-drivers/Manifest b/x11-drivers/nvidia-drivers/Manifest
index b728e97f4512..3ee0961118ad 100644
--- a/x11-drivers/nvidia-drivers/Manifest
+++ b/x11-drivers/nvidia-drivers/Manifest
@@ -77,10 +77,10 @@ DIST nvidia-xconfig-550.40.07.tar.bz2 111172 BLAKE2B bfa5deedbb521ac60424aed72f1
DIST open-gpu-kernel-modules-535.43.25.tar.gz 12789260 BLAKE2B ae095390b4bdef6d0ca504783e93d3228e3cc0d4b05549e39107037a1db888b2bb628fb8b1cdb9a44982d9dc1096f6c3dd73962c59be0a0a4c15bff77ca7189a SHA512 a5ec4e5f8b78abb83d43fa1697c24e1ecbcb24097417ccb31a46b326ac76f90da2470476c2e9be3117b531916bedc4eae1ed264e7e8cb88cff0a00550422e993
EBUILD nvidia-drivers-390.157.ebuild 14621 BLAKE2B 1220d88746beb2785b85ad587ceb26d11e9955ef95512d4f29a1f7d065396841848b9f1e6531e2c30da01fc63612e5d3167a244f5175205a932454e47499a4a1 SHA512 632aca465943c7b4fbdf8627854a6fe952195fbb997b050d8c0a5d141af18e9eac7b9ad2664d5c59aa2c9238416cd36525518a030451ed778a88b37cb3fc707f
EBUILD nvidia-drivers-470.223.02.ebuild 15481 BLAKE2B ac510b8084054dc907baa82c4a7b895164bd00721b171ceee6edfefaffc2d7132454977c142cb9cac81bcd5a58db4f0f9bd1a29c0ee7f659ed3073d3d9e2b497 SHA512 86a24c43c1923999973ca53e6f52eeb0eaa7344ba6db8b999e66b623fd5b26557070d53a3e3979967164171ba01d0de30d471fbb6f0b423f32ea6c57817a9325
-EBUILD nvidia-drivers-525.147.05.ebuild 17505 BLAKE2B b1284ee68dca813963df8aae31f8a3317a0c4ecfd144875b671274ad05eb4fec0f79a33453b4c90939e44ee3bacee8c79054befaa649e8a21de3968bf7bc70cb SHA512 6e60a53583f87c238ba7f7e7e8b11d73bfda12f04fa804a235ef06babcb0d3ef0a2ce73a09147cdc2b1feab68feb6a0ad75ef3a688e836e1517c10c4710a0bd5
-EBUILD nvidia-drivers-535.146.02.ebuild 17714 BLAKE2B efa44a7746fa1098ece6862a082a68e9481bd7ebde19045d3b1e509ac23c79ed332840d354ed750bcb0ff9a36bf8e5ecbcad797eca0f3f18ae311bff76d94eca SHA512 ac2eed2b1a25d5f62831e848d01bc5f19e4811e26ea79df025c8d8eb5be550964c8865b2dfaa370b920f9de58aefe332a3f55f91eea70a88439080953134aa81
-EBUILD nvidia-drivers-535.154.05.ebuild 17714 BLAKE2B efa44a7746fa1098ece6862a082a68e9481bd7ebde19045d3b1e509ac23c79ed332840d354ed750bcb0ff9a36bf8e5ecbcad797eca0f3f18ae311bff76d94eca SHA512 ac2eed2b1a25d5f62831e848d01bc5f19e4811e26ea79df025c8d8eb5be550964c8865b2dfaa370b920f9de58aefe332a3f55f91eea70a88439080953134aa81
-EBUILD nvidia-drivers-535.43.25.ebuild 17518 BLAKE2B 2bd491b13644583901cc1fdf92d82fa26bedce19d856cf35f575dadc04946d63045c28f3d05b940c0f8c0882a1470749a3087bcbf74e74a62195a34a999d32dc SHA512 3427fdff2d2328635aa58ba8509d3c9e04048a2ac1d0bc2e1438a11c0ddf6a2b8e8d859c22d8fec7eebd9eebaa14e2d53ef6e0bd00ba6e876974c75ae34c360a
-EBUILD nvidia-drivers-545.29.06-r1.ebuild 16945 BLAKE2B a02f4bfc330085699592a082b5ce8b3096cc4e622db40b213b70696cb4dc05f1dd6ec3d1a95b1c60e6296d6733a8f4475b96076ab0c9d47f3ebda3fa4d009878 SHA512 417bc499a58bf28967ac783b8ad7fc3432f152f3e6aaef84b28fce27958fec5d42a441353031895827cdcdc15655a8af79cc79471b11ba4fff199cde5c2fa20d
-EBUILD nvidia-drivers-550.40.07.ebuild 16607 BLAKE2B c146f4a27784ddab7e7a0e47c4d780e50f87ed83263d22baf61626ab98933f01f730ee0055e89e46a921b76228d8210a4b420386cf1368dd55026a46a95788c2 SHA512 efdbe70a49e06f226991b4b0a5b9c11fff676e64f2c3352f3577b276ace3350da543dbb0e58101dac5798e0749aca386ede787cabd0b623ed9dbce425bfed8a3
-MISC metadata.xml 1276 BLAKE2B 9fd18d8984ae4440f9623426edea81096b3aef9e591737d45f434848a24d50bda3ea6fa14fa412a9a59404b6256f00147b1a4650cf5f7a1a1445363fd844b522 SHA512 e46e21f95ea3b84dae5dee6bd2fa61efa4df7ebbf9ecb8033d5d590ad05c1343119822a50a156c3a46fcec5fbd1977cb6d6fc74c32e64ac4e8ded9760f09d91c
+EBUILD nvidia-drivers-525.147.05.ebuild 17620 BLAKE2B ef5e419e6bb516db7920d4e5f96a4b979f76fc4d4bd0bf71fdab5a6213c2a8e194cd67c3732362fcc2b9c36152d95f721ea9d327f3648a0e20ad81b20f7e5841 SHA512 6eb505eea3aa2850a5b1dea1255ad8dc94ca740fbcec808bc48478454a3a21bee4a27272c9e90414a62c780248f39a917e7b5a12031c52f8ebcfa88f2dc2edb6
+EBUILD nvidia-drivers-535.146.02.ebuild 17829 BLAKE2B 5f4509b2bc6ae39bfc350141d7097130e1aaf8d035dd5eab34fc4f1efadee2fad966290fe6410a2fa19bceee759901d34ff2fd7bf017f61c5770416dc0876209 SHA512 76b70b7652fa8ac5ecba9a677b42767c52e3f1ff4a6d2658922b1a46543d3f9cbc050303b367b4a2f1367ed138dfab69c723c4f9dde7ea7cdf77623600841d54
+EBUILD nvidia-drivers-535.154.05.ebuild 17829 BLAKE2B 5f4509b2bc6ae39bfc350141d7097130e1aaf8d035dd5eab34fc4f1efadee2fad966290fe6410a2fa19bceee759901d34ff2fd7bf017f61c5770416dc0876209 SHA512 76b70b7652fa8ac5ecba9a677b42767c52e3f1ff4a6d2658922b1a46543d3f9cbc050303b367b4a2f1367ed138dfab69c723c4f9dde7ea7cdf77623600841d54
+EBUILD nvidia-drivers-535.43.25.ebuild 17633 BLAKE2B 8a7f849a8e74691d160db3c62fe09ba9b90ef8f7037346007962ba272c80d09876b571bbb7a0b92c8e8f01853ab66997bd5e0c73aca324324ddd2a51a202de64 SHA512 f200e9235c319b1f1ba12f543d97bd655c8885d5a55b9afda3fdc4f5f1c62ef34dfee9f3d57bdb818e0d58205bad2a685c61e9ac026eab8af629d4f106357bb9
+EBUILD nvidia-drivers-545.29.06-r1.ebuild 17061 BLAKE2B eafa0a5730e54c2abc4c7e296d77bfefb171e45353c3c9f8ae8ce5d666c83414d748f76d6c1123f132e4f52365377a6f9a972893be211198e53d82b9ad1803a6 SHA512 243b42179f4612dec4808030dac634c4056a6d9b616600d9876835efc366b2bba9aca150e1534e4cf4508997896b60df867c653c107c80e82bf4fb46a226bd36
+EBUILD nvidia-drivers-550.40.07.ebuild 16698 BLAKE2B f36f5d6a01d0e3918a06b1f8ca6bd89492a0b09f74bdc876e3cdcfb9c7b0c9752c01a6d5d0c58c8d5dfa5742624597978a1c5b162fef6b009ec992b0e5f37212 SHA512 b6835a05db65dcf67e5223ad643578b289d1bd91e45c8a7e228f38f6f570ea1ce511b5840a2c09b5e7e31f9461b2dc32c5aacf9baa998515977eb19b4b386b86
+MISC metadata.xml 1407 BLAKE2B c0d284fde68808892e17edbb2b1e43b059388306eae874276d4a3f336a5dc2a41cc025a834466b2ad96112b550e0bc0f759f683bd6c58ba64a41cbc8ddebd92f SHA512 39be6982c1177961706ba6426861752339373241c959fd06504e314c9f0313677ff7c7341e7d9fb41cad2b768b99f6474e087b9813016d33cd6a9c77567c50cb
diff --git a/x11-drivers/nvidia-drivers/metadata.xml b/x11-drivers/nvidia-drivers/metadata.xml
index a8ee1dd7baee..8a3bfb5d3a1b 100644
--- a/x11-drivers/nvidia-drivers/metadata.xml
+++ b/x11-drivers/nvidia-drivers/metadata.xml
@@ -12,6 +12,7 @@
<use>
<flag name="kernel-open">Use the open source variant of drivers (Turing/Ampere+ GPUs only, aka GTX 1650+, experimental)</flag>
<flag name="persistenced">Install the persistence daemon for keeping devices state when unused (e.g. for headless)</flag>
+ <flag name="powerd">Install the NVIDIA dynamic boost support daemon (only useful with specific laptops, ignore if unsure)</flag>
<flag name="static-libs">Install the XNVCtrl static library for accessing sensors and other features</flag>
<flag name="tools">Install additional tools such as nvidia-settings</flag>
</use>
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-525.147.05.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-525.147.05.ebuild
index 3b43c86bcab8..8b874970372b 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-525.147.05.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-525.147.05.ebuild
@@ -25,7 +25,7 @@ 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 kernel-open persistenced +static-libs +tools wayland"
+IUSE="+X abi_x86_32 abi_x86_64 kernel-open persistenced powerd +static-libs +tools wayland"
REQUIRED_USE="kernel-open? ( modules )"
COMMON_DEPEND="
@@ -57,6 +57,7 @@ RDEPEND="
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
@@ -153,7 +154,8 @@ src_prepare() {
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
+ use !powerd || # file is missing on arm64 (masked)
+ 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
@@ -267,6 +269,7 @@ src_install() {
local skip_modules=(
$(usev !X "nvfbc vdpau xdriver")
$(usev !modules gsp)
+ $(usev !powerd powerd)
installer nvpd # handled separately / built from source
)
local skip_types=(
@@ -410,7 +413,7 @@ documentation that is installed alongside this README."
dobin nvidia-bug-report.sh
# MODULE:powerd extras
- if use amd64; then
+ if use powerd; then
newinitd "${FILESDIR}"/nvidia-powerd.initd nvidia-powerd #923117
systemd_dounit systemd/system/nvidia-powerd.service
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-535.146.02.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-535.146.02.ebuild
index 38ad82d3c314..bde3618ee96a 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-535.146.02.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-535.146.02.ebuild
@@ -25,7 +25,7 @@ S=${WORKDIR}
LICENSE="NVIDIA-r2 Apache-2.0 BSD BSD-2 GPL-2 MIT ZLIB curl openssl"
SLOT="0/${PV%%.*}"
KEYWORDS="-* amd64 ~arm64"
-IUSE="+X abi_x86_32 abi_x86_64 kernel-open persistenced +static-libs +tools wayland"
+IUSE="+X abi_x86_32 abi_x86_64 kernel-open persistenced powerd +static-libs +tools wayland"
REQUIRED_USE="kernel-open? ( modules )"
COMMON_DEPEND="
@@ -58,6 +58,7 @@ RDEPEND="
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
@@ -156,7 +157,8 @@ src_prepare() {
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
+ use !powerd || # file is missing on arm64 (masked)
+ 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
@@ -272,6 +274,7 @@ src_install() {
local skip_modules=(
$(usev !X "nvfbc vdpau xdriver")
$(usev !modules gsp)
+ $(usev !powerd powerd)
installer nvpd # handled separately / built from source
)
local skip_types=(
@@ -417,7 +420,7 @@ documentation that is installed alongside this README."
dobin nvidia-bug-report.sh
# MODULE:powerd extras
- if use amd64; then
+ if use powerd; then
newinitd "${FILESDIR}"/nvidia-powerd.initd nvidia-powerd #923117
systemd_dounit systemd/system/nvidia-powerd.service
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-535.154.05.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-535.154.05.ebuild
index 38ad82d3c314..bde3618ee96a 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-535.154.05.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-535.154.05.ebuild
@@ -25,7 +25,7 @@ S=${WORKDIR}
LICENSE="NVIDIA-r2 Apache-2.0 BSD BSD-2 GPL-2 MIT ZLIB curl openssl"
SLOT="0/${PV%%.*}"
KEYWORDS="-* amd64 ~arm64"
-IUSE="+X abi_x86_32 abi_x86_64 kernel-open persistenced +static-libs +tools wayland"
+IUSE="+X abi_x86_32 abi_x86_64 kernel-open persistenced powerd +static-libs +tools wayland"
REQUIRED_USE="kernel-open? ( modules )"
COMMON_DEPEND="
@@ -58,6 +58,7 @@ RDEPEND="
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
@@ -156,7 +157,8 @@ src_prepare() {
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
+ use !powerd || # file is missing on arm64 (masked)
+ 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
@@ -272,6 +274,7 @@ src_install() {
local skip_modules=(
$(usev !X "nvfbc vdpau xdriver")
$(usev !modules gsp)
+ $(usev !powerd powerd)
installer nvpd # handled separately / built from source
)
local skip_types=(
@@ -417,7 +420,7 @@ documentation that is installed alongside this README."
dobin nvidia-bug-report.sh
# MODULE:powerd extras
- if use amd64; then
+ if use powerd; then
newinitd "${FILESDIR}"/nvidia-powerd.initd nvidia-powerd #923117
systemd_dounit systemd/system/nvidia-powerd.service
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-535.43.25.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-535.43.25.ebuild
index e2d7f3fdf148..4615a52cdb63 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-535.43.25.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-535.43.25.ebuild
@@ -26,7 +26,7 @@ S=${WORKDIR}
LICENSE="NVIDIA-r2 Apache-2.0 BSD BSD-2 GPL-2 MIT ZLIB curl openssl"
SLOT="0/vulkan"
KEYWORDS="-* ~amd64"
-IUSE="+X abi_x86_32 abi_x86_64 kernel-open persistenced +static-libs +tools wayland"
+IUSE="+X abi_x86_32 abi_x86_64 kernel-open persistenced powerd +static-libs +tools wayland"
REQUIRED_USE="kernel-open? ( modules )"
COMMON_DEPEND="
@@ -61,6 +61,7 @@ RDEPEND="
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
@@ -154,7 +155,8 @@ src_prepare() {
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
+ use !powerd || # file is missing on arm64 (masked)
+ 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
@@ -270,6 +272,7 @@ src_install() {
local skip_modules=(
$(usev !X "nvfbc vdpau xdriver")
$(usev !modules gsp)
+ $(usev !powerd powerd)
installer nvpd # handled separately / built from source
)
local skip_types=(
@@ -415,7 +418,7 @@ documentation that is installed alongside this README."
dobin nvidia-bug-report.sh
# MODULE:powerd extras
- if use amd64; then
+ if use powerd; then
newinitd "${FILESDIR}"/nvidia-powerd.initd nvidia-powerd #923117
systemd_dounit systemd/system/nvidia-powerd.service
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-545.29.06-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-545.29.06-r1.ebuild
index 59fb67e327b0..441694459f04 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-545.29.06-r1.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-545.29.06-r1.ebuild
@@ -25,7 +25,7 @@ S=${WORKDIR}
LICENSE="NVIDIA-r2 Apache-2.0 BSD BSD-2 GPL-2 MIT ZLIB curl openssl"
SLOT="0/${PV%%.*}"
KEYWORDS="-* ~amd64 ~arm64"
-IUSE="+X abi_x86_32 abi_x86_64 kernel-open persistenced +static-libs +tools wayland"
+IUSE="+X abi_x86_32 abi_x86_64 kernel-open persistenced powerd +static-libs +tools wayland"
REQUIRED_USE="kernel-open? ( modules )"
COMMON_DEPEND="
@@ -58,6 +58,7 @@ RDEPEND="
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
@@ -147,7 +148,8 @@ src_prepare() {
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
+ use !powerd || # file is missing on arm64 (masked)
+ sed -i "s|/usr|${EPREFIX}/opt|" systemd/system/nvidia-powerd.service || die4
# use alternative vulkan icd option if USE=-X (bug #909181)
use X || sed -i 's/"libGLX/"libEGL/' nvidia_{layers,icd}.json || die
@@ -254,6 +256,7 @@ src_install() {
local skip_modules=(
$(usev !X "nvfbc vdpau xdriver")
$(usev !modules gsp)
+ $(usev !powerd powerd)
installer nvpd # handled separately / built from source
)
local skip_types=(
@@ -399,7 +402,7 @@ documentation that is installed alongside this README."
dobin nvidia-bug-report.sh
# MODULE:powerd extras
- if use amd64; then
+ if use powerd; then
newinitd "${FILESDIR}"/nvidia-powerd.initd nvidia-powerd #923117
systemd_dounit systemd/system/nvidia-powerd.service
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-550.40.07.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-550.40.07.ebuild
index e52744d51ff0..b3877e204635 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-550.40.07.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-550.40.07.ebuild
@@ -26,7 +26,7 @@ LICENSE="NVIDIA-r2 Apache-2.0 BSD BSD-2 GPL-2 MIT ZLIB curl openssl"
SLOT="0/${PV%%.*}"
# not keywording betas
#KEYWORDS="-* ~amd64 ~arm64"
-IUSE="+X abi_x86_32 abi_x86_64 kernel-open persistenced +static-libs +tools wayland"
+IUSE="+X abi_x86_32 abi_x86_64 kernel-open persistenced powerd +static-libs +tools wayland"
REQUIRED_USE="kernel-open? ( modules )"
COMMON_DEPEND="
@@ -59,6 +59,7 @@ RDEPEND="
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
@@ -140,7 +141,7 @@ src_prepare() {
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
+ 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
@@ -247,6 +248,7 @@ src_install() {
local skip_modules=(
$(usev !X "nvfbc vdpau xdriver")
$(usev !modules gsp)
+ $(usev !powerd powerd)
installer nvpd # handled separately / built from source
)
local skip_types=(
@@ -392,10 +394,13 @@ documentation that is installed alongside this README."
dobin nvidia-bug-report.sh
# MODULE:powerd extras
- insinto /usr/share/dbus-1/system.d
- doins nvidia-dbus.conf
- newinitd "${FILESDIR}"/nvidia-powerd.initd nvidia-powerd #923117
- systemd_dounit systemd/system/nvidia-powerd.service
+ 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 \