RobertCsordas / linux-intel-undervolt-tool

Scripts for undervolting 6+th gen Intel i* CPUs and their internal GPU.
54 stars 5 forks source link

undervolt _ No changes for me !!! Can i get some help ? #2

Open dlj2019 opened 5 years ago

dlj2019 commented 5 years ago

Can someone please let know if i am adding the correct values to .json files ?

{ "cpu": -100, "gpu": -100 }

Thanks in advance !

RobertCsordas commented 5 years ago

How are you checking whether something changed?

dlj2019 commented 5 years ago

How are you checking whether something changed?

Yes... i trying to see if is there something else i am missing here...

{ "cpu": -100mV, "gpu": -100mV }

Should i also add "mV" with the value ?

Thanks gain

ariselseng commented 5 years ago

@dlj2019 You need valid JSON. Remove the "mV".

RobertCsordas commented 5 years ago

The JSON in the first post is correct:

{ "cpu": -100, "gpu": -100 }

dlj2019 commented 5 years ago

I had follow the steps but the report shows;

Selection_038

Can you guys help me out !?

Thanks in advance

The JSON in the first post is correct:

{ "cpu": -100, "gpu": -100 }

I had follow the steps but the report shows;

Selection_038

Can you guys help me out !?

Thanks in advance

dlj2019 commented 5 years ago

The JSON in the first post is correct:

{ "cpu": -100, "gpu": -100 }

Unfortunately, i still see high discharge rate on XPS 15 9560- KDE Neon.

Selection_038

Can you please help me out!

I really appreciate you time...

Thanks

RobertCsordas commented 5 years ago

It is highly task dependent whether you will see any decrease in battery discharge rate. You have more serious problems here. 45.7W is incredibly high. I usually get 5-6W on iddle with minimum brightness. I have never measured the reduction in power consumption due to this script, however I noticed that under load the machine runs a bit cooler. If you set ~ -150 for the cpu, you will notice that your system hangs if you do some really CPU intensive, so I's definitely reducing the CPU voltage. There is an other, more spohisticated project (https://github.com/kitsunyan/intel-undervolt), which is about a month newer than this one, and can also read the limits. However they just re-read the same registers as there are written by this script. However note that the other one lets you to separately control the CPU and cache voltages, which is by current hardware handled by max(cpu, cache), e.g for -100 and -50, it will just set -50 for both.

You should install TLP which helps a lot in power consumtion. However your nic:virbr0 should should not use power when it is not doing anything, and here it uses 16.5W. Do you really need that virtual ethernet device? Also what is that usb device using 3.5W?

Here is a screenshot of mine: power

dlj2019 commented 5 years ago

Wow... 5-6W ? that's awesome ! i wish i could get it close to that!

Powertop is installed and running ...

Right, i am not using the "nic:virbr0"... i need to disable it. For the "usb" , not so sure what it is. Battery is reporting much better readings now compering to 45.7w, but there is much more room for improvement .

On Apr 7 2019, at 3:56 am, Csordás Róbert notifications@github.com wrote:

It is highly task dependent whether you will see any decrease in battery discharge rate. You have more serious problems here. 45.7W is incredibly high. I usually get 5-6W on iddle with minimum brightness. I have never measured the reduction in power consumption due to this script, however I noticed that under load the machine runs a bit cooler. If you set ~ -150 for the cpu, you will notice that your system hangs if you do some really CPU intensive, so I's definitely reducing the CPU voltage. There is an other, more spohisticated project (https://github.com/kitsunyan/intel-undervolt (https://link.getmailspring.com/link/62D8CF2D-D4F1-4D0C-B59A-4C6B6DEA190F@getmailspring.com/0?redirect=https%3A%2F%2Fgithub.com%2Fkitsunyan%2Fintel-undervolt&recipient=cmVwbHkrMDFkNzRiMjY1MzVlZDBhY2RjODhlZDlkMGQ1ZmIxZmQ1MGE4NWI0ZGViNjZhMzY1OTJjZjAwMDAwMDAxMThjMTZmMWY5MmExNjljZTE5NjVjY2EwQHJlcGx5LmdpdGh1Yi5jb20%3D)), which is about a month newer than this one, and can also read the limits. However they just re-read the same registers as there are written by this script. However note that the other one lets you to separately control the CPU and cache voltages, which is by current hardware handled by max(cpu, cache), e.g for -100 and -50, it will just set -50 for both.

