RavenCommunity / kawpowminer

KawPow 0.9.4 implementation for Ravencoin
https://github.com/RavenProject/Ravencoin
GNU General Public License v3.0
230 stars 95 forks source link

Can't Start the Miner in Windows Error 0xc000007b #25

Open jch9678 opened 4 years ago

jch9678 commented 4 years ago

I created a .bat with --help and got this error. Any ideas? Thanks

kawpowminer.exe - Application Error

The application was unable to start correctly (0xc000007b). Click OK to close the application.

jch9678 commented 4 years ago

I've tried updating .NET runtimes (even Core) and installed the latest C++ redistributables.

nyakze commented 4 years ago

AFAIK this is AMD issue with kpm and pretty common. Can you provide more details: Miner build version OS version and build number (use winver) Driver version gpu model

jch9678 commented 4 years ago

Sorry for the tardy reply, you are correct I am using AMD on Windows

Miner build version: 1.2.2 OS version and build number (use winver): Version 1809 (OS Build 17763.973) Driver version: 19.2 gpu model: Vega 56 (reference model)

nyakze commented 4 years ago

Tested on same OS Build, but with driver version 20.2.2, gpu rx480 - working fine.

tale01 commented 4 years ago

Window 10 Version 1909 (OS Build 18363.815) AMD driver 20.2.2, gpu R9 NANO - get "The application was unable to start correctly (0xc000007b). Click OK to close the application."

I think driver version is not root cause.

If kawpowminer can run on Win 10 Version 1809 (OS Build 17763.973) with Driver 20.2.2 only, it very specify for all AMD miner.

nyakze commented 4 years ago

Then the issue gotta lie somewhere else. Not driver and not windows build.

tale01 commented 4 years ago

Hard to analysis. I have 4 PC diffence Win 10 OS bulid. It can run only 1 PC. (Win 10 Version 1903 (OS Build 18362.778)) it difference your OS. I check .NET runtimes installed,but is the same version. XD

tale01 commented 4 years ago

This is not root cause. 2 PC has the same install. PC 1 can run miner and PC 2 cann't run miner. MVC

jch9678 commented 4 years ago

1909 doesn't work on several machines.

1809 doesn't work - The code execution cannot proceed because VCRUNTIME140_1.dll was not found. Reinstalling the program may fix this problem.

I encountered this problem on the first machine but installed the latest .NET runtimes and it solved that one but the current problem presented itself

1903 doesn't work - but different OS build than Tale01 18362.592

jch9678 commented 4 years ago

@tale01 do you have Visual Studio installed on both machines?

tale01 commented 4 years ago

@tale01 do you have Visual Studio installed on both machines?

Yes

nyakze commented 4 years ago

VCRUNTIME140_1.dll issue is fixed by installing https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

jch9678 commented 4 years ago

Yes, that's what I did when I encountered that particular error.

tale01 commented 4 years ago

Compared. What the cause??? minning

dontmining

jch9678 commented 4 years ago

Here are the differences.

Different builds for version 1809 - Works 17763.1039 vs 17763.1158 Doesn't Work

Different .NET Core Runtime versions - Works 2.2.1 vs 2.2.8 Doesn't Work

Redistributables: 2008 x64 is not installed on the working machine 2012 x86 and x64 are not installed on the working machine 2013 x86 and x64 are installed on both machines 2015-2019 x64 are installed on machines 2015 x86 14.0.24123 is only installed on the working machine

I think this last one is the key. Can someone tell us what version of Visual Studio this binary was compiled on?

tale01 commented 4 years ago

Tested 2015 x86 14.0.24123 is not a key

jch9678 commented 4 years ago

Do you want to try .NET Core 2.2.1 on your non-working machine?

tale01 commented 4 years ago

Tried. .NET Core 2.2.1 & 2.2.8 not a key

jeroz1 commented 4 years ago

Miner on telegram reports the same issue

Windows 10; rx580 4gb F65B3ECB-0D6F-4CCD-96D5-143A7D073943

ParthibanPeriyasamy18 commented 4 years ago

Any Solution for this error?

I tried everything above suggested. No Help.

jch9678 commented 4 years ago

I never found one, I had to move on.

Bolle-VVout commented 4 years ago

Did you found "VCRUNTIME140_1.dll" if not get it from above link. If you have maybe you can copy it to the same dir as your miner, did help me a while ago with some miner I'm not sure any more witch.

It has to be some .dll problem if I read this. https://wikifixes.com/en/errors/dll/0xc000007b.dll/?_sid=QDFOtg12vl

Last thing I can think off is that it's searching for cuda files anyway, I know you're running AMD's but don't know exactly what builds you're using and how the initialisation of kawpowminer demands cuda libs.

ankah2000 commented 4 years ago

Any one else having this issue? I did most (all I think) of the recommended above and could not fix it. Running Vegas 64 here. Could it be a Vega issue?

ghost commented 4 years ago

Same error here, running RX 590. I tried pretty much all the steps here.

VoldurX commented 3 years ago

Going to add to it.

Getting the same problem with RX 580. Driver version 20.9.2

nyakze commented 3 years ago

As there is no other solution, I suggest using other miners for now (unfortunately all alternatives are closed source and have dev fee). Here's a list: https://raven.wiki/w/Mining#Miners

Roman20202020 commented 3 years ago

Sorry for the google translator. installed new RX580 4GB. I suffered with this error for two days, reinstalled .NET and C ++ and what I just didn’t do with dll. I took them out of the motherboard. I installed an old Geforce 550 ti. Installed the drivers. rebooted and put back RX580. and it all worked.

tidux commented 3 years ago

Same issue present on 20H2 Pro.

r0manux commented 3 years ago

Hello, same issue, installed Visual C++ Redistributable Runtimes All-in-One from TechPowerUp without succes. Running Sapphire RX570 8GB on Windows 10 Pro x64, v2004, build 19041.867. Maybe the attached log from Dependency Walker helps the devs. GL kawpowminer.exe-DependencyWalker-profiler-log.txt

seperatis commented 3 years ago

Same issue; has anyone found fix yet?

Windows 10 PRO

AMD Radeon RX 580 GPU

wimjan123 commented 3 years ago

Yeah i got the same issue too, a fix would be awesome!

Windows 10

AMD RX 5600XT I7 8700K

LeonVerde420 commented 3 years ago

Same issue here. Windows 10 RX580 4gb Nitro+

ariwerth commented 3 years ago

Still an issue apparently: Windows 10 RX580