Post
Topic
Board Mining (Altcoins)
Merits 1 from 1 user
Re: AMD Mem Tweak - Read/modify mem timings on the fly - [Vega Friendly] [Win/Linux]
by
SamAlackass
on 09/05/2019, 22:06:20 UTC
⭐ Merited by vapourminer (1)
Anyone has any idea about what could be causing this?

I have already verified it isn't driver related and most of the times I get zeros from all cards. Some times it will work normally, some times I will only get readings from some cards, as in the log below.

Needless to say I can't set any timings for the cards not giving proper readings.

Code:
GPU 1:  Vega 10 XL/XT [Radeon RX Vega 56/64]    Memory state: 0x0 (unknown)
Timing 1          CL: 0   RAS: 0          RCDRD: 0        RCDWR: 0
Timing 2          RCAb (RC): 0    RCPb (RC): 0    RPAb (RP): 0    RPPb (RP): 0
Timing 3          RRDS: 0         RRDL: 0         RTP: 0
Timing 4          FAW: 0
Timing 5          CWL: 0          WTRS: 0         WTRL: 0
Timing 6          WR: 0
Timing 7          RREFD: 0
Timing 8          RDRDDD: 0       RDRDSD: 0       RDRDSC: 0       RDRDSCL: 0
Timing 9          WRWRDD: 0       WRWRSD: 0       WRWRSC: 0       WRWRSCL: 0
Timing 10         WRRD: 0         RDWR: 0
Timing 12         REF: 0
Timing 13         MRD: 0          MOD: 0
Timing 14         XS: 0
Timing 16         XSMRS: 0
Timing 17         PD: 0   CKSRE: 0        CKSRX: 0
Timing 20         RFCPB: 0        STAG: 0
Timing 21         XP: 0   CPDED: 0        CKE: 0
Timing 22         RDDATA: 0       WRLAT: 0        RDLAT: 0        WRDATA: 0
Timing 23         CKESTAG: 0
RFC Timing        RFC: 0

GPU 2:  Vega 10 XL/XT [Radeon RX Vega 56/64]    Memory state: 0x0 (unknown)
Timing 1          CL: 0   RAS: 0          RCDRD: 0        RCDWR: 0
Timing 2          RCAb (RC): 0    RCPb (RC): 0    RPAb (RP): 0    RPPb (RP): 0
Timing 3          RRDS: 0         RRDL: 0         RTP: 0
Timing 4          FAW: 0
Timing 5          CWL: 0          WTRS: 0         WTRL: 0
Timing 6          WR: 0
Timing 7          RREFD: 0
Timing 8          RDRDDD: 0       RDRDSD: 0       RDRDSC: 0       RDRDSCL: 0
Timing 9          WRWRDD: 0       WRWRSD: 0       WRWRSC: 0       WRWRSCL: 0
Timing 10         WRRD: 0         RDWR: 0
Timing 12         REF: 0
Timing 13         MRD: 0          MOD: 0
Timing 14         XS: 0
Timing 16         XSMRS: 0
Timing 17         PD: 0   CKSRE: 0        CKSRX: 0
Timing 20         RFCPB: 0        STAG: 0
Timing 21         XP: 0   CPDED: 0        CKE: 0
Timing 22         RDDATA: 0       WRLAT: 0        RDLAT: 0        WRDATA: 0
Timing 23         CKESTAG: 0
RFC Timing        RFC: 0

GPU 3:  Vega 10 XL/XT [Radeon RX Vega 56/64]    Memory state: 0x118 (800MHz)
Timing 1          CL: 17          RAS: 27         RCDRD: 13       RCDWR: 8
Timing 2          RCAb (RC): 39   RCPb (RC): 39   RPAb (RP): 12   RPPb (RP): 12
Timing 3          RRDS: 4         RRDL: 5         RTP: 5
Timing 4          FAW: 13
Timing 5          CWL: 6          WTRS: 3         WTRL: 7
Timing 6          WR: 13
Timing 7          RREFD: 7
Timing 8          RDRDDD: 3       RDRDSD: 2       RDRDSC: 1       RDRDSCL: 3
Timing 9          WRWRDD: 3       WRWRSD: 2       WRWRSC: 1       WRWRSCL: 3
Timing 10         WRRD: 1         RDWR: 17
Timing 12         REF: 3120
Timing 13         MRD: 8          MOD: 12
Timing 14         XS: 216
Timing 16         XSMRS: 6
Timing 17         PD: 6   CKSRE: 8        CKSRX: 8
Timing 20         RFCPB: 128      STAG: 7
Timing 21         XP: 6   CPDED: 2        CKE: 6
Timing 22         RDDATA: 16      WRLAT: 4        RDLAT: 14       WRDATA: 1
Timing 23         CKESTAG: 2
RFC Timing        RFC: 208

