ethereum-mining / ethminer

Ethereum miner with OpenCL, CUDA and stratum support
GNU General Public License v3.0
5.97k stars 2.28k forks source link

ethminer 0.15.0rc0 not working | NVIDIA GPUs #1224

Closed dasph closed 6 years ago

dasph commented 6 years ago
C:\Users\Miner\Desktop>ethminer -U --list-devices

Listing CUDA devices.
FORMAT: [deviceID] deviceName
[0] GeForce GTX 1050 Ti
        Compute version: 6.1
        cudaDeviceProp::totalGlobalMem: 4294967296
        Pci: 0000:07:00
[1] GeForce GTX 1050 Ti
        Compute version: 6.1
        cudaDeviceProp::totalGlobalMem: 4294967296
        Pci: 0000:09:00
[2] GeForce GTX 1050 Ti
        Compute version: 6.1
        cudaDeviceProp::totalGlobalMem: 4294967296
        Pci: 0000:0b:00
[3] GeForce GTX 1050 Ti
        Compute version: 6.1
        cudaDeviceProp::totalGlobalMem: 4294967296
        Pci: 0000:0c:00
[4] GeForce GTX 1050 Ti
        Compute version: 6.1
        cudaDeviceProp::totalGlobalMem: 4294967296
        Pci: 0000:0d:00
[5] GeForce GTX 1050 Ti
        Compute version: 6.1
        cudaDeviceProp::totalGlobalMem: 4294967296
        Pci: 0000:0e:00

C:\Users\Miner\Desktop>ethminer -U -P stratum1+tcp://<wallet>.<worker>@eu1.ethermine.org:4444
 m 01:04:01 main     ethminer 0.15.0rc0
 m 01:04:01 main     Build: windows/release
cu 01:04:01 main     Using grid size: 8192, block size: 128

C:\Users\Miner\Desktop>pause

Please help 🆘

chfast commented 6 years ago

I think we at least need the error code returned from ethminer process.

dasph commented 6 years ago

How can i get that?

chfast commented 6 years ago

Put this in your script after ethminer -U -P... or execute in command line after ethminer terminates.

echo %errorlevel%
dasph commented 6 years ago

Thank you

C:\Users\Miner\Desktop>echo -1073741819
-1073741819
AndreaLanfranchi commented 6 years ago

please read this

https://github.com/ethereum-mining/ethminer/issues/1165#issuecomment-394129880

and see if it helps.

Have you recently updated Windows ?

dasph commented 6 years ago

Yes, i installed the brand-new windows 10 image

dasph commented 6 years ago

Ugh... that doesn't really help, do i wait for it to be fixed or is there more workarounds?

satori-q3a commented 6 years ago

Have you installed the latest NVidia drivers from their web site? 398.11 works without problems.

dasph commented 6 years ago

Yes, I installed it

chfast commented 6 years ago

Do previous versions of ethminer work?

dasph commented 6 years ago

Using ethminer 0.13.0

C:\Users\Miner\Desktop>miner.exe -U -S eu1.ethermine.org:4444 -O <wallet>.miner
 cu  13:44:58|main      Using grid size 8192 , block size 128
  i  13:44:58|main      Connecting to stratum server eu1.ethermine.org:4444
  i  13:44:58|stratum   Connected to stratum server eu1.ethermine.org : 4444
  i  13:44:58|stratum   Starting farm
  i  13:44:58|cuda-0    No work. Pause for 3 s.
  i  13:44:58|cuda-1    No work. Pause for 3 s.
  i  13:44:58|cuda-2    No work. Pause for 3 s.
  i  13:44:58|cuda-3    No work. Pause for 3 s.
  i  13:44:58|cuda-4    No work. Pause for 3 s.
  i  13:44:58|cuda-5    No work. Pause for 3 s.
  i  13:44:58|stratum   Subscribed to stratum server
  i  13:44:58|stratum   Authorized worker <wallet>.miner
  i  13:44:58|stratum   Received new job #365ae15d  seed: #c906fa38eca6c8a38bb932db61ca31b4  target: #0000000112e0be826d694b2e
  m  13:45:00|main      Speed   0.00 Mh/s    gpu/0  0.00  gpu/1  0.00  gpu/2  0.00  gpu/3  0.00  gpu/4  0.00  gpu/5  0.00  [A0+0:R0+0:F0] Time: 00:00
  i  13:45:01|cuda-0    Initialising miner...
  i  13:45:01|cuda-1    Initialising miner...
  i  13:45:01|cuda-3    Initialising miner...
  i  13:45:01|cuda-5    Initialising miner...
  i  13:45:01|cuda-4    Initialising miner...
  i  13:45:01|cuda-2    Initialising miner...
  m  13:45:02|main      Speed   0.00 Mh/s    gpu/0  0.00  gpu/1  0.00  gpu/2  0.00  gpu/3  0.00  gpu/4  0.00  gpu/5  0.00  [A0+0:R0+0:F0] Time: 00:00
 cu  13:45:04|cuda-2    Using device: GeForce GTX 1050 Ti  (Compute 6.1)
 cu  13:45:04|cuda-3    Using device: GeForce GTX 1050 Ti  (Compute 6.1)
 cu  13:45:04|cuda-5    Using device: GeForce GTX 1050 Ti  (Compute 6.1)
 cu  13:45:04|cuda-1    Using device: GeForce GTX 1050 Ti  (Compute 6.1)
 cu  13:45:04|cuda-0    Using device: GeForce GTX 1050 Ti  (Compute 6.1)
 cu  13:45:04|cuda-4    Using device: GeForce GTX 1050 Ti  (Compute 6.1)
 cu  13:45:04|cuda-2    Set Device to current
 cu  13:45:04|cuda-3    Set Device to current
 cu  13:45:04|cuda-5    Set Device to current
 cu  13:45:04|cuda-1    Set Device to current
 cu  13:45:04|cuda-0    Set Device to current
 cu  13:45:04|cuda-4    Set Device to current
 cu  13:45:04|cuda-2    Resetting device
 cu  13:45:04|cuda-3    Resetting device
 cu  13:45:04|cuda-5    Resetting device
 cu  13:45:04|cuda-1    Resetting device
 cu  13:45:04|cuda-0    Resetting device
 cu  13:45:04|cuda-4    Resetting device
  m  13:45:04|main      Speed   0.00 Mh/s    gpu/0  0.00  gpu/1  0.00  gpu/2  0.00  gpu/3  0.00  gpu/4  0.00  gpu/5  0.00  [A0+0:R0+0:F0] Time: 00:00
 cu  13:45:04|cuda-2    Allocating light with size: 41811904
 cu  13:45:05|cuda-0    Allocating light with size: 41811904
 cu  13:45:05|cuda-1    Allocating light with size: 41811904
 cu  13:45:05|cuda-2    Generating mining buffers
