Linux undervolting GUI

Discussion in 'Linux Compatibility and Software' started by Sphynxinator, Feb 5, 2019.

  1. Sphynxinator

    Sphynxinator Newbie

    Reputations:
    15
    Messages:
    5
    Likes Received:
    12
    Trophy Points:
    6
    Hi everyone,

    I was looking into undervolting in Linux, and could only find command line tools, which can be quite tedious when testing, so I've been making an electron app to handle this for me:

    [​IMG] [​IMG]


    If anyone is interested in this I'm happy to package it up and share it on my github.

    Release builds here: https://github.com/lukechadwick/linux-intel-undervolt-gui/releases

    TODO:
    --Add benchmark/stress test
    --Add hardware info to read out temps/usage/voltages etc
    --Maybe an auto undervolt script to find the lowest stable voltage
     
    Last edited: Feb 11, 2019
    Mr. Fox, Kuro Kensei, Vasudev and 2 others like this.
  2. Vasudev

    Vasudev Notebook Nobel Laureate

    Reputations:
    5,130
    Messages:
    8,381
    Likes Received:
    5,865
    Trophy Points:
    681
    Can I install it using pip3 because I installed George's python script system-wide.
     
    Sphynxinator likes this.
  3. Sphynxinator

    Sphynxinator Newbie

    Reputations:
    15
    Messages:
    5
    Likes Received:
    12
    Trophy Points:
    6
    Not currently, that's a great idea though, I will add in a check to see if the script is installed globally.

    Update: Okay I uploaded 1.0.1 which should detect that you have it installed.
     
    Last edited: Feb 6, 2019
    Vasudev likes this.
  4. Kuro Kensei

    Kuro Kensei Notebook Geek

    Reputations:
    80
    Messages:
    93
    Likes Received:
    139
    Trophy Points:
    41
    This is amazing! But is it possible... crossing fingers and toes... to add support for AMD Ryzen to the mix?? This would make so many people happy, I can't begin to tell you. There's a Discord server - Ryzen Shine with 150+ members already, desperately looking into this. We have full control of TDP, current and threshold temps, but the one missing aspect is voltage - still holding us back...
     
  5. Sphynxinator

    Sphynxinator Newbie

    Reputations:
    15
    Messages:
    5
    Likes Received:
    12
    Trophy Points:
    6
    Not yet sorry, the part that talks to the hardware is written by someone else as a a command line utility, which this sits on top of to provide a GUI. If someone figures it out I'll be happy to add it in.
     
    jclausius and Vasudev like this.
  6. Vasudev

    Vasudev Notebook Nobel Laureate

    Reputations:
    5,130
    Messages:
    8,381
    Likes Received:
    5,865
    Trophy Points:
    681
    Tested and working fine. Only issue is setting via GUI gives a different offset when undervolt script is read as root.
    Working fine if undervolt values are passed via terminal or put to run at startup.
    Screenshot_2019-02-08_22-28-47.png
    Setting via GUI and reading back set voltages through terminal sometimes gives a different offset at decimal points. Other than that there's no issue. You can use the offset calculation formulae in python script as reference. Good job and your SW is featured at Phoronix!
    s2.png
     
  7. Sphynxinator

    Sphynxinator Newbie

    Reputations:
    15
    Messages:
    5
    Likes Received:
    12
    Trophy Points:
    6
    Oh wow phoronix haha, that's cool. I think I know what the problem is with reading the wrong value, easy to fix, cheers!
     
    Vasudev likes this.
  8. Vasudev

    Vasudev Notebook Nobel Laureate

    Reputations:
    5,130
    Messages:
    8,381
    Likes Received:
    5,865
    Trophy Points:
    681
    A little UI change will be needed for undervolting tool since I feel root password can be copied to clipboard and abused. Its better to call the GUI with pkexec (debian derivatives) rather than writing root password on GUI and visible to users.
     
    Dennismungai likes this.
  9. Vasudev

    Vasudev Notebook Nobel Laureate

    Reputations:
    5,130
    Messages:
    8,381
    Likes Received:
    5,865
    Trophy Points:
    681
    @Sphynxinator Scratch my request of removing GUI for root pass in Undervolt GUI since copy and pasting the password doesn't work in terminal. Tried everything and Linux is just too secure....
    But a suggestion would be to pad the root password with additional blank dots. I think my password can be judged easily.
     
  10. Sphynxinator

    Sphynxinator Newbie

    Reputations:
    15
    Messages:
    5
    Likes Received:
    12
    Trophy Points:
    6
    Update with some Benchmark/CPU info features and bug fixes/polish.
     
    jclausius, Dennismungai and Vasudev like this.
Loading...

Share This Page