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

How to compile CUDA 8 with Fermi Nvidia Card (GT 430) #2505

Closed
OMGitsMohaYT opened this issue Aug 10, 2019 · 48 comments
Closed

How to compile CUDA 8 with Fermi Nvidia Card (GT 430) #2505

OMGitsMohaYT opened this issue Aug 10, 2019 · 48 comments

Comments

@OMGitsMohaYT
Copy link

OMGitsMohaYT commented Aug 10, 2019

I already have the Visual Studio 2019, and the VC++ 2015 build tools and all that stuff, I also have both CUDA 9 and 8, (idk if i should remove cuda 9, i just have them both installed) and a nvidia driver version of 375.70, I got i3 2100 and GT 430 GPU (fermi) and 8gb ram if those specs are needed, I'm honestly stuck and confused and I don't wanna ruin everything and stuff so I came here and made a new issue, Please help me with this situation or give me a video that I should follow

@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 10, 2019 via email

@OMGitsMohaYT
Copy link
Author

OMGitsMohaYT commented Aug 10, 2019 via email

@OMGitsMohaYT
Copy link
Author

https://pastebin.com/8MrpAT05

An error occured at the end when I did everything right and everything was fine, Hope you help me figure out what's the problem :)

@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 11, 2019 via email

@OMGitsMohaYT
Copy link
Author

You mean a screenshot, right?

@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 11, 2019 via email

@OMGitsMohaYT
Copy link
Author

I actually messed some stuffs and I got it working which means it's done and should work but instead nope, I went to the xmr stak miner and it still says backend disabled, cuda error, cuda etc...
Here's it:
`[2019-08-11 15:05:36] Mining coin: cryptonight_r

[2019-08-11 15:05:36] WARNING: No AMD OpenCL platform found. Possible driver issues or wrong vendor driver.

[2019-08-11 15:05:36] WARNING: backend AMD (OpenCL) disabled.

[2019-08-11 15:05:36] NVIDIA: try to load library 'xmrstak_cuda_backend_cuda10_0'

[2019-08-11 15:05:37] WARNING: NVIDIA Insufficient driver!

[2019-08-11 15:05:37] NVIDIA: try to load library 'xmrstak_cuda_backend_cuda9_2'

[2019-08-11 15:05:37] WARNING: NVIDIA cannot load backend library: xmrstak_cuda_backend_cuda9_2.dll

[2019-08-11 15:05:37] WARNING: NVIDIA Insufficient driver!

[2019-08-11 15:05:37] NVIDIA: try to load library 'xmrstak_cuda_backend'

[2019-08-11 15:05:37] WARNING: NVIDIA Insufficient driver!

[2019-08-11 15:05:37] WARNING: backend NVIDIA disabled.

[2019-08-11 15:05:37] Starting 1x thread, affinity: 0.

[2019-08-11 15:05:37] hwloc: memory pinned

[2019-08-11 15:05:37] Starting 1x thread, affinity: 2.

[2019-08-11 15:05:37] hwloc: memory pinned

[2019-08-11 15:05:37] Fast-connecting to hk01.supportxmr.com:8080 pool ...

[2019-08-11 15:05:37] MEMORY ALLOC FAILED: VirtualAlloc failed. Reboot might help.

[2019-08-11 15:05:37] MEMORY ALLOC FAILED: VirtualAlloc failed. Reboot might help.

[2019-08-11 15:05:38] Fast-connecting to pool.supportxmr.com:5555 pool ...

[2019-08-11 15:05:38] Pool pool.supportxmr.com:5555 connected. Logging in...

[2019-08-11 15:05:38] Difficulty changed. Now: 20000.

[2019-08-11 15:05:38] Pool logged in.

[2019-08-11 15:05:40] SOCKET ERROR - [hk01.supportxmr.com:8080] CONNECT error: No connection could be made because the target machine actively refused it.

[2019-08-11 15:06:29] Difficulty changed. Now: 14815.

[2019-08-11 15:06:29] New block detected.

[2019-08-11 15:06:34] New block detected.

[2019-08-11 15:07:29] Difficulty changed. Now: 10000.

[2019-08-11 15:07:29] New block detected.`

@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 11, 2019 via email

@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 11, 2019 via email

@OMGitsMohaYT
Copy link
Author

