Package Details: amdgpu-clocks-git r28.02492e9-1

Git Clone URL: https://aur.archlinux.org/amdgpu-clocks-git.git (read-only, click to copy)
Package Base: amdgpu-clocks-git
Description: Simple script to control power states of amdgpu driven GPUs
Upstream URL: https://github.com/sibradzic/amdgpu-clocks
Keywords: amd gpu overclocking script
Licenses: GPL2
Conflicts: amdgpu-clocks
Provides: amdgpu-clocks
Submitter: rsa
Maintainer: Terence
Last Packager: Terence
Votes: 3
Popularity: 0.033310
First Submitted: 2019-10-28 17:52 (UTC)
Last Updated: 2020-11-29 09:31 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

Terence commented on 2020-03-24 18:19 (UTC)

@rsa Oh :(

@Epdfjasfvzp updated, enjoy!

Epdfjasfvzp commented on 2020-03-23 22:42 (UTC)

@Terence @rsa I would really appreciate it if the aforementioned fixes got applied. Currently trying to use this for my Radeon VII.

rsa commented on 2020-03-23 20:53 (UTC)

@Terence nothing, I made the package just to try but it does not work on my GPU (Vega M GH) :(

Terence commented on 2020-03-23 20:21 (UTC)

@rsa, oh sure, what do you use now?

rsa commented on 2020-03-23 20:20 (UTC)

@Terence I don't use this package anymore, so I am disowning it. Feel free to adopt and fix it :D

Terence commented on 2020-03-23 20:12 (UTC)

Also, you will need to add the following so the unit works with the script installed to /usr/bin (got changed to /usr/local/bin):

sed -i 's/\/local//g' amdgpu-clocks.service 

Here is a PKGBUILD taking into account everything:

# Maintainer: Ranieri Althoff <ranisalt+aur at gmail dot com>

pkgname=amdgpu-clocks-git
pkgver=r24.00eb367
pkgrel=1
pkgdesc='Simple script to control power states of amdgpu driven GPUs'
url='https://github.com/sibradzic/amdgpu-clocks'
license=('GPL2')
arch=('any')
conflicts=(${pkgname%-git})
provides=(${pkgname%-git})
depends=('bash')
source=("${pkgname}::git+${url}.git")
sha512sums=('SKIP')

pkgver() {
  cd "$pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
 cd "$pkgname"

 sed -i 's/\/local//g' amdgpu-clocks.service
}

package() {
  cd "$pkgname"
  install -Dm755 amdgpu-clocks "$pkgdir/usr/bin/amdgpu-clocks"
  install -Dm644 amdgpu-clocks.service "$pkgdir/usr/lib/systemd/system/amdgpu-clocks.service"
  install -Dm755 amdgpu-clocks-resume "$pkgdir/usr/lib/systemd/system-sleep/amdgpu-clocks-resume"
}

Terence commented on 2020-03-22 20:32 (UTC) (edited on 2020-03-22 21:04 (UTC) by Terence)

Hey, can you update the package to also install the resume unit? https://github.com/sibradzic/amdgpu-clocks/commit/4b6d6727c27099bfa31a818d777660ec57ba9000

It should just be a matter of adding install -Dm755 amdgpu-clocks-resume "$pkgdir/usr/lib/systemd/system-sleep/amdgpu-clocks-resume" :)