ryzen-controller/README.md

117 lines
4.0 KiB
Markdown
Raw Normal View History

2019-02-28 05:12:54 +07:00
# Ryzen controller
2019-02-27 02:06:13 +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` on [discord](https://discord.gg/EahayUv)._*
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
2019-08-02 15:35:39 +07:00
## What's this?
- It's a little Ryzen Master for laptops.
- Works best on 2xxx Ryzen series (3xxx 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
2019-03-04 18:32:08 +07:00
- Go to [release page](https://gitlab.com/le.storm1er/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).
- Go to Ryzen Controller's [release page](https://gitlab.com/le.storm1er/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).
- Go to Ryzen Controller's [release page](https://gitlab.com/le.storm1er/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
### Caution!
- Ryzen Controller Team is not liable for any damages that my occur from using Ryzen Controller or RyzenADJ, Please use at your own risk!
## 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
```