I'm not using the latest nvidia driver version but I'm using the latest xmr stak version, I posted all the outputs I have so I don't think there's more, The messages errors with timestamps I showed you above was from a miner that uses xmr stak (that miner has the latest version) even If I go to xmr stak, it still says the same, Yeah I installed 2 nvidia drivers, first one was 36x.xx and the second one was 375.70 which replaced the first one, I didn't restart my PC after the driver install, and wdym by copying all nvrtc.dll files into the miner folder or setting the environment variable 'PATH' to the folder with the libs?

@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 11, 2019 via email

@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 11, 2019 via email

@OMGitsMohaYT
Copy link
Author

so i remove both driver versions, restart the system, install the driver 375.70 or i shouldn't install drivers at all, then install cuda 8, restart, then compile, then restart the system and done?

@OMGitsMohaYT
Copy link
Author

should i also remove cuda 8 and 9 because they're installed now

@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 11, 2019 via email

@OMGitsMohaYT
Copy link
Author

alright then, i'll do this later on, after i'm done, i'll just comeback with the results, i might take longer to do those steps cuz im lazy rn :v

@OMGitsMohaYT
Copy link
Author

OMGitsMohaYT commented Aug 12, 2019

Do I have to download cuda 8 network or local since local has a total of 1gb or smth, Nvm I went with local

@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 12, 2019 via email

@OMGitsMohaYT
Copy link
Author

It still doesn't work, I did everything, removed everything then installed nvidia drvier 375.70 and cuda 8, compiled but it still says
NVIDIA: try to load library 'xmrstak_cuda_backend_cuda10_0'

WARNING: NVIDIA Insufficient driver!

NVIDIA: try to load library 'xmrstak_cuda_backend_cuda9_2'

WARNING: NVIDIA cannot load backend library: xmrstak_cuda_backend_cuda9_2.dll

Idk what should I do

@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 12, 2019 via email

@OMGitsMohaYT
Copy link
Author

Where do I put that or find that?

@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 12, 2019 via email

@OMGitsMohaYT
Copy link
Author

I did it but it didn't work and now I get only one error or 2 idk

[2019-08-13 00:47:10] : Mining coin: cryptonight_r
WARNING: AMD cannot load backend library: xmrstak_opencl_backend.dll
[2019-08-13 00:47:10] : WARNING: backend AMD (OpenCL) disabled.
[2019-08-13 00:47:10] : NVIDIA: try to load library 'xmrstak_cuda_backend'
WARNING: NVIDIA cannot load backend library: xmrstak_cuda_backend.dll
[2019-08-13 00:47:10] : WARNING: backend NVIDIA disabled.
[2019-08-13 00:47:10] : Starting 1x thread, affinity: 0.
[2019-08-13 00:47:10] : hwloc: memory pinned
[2019-08-13 00:47:10] : Starting 1x thread, affinity: 2.
[2019-08-13 00:47:10] : hwloc: memory pinned
[2019-08-13 00:47:10] : Fast-connecting to pool.supportxmr.com:5555 pool ...
[2019-08-13 00:47:10] : Pool pool.supportxmr.com:5555 connected. Logging in...
[2019-08-13 00:47:10] : Difficulty changed. Now: 20000.
[2019-08-13 00:47:10] : Pool logged in.

@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 13, 2019 via email

@OMGitsMohaYT
Copy link
Author

OMGitsMohaYT commented Aug 13, 2019 via email

@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 13, 2019 via email

@OMGitsMohaYT
Copy link
Author

OMGitsMohaYT commented Aug 13, 2019 via email

@OMGitsMohaYT
Copy link
Author

OMGitsMohaYT commented Aug 15, 2019

I copied the nvrtc files and set the environement variables but nothing, Should I install cuda 10 or 9_2?

@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 15, 2019 via email

@OMGitsMohaYT
Copy link
Author

OMGitsMohaYT commented Aug 15, 2019 via email

@OMGitsMohaYT
Copy link
Author

So?

@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 20, 2019 via email

@OMGitsMohaYT
Copy link
Author

OMGitsMohaYT commented Aug 20, 2019 via email

@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 21, 2019 via email

@OMGitsMohaYT
Copy link
Author

OMGitsMohaYT commented Aug 21, 2019

So after compiling and stuff, and running the miner from that folder, I get this: https://pastebin.com/NpDGnDaz

I'd like to mention that I have cuda 10.1 and cuda 8 too

@OMGitsMohaYT
Copy link
Author

