https://github.com/pastaq/acer-ryzen-helios-ac-fix
https://github.com/pastaq/acer-ryzen-helios-ac-fix
56 acer amdgpu amdgpu-utils helios linux predator radeon ryzen vega vega10 vega56
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pastaq/acer-ryzen-helios-ac-fix
- Owner: pastaq
- Created: 2019-06-23T05:13:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-08-12T06:11:15.000Z (over 3 years ago)
- Last Synced: 2025-02-28T17:50:53.242Z (9 months ago)
- Topics: 56, acer, amdgpu, amdgpu-utils, helios, linux, predator, radeon, ryzen, vega, vega10, vega56
- Language: Shell
- Size: 7.81 KB
- Stars: 9
- Watchers: 1
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Acer Ryzen Helios AC Fix
## Purpose
Acer Predator Helios 500 Ryzen edition notebooks do not detect the AC adapter as being plugged in in Linux, forcing the system into a low power state and robbing performance from the system. This workaround diables the buggy power states on login to improve performance.
The upstream bug report is [drm/amd#999](https://gitlab.freedesktop.org/drm/amd/-/issues/999), and its resolution would obsolete this workaround.
## Installation
### Set kernel flags to enable DPM manual state changes.
Using your prefered editor modify your grub to include the ppfeaturemask flag that enabled AMDGPU overclocking. I have used nano in this example.
`sudo nano /etc/default/grub`
add `amdgpu.ppfeaturemask=0xffff7fff` to the line `GRUB_CMDLINE_LINUX_DEFAULT`
```
sudo update-grub
reboot
```
## Systemd
### Move the files to the required directories.
Clone the repository, then link the files in the appropriate system locations:
```
cd
sudo ln acfix.sh /usr/local/sbin/
sudo ln acfix.service /etc/systemd/system/
```
(If your root filesystem and clone partition differ, use `cp` instead of `ln`.)
## Using the Service
To enable the workaround:
```
sudo systemctl enable acfix
reboot
```
## Disclaimer
Any damage resulting from you running this service is your own damn fault. Leave me alone about it.