-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
An illegal memory access was encountered, CUDA8, Ubuntu 16.04, Quadro 600, XMRig-NVIDIA/2.14.1 #251
Comments
What driver version, you should be running whatever the last version that contained CUDA 8.0 (after 375 but before 384) Otherwise the CUDA 8.0 Toolkit is running against backward compatibility code in the driver which is not ideal at all and can lead to errors such as this. |
Hi @Spudz76 , thx for your advise. My driver version is 384.111... is that ok? Thu Mar 14 10:51:28 2019+-----------------------------------------------------------------------------+ +-----------------------------------------------------------------------------+ nvcc: NVIDIA (R) Cuda compiler driver |
I believe you've got CUDA 8.0 Toolkit first release there is a second updated one V8.0.63 or such (GA2) which is what I use. Unsure what the older one does 384 contains CUDA 9.0 so no that's not ideal. You're actually making it worse by running the even older 8.0 against two-steps-newer driver, double backward compatibility. More gaps for bugs. You need to revert to 375. Linux driver version versus what CUDA runtime it contains listed here You want the GA2 driver and uninstall 8.0 then install 8.0-GA2 toolkit. Also autotune is broken for Fermi now that I've been running it on mine, it will provide too much thread X blocks and crash trying to allocate memory (that exact error message). Especially for CN-R which has a random recompile in it which uses some more GPU memory (and isn't accounted for in the sizer for auto tuning) I hunted settings for a while and got this as best for CN-R:
Other algos required different layout but these work good for regular CN variants. Some wanted 8 threads, I think try to stick with multiple of SMX (which is 2) |
Okay, I've repaired some of this with #255 which eliminates the startup crashing ("unknown error") I found it impossible to guess whether bugs-crash or clocking-crash they all look the same from the console... |
Also CN-GPU hates the above 10x40 6x25 combo it only really works on RWZ and maybe 0/1/2 old variants 12x26 10x25 works as best as I've found at 31.5H/s any more it crashes. I think it saturates the floating point unit (which these have less # of) before it hits the usual limits, thus the smaller blocks count. And everything hates less than 8 bfactor, some coins want 10. |
Start from 2.12...I encounter the illegal memory error as follow, Anyone can help? Thx!!
[2019-03-13 10:06:07] use pool 127.0.0.1:5567 127.0.0.1
[2019-03-13 10:06:07] new job from 127.0.0.1:5567 diff 120001 algo cn/r height 1789516
[CUDA] Error gpu 0: <cryptonight_core_gpu_hash>:740 "an illegal memory access was encountered"
terminate called after throwing an instance of 'std::runtime_error'
what(): [CUDA] Error: an illegal memory access was encountered
Aborted (core dumped)
The text was updated successfully, but these errors were encountered: