Pleases me to see you guys experimenting and having fun About GDDR5, it makes no sense to set timings when the GPU isn't fully under load, as it won't work because you'll be setting the timings for the current active memory state, which is like 300Mh.. Ok, i have to admit, there are a decent amount of GDDR5 values in there that you'd better not touch, not exposing them wouldn't help either as you would have no idea what was going on. This also applies to HBM2, although there you can almost change em all without crashing the GPU. I also noticed some of you already figured out that there are indeed some structures you can follow "RC=RAS+RP , ...." (doesn't mean that thinking outside of the box won't help (such as bumping REF skyhigh ;-))) If RAS + RP is higher or lower than RC, it's not going to break your gpu.. Dram timings are calculated based on your clocks. That's also why they're not the same as a decoded strap. Unfortunately, due to the fact that it's not possible to set GDDR5 timings before putting the GPU under load (such as on HBM2), except then in the vbios itself, it is indeed not possible to modify some values. That said, on your (even modded Polaris) GPU, drop RFC for example.. just try it ;-) Cheers!
|
|
|
Hey guys, I'm happy to see that users are finally posting their results and values here I edited the OP with some of these posts by users. Again, i'm pleased to see community effort again. I also just released a new version with a bunch of new values to play with ;-) Have fun! Cheerio!
|
|
|
Update: Decided to release a Winblows supported version. I've tested it on 2 systems with Latest adrenaline version (one with a Vega gpu, the other with a 570) and confirmed working. Check OP for link. Please post results here. That's all i'm asking Cheers guys!
|
|
|
@eliovp, thank you for this tool. Do you or anybody else know if there is a tool available in Linux to count GPU memory errors? Much like HWiNFO64 in Windows?
Hey Bobben2, Yeah, it's not as obvious as on windows, that's a fact, try to check dmesg log, this gives you a lot of info as well. >>Posted by: dragonmike
>> Has nobody ported this to Windows yet?
>> I'd be happy to do all testing myself and share my findings in this and other threads... But I'm not going to install Ubuntu and all that shizzle for that sole purpose. I suck at Linux unfortunately... ________
I've been trying to but my plate is pretty over topped at the moment but it is something I have been working on. Sadly not having luck finding somebody to help so its all on when i can get time.
No worries, i hoped it would be a nice incentive for people to get the *nix vibes Who knows, maybe a windows version will pop up one of these days Changing memory timings on the fly is a very good idea! It's possible to access GPU MMIO registers in Windows too. It's a bit tricky to implement it properly even if you have good skills and that's the main problem. Registers offsets can be found in ROCm sources and typedefs in OhGodADecode utility or in ROCm again (though it contains only bitmasks so it would take some time to convert them). Anyway, this tool gave me an idea of new feature, thanks, also it was funny to play with registers and see some BSODs I donated 0.25BTC to the address in first post. It's possible to access GPU MMIO registers in Windows too. It's a bit tricky to implement it properly even if you have good skills and that's the main problem. Yeah, i'm very much aware that it's possible, it's the tricky part that's tricky :p Thank you for your donation. It's very much appreciated! I also noticed i've been getting some hash from someone. I would like to thank that person as well! Also, would again like to point out that i kind of hoped that i would see some more test results (with screenshots) here. It doesn't hurt to help eachother out... Cheers!
|
|
|
For me "easily" mean I caused a kernel panic and/or a pci-error on every attempt to modify your code... Anyway running an unmodified version of your tool I get this output: ./amdmemtweak -i 0 --current # NOTHING :-) I think the problem is I'm using an OSS Driver from debian and not the amd one.... ( https://wiki.debian.org/it/AtiHowTo) My card (WX-5100) is peculiar and I could not achive a decent install on debian 9 of the amd driver.. Anyway, still reading your code, a brilliant work! (even if I can understand just a 10% of it) Bye I added support for your GPU You can check last commits how it's done, it's fairly easy. So next time, when you encounter this "issue" you know what to do I also pushed a new release with a bunch of new HBM2 timings and a bunch of fixes Enjoy!
|
|
|
Considering Vegas should already have been doing 45, those numbers aren’t super credible.
45 on a Vega 64, definitely doable with stock timings. Add another 5Mh to that with the extra options you have now is definitely doable. I don't have any AMD cards anymore, but I remember you from way back when I did and I was modding my own BIOSes. Full credit to you for sharing this phenomenal piece of work.
Thanks for the nice words
|
|
|
@Elivop seems like wtrl is not working hbm2
Answered on github, will copy what i wrote: Some values won't have a direct "noticeable" effect. That however doesn't mean they are there for no reason. I just verified to be sure that i didn't miss anything. It's working as it's suppose to. Even if I can appreciate a generic answer like yours, my post was a direct request to the author to add Polaris cards in the KnownGpus of this tool
Open source, you can easily add whatever you want ;-) Cheers!
|
|
|
... I still expect mining OS's to have it built in soon. ...
And it works. User reported the increase from 38MH/s to 52MH/s on his Vegas. From 38 to 52, i doubt it This isn't a hocus pocus tool :p I'm just excited to share the result of the user and I don't think he would lie about it. But if you are curious about the results, you can talk with the user that reported the results on our Discord. Edit: We have updated it to the latest version. Although i'm glad you guys are getting results, i do would like to keep this thread clean in terms of using it in your own advantage for advertisement purposes. No need for propaganda here Edit: Instead, you should post results + values, so other people could benefit as well. Don't let this become a showoff contest
|
|
|
... I still expect mining OS's to have it built in soon. ...
And it works. User reported the increase from 38MH/s to 52MH/s on his Vegas. From 38 to 52, i doubt it This isn't a hocus pocus tool :p Edit: added another update with new timing value to play around with
|
|
|
My apologies, there was a rather big bug in the code. HBM2 RFC was wrong. This would have most definitely crashed your gpu. All sorted out now. Small hint: Sometimes it's better to raise certain values before dropping others
|
|
|
Hey all, Just pushed a new release. Added some new timings for HBM2 to play around with. Fixed a few small things and cleaned up a bit. Especially the --help output is a bit more clear now. The --current output is as well more clearer. For rx580 this thing got no use, my opinion. You have allredy stripped firmwares all over the net, why you would use this for 580 This has use for Vega cards because you dont have other option I managed to increase the hashrate on my 470 by 0.8Mh with my tool. Bringing it to 32Mh avarage. Yes, i have a custom strap in the vbios as well. Still, with live timings i was able to increase it even more. If it wouldn't have any use for GDDR5, i wouldn't have even added it in. can someone please share the config that they used for their vega and can someone explain or just give full forms of every parameter
This is the fun thing about this tool. Well, it is for me Figuring out these things. What to adjust to increase speed. What to adjust to increase stability. Every time you manage to improve the overall performance, you will get that satisfied feeling that you would never get otherwise. I'm very well aware that a lot of people will use the "I don't have time to find out" argument, i'm sorry but i don't have time to help those that won't even bother to do a little bit of effort. I'm hoping this could be a community effort, people helping each other to find out "better" settings..
|
|
|
@OP, can you do me a favor?
Can you cat /sys/kernel/debug/dri/%d/amdgpu_regs for me please? is amdgpu_regs static, or does it change?
Have you tried it yourself? nice work, taking mining back to the old days of people helping each other, and not being a bunch of greedy bastards! Thank you What I'm able to decipher here is that someone got a just desert served nice and cold and can no longer steal another's glory like it was done last time. KUDOS on every single fucking front mate! Time to convert my vega boxes to linux! Very welcome! Hi, does it work with rx580?
It sure does. THE EXECUTABLE IS NOT LIKE THE PILL-- The ETHlargementpill is "full auto", it runs for the 1080ti and is pre-programmed with memory timings. However, the AMDmemtool is very basic and allows the user to apply each memory tweak separately. The user must put his own tweaks in place, and understand the terms and shorthand for each tweak. This tool is usefull for a user to put together custom timings prior to programming the GPU BIOS with straps. An analogy: like giving a user a stickshift assembly, but requiring the user to bolt it into the manual transmission case and mounting it in the car himself. The "*.cpp" file compiles readily if the instructions in the README.md are followed. It reads data from my R9 Fury cards with no problem. But, as I do not know the tweaks necessary to improve the "--current" settings, I need to refer to a memory timings manual. The downloadable binary from the Releases page works the same as my own compiled binary. --scryptr No, true, it's not like "the pill". It's better. - You have the option to finetune yourself. - It's open source - It's based on data discovered by myself and not someone else. The only person that helped me to write the code is mentioned. - .... So no, it's not the same no Btw, you can run the tool with multiple flags, ./amdmemorytweak --i 0,2,5 --CL 19 --RFC 260 --RAS ... etc Expect this tool, maybe super-slightly optimized closed source and with 2-5% dev-fee under some other name(s) soon There's no "optimized" source possibility here. Exactly as Laik pointed out. The only thing that could be done is automate the process with predefined timings. Something you can do yourself. Heck, you can do even better if you take the time to figure them out. Reading your comment makes me extra happy that i released this open source because 2-5% is in my eyes "theft". Cheers!
|
|
|
is there a chance to get Windows build? Not from me, you are all of course open to build something yourself Win bild ?
Read above. My boy lives! I knew it but most thought you ran off with the maid or something. I did, then she ran off on me so i had to come back any hints for linux noobs² how to add this to hiveOS?
i can build it but the requirements...i cant
There's a build on github mate, LinkCheers
|
|
|
I commend you for open sourcing this...good to see other like minded people still around here What are you getting on Vega VII, im sure over 100MH is easily achievable with timing changes. This might entice me to play around with GPUs again That's for you to figure out what's possible ;-) The options are there to achieve better results, just gotta find them. I hope this could be a community effort to tweak and perhaps find new tricks ;-) Hello, nice job!
What about vega56`s timings?
As i said above, the options are there Thanks for sharing.
You're very welcome. Linux only ((
That is correct. Spread some Linux love.. no? :p
|
|
|
Edit: Releasing AMD Memory Tweak XL (the extended version :p) link: HereGot Vega's? Check out TeamRedMiner for a boost in performance! (i write this at free will, no one asked me!)link: TRMSupport- GDDR5 Based AMD GPU's (ADL & MMIO)
- HBM / HBM2 Based AMD GPU's (ADL & MMIO)
- Vega10 (PowerPlay & Strap Control)
- Polaris (Powerplay & Strap Control)
- Navi10 might come later.. dunno .. we'll see
- Windows
Features- MMIO Register Control (Read/Write) GDDR5/HBM/HBM2
- ADL Overdrive (Read/Write) Latest Overdrive Versions supported
- PowerPlay Control (Read/Write) Polaris & Vega10
- Strap Control (Read/Write/Decode/Encode) Polaris & Vega10
- Import/Export all values
- ....
more info on github.. Initial post ----------- Hey all, It's been a while since i've been active here, that however doesn't mean that i wasn't active behind the scenes I have done a lot of debating with myself whether i would share this. Well, i decided to do so and on top of that, open source it. What is this? Well, with this tool, you are able to change memory timings on the fly. Yes, you read that correct, you can modify almost any value while the GPU is running. (kind of comparable to the ETH Pill but open source and without forgetting to mention the person who figured out the huge speed increase in the first place ) Some examples from users what this tool is capable of from users: (this might not be ideal for your own GPU's) N2DCRYPTtodxxGKumaranGKumaranrednoWrednoWrednoWheavyarms1912LexelekibatronicpbfarmerMashy81AnwilPBFarmer VegaVideo From BuriedoneVideo From BitsBeTrippinVideo 2 From BitsBeTrippinShort list of some of the timings and a bit of explanationmore soon.. Current support: - AMD GPU's with GDDR5, HBM and HBM2 memory. (check code for more details) - Linux only- Windows supportedAs of now, also a GUI version (Windows) Can be found in the releases section on github. Link: GithubDirect Link for latest GUI version: GUIDirect Link for latest CLI version: CLISome shots: Check Readme for some additional info and how to build. Tips BTC: 3FEMi7FxD6dTKyhmvd3pRBPFBn3DuPmbvd ETH: 0x8C77C212da3e12cad1AfB8824CF74b1CC04d2F7C XMR: 49qsZpFA79B85a8UeNNg6sgHzJrrrCQwLa8vUb5s5PG14aNKK1kKZgT2fQ87CWFvWCA135WDos6odYQ UER6XKhfWPEKe8kv In the unlikely event of not owning either BTC, ETH or XMR and you do want to be an amazing person and tip, shapeshift, changelly, simpleswap, ... are great ways to solve that "issue" ;-) Enjoy and have fun tweaking! Cheerio!
|
|
|
Yes, yes, Elio. You’re a big, strong man. Well done on all your achievements and stuff.
After our other launch on the 25th of May (probably a few weeks after), we will have a public release for all cards - VEGA, GTX and RX included - that everyone can use. It will have a devfee attached to it, if the community agrees, as it makes more sense and I cannot manage the 200+ clients we already have. We’ll update with new models as it comes out.
I’m fucking off to Oxford, Cambridge for two weeks for a research project, so Bird, AI, Cat or Dog will manage this thread for me.
Would like to know the community thoughts about a devfee tool.
Mmm, those personal attacks... You worried that i'm going to throw some sensitive info out there? Don't be. And btw, I saluted the tool, said it was nicely done. I also even don't care that you're using base stuff to do this that i've figured out (mainly the RRD/FAW change) months ago. The only difference is, if i for example do something based on someone else his work, i would mention that person, period. Anyhow, congrats on the upcoming tool! UMR . Cheers and good luck! Ps: After our other launch on the 25th of May (probably a few weeks after), we will have a public release for all cards - VEGA, GTX and RX included - that everyone can use. It will have a devfee attached to it, if the community agrees, as it makes more sense and I cannot manage the 200+ clients we already have. We’ll update with new models as it comes out. Didn't you like just say in an interview that it's not for the money?
|
|
|
OhGodAGod is sadly already taken. But I'm just a girl, nothing more.
Love your work ... when a pill for another Nvidia card (especially for GTX 1070) will be release ? Doubt that one will ever be released. The GTX 1070 doesn't have G5X memory and thus the injection doesn't work. Neither will it on any other non G5X card. The mining cards P104/102 already have this mod (FAW/RRD) so this tool only applies to the non mining G5X cards, which are 3 types..? What it does is, it accesses the memory block and injects those 2 changes. I've done this mod on the P104 when we first recieved the prototype months ago. It jumped from stock 28Mh to 36Mh with just those 2 changes. It's a nice little trick yes You are just the guy who decided “not” to release it to anyone and force those to buy the absolute pieces of garbage that are the mining cards. Without letting people know (as I tried) that these mods can be given to any GDDR5X card. IE all of these cards are failed GTX 1080 and Failed GTX 1080TI that nvidia scrapped and that some company decided to buy those scraps and sell them to miners with 3 month warranty. Yeah what a dickhead , then he comes here to spout usless knowlege gtfo Eliovp you turned to the dark side use to be a nice guy , and fuck u and you doubts who knows what this awesome team will come up with. Are you also absolutely kidding me? Useless info? I'm just stating facts here, giving away free info, isn't that what everyone wants? But yeah, you're only a nice guy when you often share stuff for free. Otherwise you're a part of the "dark side". It also of course doesn't help when some specific people spread fud about you, team up in little teams to spread more fud. Mostly is because they feel threatened though.. What they also fail to mention is how they even got the core/base info to even do their "little trick".. No, they didn't figure that out themselves.. It's funny how people see you as "awesome", "best there is", etc.. when you give out free stuff, my freakin signature is free stuff, and don't get me started about all the other things i've shared everywhere. The thing is, i've learned from my mistakes, people are almost all the same, will be your best friend as long as you give out free things. The attention you get, yeah, it's all nice, but doesn't pay my bills. The funny thing is, i was seriously considering sharing vega stuff, but this made me realize that i don't need all the attention, let others have that Thx for the wake-up call Marvell! PS: "Dickhead" Seriously Marvell? I haven't been active on forums for a long time, so i have no freaking idea what i could have said to upset you. I'm pretty sure some specific people spread some bullshit about me and you as well as a lot of others just accepted that bullshit because yeah, they give out free shit :p Karma will eventually win.. or my chatlogs
|
|
|
OhGodAGod is sadly already taken. But I'm just a girl, nothing more.
Love your work ... when a pill for another Nvidia card (especially for GTX 1070) will be release ? Doubt that one will ever be released. The GTX 1070 doesn't have G5X memory and thus the injection doesn't work. Neither will it on any other non G5X card. The mining cards P104/102 already have this mod (FAW/RRD) so this tool only applies to the non mining G5X cards, which are 3 types..? What it does is, it accesses the memory block and injects those 2 changes. I've done this mod on the P104 when we first recieved the prototype months ago. It jumped from stock 28Mh to 36Mh with just those 2 changes. It's a nice little trick yes You are just the guy who decided “not” to release it to anyone and force those to buy the absolute pieces of garbage that are the mining cards. Without letting people know (as I tried) that these mods can be given to any GDDR5X card. IE all of these cards are failed GTX 1080 and Failed GTX 1080TI that nvidia scrapped and that some company decided to buy those scraps and sell them to miners with 3 month warranty. Mm, dunno where you got that.. i have nothing to do with this tool.. it's a nice piece of software, kudo's for making it. I however said multiple times that doing a pure vbios edit, like what i've done on the mining cards, is not possible on non-mining cards. And that is still the fact. Nvidia didn't want us to do vbios modifications on GTX cards because they had their line-up for mining cards and the whole gaming market reasons.. Btw, those garbage mining cards, my P102's are doing 52Mh at 130 watt, P104 40Mh @ 90 watt and my P106's 25Mh @ 70 watt, garbage? nah..
|
|
|
OhGodAGod is sadly already taken. But I'm just a girl, nothing more.
Love your work ... when a pill for another Nvidia card (especially for GTX 1070) will be release ? Doubt that one will ever be released. The GTX 1070 doesn't have G5X memory and thus the injection doesn't work. Neither will it on any other non G5X card. The mining cards P104/102 already have this mod (FAW/RRD) so this tool only applies to the non mining G5X cards, which are 3 types..? What it does is, it accesses the memory block and injects those 2 changes. I've done this mod on the P104 when we first recieved the prototype months ago. It jumped from stock 28Mh to 36Mh with just those 2 changes. It's a nice little trick yes
|
|
|
And Bitmain monopolizing everything continues.. Still by the love of god, do not understand why people keep buying their second hand stuff that has been running for god knows how long.. It's probably just me i guess..
|
|
|
|