Skip to content
/ g-helper Public
  • Notifications You must be signed in to change notification settings
  • Fork 266
  • Star 7.4k
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jump to bottom

GPU Undervolt feature on the G-Helper app. #576

Closed
INST1NCT00 opened this issue Jun 8, 2023 · 63 comments
Closed

GPU Undervolt feature on the G-Helper app. #576

INST1NCT00 opened this issue Jun 8, 2023 · 63 comments
Labels
on-hold would like to implement, but can't cause there is no info yet

Comments

@INST1NCT00
Copy link

INST1NCT00 commented Jun 8, 2023

Is your feature request related to a problem? Please describe:
I'm always frustrated when I have to use MSI Afterburner to undervolt my dGPU as it causes a high CPU usage problem(apparently this is really common in laptops). Upon googling it, I found out that it happens due to the laptop disabling the dGPU sensors when no dedicated process is running resulting in MSI receiving an error message and repeatedly pinging the dGPU. When the user reported this to MSI, their response was that "MSI Afterburner is not meant to be used on laptops".

Having an undervolting ability in the app will definitely make it better than it already is and would be a pretty neat feature to have, if it is possible at all.

Describe the solution you'd like:
An undervolting feature built into the app, not dissimilar to the overclocking one already present.

Describe alternatives you've considered:
The only alternative is MSI Afterburner as no other software supports laptops. Even Afterburner has limited support as already mentioned above.

Additional context:
Here is a screenshot of the "System" process using CPU on idle:
image

And how it looks without MSI Afterburner running:
image

@TheBestPessimist
Copy link

TheBestPessimist commented Jun 9, 2023

I would say "please dont". We dont want this app to become another bloated Armoury Crate clone.

See #469

@seerge
Copy link
Owner

seerge commented Jun 9, 2023

@INST1NCT00 hello, I don't even have a device with nvidia gpu at the moment :) so it's not really doable (even tho it was something like that in nvidia API). Also keep in mind that afterburner is a project developed over years, and literally dedicated to that feature, expecting from me (with 3 month of experience in windows dev) to do something equal would be overestimation ;)

@seerge seerge added on-hold would like to implement, but can't cause there is no info yet out-of-scope too much for current app labels Jun 9, 2023
@Chikage0o0
Copy link

Chikage0o0 commented Jun 10, 2023

I don't support adding this feature either, obviously you can close Afterburner after the undervoltage setup is complete.

@LJGJM
Copy link

LJGJM commented Jun 14, 2023

i get 15% more battery when i undervolt my ryzen 5 4600h by -30, would like this in GHelper

@MckenzieDavis
Copy link

MckenzieDavis commented Jun 14, 2023

You know you can apply profile on startup without having to run MSI afterburner on statup right?

Enable this option
Screenshot 2023-06-14 192506

And disable this option
Screenshot 2023-06-14 192550

Undervolt will apply even without running MSI Afterburner

The only feature that need to keep MSI Afterburner running if you're using OSD or custom fan control

@seerge
Copy link
Owner

seerge commented Jun 14, 2023

@LJGJM

i get 15% more battery when i undervolt my ryzen 5 4600h by -30, would like this in GHelper

This request is about dGPU undervolting. You won't get any battery life from that (and even in that case - big doubts) unless you have GPU enabled

@seerge
Copy link
Owner

seerge commented Jun 14, 2023

@MckenzieDavis afterburner can't control fans on laptops, undervolting is set on driver level - so you indeed don't need app running at all.

@TheBestPessimist
Copy link

TheBestPessimist commented Jun 14, 2023

This request is about dGPU undervolting

@seerge in that case, can you please rename the issue to dGPU undervolting feature or something similar?

@seerge seerge changed the title Undervolt feature on the G-Helper app. GPU Undervolt feature on the G-Helper app. Jun 14, 2023
@seerge seerge removed the out-of-scope too much for current app label Jun 21, 2023
@LJGJM
Copy link

LJGJM commented Jun 23, 2023

I just wanted to ask, did 0.90.0 update support power limits on tuf laptops? because i also installed nimez drivers on it and i want to know if it was normal amd or nimez

@seerge
Copy link
Owner

seerge commented Jun 23, 2023

@LJGJM i have no idea what is "nimez drivers", but added CPU power limits in 0.90 should work for all Ryzen CPU's where it was no native armoury endpoints for power limits (i.e. if you didn't have a power slider in fans+power before)

@INST1NCT00
Copy link
Author

INST1NCT00 commented Jun 24, 2023

I see that the out of scope label has been removed so I just wanted to ask if this is something you are working on? Also, the CPU undervolt feature is greatly appreciated 👍

@LJGJM
Copy link

LJGJM commented Jun 24, 2023

@LJGJM i have no idea what is "nimez drivers", but added CPU power limits in 0.90 should work for all Ryzen CPU's where it was no native armoury endpoints for power limits (i.e. if you didn't have a power slider in fans+power before)

Im talking about https://www.amernimezone.com/
Thanks for adding power limits!

@seerge
Copy link
Owner

seerge commented Jun 29, 2023

A beta with undervolting slider (under Fans+Power GPU section). You can try with a small negative values and see what happens.

If you going to test - please post a log here :)

GHelper.zip

@TheBestPessimist
Copy link

TheBestPessimist commented Jun 30, 2023

log.txt
my log, however i dont see the undervolting slider
image

@seerge
Copy link
Owner

seerge commented Jun 30, 2023

@TheBestPessimist oke, thanks. Quick question - does undervolting work for you in Afterburner ? If so - do you have a discord? :)

@TheBestPessimist
Copy link

TheBestPessimist commented Jun 30, 2023

you can find me on discord as thebestpessimistzzzzzzzzzzzzzzzz. I'm also on telegram: https://t.me/TheBestPessimist

Regarding "undervolting works". As far as i can see, increasing frequency works, so that's undervolting, isn't it?
image

@TheBestPessimist
Copy link

TheBestPessimist commented Jun 30, 2023

Update: i saw the slider once, then it disappeared!
the slider said Undervolt, but i didnt get to use it.

@seerge
Copy link
Owner

seerge commented Jun 30, 2023

@TheBestPessimist your discord link doesn't seem to be correct, you can reach me by seerge_

@ke1ne
Copy link

ke1ne commented Jul 1, 2023

@seerge maybe, useful? https://github.com/JamesCJ60/nvidia-overclock

@seerge
Copy link
Owner

seerge commented Jul 1, 2023

@ke1ne no, that's and old tool just for overclock (that g-helper app already does).

Furthermore latest version of UXTU seem to use my implementation of overclocking https://github.com/JamesCJ60/Universal-x86-Tuning-Utility/blob/master/Universal%20x86%20Tuning%20Utility/Scripts/GPUs/NVIDIA/NvTuning.cs

@ke1ne
Copy link

ke1ne commented Jul 1, 2023

@seerge the expansion is non-negotiable! =)

@NJinsei
Copy link

NJinsei commented Jul 3, 2023

image

I see the undervolt option is there anything I should test ?

@seerge
Copy link
Owner

seerge commented Jul 3, 2023

@NJinsei if you see it it means that driver reports this value to be editable. Try to crack it down to the lowest and run some benchmarks? :) (or to the highest) :)

@NJinsei
Copy link

NJinsei commented Jul 3, 2023

After trying it I noticed that the undervolt slider only appears when I switch to standard mode and then open the fans + power section for the first time. After that, it disappears and I can’t access it again. I tried changing the values while it was visible, but I didn’t see any difference in performance or stability.

@seerge
Copy link
Owner

seerge commented Jul 3, 2023

@NJinsei well, then most probably it doesn't work. We have also tested it with @TheBestPessimist with no luck neither.

Main problem that I don't have a device with nvidia on hands now at all :) I just had a guess that one of the values in nvidia API could be the right one ;)

For now I have put this thing on hold, until I manage to catch G14 2023 on sale somewhere ....

@NJinsei
Copy link

NJinsei commented Jul 3, 2023

Ah no worries then, thank you for your hard work and dedication to this app. I hope you can get your hands on a G14 soon :)

@joe-700
Copy link

joe-700 commented Jul 23, 2023

Ahh, ok. I have noticed that the GPU power draws change depending on the windows power mode selected... i.e. in silent profile the power draw seems to be very low (around 40-50 watts) and then the power draw goes up for normal and again for turbo. I wonder how this is being done, maybe its set by the BIOS or it could be that this is controlled by the OS. If it was windows then it would be dead simple to control.

The work around is to tune the frame rate limits for each game. That way you can get better performance using the clock speed slider and prevent the GPU from drawing the maximum allowed power, but this means setting max frames for each game in the Nvidia control panel, and re-tuning if you change the graphics settings i.e. turning up the textures or using ray tracing. Its a pain and normally you have to restart the game each time you alter the frame limits.

It would make much more sense to just set the power draw for the temps and fan noise you are happy with and let the in game frames do there thing.

@seerge
Copy link
Owner

seerge commented Jul 23, 2023

@joe-700 per "windows" power mode ? or mode in g-helper (i.e. asus "bios" mode). If so - each mode consists of bunch of hardcoded settings (including CPU and GPU power limits, fan curve, voltages, etc). But you can customize only parts that asus allows us to (i.e. what you see editable in armoury).

@joe-700
Copy link

joe-700 commented Jul 23, 2023

I'm using the g-helper power modes. I guess we may have to work with what we have in that case. At least we know that if we want lower GPU power draw then we can fine tune the silent or balanced modes in the g-helper tool.

I have found a couple of hidden windows power mode settings for things like max CPU frequency, these seem to hold if you set them for the balanced profile in windows, there is a chance that there are also hidden settings for the dGPU.

@TheBestPessimist
Copy link

TheBestPessimist commented Jul 24, 2023

It would be good to be able to power limit the GPU.

@joe-700 wouldn't these 2 sliders be enough?
image

@mbze430
Copy link

mbze430 commented Jul 26, 2023

anyone here have a 40-series mobile? I have the 4090 mobile with the latest drivers from Nvidia but no voltage control. not even in afterburner.
only thing thta is available is the curve optimizer

are the 40-series mobile locked for voltage?

@RahulVivekNair
Copy link

RahulVivekNair commented Jul 26, 2023

anyone here have a 40-series mobile? I have the 4090 mobile with the latest drivers from Nvidia but no voltage control. not even in afterburner.
only thing thta is available is the curve optimizer

are the 40-series mobile locked for voltage?

I don't think any laptop gpu has unlocked voltage control

@Moorole
Copy link

Moorole commented Jul 26, 2023

I would say the curvee optimizer in msi afterburner allows you to control voltage. So as soon as curve optimizer works you cannot talk of locked voltage control...

@seerge
Copy link
Owner

seerge commented Aug 12, 2023

Ok. So long story short. Manually editing a clock / voltage curve doesn't seem to be doable via native NVidia API. But obviously it's still possible to shift whole curve up / down with a Clock Offset slider in G-Helper already.

As far as I see, the only "difference" people do with manually adjusting a curve - is by limiting a clock from the top side (i.e. not go above X MHx)

That's actually possible to do in another way, via nvidia-smi command in power shell (as admin)

Lock GPU clock between 0 and 2000Mhz

nvidia-smi -lgc 0,2000

Reset clock to defaults

nvidia-smi -lgc

I can incorporate this "method" inside app, by adding a "Max Core Clock" slider in GPU section.
Would that satisfy you here ?

@seerge
Copy link
Owner

seerge commented Aug 12, 2023

@TheBestPessimist @NJinsei @INST1NCT00 @joe-700 @mbze430 @Moorole @ke1ne

You can check a new build that lets you do both : set clock/voltage offsets (same as always) AND set Clock Limit

GHelper.zip

With 2 sliders you can achieve same "curve" as afterburner would do with it's "undervolting"

Undervolting (1)

@joe-700
Copy link

joe-700 commented Aug 13, 2023

I think this is a really good idea, personally this is the only thing I use afterburner for. The issue doing this in afterburner is that the curve does not always stick, you can even see it in the plot above, the curve is difficult to get straight.

I'll give it a test a bit later

@Moorole
Copy link

Moorole commented Aug 13, 2023

just wondering if, for an undervolt, i have to have a negative core frequency or a positive?

@seerge
Copy link
Owner

seerge commented Aug 13, 2023

@Moorole positive (literally look at picture)

  • Increase Clock Offset - to get more performance within same power limit
  • Lower Clock Limit - to lower power consumption (i.e. get less heat)

@Moorole
Copy link

Moorole commented Aug 13, 2023

soo if i put +100mhz it will do 100 mhz more at a certain voltage. and, to safe energy rather then overclock it i have to add a clock limiter to reach a clock of my choice with less voltage.
Hope i am not confusing more with my question

@seerge
Copy link
Owner

seerge commented Aug 13, 2023

@Moorole by setting Clock Offset you Overclock and Undervolt at the same time, i.e. for same voltage - it will be higher clock, and for same clock - lower voltage.

P.S. I have edited picture in my previous message - so it's more visual from where undervolting comes :)

@Moorole
Copy link

Moorole commented Aug 13, 2023

nice one mate. just did unigine heaven benchmark and was able to decrease voltage at 1785 mhz (my max i guess, cannot go higher?!?) from 0,95v to 0,83v and watts from 62 to 53 which is almost 20 % with my 1650 gtx (+165mhz). with more i got instability.
Thank you so much for this feature and the whole app
I guess with this undervolt working properly, the core frequenz limit is a bit unnesessary because i have enough heatroom now for full speed :D
Cheers :)

maybe you could remove the area for negative core set as i don't think anyone would use it intentionally and people might just misunderstand and mistaken and frying their gpu with too much volts :D

@Moorole
Copy link

Moorole commented Aug 13, 2023

@TheBestPessimist @NJinsei @INST1NCT00 @joe-700 @mbze430 @Moorole @ke1ne

You can check a new build that lets you do both : set clock/voltage offsets (same as always) AND set Clock Limit

GHelper.zip

With 2 sliders you can achieve same "curve" as afterburner would do with it's "undervolting"

Undervolting (1)

btw, core limiter works very good. it puts frequency as set
maybe you could put the word "undervolt" in brakets after clock offset for people to understand quickly

@seerge
Copy link
Owner

seerge commented Aug 13, 2023

@Moorole i wanted to show both Clock offset and Voltage offsets using label on the right. But I didn't figure out how to get that voltage anyhow (as you need to read that curve points to calculate this, and nvidia doesn't provide that anyhow)

@Moorole
Copy link

Moorole commented Aug 13, 2023

Hmm. One could make a table for each mhz which gives a certain voltage in Hwinfo. But I don't think it is important to set your undervolt by applying a negative voltage rather than a frequency which is added on the set frequency at a certain voltage. It is a little backwards and goes against the logic they tought us in school but it does the job. I remember I really took a while to understand what I am doing in msi afterburner. And it is the same story here.
I think a little disclaimer when you put your mouse on gpu frequency and the disabled negative area will make everyone understand and use properly.
Am actually proud that this program, from simply replacing armoury crate, becomes the toolbox tailored onto our asus rogs with everything needed. Asus should reward you as from armoury crate being a reason not buy to g-helper as a reason to buy asus!

@Moorole
Copy link

Moorole commented Aug 13, 2023

@Moorole i wanted to show both Clock offset and Voltage offsets using label on the right. But I didn't figure out how to get that voltage anyhow (as you need to read that curve points to calculate this, and nvidia doesn't provide that anyhow)

This will be set in the bios of the gpu or in the driver but I think it is just too much effort to dig out.

@ke1ne
Copy link

ke1ne commented Aug 13, 2023

  • Increase Clock Offset - to get more performance within same power limit
  • Lower Clock Limit - to lower power consumption (i.e. get less heat)

@seerge hey, thank you! just got it, trying. is it auto-applying?
image

@seerge
Copy link
Owner

seerge commented Aug 13, 2023

@ke1ne it is, but 2900 is quite high :) i doubt your 3070 ever reaches that, so it won't have any effect)

@ke1ne
Copy link

ke1ne commented Aug 13, 2023

@ke1ne it is, but 2900 is quite high :) i doubt your 3070 ever reaches that, so it won't have any effect)

But the default value looks even higher?
image

@seerge
Copy link
Owner

seerge commented Aug 13, 2023

It's a top limit, default - is no limits at all.

@ke1ne
Copy link

ke1ne commented Aug 14, 2023

It's a top limit, default - is no limits at all.

If the top limit is kind of hardcoded now, maybe, there is some way to get it via API? To avoid overload, etc.

@seerge
Copy link
Owner

seerge commented Aug 14, 2023

@ke1ne it doesn't increase your clock anyhow, it can only prevent it going higher than desired value

@seerge
Copy link
Owner

seerge commented Aug 14, 2023

Changes from latest build posted here are already live in https://github.com/seerge/g-helper/releases/tag/v0.111

Given that new clock limit slider gives you pretty much same results as you would with manually modifying clock/volt curve, I consider this as completed :)

@seerge seerge closed this as completed Aug 14, 2023
@Abishekkarthik07
Copy link

Abishekkarthik07 commented Jan 3, 2024

Heyy, I have a quick doubt in the undervolting part of GPU. Just now i bought a 4060 g14 and I'm soon gonna use ghelper so before I use it I wanted to learn everything about it. So to improve my thermals I get the part of me decreasing the clock limit and increasing the clock offset to undervolt my GPU for better temps. But before testing it out with the benchmark I wanted to understand what is memory clock offset and by how much I should set it and how I should test it.

@TheBestPessimist
Copy link

TheBestPessimist commented Jan 3, 2024

by how much

That depends from GPU to GPU. for some you can go +200, for others you can go +600 for the same GPU model in the same laptop model.

try it and see!
https://discourse.tbp.land/uploads/default/original/1X/e741730b2b41b7ecd3672f986951038ca43af531.jpeg

@Abishekkarthik07
Copy link

Abishekkarthik07 commented Jan 4, 2024