GPU 4:  Vega 10 XL/XT [Radeon RX Vega 56/64]    Memory state: 0x118 (800MHz)
Timing 1          CL: 17          RAS: 27         RCDRD: 13       RCDWR: 8
Timing 2          RCAb (RC): 39   RCPb (RC): 39   RPAb (RP): 12   RPPb (RP): 12
Timing 3          RRDS: 4         RRDL: 5         RTP: 5
Timing 4          FAW: 13
Timing 5          CWL: 6          WTRS: 3         WTRL: 7
Timing 6          WR: 13
Timing 7          RREFD: 7
Timing 8          RDRDDD: 3       RDRDSD: 2       RDRDSC: 1       RDRDSCL: 3
Timing 9          WRWRDD: 3       WRWRSD: 2       WRWRSC: 1       WRWRSCL: 3
Timing 10         WRRD: 1         RDWR: 17
Timing 12         REF: 3120
Timing 13         MRD: 8          MOD: 12
Timing 14         XS: 216
Timing 16         XSMRS: 6
Timing 17         PD: 6   CKSRE: 8        CKSRX: 8
Timing 20         RFCPB: 128      STAG: 7
Timing 21         XP: 6   CPDED: 2        CKE: 6
Timing 22         RDDATA: 16      WRLAT: 4        RDLAT: 14       WRDATA: 1
Timing 23         CKESTAG: 2
RFC Timing        RFC: 208

A quick update on that issue, still unresolved unfortunately. I'm back on 19.4.3 currently, played a bit more with the GUI, still getting zeros and memory status 0x0 most of the times, had a couple of lucky runs after numerous restarts and managed to export some working .xml files.

Now, importing the .xml file obviously doesn't do much and everything resets to zero the moment I hit "apply", but again in some cases, I get this error and I thought maybe (hopefully) it isn't unrelated?
Code:
ADL2_OverdriveN_SettingsExt_Set : Generic Error. Most likely one or more of the Escape calls to the driver failed!
 

I have also spent quite a bit of time comparing (software-wise) this with another perfectly working test system I have, made a few changes just in case, nothing seems to be helping and the systems were very similar to begin with anyway. In terms of hardware though, they are day and night so it could be anything. The most relevant difference I can think of obviously is the on-board GPU of each system? Intel on the working one, HD 8330 on the other.

Eliovp, can you think of any way that 8330 could be interfering? I have nothing else to try at the moment, next step is disable the 8330 from the BIOS but I won't be near that system for another couple of weeks and I only have remote access for now. I already tried disabling from device manager but it stops the GUI from running altogether. I can't remember the exact error but I can give it another try if it could be of any help.

edit: HD 8330 disabled in device manager, no change for CLI, GUI gives the following errors.
Code:
---------------------------
ADLException
---------------------------
ADL2_OverdriveN_MemoryTimingLevel_Get : Generic Error. Most likely one or more of the Escape calls to the driver failed!

   at WinFormsGUI.ADL.GetTimingLevels(UInt16 adapterIndex, Int32& defaultValue, Int32& currentValue, Int32[]& levels)

   at WinFormsGUI.GDDR5Control.RefreshADL()

   at WinFormsGUI.GDDR5Control.RefreshTimings()

   at WinFormsGUI.GDDR5Control.ReadAndDisplay(VGAChip chip, UInt16 adapterIndex, ToolTip toolTip)

   at WinFormsGUI.MainForm..ctor()

   at WinFormsGUI.Program.Main()
---------------------------
OK   
---------------------------
Code:
---------------------------
ADLException
---------------------------
ADL2_OverdriveN_Temperature_Get : Generic Error. Most likely one or more of the Escape calls to the driver failed!

   at WinFormsGUI.ADL.GetTemperature(UInt16 adapterIndex, Int32& temperature)

   at WinFormsGUI.GDDR5Control.Timer_Tick(Object sender, EventArgs e)

   at System.Windows.Forms.Timer.OnTick(EventArgs e)

   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
---------------------------
OK   
---------------------------