Comments (4)
Try committing more cores with the -jX flag when you do make.
I didn't do this and was stuck on 13% and 25% for a while. It eventually compiled. Making with -j8 made it compiled instantly on my 2700x.
Hhowever, it doesn't work with "Failed to load Cuda Plugin". Still working on figuring that out.
from xmrig-cuda.
Those warnings are normal. NVCC takes forever if you don't have a lot of memory also and will show nothing ("hang") for up to half an hour in some cases. Linux will swap junk in and out of virtual memory which is super super slow.
Adding more compile threads only works if you've already got way more than enough memory, otherwise it will make it worse.
from xmrig-cuda.
Those warnings are normal. NVCC takes forever if you don't have a lot of memory also and will show nothing ("hang") for up to half an hour in some cases. Linux will swap junk in and out of virtual memory which is super super slow.
Adding more compile threads only works if you've already got way more than enough memory, otherwise it will make it worse.
I am not sure how much memory should I have? Currently, the machine have 4 cores (8 threads) and 16 GB memory.
from xmrig-cuda.
One thing that helps with compile time is to only enable the CUDA architectures you actually need via the cmake CUDA_ARCH
variable. Otherwise it will build for all known GPUs and take forever (I have never compiled without specifying, it could take a while).
The other helpful options are CMAKE_VERBOSE_MAKEFILE
and CUDA_VERBOSE_BUILD
which should be set ON
and then you can actually see what's going on during the otherwise silent long sections. I have never built without these on either, it probably makes the waiting easier.
from xmrig-cuda.
Related Issues (20)
- make failed "make -j$(nproc)" HOT 2
- Sparkd5
- Xmrig CUDA disable no device issue HOT 1
- strange build error on Ubuntu 22.04 HOT 1
- xmrig-cuda build error HOT 6
- Linking error in Debian 11 - Cuda 11.8 HOT 1
- On windows I get: "no kernel image is available on device" HOT 1
- In linux, I use the cuda plugin and it tells me that the memory overflow HOT 1
- Cuda Disabled (No Devices)
- Another case of "CUDA disabled (no devices)"
- cn/gpu algorithm not supported
- CMake error with CUDA 12.2
- And surprise, COMPUTE ERROR HOT 1
- Error when using NVIDIA GPU for Monero mining HOT 1
- thread #0 failed with error <reg>:53 "invalid argument" Linux
- Why don't you provide binaries for ubantu?I cant build it from command its error.
- CUDA_NVRTC_LIB not found
- xmrig-cuda linux cmake not working HOT 1
- Проблема с майнером
- make error on archlinux
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmrig-cuda.