Coder Social home page Coder Social logo

csabaconsulting / acer-ryzen-helios-ac-fix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pastaq/acer-ryzen-helios-ac-fix

0.0 0.0 0.0 9 KB

Workaround for the Acer Predator Helios 500 Ryzen AC issue https://forums.linuxmint.com/viewtopic.php?t=317000

Shell 100.00%

acer-ryzen-helios-ac-fix's Introduction

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, 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 <clone dir>
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.

acer-ryzen-helios-ac-fix's People

Contributors

akien-mga avatar mrcsabatoth avatar pastaq avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.