Skip to content
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.

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

GPU Device Order issue #1451

Closed
jeremyhammon opened this issue Feb 27, 2021 · 66 comments
Closed

GPU Device Order issue #1451

jeremyhammon opened this issue Feb 27, 2021 · 66 comments
Assignees
Labels
bug Something isn't working solved An issue has been solved

Comments

@jeremyhammon
Copy link

On one of my devices, at some point, I moved around some connections and where the device order was something like:

"card type 1, card type 2, card type 1, card type 2"
it is now
"card type 1, card type 1, card type 2, card type 2"

If I use them in legacy mode, it doesn't matter for the most part. If I change the mode, or if I use an algorithm that isn't compatible with all cards it can crash or not use all of them.

The question I have is how do I force RBMiner to rescan/rebuild its GPU config for this machine?

@saki2fifty
Copy link

If Linux, then you just rerun ./installer.sh. At the very end of the script, it'll redetect. This is how I do it, but may not be the correct way.

I'll let the man confirm this, or smack me around...

@jeremyhammon
Copy link
Author

jeremyhammon commented Feb 27, 2021

this is a windows machine

Here is an example, you can see from the image that the cards are not correctly identified....that something is getting mixed up somewhere.
Screenshot 2021-02-27 153850

@jeremyhammon
Copy link
Author

I just looked though the install.ps1 and it does seem to be in there. Let me try running the install again.

@jeremyhammon
Copy link
Author

jeremyhammon commented Feb 28, 2021

Nope, that didn't really work, but I think I figured out where the issue is. The Bus IDs are 04, 07, 0a, and 0b. When the application processes that information it puts 0a and 0b before 04 and 07.

Overdrive N labels them as 4,7,10, and 11.

RBMiner doesn't send bus ids to select what miner to use...and it is arranging the list as a,b,4,7 so when it send a command to use device 1 and 2, it thinks it is sending bus a and bus b, but it is really sending bus 4 and bus 7.

I hope this makes sense...

@RainbowMiner Can you take a look at this?

@jeremyhammon
Copy link
Author

jeremyhammon commented Feb 28, 2021

These 2 were both running at the same time, both trying to use the same cards from the way i am seeing it...

imageimageimage

Issues also not from the amd devices list

[
{
"Index": 0,
"DeviceName": "Radeon RX 5600 XT",
"SubId": "noid",
"PCIBusId": "04:00",
"CardId": -1
},
{
"Index": 1,
"DeviceName": "Radeon RX 5600 XT",
"SubId": "noid",
"PCIBusId": "07:00",
"CardId": -1
},
{
"Index": 2,
"DeviceName": "Radeon RX 580",
"SubId": "noid",
"PCIBusId": "0a:00",
"CardId": -1
},
{
"Index": 3,
"DeviceName": "Radeon RX 580",
"SubId": "noid",
"PCIBusId": "0b:00",
"CardId": -1
}
]

@jeremyhammon jeremyhammon changed the title Question - Rebuilding GPU List GPU Device Order issue Feb 28, 2021
@RainbowMiner
Copy link
Owner

That makes perfect sense! Thank you, I will fix this asap.