You should install TLP which helps a lot in power consumtion. However your nic:virbr0 should should not use power when it is not doing anything, and here it uses 16.5W. Do you really need that virtual ethernet device? Also what is that usb device using 3.5W? Here is a screenshot of mine:

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/62D8CF2D-D4F1-4D0C-B59A-4C6B6DEA190F@getmailspring.com/1?redirect=https%3A%2F%2Fgithub.com%2Fxdever%2Flinux-intel-undervolt-tool%2Fissues%2F2%23issuecomment-480567985&recipient=cmVwbHkrMDFkNzRiMjY1MzVlZDBhY2RjODhlZDlkMGQ1ZmIxZmQ1MGE4NWI0ZGViNjZhMzY1OTJjZjAwMDAwMDAxMThjMTZmMWY5MmExNjljZTE5NjVjY2EwQHJlcGx5LmdpdGh1Yi5jb20%3D), or mute the thread (https://link.getmailspring.com/link/62D8CF2D-D4F1-4D0C-B59A-4C6B6DEA190F@getmailspring.com/2?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAddLJmUMvbe1qYSKC9vKBLfzYH2h2krFks5veaSfgaJpZM4cOatY&recipient=cmVwbHkrMDFkNzRiMjY1MzVlZDBhY2RjODhlZDlkMGQ1ZmIxZmQ1MGE4NWI0ZGViNjZhMzY1OTJjZjAwMDAwMDAxMThjMTZmMWY5MmExNjljZTE5NjVjY2EwQHJlcGx5LmdpdGh1Yi5jb20%3D).

RobertCsordas commented 5 years ago

Make sure you turn off your discrete GPU. You can configure bumblebee to switch between them. I just use it for CUDA, and I wrote a script that can turn it on/off easily. If you are interested, I can share that also. I think if you remove the virbr, install TLP and turn off your GPU, it should be the same. One more thing: I have my touchscreen disabled from BIOS, which helps a tiny bit (<0.5W), although it you add it to TLP config then it also uses almost nothing. Take a look at this page for instructions (it should work for other distros too): https://wiki.archlinux.org/index.php/Dell_XPS_15_9560

dlj2019 commented 5 years ago

Thank you so much for helping me out with this. I really appreciate your help.

I want to take you advice, could you please share the script you made ? I think i already have TLP installed. ( i share a screenshot of it ) Thanks again for your time ... On Apr 8 2019, at 9:40 am, Csordás Róbert notifications@github.com wrote:

Make sure you turn off your discrete GPU. You can configure bumblebee to switch between them. I just use it for CUDA, and I wrote a script that can turn it on/off easily. If you are interested, I can share that also. I think if you remove the virbr, install TLP and turn off your GPU, it should be the same. One more thing: I have my touchscreen disabled from BIOS, which helps a tiny bit (<0.5W), although it you add it to TLP config then it also uses almost nothing. Take a look at this page for instructions (it should work for other distros too): https://wiki.archlinux.org/index.php/Dell_XPS_15_9560 (https://link.getmailspring.com/link/62BFC517-D1D5-4E34-951A-60B20499AB57@getmailspring.com/0?redirect=https%3A%2F%2Fwiki.archlinux.org%2Findex.php%2FDell_XPS_15_9560&recipient=cmVwbHkrMDFkNzRiMjYwOWViMWQwNDE1Yjg0MTMyODg3ZjdkODQzM2Y0YWU4YWIyMDEwMGExOTJjZjAwMDAwMDAxMThjMzExNGE5MmExNjljZTE5NjVjY2EwQHJlcGx5LmdpdGh1Yi5jb20%3D)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/62BFC517-D1D5-4E34-951A-60B20499AB57@getmailspring.com/1?redirect=https%3A%2F%2Fgithub.com%2Fxdever%2Flinux-intel-undervolt-tool%2Fissues%2F2%23issuecomment-480836082&recipient=cmVwbHkrMDFkNzRiMjYwOWViMWQwNDE1Yjg0MTMyODg3ZjdkODQzM2Y0YWU4YWIyMDEwMGExOTJjZjAwMDAwMDAxMThjMzExNGE5MmExNjljZTE5NjVjY2EwQHJlcGx5LmdpdGh1Yi5jb20%3D), or mute the thread (https://link.getmailspring.com/link/62BFC517-D1D5-4E34-951A-60B20499AB57@getmailspring.com/2?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAddLJlBJT2IFlC3qyw_Z7nuBmvqDAju1ks5ve0bKgaJpZM4cOatY&recipient=cmVwbHkrMDFkNzRiMjYwOWViMWQwNDE1Yjg0MTMyODg3ZjdkODQzM2Y0YWU4YWIyMDEwMGExOTJjZjAwMDAwMDAxMThjMzExNGE5MmExNjljZTE5NjVjY2EwQHJlcGx5LmdpdGh1Yi5jb20%3D).

dlj2019 commented 5 years ago

Question:

What do you have as Grub set (/etc/default/grub)? GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nouveau.modeset=0 acpi_rev_override=5 acpi_backlight=none"

On Apr 8 2019, at 9:09 pm, Dee Jesus dljlixo@gmail.com wrote:

Thank you so much for helping me out with this. I really appreciate your help.

I want to take you advice, could you please share the script you made ? I think i already have TLP installed. ( i share a screenshot of it ) Thanks again for your time ... On Apr 8 2019, at 9:40 am, Csordás Róbert notifications@github.com wrote:

Make sure you turn off your discrete GPU. You can configure bumblebee to switch between them. I just use it for CUDA, and I wrote a script that can turn it on/off easily. If you are interested, I can share that also. I think if you remove the virbr, install TLP and turn off your GPU, it should be the same. One more thing: I have my touchscreen disabled from BIOS, which helps a tiny bit (<0.5W), although it you add it to TLP config then it also uses almost nothing. Take a look at this page for instructions (it should work for other distros too): https://wiki.archlinux.org/index.php/Dell_XPS_15_9560 (https://link.getmailspring.com/link/0CD5C71A-1A92-472F-BDDF-071510AABF87@getmailspring.com/0?redirect=https%3A%2F%2Fwiki.archlinux.org%2Findex.php%2FDell_XPS_15_9560&recipient=cmVwbHkrMDFkNzRiMjYwOWViMWQwNDE1Yjg0MTMyODg3ZjdkODQzM2Y0YWU4YWIyMDEwMGExOTJjZjAwMDAwMDAxMThjMzExNGE5MmExNjljZTE5NjVjY2EwQHJlcGx5LmdpdGh1Yi5jb20%3D)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/0CD5C71A-1A92-472F-BDDF-071510AABF87@getmailspring.com/1?redirect=https%3A%2F%2Fgithub.com%2Fxdever%2Flinux-intel-undervolt-tool%2Fissues%2F2%23issuecomment-480836082&recipient=cmVwbHkrMDFkNzRiMjYwOWViMWQwNDE1Yjg0MTMyODg3ZjdkODQzM2Y0YWU4YWIyMDEwMGExOTJjZjAwMDAwMDAxMThjMzExNGE5MmExNjljZTE5NjVjY2EwQHJlcGx5LmdpdGh1Yi5jb20%3D), or mute the thread (https://link.getmailspring.com/link/0CD5C71A-1A92-472F-BDDF-071510AABF87@getmailspring.com/2?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAddLJlBJT2IFlC3qyw_Z7nuBmvqDAju1ks5ve0bKgaJpZM4cOatY&recipient=cmVwbHkrMDFkNzRiMjYwOWViMWQwNDE1Yjg0MTMyODg3ZjdkODQzM2Y0YWU4YWIyMDEwMGExOTJjZjAwMDAwMDAxMThjMzExNGE5MmExNjljZTE5NjVjY2EwQHJlcGx5LmdpdGh1Yi5jb20%3D).

RobertCsordas commented 5 years ago

For the switching tool, see https://github.com/xdever/linux_gpu_switch My kernel flags are: "acpi_rev_override=5 i915.enable_fbc=1 i915.enable_psr=1 iwlwifi.power_save=Y iwlwifi.power_level=5 i915.fastboot=1 i915.enable_guc=2". By the way I doesn't use GRUB, but boot directly from EFI: https://github.com/xdever/arch-efiboot. This makes no difference in power usage, it is just faster and cleaner in my opinion.