RavenCommunity / kawpowminer

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

Not enough memory #121

Open ElongatedMetroid opened 1 year ago

ElongatedMetroid commented 1 year ago
cu 19:17:23 cuda-0    Using Pci Id : 0c:00.0 NVIDIA GeForce GTX 1650 SUPER (Compute 7.5) Memory : 3.81 GB
 i 19:17:23 kawpowminer Extranonce set to 8beabd
 i 19:17:23 kawpowminer New target set to: 00000004fb000000000000000000000000000000000000000000000000000000
 i 19:17:23 kawpowminer Epoch : 345 Difficulty : 862.35 Mh
 i 19:17:23 kawpowminer Job: 82ebb77d… block ---
cu 19:17:24 cuda-0    Epoch 345 requires 3.75 GB memory.
 i 19:17:24 kawpowminer Authorized worker ---
cu 19:17:24 cuda-0    Only 3.75 GB available. Mining suspended on device ...

This is a headless debian instance there is nothing running on the GPU nvidia-smi

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.60.13    Driver Version: 525.60.13    CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  On   | 00000000:0C:00.0 Off |                  N/A |
| 20%   26C    P8     4W / 100W |      1MiB /  4096MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

This was working before I switched it to a headless debian instance, before it was running on KDE neon with everything on the GPU killed

ElongatedMetroid commented 1 year ago

Using ver 1.2.4 (https://github.com/RavenCommunity/kawpowminer/releases/tag/1.2.4) tried the ubuntu18 and 20 versions

ElongatedMetroid commented 1 year ago

Tried downgrading to cuda 11.6, I get this error

...
cu 14:36:58 cuda-0    Using Pci Id : 0c:00.0 NVIDIA GeForce GTX 1650 SUPER (Compute 7.5) Memory : 3.82 GB
 i 14:36:58 kawpowminer Extranonce set to 8c4262
 i 14:36:58 kawpowminer New target set to: 00000004fb000000000000000000000000000000000000000000000000000000
 i 14:36:58 kawpowminer Epoch : 345 Difficulty : 862.35 Mh
 i 14:36:58 kawpowminer Job: b46b52b1… block 2591271 ---
cu 14:36:59 cuda-0    Generating DAG + Light : 3.75 GB
 i 14:36:59 kawpowminer Authorized worker ---
 m 14:37:02 kawpowminer 0:00 A0 0.00 h - cu0 0.00
 i 14:37:03 kawpowminer Job: 92657b78… block 2591272 ---
 m 14:37:07 kawpowminer 0:00 A0 0.00 h - cu0 0.00
 m 14:37:12 kawpowminer 0:00 A0 0.00 h - cu0 0.00
 m 14:37:17 kawpowminer 0:00 A0 0.00 h - cu0 0.00
 m 14:37:22 kawpowminer 0:00 A0 0.00 h - cu0 0.00
 m 14:37:27 kawpowminer 0:00 A0 0.00 h - cu0 0.00
cu 14:37:29 cuda-0    Generated DAG + Light in 29,538 ms. 68.88 MB left.
terminate called after throwing an instance of 'cuda_runtime_error'
  what():  CUDA NVRTC error in func compileKernel at line 420 calling compileResult failed with error NVRTC_ERROR_BUILTIN_OPERATION_FAILURE