ryzen-controller/README.md

120 lines
4.6 KiB
Markdown
Raw Permalink Normal View History

2019-02-28 05:12:54 +07:00
# Ryzen controller
2019-02-27 02:06:13 +07:00
2020-09-05 06:29:33 +07:00
*_I'm looking for maintainers and reviewers, if you know Electron/React and have some spare times, please open an issue or ping `@storm1er#0376` or `@JamesCJ#2020` on [discord](https://discord.gg/8uHWnsz)._*
2019-06-03 22:51:42 +07:00
2019-08-02 15:35:39 +07:00
Thanks to https://github.com/FlyGoat/RyzenAdj and his author, ryzenadj.exe is included (windows only for now).
- [What's this?](#whats-this)
2019-03-11 20:39:51 +07:00
- [Installation](#installation)
- [Windows](#windows)
- [Debian like](#debian-like)
- [Redhat like](#redhat-like)
- [Troubleshoot, Q&A](#troubleshoot-qa)
2019-03-11 20:39:51 +07:00
- [Development](#development)
- [Pre-requisite](#pre-requisite)
2019-08-02 15:35:39 +07:00
- [Dev install](#dev-install)
- [Building binaries and installers](#building-binaries-and-installers)
2019-03-11 20:39:51 +07:00
- [Using Windows](#using-windows)
- [Using Linux](#using-linux)
2019-03-02 00:00:04 +07:00
2020-08-26 06:26:20 +07:00
## Disclaimers & Cautions
2020-08-26 06:17:51 +07:00
2020-08-26 06:26:20 +07:00
- If you intend to use Ryzen Controller in a video/text post online (e.g. YouTube, Reddit) please credit the Ryzen Controller team by linking to the Ryzen Controller website! We ask this so that viewers/readers can download the software from a trusted source and so the developers get the proper recognition for their work.
- Ryzen Controller Team is not liable for any damages that my occur from using Ryzen Controller or RyzenADJ, Please use at your own risk!
2020-09-05 06:29:33 +07:00
- If you wish to join us developing Ryzen Controller, please join the community [discord server](https://discord.gg/8uHWnsz) and ping either `@storm1er#0376` or `@JamesCJ#2020`.
2020-08-26 06:17:51 +07:00
2019-08-02 15:35:39 +07:00
## What's this?
- It's a little Ryzen Master for laptops.
2020-09-05 06:29:33 +07:00
- Works best on 2xxx and 3xxx Ryzen series (4xxx series is experimental)
2019-02-27 02:06:13 +07:00
2019-03-11 20:39:51 +07:00
## Installation
### Windows
2019-02-27 02:06:13 +07:00
2020-09-05 06:29:33 +07:00
- Go to [release page](https://gitlab.com/ryzen-controller-team/ryzen-controller/-/releases)
- Download the latest `Ryzen Controller Setup X.X.X.exe`
2019-03-11 20:39:51 +07:00
- Enjoy!
### Debian like
- Go to [RyzenAdj](https://github.com/FlyGoat/RyzenAdj) repo.
- Download and build as explained in [Build requirements](https://github.com/FlyGoat/RyzenAdj#build-requirements).
2020-09-05 06:29:33 +07:00
- Go to Ryzen Controller's [release page](https://gitlab.com/ryzen-controller-team/ryzen-controller/-/releases)
- Download the latest `ryzen-controller_X.X.X_ARCH.deb` file.
- `sudo dpkg -i ryzen-controller_X.X.X_ARCH.deb`
2019-03-11 20:39:51 +07:00
- Launch with `sudo ryzencontroller`
- Set the path to your freshly builded `ryzenadj` binary into the "settings" tab.
- Enjoy!
### Redhat like
- Go to [RyzenAdj](https://github.com/FlyGoat/RyzenAdj) repo.
- Download and build as explained in [Build requirements](https://github.com/FlyGoat/RyzenAdj#build-requirements).
2020-09-05 06:29:33 +07:00
- Go to Ryzen Controller's [release page](https://gitlab.com/ryzen-controller-team/ryzen-controller/-/releases)
- Download the latest `ryzen-controller-X.X.X.ARCH.rpm` file.
- `sudo rpm -u ryzen-controller-X.X.X.ARCH.rpm`
2019-03-11 20:39:51 +07:00
- Launch with `sudo ryzencontroller`
- Set the path to your freshly builded `ryzenadj` binary into the "settings" tab.
2019-02-28 14:11:03 +07:00
- Enjoy!
2019-02-27 02:06:13 +07:00
## Troubleshoot, Q&A
> I'm getting an error when installing ryzen controller on linux
_You may need to install `smartmontools` & `lm-sensors` packages to allow Ryzen Controller to work well._
```bash
# Install the app
sudo dpkg -i ryzen-controller_x.x.x_amd64.deb
# If you get error about missing dependencies
sudo apt-get -f install
# To ensure correct temperature and others sys-info
sudo apt-get -y smartmontools lm-sensors
```
> Why yarn?
_See https://github.com/electron-userland/electron-builder/issues/1147#issuecomment-276284477_
2019-03-11 20:39:51 +07:00
## Development
2019-02-27 02:06:13 +07:00
**THIS PART IS ONLY FOR DEVELOPMENT PURPOSE, IF YOU JUST WANT TO USE RYZEN CONTROLLER, SEE THE [INSTALLATION](#installation) PART.**
2019-02-28 05:12:54 +07:00
### Pre-requisite
2019-02-27 02:06:13 +07:00
- NodeJS v10.18.0 or newer.
2019-03-11 20:39:51 +07:00
- About building dependencies:
- No dependencies for windows installer
- See [electron-installer-debian requirements](https://github.com/electron-userland/electron-installer-debian#requirements)
- See [electron-installer-redhat requirements](https://github.com/electron-userland/electron-installer-redhat#requirements)
2019-02-27 02:06:13 +07:00
2019-08-02 15:35:39 +07:00
### Dev install
2019-02-27 02:06:13 +07:00
```bash
cd project
yarn install --frozen-lockfile # Please commit any change in yarn.lock/package.json in separated merge request
yarn start # You may want to look at "start:*" scripts in package.json
2019-02-27 02:06:13 +07:00
```
### Building binaries and installers
2019-03-11 20:39:51 +07:00
#### Using Windows
```bash
cd project
yarn docker # may not be needed, depends on your machine
yarn clean # You may want to look at "clean:*" scripts in package.json
yarn dist-pack-win # You may want to look at "dist-pack:*" scripts in package.json
2019-03-11 20:39:51 +07:00
```
#### Using Linux
```bash
cd project
yarn docker # may not be needed, depends on your machine
yarn clean # You may want to look at "clean:*" scripts in package.json
yarn dist-pack-linux # You may want to look at "dist-pack:*" scripts in package.json
2019-02-28 05:12:54 +07:00
```