@RainbowMiner RainbowMiner self-assigned this Feb 28, 2021
@RainbowMiner RainbowMiner added the bug Something isn't working label Feb 28, 2021
RainbowMiner added a commit that referenced this issue Feb 28, 2021
- fix for GPU mis-alignment on PCIe bus (issue #1451 and #1452)
@RainbowMiner RainbowMiner added the solved An issue has been solved label Feb 28, 2021
@RainbowMiner
Copy link
Owner

Ok, that little fix should do the job. I strongly suspect, that this was the root cause for issue #1452, as well.

RainbowMiner added a commit that referenced this issue Feb 28, 2021
- fix match (issue #1451)
RainbowMiner added a commit that referenced this issue Feb 28, 2021
- more future compatible fix for bus alignment (issue #1451)
@RainbowMiner
Copy link
Owner

Now it's done. This should be the most secure fix.

@jeremyhammon
Copy link
Author

I will pull it and check when I get time later today

@jeremyhammon
Copy link
Author

Still seeing the issue. Is it rebuilding the GlobalDeviceCache on every run? or importing it from somewhere?

I am asking because technically nothing has changed on the configuration, so it may not trigger a rebuild

@jeremyhammon
Copy link
Author

Completely wiped and set it back up, still the same issue so it isn't because of something "lingering"

Just noticed an opencl error pop up on startup so wondering if that could be related.

@RainbowMiner
Copy link
Owner

Oh yes, an OpenCl error is never good. Would you please run GpUtest.bat and upload the result?

@jeremyhammon
Copy link
Author

When i start RBMiner i get this error now:

WARNING: OpenCL platform detection failed: Cannot bind argument to parameter 'ReferenceObject' because it is null.

Since last time i posted i have:
I fixed some of the other OpenCL errors i was seeing by updating the Khronos registry keys, but even after that, the order was still off.

i fixed the order by moving the physical connections so that the 580's would be detected as the lowest 2 id's. This seems to have let me "work around" what is going on and run in a mode other than legacy until it is figured out.

gputestresult.txt

@jeremyhammon
Copy link
Author

One additional error, likely related:

Line |
1643 | … al:StatsCache."$($c.Name)_$($c.BaseAlgorithm -replace '-.*$')_HashRa …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The property 'PowerDraw' cannot be found on this object. Verify that the property exists and can be set.

@jeremyhammon
Copy link
Author

FYI:

I was now able to clear up the WARNING: OpenCL platform detection failed: Cannot bind argument to parameter 'ReferenceObject' because it is null. error by opening it in PS Windows. The openclplatorms.json only had [] until i opened it in Windows PS. For some reason it is not generating properly running under core.

After running under Windows PS, i went back to core and that error is still not returning.

@RainbowMiner
Copy link
Owner

Good finding! Thank you very much. I will implement additional checks, regarding that []

@jeremyhammon
Copy link
Author

I have no OpenCL errors now, but i was moving these cards from a test bench into a frame and they did not get hooked back up in the same order and I am still having issues. I was seeing a huge number of failures, so ended up swapping back to legacy and....well just take a look at this image. There are some wires being crossed somewhere.
Screenshot 2021-03-02 134704

@jeremyhammon
Copy link
Author

jeremyhammon commented Mar 2, 2021

I am running through a few ideas/scenarios and will let you know what i come up with.

@RainbowMiner
Copy link
Owner

Super! Thank you for trying and reporting.

@jeremyhammon
Copy link
Author

jeremyhammon commented Mar 4, 2021

For the AMD device information, i was able to fix all of my stats by changing the references from

Where-Object Type_Vendor_Index -eq ...

to

Where-Object BusId_Mineable_Index -eq

I know that isnt 100% correct, but it works for me. The reason it is 100% correct is the additional use cases. It would probably be best to find a good way of doing matching like bus id or something. The only other case i can think of is IF you have both AMD and NVIDIA cards in the same device you would have to have another index for vendor bus id, or calculate it based off of type_vendor_index, get a list of bus ID's, sort, and then reference based on location. I do believe that all of those utilities you are using for AMD stats do primary sorting based on bus ID though.

Now, on to figuring out if there are some miners that actually use bus id location vs opencl vs vendor...etc.

@jeremyhammon
Copy link
Author

I am also working on either adding logic for missing powerdraw or adding logic to use multiple methods to retrieve card stats/data. I will just post a link to the commit on my repo when i am done with all of it. That will probably be easier.

@jeremyhammon
Copy link
Author

lolminer, phoenix, wildrig, and ethminer all seem to use busid order in my testing. still checking into others.

RainbowMiner added a commit that referenced this issue Mar 5, 2021
- add BusId indices for Type/Type_Vendor/Type_Mineable/Vendor to solve AMD GPU addressing (issue #1451)
@jeremyhammon
Copy link
Author

the above doesnt really parse properly in comments on git...

@RainbowMiner
Copy link
Owner

RainbowMiner commented Mar 7, 2021

Yes, doesn't look too readable. Maybe just upload the function somewhere as psm1
It could be, that you have to zip it or rename it to .txt - Github is particularily picky on filetypes

RainbowMiner added a commit that referenced this issue Mar 7, 2021
- let OverdriveN use Type_Vendor_Index (vs. BusId_.., issue #1451)
@jeremyhammon
Copy link
Author

jeremyhammon@0b5fed8

@jeremyhammon
Copy link
Author

debug_2021-03-07.zip

@RainbowMiner
Copy link
Owner

Oh! It really looks like, I have to retire OverdriveN.exe - it just skips the RX GPUs. That is bad, except if we can parse the PCI_VEN_1002&DEV_67DF&SUBSYS_C5801682&REV_E7_4&26519AED&0&00E6A string into a PCI bus id.

@jeremyhammon
Copy link
Author

Overdrive N seems to work...I think it is in your vendor order though and not bus order.

@jeremyhammon
Copy link
Author

oh, i see what you are saying now. let me take a look

@jeremyhammon
Copy link
Author

Maybe it needs to be updated. Here is the output from the other version i have on my machine: (0.2.9 i think)

AMD Radeon RX 5600 XT|GPU_P0=800;688|GPU_P1=1250;751|GPU_P2=1700;950|Fan_Acoustic=1750|Power_Target=0|Fan_P0=30;50|Fan_P1=50;50|Fan_P2=63;50|Fan_P3=76;50|Fan_P4=85;50|Fan_ZeroRPM=0|Mem_TimingLevel=0|GPU_Min=800|GPU_Max=1700|Mem_Max=1830
2: Radeon RX 580 Series|GPU_P0=300;750|GPU_P1=600;769|GPU_P2=900;862|GPU_P3=1020;950|GPU_P4=1040;968|GPU_P5=1060;981|GPU_P6=1080;1000|GPU_P7=1100;1018|Mem_P0=400;750|Mem_P1=1000;900|Mem_P2=2100;950|Fan_Acoustic=1100|Power_Target=0|Fan_P0=30;38|Fan_P1=50;42|Fan_P2=63;55|Fan_P3=76;68|Fan_P4=85;85|Fan_ZeroRPM=0|Mem_TimingLevel=0
3: AMD Radeon RX 5600 XT|GPU_P0=800;683|GPU_P1=1250;768|GPU_P2=1700;950|Fan_Acoustic=1750|Power_Target=0|Fan_P0=30;50|Fan_P1=50;50|Fan_P2=63;50|Fan_P3=76;50|Fan_P4=85;50|Fan_ZeroRPM=0|Mem_TimingLevel=0|GPU_Min=800|GPU_Max=1700|Mem_Max=1830
4: Radeon RX 580 Series|GPU_P0=300;750|GPU_P1=600;769|GPU_P2=900;918|GPU_P3=1020;1012|GPU_P4=1040;1031|GPU_P5=1060;1050|GPU_P6=1080;1068|GPU_P7=1100;1087|Mem_P0=400;750|Mem_P1=1000;900|Mem_P2=2100;950|Fan_Acoustic=1100|Power_Target=0|Fan_P0=30;38|Fan_P1=50;42|Fan_P2=63;55|Fan_P3=76;68|Fan_P4=85;85|Fan_ZeroRPM=0|Mem_TimingLevel=0

@RainbowMiner
Copy link
Owner

Ah, that's the OverdriveNTool.exe - the OverdriveN.exe is quiet antique.

@jeremyhammon
Copy link
Author

ah, ok.

you can run overdriventool.exe with -getcurrent to get that output.

@RainbowMiner
Copy link
Owner

Are these the current overclocking settings, or is this the current clock, like in Afterburner?

@jeremyhammon
Copy link
Author

jeremyhammon commented Mar 7, 2021

for which values?

It looks like the value in OverdriveN is the instance path....you could probably make system calls with that to get other information, but it could be ugly. And it looks like it only supports the 580's

If you are talkinga bout the OverdriveNToolValues....they look to be current settings, not live values like afterburner is providing and not default settings like odvii is providing. and it looks to be ordered by busid

@RainbowMiner
Copy link
Owner

Ok. Regarding this old tool, could you try the following?

  • either open the Powershell ISE or open a new pwsh console
  • enter Get-CimInstance CIM_VideoController and upload the result here?

@jeremyhammon
Copy link
Author

Caption : AMD Radeon RX 5600 XT
Description : AMD Radeon RX 5600 XT
InstallDate :
Name : AMD Radeon RX 5600 XT
Status : OK
Availability : 8
ConfigManagerErrorCode : 0
ConfigManagerUserConfig : False
CreationClassName : Win32_VideoController
DeviceID : VideoController1
ErrorCleared :
ErrorDescription :
LastErrorCode :
PNPDeviceID : PCI\VEN_1002&DEV_731F&SUBSYS_57101682&REV_CA\6&700100E&0&00000008
PowerManagementCapabilities :
PowerManagementSupported :
StatusInfo :
SystemCreationClassName : Win32_ComputerSystem
SystemName : DESKTOP-J32TA82
MaxNumberControlled :
ProtocolSupported :
TimeOfLastReset :
AcceleratorCapabilities :
CapabilityDescriptions :
CurrentBitsPerPixel :
CurrentHorizontalResolution :
CurrentNumberOfColors :
CurrentNumberOfColumns :
CurrentNumberOfRows :
CurrentRefreshRate :
CurrentScanMode :
CurrentVerticalResolution :
MaxMemorySupported :
MaxRefreshRate :
MinRefreshRate :
NumberOfVideoPages :
VideoMemoryType : 2
VideoProcessor : AMD Radeon Graphics Processor (0x731F)
NumberOfColorPlanes :
VideoArchitecture : 5
VideoMode :
AdapterCompatibility : Advanced Micro Devices, Inc.
AdapterDACType : Internal DAC(400MHz)
AdapterRAM : 4293918720
ColorTableEntries :
DeviceSpecificPens :
DitherType :
DriverDate : 8/20/2020 7:00:00 PM
DriverVersion : 27.20.1034.6
ICMIntent :
ICMMethod :
InfFilename : oem12.inf
InfSection : ati2mtag_Navi10
InstalledDisplayDrivers : C:\WINDOWS\System32\DriverStore\FileRepository\u0360470.inf_amd64_35c64671e7fac064\B3
60357\aticfx64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\u0360470.inf_amd64_
35c64671e7fac064\B360357\aticfx64.dll,C:\WINDOWS\System32\DriverStore\FileRepository
u0360470.inf_amd64_35c64671e7fac064\B360357\aticfx64.dll,C:\WINDOWS\System32\DriverSt
ore\FileRepository\u0360470.inf_amd64_35c64671e7fac064\B360357\amdxc64.dll
Monochrome : False
ReservedSystemPaletteEntries :
SpecificationVersion :
SystemPaletteEntries :
VideoModeDescription :
PSComputerName :

Caption : AMD Radeon RX 5600 XT
Description : AMD Radeon RX 5600 XT
InstallDate :
Name : AMD Radeon RX 5600 XT
Status : OK
Availability : 8
ConfigManagerErrorCode : 0
ConfigManagerUserConfig : False
CreationClassName : Win32_VideoController
DeviceID : VideoController2
ErrorCleared :
ErrorDescription :
LastErrorCode :
PNPDeviceID : PCI\VEN_1002&DEV_731F&SUBSYS_57101682&REV_CA\6&3A167EE8&0&000000E5
PowerManagementCapabilities :
PowerManagementSupported :
StatusInfo :
SystemCreationClassName : Win32_ComputerSystem
SystemName : DESKTOP-J32TA82
MaxNumberControlled :
ProtocolSupported :
TimeOfLastReset :
AcceleratorCapabilities :
CapabilityDescriptions :
CurrentBitsPerPixel :
CurrentHorizontalResolution :
CurrentNumberOfColors :
CurrentNumberOfColumns :
CurrentNumberOfRows :
CurrentRefreshRate :
CurrentScanMode :
CurrentVerticalResolution :
MaxMemorySupported :
MaxRefreshRate :
MinRefreshRate :
NumberOfVideoPages :
VideoMemoryType : 2
VideoProcessor : AMD Radeon Graphics Processor (0x731F)
NumberOfColorPlanes :
VideoArchitecture : 5
VideoMode :
AdapterCompatibility : Advanced Micro Devices, Inc.
AdapterDACType : Internal DAC(400MHz)
AdapterRAM : 4293918720
ColorTableEntries :
DeviceSpecificPens :
DitherType :
DriverDate : 8/20/2020 7:00:00 PM
DriverVersion : 27.20.1034.6
ICMIntent :
ICMMethod :
InfFilename : oem12.inf
InfSection : ati2mtag_Navi10
InstalledDisplayDrivers : C:\WINDOWS\System32\DriverStore\FileRepository\u0360470.inf_amd64_35c64671e7fac064\B3
60357\aticfx64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\u0360470.inf_amd64_
35c64671e7fac064\B360357\aticfx64.dll,C:\WINDOWS\System32\DriverStore\FileRepository
u0360470.inf_amd64_35c64671e7fac064\B360357\aticfx64.dll,C:\WINDOWS\System32\DriverSt
ore\FileRepository\u0360470.inf_amd64_35c64671e7fac064\B360357\amdxc64.dll
Monochrome : False
ReservedSystemPaletteEntries :
SpecificationVersion :
SystemPaletteEntries :
VideoModeDescription :
PSComputerName :

Caption : Radeon RX 580 Series
Description : Radeon RX 580 Series
InstallDate :
Name : Radeon RX 580 Series
Status : OK
Availability : 8
ConfigManagerErrorCode : 0
ConfigManagerUserConfig : False
CreationClassName : Win32_VideoController
DeviceID : VideoController3
ErrorCleared :
ErrorDescription :
LastErrorCode :
PNPDeviceID : PCI\VEN_1002&DEV_67DF&SUBSYS_C5801682&REV_E7\4&26519AED&0&00E6
PowerManagementCapabilities :
PowerManagementSupported :
StatusInfo :
SystemCreationClassName : Win32_ComputerSystem
SystemName : DESKTOP-J32TA82
MaxNumberControlled :
ProtocolSupported :
TimeOfLastReset :
AcceleratorCapabilities :
CapabilityDescriptions :
CurrentBitsPerPixel :
CurrentHorizontalResolution :
CurrentNumberOfColors :
CurrentNumberOfColumns :
CurrentNumberOfRows :
CurrentRefreshRate :
CurrentScanMode :
CurrentVerticalResolution :
MaxMemorySupported :
MaxRefreshRate :
MinRefreshRate :
NumberOfVideoPages :
VideoMemoryType : 2
VideoProcessor : AMD Radeon Graphics Processor (0x67DF)
NumberOfColorPlanes :
VideoArchitecture : 5
VideoMode :
AdapterCompatibility : Advanced Micro Devices, Inc.
AdapterDACType : Internal DAC(400MHz)
AdapterRAM : 4293918720
ColorTableEntries :
DeviceSpecificPens :
DitherType :
DriverDate : 8/20/2020 7:00:00 PM
DriverVersion : 27.20.1034.6
ICMIntent :
ICMMethod :
InfFilename : oem12.inf
InfSection : ati2mtag_Polaris10
InstalledDisplayDrivers : C:\WINDOWS\System32\DriverStore\FileRepository\u0360470.inf_amd64_35c64671e7fac064\B3
60357\aticfx64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\u0360470.inf_amd64_
35c64671e7fac064\B360357\aticfx64.dll,C:\WINDOWS\System32\DriverStore\FileRepository
u0360470.inf_amd64_35c64671e7fac064\B360357\aticfx64.dll,C:\WINDOWS\System32\DriverSt
ore\FileRepository\u0360470.inf_amd64_35c64671e7fac064\B360357\amdxc64.dll
Monochrome : False
ReservedSystemPaletteEntries :
SpecificationVersion :
SystemPaletteEntries :
VideoModeDescription :
PSComputerName :

Caption : Radeon RX 580 Series
Description : Radeon RX 580 Series
InstallDate :
Name : Radeon RX 580 Series
Status : OK
Availability : 8
ConfigManagerErrorCode : 0
ConfigManagerUserConfig : False
CreationClassName : Win32_VideoController
DeviceID : VideoController4
ErrorCleared :
ErrorDescription :
LastErrorCode :
PNPDeviceID : PCI\VEN_1002&DEV_67DF&SUBSYS_C5801682&REV_E7\4&2CA970CB&0&00DC
PowerManagementCapabilities :
PowerManagementSupported :
StatusInfo :
SystemCreationClassName : Win32_ComputerSystem
SystemName : DESKTOP-J32TA82
MaxNumberControlled :
ProtocolSupported :
TimeOfLastReset :
AcceleratorCapabilities :
CapabilityDescriptions :
CurrentBitsPerPixel :
CurrentHorizontalResolution :
CurrentNumberOfColors :
CurrentNumberOfColumns :
CurrentNumberOfRows :
CurrentRefreshRate :
CurrentScanMode :
CurrentVerticalResolution :
MaxMemorySupported :
MaxRefreshRate :
MinRefreshRate :
NumberOfVideoPages :
VideoMemoryType : 2
VideoProcessor : AMD Radeon Graphics Processor (0x67DF)
NumberOfColorPlanes :
VideoArchitecture : 5
VideoMode :
AdapterCompatibility : Advanced Micro Devices, Inc.
AdapterDACType : Internal DAC(400MHz)
AdapterRAM : 4293918720
ColorTableEntries :
DeviceSpecificPens :
DitherType :
DriverDate : 8/20/2020 7:00:00 PM
DriverVersion : 27.20.1034.6
ICMIntent :
ICMMethod :
InfFilename : oem12.inf
InfSection : ati2mtag_Polaris10
InstalledDisplayDrivers : C:\WINDOWS\System32\DriverStore\FileRepository\u0360470.inf_amd64_35c64671e7fac064\B3
60357\aticfx64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\u0360470.inf_amd64_
35c64671e7fac064\B360357\aticfx64.dll,C:\WINDOWS\System32\DriverStore\FileRepository
u0360470.inf_amd64_35c64671e7fac064\B360357\aticfx64.dll,C:\WINDOWS\System32\DriverSt
ore\FileRepository\u0360470.inf_amd64_35c64671e7fac064\B360357\amdxc64.dll
Monochrome : False
ReservedSystemPaletteEntries :
SpecificationVersion :
SystemPaletteEntries :
VideoModeDescription :
PSComputerName :

Caption : Intel(R) UHD Graphics 630
Description : Intel(R) UHD Graphics 630
InstallDate :
Name : Intel(R) UHD Graphics 630
Status : OK
Availability : 3
ConfigManagerErrorCode : 0
ConfigManagerUserConfig : False
CreationClassName : Win32_VideoController
DeviceID : VideoController5
ErrorCleared :
ErrorDescription :
LastErrorCode :
PNPDeviceID : PCI\VEN_8086&DEV_3E92&SUBSYS_86941043&REV_00\3&11583659&0&10
PowerManagementCapabilities :
PowerManagementSupported :
StatusInfo :
SystemCreationClassName : Win32_ComputerSystem
SystemName : DESKTOP-J32TA82
MaxNumberControlled :
ProtocolSupported :
TimeOfLastReset :
AcceleratorCapabilities :
CapabilityDescriptions :
CurrentBitsPerPixel : 32
CurrentHorizontalResolution : 1920
CurrentNumberOfColors : 4294967296
CurrentNumberOfColumns : 0
CurrentNumberOfRows : 0
CurrentRefreshRate : 59
CurrentScanMode : 4
CurrentVerticalResolution : 1080
MaxMemorySupported :
MaxRefreshRate : 75
MinRefreshRate : 50
NumberOfVideoPages :
VideoMemoryType : 2
VideoProcessor : Intel(R) UHD Graphics Family
NumberOfColorPlanes :
VideoArchitecture : 5
VideoMode :
AdapterCompatibility : Intel Corporation
AdapterDACType : Internal
AdapterRAM : 1073741824
ColorTableEntries :
DeviceSpecificPens :
DitherType : 0
DriverDate : 9/4/2020 7:00:00 PM
DriverVersion : 27.20.100.8682
ICMIntent :
ICMMethod :
InfFilename : oem5.inf
InfSection : iCFL_w10_DS
InstalledDisplayDrivers : C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_2cec8fd58a80e6ea\igd
umdim64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_2cec8fd5
8a80e6ea\igd10iumd64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_a
md64_2cec8fd58a80e6ea\igd10iumd64.dll,C:\WINDOWS\System32\DriverStore\FileRepository
igdlh64.inf_amd64_2cec8fd58a80e6ea\igd12umd64.dll
Monochrome : False
ReservedSystemPaletteEntries :
SpecificationVersion :
SystemPaletteEntries :
VideoModeDescription : 1920 x 1080 x 4294967296 colors
PSComputerName :

RainbowMiner added a commit that referenced this issue Mar 7, 2021
- retire old OverdriveN.exe and odvii.exe
- check live data Afterburner -> odvii_x64.exe
- issue #1451
@RainbowMiner
Copy link
Owner

RainbowMiner commented Mar 7, 2021

Ok.
I have now retired the two old tools OverdriveN.exe and odvii.exe since they fail on the RX GPUs.
Also, I have put the two remaining tools in the order Afterburner -> odvii_x64.exe to give Afterburner's life data a chance to show up. The order can now easily be changed, since it's now in an array looping over a switch statement.

That should be now pretty neat, since both tools deliver PCI bus ids, that we then can easily match to the PCI bus ids in the OpenCL record.

@jeremyhammon
Copy link
Author

Maybe that will work. Updated Include.psm1 and i am seeing static default values for clock/mem. so either Afterburner isnt working properly or odvii_64 is overwriting.

RainbowMiner added a commit that referenced this issue Mar 7, 2021
- prio clocks for Afterburner, all other for odvii_x64.exe (issue #1451)
@jeremyhammon
Copy link
Author

Ok, took a look. The way it is working now, odvii needs to go first then Afterburner because it is going to run both and the live values are preferred if available. so process default values (odvii) then afterburner (live values).

IMO it would probably be cleaner to initialize the data object before running either one. Run Afterburner first, store values in object, run odvii to fill in anything else that is still missing, then write it back out to the device.

@jeremyhammon
Copy link
Author

just saw you updated again. checking it

@jeremyhammon
Copy link
Author

yeah they look to be bouncing back and forth.

i stand behind my previous statement.

The way it is working now, odvii needs to go first then Afterburner because it is going to run both and the live values are preferred if available. so process default values (odvii) then afterburner (live values).

IMO it would probably be cleaner to initialize the data object before running either one. Run Afterburner first, store values in object, run odvii to fill in anything else that is still missing, then write it back out to the device.

I think the only way to get rid of the "bouncing" is to only present one set of data.

Create object
switch(afterburner,odvii)
{
*each one only updates the data it has available which puts preference on afterburner, if a value is missing when odvii runs it can use the odvii value
}
process data object and add values to device object.

RainbowMiner added a commit that referenced this issue Mar 7, 2021
- fix fail bug (issue #1451)
@RainbowMiner
Copy link
Owner

With this change, it should now be working.
1 - init data to zero
2 - run Afterburner
3 - run odvii_x64 and fill in missing or overwrite, if not match "^clock"

@jeremyhammon
Copy link
Author

I think it looks good now...I will let it run some and let you know for sure.

@RainbowMiner
Copy link
Owner

That would be superb!

Next step, and if you have time for that, I could try to implement the overclocking, using OverdriveNTool.exe, so that we could use ocprofiles.

@jeremyhammon
Copy link
Author

I can definitely be on-board with that.

Side note---would you like to carry these conversations over to discord or some other format?

@RainbowMiner
Copy link
Owner

Sure. We can use Discord, if you like. Just PN me over there.

@jeremyhammon
Copy link
Author

here is the debug file for all of the AMD cards being duplicated after i added a NVidia to the machine.

I am about to pull that card as i wanted to do it as a test, but looking at the debug files i see what looks to be issues with openCL although i dont recall seeing them in the console.
debug_2021-03-13.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working solved An issue has been solved
Projects
None yet
Development

No branches or pull requests

3 participants