GithubHelp home page GithubHelp logo

Comments (2)

Spudz76 avatar Spudz76 commented on June 11, 2024 2

Thousands of us compile it with zero issues. Plus we can't help you if you've not bothered to post any of these errors. Also we have no idea which Linux distro, you might be shooting yourself in the foot by using anything but Ubuntu.

Also most of your anger probably belongs with nVidia since the whole getting CUDA working thing is kind of a clunkfest, even on Ubuntu.

One big clunk is when you install CUDA it doesn't always make a link from /usr/local/cuda/ to the versioned directory (like /usr/local/cuda-10.2/) and then it is not found automatically. So go to /usr/local/ and remove any broken cuda link and symbolic link it to cuda-10.2 or whatever version you're using (ln -s /usr/local/cuda-10.2 /usr/local/cuda).

The other big one is if your GPU is old like Fermi architecture 2x then you have to use CUDA8 because nVidia dropped all support for those in everything newer and it will never be restored. A chained gotcha there is it won't compile without GCC5 (newer than that will never work). So then you compile this plugin with GCC5 but then can compile the app side xmrig with whatever you like (I use Clang-11) and they can play together. This was one of the major reasons to split it into a plugin, only the part that talks to CUDA needs to be compiled with an nVidia-approved compiler version.

Even CUDA 10.2 won't let you use GCC9 it caps out at GCC8.

You may need to add toolchain PPA (ubuntu-toolchain-r-test) to get odd versions of GCC that aren't mainstream.

Linux isn't Windows there is not really a way to distribute binaries. Every distro has a different main library set which must be compiled against. Usually the only way around that is fully static compile but GOTCHA there is no static CUDA (and a couple other required libs) so...

from xmrig-cuda.

theraw avatar theraw commented on June 11, 2024 1

@Spudz76 don't know why you bother write that much when owner @xmrig itself doesn't even give a puck bout it can't even write a proper wiki on how to compile his projects, the guy either won't give support for his code or wants to pay him to compile it for you.
I've been using xmrig for some time his proxy, gpu/cpu miners and i can for sure tell when time comes to compile or do something is pure bullshit and the guy closes issues like 0 fucks given.

this is how a normal mining software should push
image

This is what happens when you use xmrig + proxy
image
spaghetti-rig i have some idea why but i won't even ask because i doubt i'll get any response. Just moving away as soon as i can find a better software.

from xmrig-cuda.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.