How to overclock the LCD refresh rate and also undervolt the CPU on Linux Mint

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
User avatar
O M I D
Level 1
Level 1
Posts: 8
Joined: Tue Nov 15, 2011 4:59 am

How to overclock the LCD refresh rate and also undervolt the CPU on Linux Mint

Post by O M I D »

Hi,

I have Dell G7790.

I have 2 hard drives one for LinuxMint one for Windows 10.

I was able to undervolt the cpu on windows using "ThrottleStop" and also overclock the LCD refresh rate from 60 Hz to 70Hz using "Custom Resolution Utility 1.3 by ToastyX " EASILY !

I want to do EXACTLY the same thing on Linux mint.

Thank you !
I only HOPE when there is a shell there is a way

User avatar
O M I D
Level 1
Level 1
Posts: 8
Joined: Tue Nov 15, 2011 4:59 am

Re: How to overclock the LCD refresh rate and also undervolt the CPU on Linux Mint

Post by O M I D »

Anyone ?
I only HOPE when there is a shell there is a way

User avatar
catweazel
Level 19
Level 19
Posts: 9890
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: How to overclock the LCD refresh rate and also undervolt the CPU on Linux Mint

Post by catweazel »

O M I D wrote:
Fri Aug 30, 2019 7:47 pm
Anyone ?
Probably not, no. You're asking for highly specialised assistance. The volunteers will usually always respond to questions they can answer.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.

User avatar
Spearmint2
Level 16
Level 16
Posts: 6891
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: How to overclock the LCD refresh rate and also undervolt the CPU on Linux Mint

Post by Spearmint2 »

For the CPU, do that in the BIOS. To increase the refresh rate, use cvt command to find the modeline needed, then use xrandr with the --newmode and --addmode to set the new resolution/refresh rate. You can then set permanently using the Display icon in menu.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

User avatar
O M I D
Level 1
Level 1
Posts: 8
Joined: Tue Nov 15, 2011 4:59 am

Re: How to overclock the LCD refresh rate and also undervolt the CPU on Linux Mint

Post by O M I D »

Spearmint2 wrote:
Fri Aug 30, 2019 9:09 pm
For the CPU, do that in the BIOS. To increase the refresh rate, use cvt command to find the modeline needed, then use xrandr with the --newmode and --addmode to set the new resolution/refresh rate. You can then set permanently using the Display icon in menu.
I don't have that in the BIOS.

I will try cvt command ...

Thank you
I only HOPE when there is a shell there is a way

User avatar
Spearmint2
Level 16
Level 16
Posts: 6891
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: How to overclock the LCD refresh rate and also undervolt the CPU on Linux Mint

Post by Spearmint2 »

Here's an example, using 1600 x 900 with 60 refresh rate desired.

Code: Select all

cvt 1600 900 60 1600x900 59.95 Hz (CVT 1.44M9) hsync: 55.99 kHz; pclk: 118.25 MHz
Modeline "1600x900_60.00"  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync

xrandr --newmode "1600x900_60.00"  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync

xrandr --addmode HDMI-1 1600x900_60.00

All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

User avatar
Pjotr
Level 21
Level 21
Posts: 14976
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: How to overclock the LCD refresh rate and also undervolt the CPU on Linux Mint

Post by Pjotr »

The Arch wiki has some good stuff on CPU tuning:
https://wiki.archlinux.org/index.php/CP ... cy_scaling

cpupower looks like an interesting starting point.
Tip: 10 things to do after installing Linux Mint 20 Ulyana
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

SpookyWatcher
Level 3
Level 3
Posts: 182
Joined: Fri May 10, 2013 4:06 pm

Re: How to overclock the LCD refresh rate and also undervolt the CPU on Linux Mint

Post by SpookyWatcher »

In order to undervolt, you have to directly write to registers. YOU NEED TO BE EXTREMELY CAREFUL here. In fact, I am telling you DO NOT DO THIS!

That being said here is my -125mv undervolt for all cores + my vid card. There is NO guarantee that this will work for you. I have ROG-702vs Gaming Laptop.

Code: Select all

sudo bash -c 'wrmsr 0x150 0x80000011f0000000 && wrmsr 0x150 0x80000111f0000000 && wrmsr 0x150 0x80000211f0000000 && wrmsr 0x150 0x80000311f0000000 && wrmsr 0x150 0x80000411f0000000'
You can test if successful by loading the cpu and checking it's voltage...then applying the code and checking to see that the voltage dropped. Because you won't necessarily see the undervolt if the cpu is idling.

A much much safer way to keep temps down is to prevent turbo. Use the following below to achieve:

Code: Select all

sudo nano /sys/devices/system/cpu/intel_pstate/no_turbo
Then change the value of 0 to 1

Hope it helps

SpookyWatcher

