Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2024 00:58:46 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 56dd14e5d77f - main - sysutils/RyzenAdj: New port: Power management tool for Ryzen mobile and embedded CPUs
Message-ID:  <202411180058.4AI0wkl4042649@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=56dd14e5d77fa758ec24cd1073cb12b4bf976632

commit 56dd14e5d77fa758ec24cd1073cb12b4bf976632
Author:     Vladyslav Movchan <vladislav.movchan@gmail.com>
AuthorDate: 2024-11-14 20:32:43 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-11-18 00:57:52 +0000

    sysutils/RyzenAdj: New port: Power management tool for Ryzen mobile and embedded CPUs
    
    RyzenAdj is a tool to view and adjust power management settings for some of
    Ryzen mobile and embedded CPUs.
    
    One of the use cases is to "trade" CPU performance for lower temperature:
    You can set lower-than-default CPU power limit and make your computer
    (slightly) less performant, but make it (significantly) cooler and more quiet
    under load. It is not uncommon to get less than 10% performance drop after
    lowering CPU TDP by 30%.
    
    Another use case is for CPU overclocking hobby.
    
    Use at your own risk.
    
    WWW: https://github.com/FlyGoat/RyzenAdj
    
    PR:             281522
---
 sysutils/Makefile           |  1 +
 sysutils/RyzenAdj/Makefile  | 25 +++++++++++++++++++++++++
 sysutils/RyzenAdj/distinfo  |  3 +++
 sysutils/RyzenAdj/pkg-descr | 12 ++++++++++++
 4 files changed, 41 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 66961764bc21..debf03a8894f 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -9,6 +9,7 @@
     SUBDIR += R-cran-processx
     SUBDIR += R-cran-ps
     SUBDIR += R-cran-xopen
+    SUBDIR += RyzenAdj
     SUBDIR += UEFITool
     SUBDIR += abduco
     SUBDIR += abgx360
diff --git a/sysutils/RyzenAdj/Makefile b/sysutils/RyzenAdj/Makefile
new file mode 100644
index 000000000000..b90bfe9b7c9d
--- /dev/null
+++ b/sysutils/RyzenAdj/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	RyzenAdj
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.16.0
+CATEGORIES=	sysutils
+
+MAINTAINER=	vladislav.movchan@gmail.com
+COMMENT=	Power management tool for Ryzen mobile and embedded CPUs
+WWW=		https://github.com/FlyGoat/RyzenAdj
+
+LICENSE=	LGPL3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+ONLY_FOR_ARCHS=		amd64 i386
+ONLY_FOR_ARCHS_REASON=	specific to Ryzen CPUs
+
+LIB_DEPENDS=	libpci.so:devel/libpci
+
+USES=		cmake localbase:ldflags
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	FlyGoat
+
+PLIST_FILES=	bin/ryzenadj
+
+.include <bsd.port.mk>
diff --git a/sysutils/RyzenAdj/distinfo b/sysutils/RyzenAdj/distinfo
new file mode 100644
index 000000000000..7ca422faa7b5
--- /dev/null
+++ b/sysutils/RyzenAdj/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1731520448
+SHA256 (FlyGoat-RyzenAdj-v0.16.0_GH0.tar.gz) = 7bef7dbde006afbe316091d8da8c8c551d5d7d43185d9e62281671959b7a3ca2
+SIZE (FlyGoat-RyzenAdj-v0.16.0_GH0.tar.gz) = 126451
diff --git a/sysutils/RyzenAdj/pkg-descr b/sysutils/RyzenAdj/pkg-descr
new file mode 100644
index 000000000000..9a22dc72b98e
--- /dev/null
+++ b/sysutils/RyzenAdj/pkg-descr
@@ -0,0 +1,12 @@
+RyzenAdj is a tool to view and adjust power management settings for some of
+Ryzen mobile and embedded CPUs.
+
+One of the use cases is to "trade" CPU performance for lower temperature:
+You can set lower-than-default CPU power limit and make your computer
+(slightly) less performant, but make it (significantly) cooler and more quiet
+under load. It is not uncommon to get less than 10% performance drop after
+lowering CPU TDP by 30%.
+
+Another use case is for CPU overclocking hobby.
+
+Use at your own risk.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411180058.4AI0wkl4042649>