CUDA error in func 'dev::eth::CUDAMiner::cuda_init' at line 366 : out of memory.
 cu  13:45:06|cuda-4    Allocating light with size: 41811904
 cu  13:45:06|cuda-5    Allocating light with size: 41811904
 cu  13:45:06|cuda-0    Generating mining buffers
  m  13:45:09|main      Speed   0.00 Mh/s    gpu/0  0.00  gpu/1
C:\Users\Miner\Desktop>echo -1073741819
-1073741819
dasph commented 6 years ago

It works only if i'm using max of 2 video cards

chfast commented 6 years ago

Try different dag allocation options

dasph commented 6 years ago

Oh my... sorry, i forgot to increase my virtual memory. Now it perfectly using ethminer 0.13.0

chfast commented 6 years ago

So it works with 0.13, but not with 0.15?

dasph commented 6 years ago

yes

webprophet commented 6 years ago

I had -1073741819 when I dropped my 8th NV card in. Bumped up page file to 30 gig (remembered seeing it in the asrock mb manual), works fine w 14. Ill try 15 this weekend when I figure the new bat arguments out. :)

outdooricon commented 6 years ago

Also confirmed, 0.13 works for me as well. Otherwise I get exactly the same results as @Daspharion

turbozapekanka commented 6 years ago

same error for me. tried 13.0 and the same error Update: reinstalled drivers, increased page size from 16 to 20gb, rebooted and it works now (version 15)

chfast commented 6 years ago

Please try -L 1 and -L 2 options.

dasph commented 6 years ago

Please try -L 1 and -L 2 options.

no difference with ethminer 0.15.0rc2

chfast commented 6 years ago

Did you increase "page size from 16 to 20gb"?

chfast commented 6 years ago

@Daspharion What is the last working release?

dasph commented 6 years ago

i've increased it to 32gb; v0.13.0

webprophet commented 6 years ago

15rc2 works fine in 2 of my rigs. Win 10 build 17134, NV driver 397.64, 8 NV 1070 TI cards, 8GB ram, 30GB page file...

The nugget I mentioned earlier from ASUS when I caught the -107374181 error upon creating the 8th dag. Increasing the page file fixed it for me.

Section 1, Page 7: ASUS B250 Mining Expert Manual “To make your build more stable, when using 8 or more cards for mining, we recommend that you install 4GB memory modules and change the size of the virtual memory paging file to 30GB.”

@Daspharion how much ram are you running?

ghost commented 6 years ago

I encounter the same issue and tried everything suggested above without luck.

Test rig

Results

Tests

I have no clue so mining with ethminer 0.13.0 seems to be a workaround for now.

jfcg commented 6 years ago

i am trying ethminer 0.15.0 on 64-bit manjaro (kernel 4.14.57) with latest nvidia drivers (396.45) with

ethminer -U --cuda-devices 1 2 --farm-recheck 200 -v 1 -P stratum1+tcp://ADDRESS@eth-eu1.nanopool.org:9999/WORKER/EMAIL

and it crashes with

Error: clGetPlatformIDs

terminate called without an active exception
./run.txt: line 1:  2119 Aborted                 (core dumped)

why is it calling an OpenCL function when I used -U ?

jfcg commented 6 years ago

after installing opencl-nvidia package, it looks OK :)

MoRoBG commented 6 years ago

@webprophet Тhanks, I did this and my rig started working with all cards “To make your build more stable, when using 8 or more cards for mining, we recommend that you install 4GB memory modules and change the size of the virtual memory paging file to 30GB.” 👍

ghost commented 6 years ago

Hi ! Big news !

I wrote https://github.com/ethereum-mining/ethminer/issues/1224#issuecomment-402230548 above, regarding the "auto-exiting with error -1073741819" issue, 2.5 months ago.

My rig is still the exact same hardware and ethminer 0.16.0rc1+commit.68ca5dcf works like a charm, both on Ethereum and Ethereum Classic, without any issue, and without exiting.

Ethereum image

Ethereum Classic image

What I did

I don't know which one of these solved the issue, and I will probably never know, but everything works great right now.

lesjokolat commented 6 years ago

@AndreaLanfranchi I think this can be closed now.