After installing the latest nvidia driver version which is 391.35 for GT 430, I get this: https://pastebin.com/vLSEbahu

@OMGitsMohaYT
Copy link
Author

I made a batch file to mine with GPU only but I get this:

C:\xmr-stak-dep\xmr-stak-2.10.7\build\bin\Release>xmr-stak.exe --noCPU
[2019-08-21 16:53:58] : Your CPU doesn't support hardware AES. Don't expect high hashrates.

xmr-stak 2.10.7 fd19a5d

Brought to you by fireice_uk and psychocrypt under GPLv3.
Based on CPU mining code by wolf9466 (heavily optimized by fireice_uk).
Based on NVIDIA mining code by KlausT and psychocrypt.
Based on OpenCL mining code by wolf9466.

Configurable dev donation level is set to 2.0%


You can use following keys to display reports:
'h' - hashrate
'r' - results
'c' - connection

Upcoming xmr-stak-gui is sponsored by:

______ ____

## | ___ \ / _ \

_ #| |/ / _ ___ | / / _ _ _ _ _ _ ___ _ __ ___ _ _

|| #| /| | | | / _ \ | | | | | || '|| '|/ _ | ' \ / __|| | | |

#| |\ | || || () || _/| || || | | | | /| | | || ( | || |

## _| _|_, | _/ _/ _,||| || _||| || _| __, |

__/ | __/ |
              |___/   https://ryo-currency.com                       |___/

This currency is a way for us to implement the ideas that we were unable to in
Monero. See https://github.com/fireice-uk/cryptonote-speedup-demo for details.

[2019-08-21 16:53:58] : Mining coin: cryptonight_r
WARNING: AMD cannot load backend library: xmrstak_opencl_backend.dll
[2019-08-21 16:53:58] : WARNING: backend AMD (OpenCL) disabled.
[2019-08-21 16:53:58] : NVIDIA: try to load library 'xmrstak_cuda_backend'
WARNING: NVIDIA cannot load backend library: xmrstak_cuda_backend.dll
[2019-08-21 16:53:58] : WARNING: backend NVIDIA disabled.
[2019-08-21 16:53:58] : ERROR: No miner backend enabled.
Press any key to exit.

@OMGitsMohaYT
Copy link
Author

After downloading the precompiled version from the one you made, It worked
https://pastebin.com/s5RuSDmF
But the thing is im not getting result accepted by the pool

@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 22, 2019 via email

@jaredkaragen
Copy link

It was my build. Simply set devfee to zero and donation addresses to 127.0.0.1:port... no major code changes.

To the OP:
I noticed cryptonight_r was your selection.... and not "monero"

Might be your rejected share issues.

@OMGitsMohaYT
Copy link
Author

OMGitsMohaYT commented Aug 23, 2019

you are using a too old miner version. monero switched the pow algorithm so please use the latest xmr-stak version

I tried using it actually, but I was using the new miner version all the time but no luck, Here's the output: https://pastebin.com/vpx8C7C4

It was my build. Simply set devfee to zero and donation addresses to 127.0.0.1:port... no major code changes.

To the OP:
I noticed cryptonight_r was your selection.... and not "monero"

Might be your rejected share issues.

Thanks for ur reply, but where do I set them? (devfee and donation addresses).

@OMGitsMohaYT
Copy link
Author

Alright, so I compiled the miner by myself all over again and everything was done, so it seems like I got the miner to use my GPU which is something dope but there's only 1 error that's ruining the entire thing which is at the end of the line over here: https://pastebin.com/GT2vWHDL

@OMGitsMohaYT
Copy link
Author

OMGitsMohaYT commented Aug 23, 2019

Good news, I fixed the problem by following some issues in github and it worked but there's 1 more last problem, The GPU hashrate goes to 10-11 then drops, so basically something is wrong

PS: I dont have the latest nvidia driver (idk if thats the case)

@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 23, 2019 via email

@OMGitsMohaYT
Copy link
Author

@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 24, 2019 via email

@OMGitsMohaYT
Copy link
Author

OMGitsMohaYT commented Aug 24, 2019 via email

@psychocrypt
Copy link
Collaborator

psychocrypt commented Aug 24, 2019 via email

psychocrypt added a commit to psychocrypt/xmr-stak that referenced this issue Aug 24, 2019
psychocrypt added a commit to psychocrypt/xmr-stak that referenced this issue Aug 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants