You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added user-friendly GUI along with respective install, uninstall, update scripts
* Added uninstall-undervolt.sh to distributables
* Improved the README docs
* Updated go.yml GitHub Actions Workflow to build both CLI and GUI binaries and distribute them
Copy file name to clipboardExpand all lines: .github/workflows/go.yml
+15-6Lines changed: 15 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -41,23 +41,32 @@ jobs:
41
41
echo "All required dependencies are installed"
42
42
- name: Build undervolt-go
43
43
run: |
44
-
echo "Building undervolt-go..."
45
-
go build -ldflags="-X 'main.version=$(git describe --tags)'" -o undervolt-go main.go # When building your application, pass the version from git tags using ldflags.
44
+
echo "Building Undervolt Go..."
45
+
go build -ldflags="-X 'main.version=$(git describe --tags)'" -o undervolt-go . # When building your application, pass the version from git tags using ldflags.
Copy file name to clipboardExpand all lines: README.md
+46-36Lines changed: 46 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# undervolt-go
1
+
# Undervolt Go
2
2
3
-
**undervolt-go** is a Go port of the original [undervolt](https://github.com/georgewhewell/undervolt)utility, designed to allow users to undervolt Intel CPUs on Linux systems. Undervolting can help reduce CPU temperatures, decrease power consumption, and potentially increase system stability and longevity. **undervolt-go** gives the advantage of running the application without the need for any dependencies.
3
+
**Undervolt Go** is a power-utility, designed to allow users to undervolt Intel CPUs on Linux systems. Undervolting can help reduce CPU temperatures, decrease power consumption, and potentially increase system stability and longevity. **Undervolt Go** gives the advantage of running the application without the need for any dependencies, and also features a user-friendly graphical version.
4
4
5
5
Get it [here](https://softorage.github.io/undervolt-go/).
6
6
@@ -24,11 +24,11 @@ _**Note:**_
24
24
25
25
## Introduction
26
26
27
-
**undervolt-go** enables users to apply voltage offsets to various components of Intel CPUs, such as the core, cache, GPU, and more. By adjusting these voltage offsets, users can achieve lower power consumption and reduced heat output, which is particularly beneficial for laptops and compact systems where thermal management is crucial.
27
+
**Undervolt Go** enables users to apply voltage offsets to various components of Intel CPUs, such as the core, cache, GPU, and more. By adjusting these voltage offsets, users can achieve lower power consumption and reduced heat output, which is particularly beneficial for laptops and compact systems where thermal management is crucial.
28
28
29
29
## Building
30
30
31
-
To build **undervolt-go**, follow these steps:
31
+
To build **Undervolt Go**, follow these steps:
32
32
33
33
1.**Clone the repository:**
34
34
@@ -62,13 +62,16 @@ To build **undervolt-go**, follow these steps:
62
62
63
63
## Installation
64
64
65
-
To install **undervolt-go** on your system, follow these steps:
66
-
1. Download latest release from [offical nightly builds](https://softorage.github.io/undervolt-go/)
65
+
To install **Undervolt Go** on your system, follow these steps:
66
+
1. Download latest release from [offical nightly builds](https://softorage.github.io/undervolt-go/).
67
+
- You can download the GUI version (slightly more in size) or the CLI version.
68
+
- The GUI version can also run the CLI commands. The commands need to be passed to `undervolt-go-pro`
67
69
2. Extract the archive. You should now have the following files:
68
-
1. undervolt-go
70
+
1. undervolt-go or undervolt-go-pro
69
71
2. install-undervolt.sh
70
-
3. update-undervolt.sh
71
-
3. Simply make install-undervolt.sh executable (or update-undervolt.sh if you already have it):
72
+
3. uninstall-undervolt.sh
73
+
4. update-undervolt.sh
74
+
3. Simply make install-undervolt.sh executable (or update-undervolt.sh if you already have Undervolt Go installed on your system):
72
75
-`chmod +x install-undervolt.sh`
73
76
- or you can right click install-undervolt.sh, go to Properties, and in the Permissions tab, tick 'Make executable'
74
77
4. If you have built the binary by yourselves, replace the downloaded undervolt-go with your undervolt-go
@@ -77,7 +80,7 @@ To install **undervolt-go** on your system, follow these steps:
77
80
78
81
## Usage
79
82
80
-
**undervolt-go** requires root privileges to interact with the CPU's model-specific registers (MSRs). Ensure you have the necessary permissions before proceeding.
83
+
**Undervolt Go** requires root privileges to interact with the CPU's model-specific registers (MSRs). Ensure you have the necessary permissions before proceeding.
81
84
82
85
1. To apply a voltage offset, use the following syntax:
83
86
@@ -132,9 +135,13 @@ To install **undervolt-go** on your system, follow these steps:
132
135
133
136
## Features
134
137
138
+
-**GUI:** Interact with 'Undervolt Go' from a user-friendly graphical user interface.
135
139
-**Voltage Offset Adjustment:** Apply custom voltage offsets to CPU components to optimize performance and thermal characteristics.
136
-
-**Temperature Target Override:** Set a custom temperature target for CPU throttling.
140
+
-**Temperature Target Override:** Set a custom temperature target for CPU throttling, on AC or battery power.
137
141
-**Power Limit Configuration:** Adjust the CPU's power limits to control performance and power consumption.
142
+
-**Intel Turbo Adjustment:** Enable or disable Intel Turbo for optimal performance.
143
+
-**Temperature Monitoring:** Monitor and display the current temperature of the CPU.
144
+
-**Fan Monitoring:** Monitor and display the current fan speed of the CPU.
138
145
139
146
## Dependencies
140
147
@@ -151,14 +158,15 @@ To install **undervolt-go** on your system, follow these steps:
151
158
152
159
## Configuration
153
160
154
-
**undervolt-go** does not use a configuration file. All settings are applied via command-line arguments. To maintain settings across reboots, you can either consider creating a startup script that runs your preferred `undervolt-go` command, or add the preferred `undervolt-go` command in `.profile` file. You may need to edit the `sudoers` file to allow running `undervolt-go` as sudo without requiring password.
161
+
**Undervolt Go** does not use a configuration file. All settings are applied via command-line arguments. To maintain settings across reboots, you can either consider creating a startup script that runs your preferred `undervolt-go` command, or add the preferred `undervolt-go` command in `.profile` file. You may need to edit the `sudoers` file to allow running `undervolt-go` as sudo without requiring password.
155
162
156
163
To edit `sudoers` file,
157
164
1. Type in terminal `sudo visudo`.
158
-
2. Add the below line at last of the sudoers file to allow running `undervolt-go` as sudo without requiring password
- `username ALL=(ALL) NOPASSWD: /usr/local/bin/undervolt-go-pro` # in case you are using the graphical version
160
168
3. `Ctrl`+`X` to exit, `y` and `enter` to save.
161
-
4. Make sure that you are absolutely sure that the computer won't crash with the commands that you are putting in`.profile`. Otherwise, your computer will always crash upon login. In such a case, you may try to shift to tty4 (`Ctrl`+`Alt`+`F4`) before login (or any other tty), and remove the commands causing issues from `.profile` file. This would usually work if X Server is causing issues.
169
+
4. Make sure that you are absolutely sure that the computer won't crash with the commands that you are putting in`.profile`. Otherwise, your computer will always crash upon login. In such a case, you may try to shift to `tty4` (`Ctrl`+`Alt`+`F4`) before login (or any other `tty`), and remove the commands causing issues from `.profile` file. This would usually work if X Server is causing issues.
162
170
163
171
164
172
## Examples
@@ -197,43 +205,45 @@ To edit `sudoers` file,
197
205
198
206
1. Is undervolting safe?
199
207
200
-
Undervolting can be safe ifdone correctly, but it carries inherent risks. Applying incorrect voltage settings can lead to system instability, crashes, or hardware damage. Start with small negative voltage offsets, and choose the offset just before the system starts crashing. You may have to manually cut the power when the system crashes due to undervolt.
208
+
Undervolting can be safe ifdone correctly, but it carries inherent risks. Applying incorrect voltage settings can lead to system instability, crashes, or hardware damage. Start with small negative voltage offsets, and choose the offset just before the system starts crashing. You may have to manually cut the power when the system crashes due to undervolt.
201
209
202
-
2. Do I need to install any dependencies to use undervolt-go?
210
+
2. Do I need to install any dependencies to use Undervolt Go?
203
211
204
-
No, undervolt-go is built using Go and does not require any external dependencies. However, to interact with CPU settings, the application needs to run with elevated privileges.
212
+
No, Undervolt Go is built using Go and does not require any external dependencies. However, to interact with CPU settings, the application needs to run with elevated privileges.
205
213
206
-
3. How do I use undervolt-go to undervolt my CPU?
214
+
3. How do I use Undervolt Go to undervolt my CPU?
207
215
208
-
To use undervolt-go:
216
+
To use Undervolt Go:
209
217
210
-
Mehtod 1: Without installation:
218
+
Mehtod 1: Without installation:
211
219
212
-
- Open Terminal: Launch your terminal application.
213
-
- Navigate to the Executable Location: Ensure you're in the directory containing the undervolt-go executable (`cd` into the directory where 'undervolt-go' is located) or provide the full path to it.
214
-
- Run the Executable: Execute the program with appropriate permissions:
215
-
`sudo ./undervolt-go`
220
+
- Open Terminal: Launch your terminal application.
221
+
- Navigate to the Executable Location: Ensure you're in the directory containing the undervolt-go executable (`cd` into the directory where 'undervolt-go' is located) or provide the full path to it.
222
+
- Run the Executable: Execute the program with appropriate permissions:
223
+
`sudo ./undervolt-go`
216
224
217
-
Mehtod 2: With installation:
225
+
Mehtod 2: With installation:
218
226
219
-
- Open Terminal: Launch your terminal application.
220
-
- Navigate to the undervolt-go directory: Change to the directory containing the undervolt-go executable, along with the install-undervolt.sh and update-undervolt.sh scripts. Make sure that all the files are in the same directory.
221
-
- Install undervolt-go: Run the install-undervolt.sh script:
222
-
`sudo ./install-undervolt.sh`
223
-
- Run undervolt-go: You can now use 'undervolt-go' from any directory.Run the undervolt-go executable with root privileges:
224
-
`sudo undervolt-go`
227
+
- Navigate to the undervolt-go or undervolt-go-pro directory: Change to the directory containing the undervolt-go executable or undervolt-go-pro executable for graphical version, along with the install-undervolt.sh, uninstall-undervolt.sh and update-undervolt.sh scripts. Make sure that all the files are in the same directory.
228
+
- Open Terminal: Launch your terminal application in the undervolt-go or undervolt-go-pro directory.
229
+
- Install Undervolt Go: Run the install-undervolt.sh script:
230
+
`sudo ./install-undervolt.sh`
231
+
- Run Undervolt Go:
232
+
- For `undervolt-go`, you can now use 'Undervolt Go' from any directory. Run the `undervolt-go` command with root privileges:
233
+
- `sudo undervolt-go --help`
234
+
- For `undervolt-go-pro`, you can now launch 'Undervolt Go' from your desktop. Just click or double-click on the 'Undervolt Go' icon to run the graphical version. You will be prompted root password and then the program will run.
225
235
226
236
4. Do you use AI to develop this project?
227
237
228
-
We may use AI when developing this project. If you find any issues, please report them to us. We will try to fix them as soon as possible.
238
+
We may use AI when developing this project. If you find any issues, please report them to us. We will try to fix them as soon as possible.
229
239
230
-
5. Which Intel CPUs are supported by undervolt-go?
240
+
5. Which Intel CPUs are supported by Undervolt Go?
231
241
232
-
undervolt-go supports a range of Intel CPUs, particularly those from the Haswell generation and newer. However, compatibility can vary based on your specific system configuration.
242
+
Undervolt Go supports a range of Intel CPUs, particularly those from the Haswell generation and newer. However, compatibility can vary based on your specific system configuration.
233
243
234
244
## Contributors
235
245
236
-
We welcome contributions from the community. If you'd like to contribute to **undervolt-go**, please fork the repository and submit a pull request with your changes.
246
+
We welcome contributions from the community. If you'd like to contribute to **Undervolt Go**, please fork the repository and submit a pull request with your changes.
0 commit comments