User avatar
O M I D
Level 1
Level 1
Posts: 8
Joined: Tue Nov 15, 2011 4:59 am

Re: How to overclock the LCD refresh rate and also undervolt the CPU on Linux Mint

Post by O M I D »

SpookyWatcher wrote:
Tue Sep 03, 2019 11:30 am
In order to undervolt, you have to directly write to registers. YOU NEED TO BE EXTREMELY CAREFUL here. In fact, I am telling you DO NOT DO THIS!

That being said here is my -125mv undervolt for all cores + my vid card. There is NO guarantee that this will work for you. I have ROG-702vs Gaming Laptop.

Code: Select all

sudo bash -c 'wrmsr 0x150 0x80000011f0000000 && wrmsr 0x150 0x80000111f0000000 && wrmsr 0x150 0x80000211f0000000 && wrmsr 0x150 0x80000311f0000000 && wrmsr 0x150 0x80000411f0000000'
You can test if successful by loading the cpu and checking it's voltage...then applying the code and checking to see that the voltage dropped. Because you won't necessarily see the undervolt if the cpu is idling.

A much much safer way to keep temps down is to prevent turbo. Use the following below to achieve:

Code: Select all

sudo nano /sys/devices/system/cpu/intel_pstate/no_turbo
Then change the value of 0 to 1

Hope it helps

SpookyWatcher
I DEFINITELY would go with the safer way which is NO TURBO.
Thank you !
Last edited by O M I D on Tue Sep 03, 2019 8:20 pm, edited 1 time in total.
I only HOPE when there is a shell there is a way

User avatar
O M I D
Level 1
Level 1
Posts: 8
Joined: Tue Nov 15, 2011 4:59 am

Re: How to overclock the LCD refresh rate and also undervolt the CPU on Linux Mint

Post by O M I D »

Spearmint2 wrote:
Mon Sep 02, 2019 5:33 am
Here's an example, using 1600 x 900 with 60 refresh rate desired.

Code: Select all

cvt 1600 900 60 1600x900 59.95 Hz (CVT 1.44M9) hsync: 55.99 kHz; pclk: 118.25 MHz
Modeline "1600x900_60.00"  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync

xrandr --newmode "1600x900_60.00"  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync

xrandr --addmode HDMI-1 1600x900_60.00

Thank you ! worked for me. Got 70Hz out of 60Hz screen. Could not go over that ! Looks and feels way better now.
I only HOPE when there is a shell there is a way

User avatar
O M I D
Level 1
Level 1
Posts: 8
Joined: Tue Nov 15, 2011 4:59 am

Re: How to overclock the LCD refresh rate and also undervolt the CPU on Linux Mint

Post by O M I D »

Pjotr wrote:
Mon Sep 02, 2019 5:49 am
The Arch wiki has some good stuff on CPU tuning:
https://wiki.archlinux.org/index.php/CP ... cy_scaling

cpupower looks like an interesting starting point.
Thank you ! I would rather stick with NO TURBO solution.
I only HOPE when there is a shell there is a way

SpookyWatcher
Level 3
Level 3
Posts: 182
Joined: Fri May 10, 2013 4:06 pm

Re: How to overclock the LCD refresh rate and also undervolt the CPU on Linux Mint

Post by SpookyWatcher »

O M I D wrote:
Tue Sep 03, 2019 8:25 pm
Pjotr wrote:
Mon Sep 02, 2019 5:49 am
The Arch wiki has some good stuff on CPU tuning:
https://wiki.archlinux.org/index.php/CP ... cy_scaling

cpupower looks like an interesting starting point.
Thank you ! I would rather stick with NO TURBO solution.
BTW...the no turbo solution is not persistent from boot to boot. It will revert to turbo mode after reboot. So you would have to redo it if you want the turbo disabled each time.

Cheers and glad it helped.

User avatar
O M I D
Level 1
Level 1
Posts: 8
Joined: Tue Nov 15, 2011 4:59 am

Re: How to overclock the LCD refresh rate and also undervolt the CPU on Linux Mint

Post by O M I D »

SpookyWatcher wrote:
Wed Sep 04, 2019 1:24 pm
O M I D wrote:
Tue Sep 03, 2019 8:25 pm
Pjotr wrote:
Mon Sep 02, 2019 5:49 am
The Arch wiki has some good stuff on CPU tuning:
https://wiki.archlinux.org/index.php/CP ... cy_scaling

cpupower looks like an interesting starting point.
Thank you ! I would rather stick with NO TURBO solution.
BTW...the no turbo solution is not persistent from boot to boot. It will revert to turbo mode after reboot. So you would have to redo it if you want the turbo disabled each time.

Cheers and glad it helped.
Thanks for mentioning that :roll:
I only HOPE when there is a shell there is a way

Post Reply

Return to “Newbie Questions”