just now i casually ran heaven and i got a 44 avg fps on standard mode in performance. i dont know whats the problem cuz litterally ran it yesterday and i hit an avg of 150 fps. yesterday my clock speed was aroubd 2250 and today for some reason it is 1150 or something in armory crate so i guess this is what the problem is in but i didnt even install ghelper till now and tweak the undervolting settings. just was testing how stock AC was perfomrning and i didnt tweak any settings in AC also just left it to the default. idk why im not able to hit a high clock speed today for some reason. pls help me out on what i should do. i treid rstarting but it didnt solve the issue. i just now installed ghleper and ran the same standard and performncae mode stopping all asus services but still same 44 fps. anything i mightive done and need to look at which.
(Long story short, my GPU running at 1000mhz which is very low, how do I make it run higher)
Rog boost gives me a 2400 MHz but that's for like a second and then it goes to below my base clock which it shows as set to 1100 MHz. Os my base clock too low or something, is that why. If so how to increase it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on-hold would like to implement, but can't cause there is no info yet
Projects
None yet
Development

No branches or pull requests

13 participants
@TheBestPessimist @seerge @ke1ne @mbze430 @RahulVivekNair @MckenzieDavis @LJGJM @Chikage0o0 @NJinsei @Abishekkarthik07 @INST1NCT00 @Moorole @joe-700

Footer

© 2024 GitHub, Inc.

玻璃钢生产厂家玻璃钢雕塑马像丽水玻璃钢海豚雕塑山西玻璃钢卡通雕塑设计广州透明玻璃钢雕塑工艺透光玻璃钢雕塑材料焦作花朵校园玻璃钢景观雕塑厂家贵州园林玻璃钢雕塑定制淮南校园玻璃钢雕塑厂家湖州步行街玻璃钢雕塑销售电话淮阴玻璃钢花盆花器汝阳玻璃钢雕塑费用玻璃钢雕塑西游记河北工业玻璃钢雕塑摆件龙岩玻璃钢花盆工厂沅江玻璃钢十二生肖雕塑贵港玻璃钢白鹭雕塑深圳个性化玻璃钢雕塑玻璃钢大象雕塑汕头玻璃钢景观雕塑厂家怒江商场美陈翔安园林玻璃钢雕塑推荐玻璃钢雕塑性能表商场新年美陈厂家龙岩玻璃钢卡通雕塑厂家义乌卡通玻璃钢雕塑工艺襄阳玻璃钢考拉雕塑厂家玻璃钢雕塑上色制造过程天津城市玻璃钢雕塑江西玻璃钢仿铜雕塑厂家丽水玻璃钢仿铜雕塑定制香港通过《维护国家安全条例》两大学生合买彩票中奖一人不认账让美丽中国“从细节出发”19岁小伙救下5人后溺亡 多方发声单亲妈妈陷入热恋 14岁儿子报警汪小菲曝离婚始末遭遇山火的松茸之乡雅江山火三名扑火人员牺牲系谣言何赛飞追着代拍打萧美琴窜访捷克 外交部回应卫健委通报少年有偿捐血浆16次猝死手机成瘾是影响睡眠质量重要因素高校汽车撞人致3死16伤 司机系学生315晚会后胖东来又人满为患了小米汽车超级工厂正式揭幕中国拥有亿元资产的家庭达13.3万户周杰伦一审败诉网易男孩8年未见母亲被告知被遗忘许家印被限制高消费饲养员用铁锨驱打大熊猫被辞退男子被猫抓伤后确诊“猫抓病”特朗普无法缴纳4.54亿美元罚金倪萍分享减重40斤方法联合利华开始重组张家界的山上“长”满了韩国人?张立群任西安交通大学校长杨倩无缘巴黎奥运“重生之我在北大当嫡校长”黑马情侣提车了专访95后高颜值猪保姆考生莫言也上北大硕士复试名单了网友洛杉矶偶遇贾玲专家建议不必谈骨泥色变沉迷短剧的人就像掉进了杀猪盘奥巴马现身唐宁街 黑色着装引猜测七年后宇文玥被薅头发捞上岸事业单位女子向同事水杯投不明物质凯特王妃现身!外出购物视频曝光河南驻马店通报西平中学跳楼事件王树国卸任西安交大校长 师生送别恒大被罚41.75亿到底怎么缴男子被流浪猫绊倒 投喂者赔24万房客欠租失踪 房东直发愁西双版纳热带植物园回应蜉蝣大爆发钱人豪晒法院裁定实锤抄袭外国人感慨凌晨的中国很安全胖东来员工每周单休无小长假白宫:哈马斯三号人物被杀测试车高速逃费 小米:已补缴老人退休金被冒领16年 金额超20万

玻璃钢生产厂家 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化