Search content
Sort by

Showing 5 of 5 results by cl4r0s
Post
Topic
Board Mining (Altcoins)
Re: AMD Memory Tweak - Read and modify memory timings on the fly - [Vega Friendly]
by
cl4r0s
on 27/03/2019, 01:13:49 UTC
For me "easily" mean I caused a kernel panic and/or a pci-error on every attempt to modify your code...  Angry
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  Wink

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 Smiley

I also pushed a new release with a bunch of new HBM2 timings and a bunch of fixes Smiley

Enjoy!

nice @Eliovp! Definitely recognized now. Time to play around, thanks for your work on this tool!  Cheesy

YOU ARE A MASTER!

root@clarosrv:~/build/amdmemorytweak# ./amdmemtweak --current
GPU 0:  Device 67c7     pci:0000:42:00.0
CAS
  CL: 22          W2R: 16         CCDS: 5         CCLD: 3         R2W: 30         NOPR: 0         NOPW: 0
RAS
  RC: 74          RRD: 8          RCDRA: 25       RCDR: 25        RCDWA: 16       RCDW: 16
MISC
  RFC: 164        TRP: 23         RP_RDA: 26      RP_WRA: 54
MISC2
  WDATATR: 0      T32AW: 9        CRCWL: 25       CRCRL: 3        FAW: 14         PA2WDATA: 0     PA2RDATA: 0
DRAM1
  RASMACTWR: 35   RASMACTRD: 30   ACTWR: 10       ACTRD: 15
DRAM2
  RAS2RAS: 15     RP: 10          WRPLUSRP: 30    BUS_TURN: 35

You really deserve your donation man!
TXID 0x4563bf67d18a7bd552b3d78ada5ca59f57b76726f26f3263f8f48818ef30a1d8

Thank You!   Cool
Post
Topic
Board Mining (Altcoins)
Re: AMD Memory Tweak - Read and modify memory timings on the fly - [Vega Friendly]
by
cl4r0s
on 27/03/2019, 00:09:52 UTC

I also tried running a Radeon Polaris Pro Duo (dual WX-7100) and got nothing when running the tool... I'm obviously doing something wrong or this uncommon gpu just isn't supported, which wouldn't be too surprising. Thought it might be worth a try, simply because like your gpu bios mods aren't particularly practical with this guy and are fairly non-existent on the web.
[/quote]

I've done some debug of the code for my card....
The card is recognized as an ATI and amdgpu_regs is read
555                     snprintf(buffer, sizeof(buffer)-1, "/sys/kernel/debug/dri/%d/amdgpu_regs", instance);

but when the program try to identify the memory type, all the defined value in the buffer are wrong:

574                             lseek(gpu->mmio, MC_SEQ_RAS_TIMING, SEEK_SET);
(gdb) p lseek(gpu->mmio, MC_SEQ_RAS_TIMING, SEEK_SET)
No symbol "MC_SEQ_RAS_TIMING" in current context.
No symbol "MC_SEQ_CAS_TIMING" in current context.
No symbol "MC_SEQ_MISC_TIMING" in current context.
etc. etc..

Simply the values in the amdgpu_regs are not as expected.
Every time I try to analize those values and correct them, my server crash an reset  Huh

I was thinking the problem where in the driver, but if you got the same result with a wx-7100 the problem could be in the bios itself...
Surely I'm too tired tonight to try again, I will let you know if I can go further...

Bye

 
Post
Topic
Board Mining (Altcoins)
Re: AMD Memory Tweak - Read and modify memory timings on the fly - [Vega Friendly]
by
cl4r0s
on 26/03/2019, 22:49:09 UTC


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!

For me "easily" mean I caused a kernel panic and/or a pci-error on every attempt to modify your code...  Angry
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
Post
Topic
Board Mining (Altcoins)
Re: AMD Memory Tweak - Read and modify memory timings on the fly - [Vega Friendly]
by
cl4r0s
on 25/03/2019, 17:32:24 UTC
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 Huh
This has use for Vega cards because you dont have other option Wink

So that you can experiment with live values instead of BIOS modding every time?

There are a plenty of Polaris cards of different producer without any available bios and then the WX-x100 series (amd pro cards) which are not compatible with the timings “one click” or available on internet. Having a tool like this one available for Polaris cards would be a great advantage, at least for a wx-5100 owner like myself

Ciao


If this card works under Linux, then the information about the memory and timings may reside in the driver sources. The vbios is also on the card, just a matter of dumping it, as for whether any tool can recognize structures or not, thats a different story.

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



Post
Topic
Board Mining (Altcoins)
Re: AMD Memory Tweak - Read and modify memory timings on the fly - [Vega Friendly]
by
cl4r0s
on 24/03/2019, 23:06:26 UTC
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 Huh
This has use for Vega cards because you dont have other option Wink

So that you can experiment with live values instead of BIOS modding every time?

There are a plenty of Polaris cards of different producer without any available bios and then the WX-x100 series (amd pro cards) which are not compatible with the timings “one click” or available on internet. Having a tool like this one available for Polaris cards would be a great advantage, at least for a wx-5100 owner like myself

Ciao