Coder Social home page Coder Social logo

Comments (5)

psychocrypt avatar psychocrypt commented on May 10, 2024

Please update your cuda to version 8.0. Currently you are using a old cuda version which is not supporting your gpu.
Than follow this steps.
After the miner is compiled run the following steps

cd bin
# add your address and pool to the file config.txt
./xmr-stak-nvidia
# copy the shown config suggestion to config.txt
./xmr-stak-nvidia
# you are now mining xmr

from xmr-stak-nvidia.

psychocrypt avatar psychocrypt commented on May 10, 2024

@Sviluppo718 Is your issue solved?

from xmr-stak-nvidia.

Sviluppo718 avatar Sviluppo718 commented on May 10, 2024

Yes, pretty much (see below though). Sorry I meant to provide an update in case someone searched for this or a similar issue and stumbled across my post.

I first updated my Nvidia drivers from the stock that came with this computer. I had some issues with that though because the Nvidia drivers require X windows to be shut down to install. This required switching to a virtual terminal. These five steps should be written down before anyone attempts this in a Linux distro I think (for reasons indicated in the paragraph below that):

  1. Use Ctrl-Alt-F2 to switch to a virtual terminal
  2. At the terminal prompt, use the command: "sudo systemctl disable lightdm.service" (disables Xwindows GUI environment).
  3. Install the (previously downloaded) updated Nvidia drivers
  4. At the terminal, use the command "sudo systemctrl start lightdm.service" (restart your Xwindows GUI unless you want to relive 1980s-era computing ^_^ ).
  5. If applicable (I don't recall if this was actually necessary), use Ctrl-Alt-F7 to switch back.

The slight problem that I haven't resolved is that the hack that allowed the updating of Nvidia drivers has now screwed up my boot sequence. I now have to do steps 1 and 2 to get my computer nice and functional (non-80s computing) again. I'll probably figure out through the ubuntu forums how to fix that; or I might keep that as a fun feature to make my computer maddeningly private if someone tried to use it without knowing how to make it function (e.g., when I turn the computer on currently all that is visible is a small dot in the center of the screen). From the dot in the center of the screen, I then have to push Ctrl-Alt-F2 to get a login prompt, I login, and then type the commands listed in step 4 above to get to the graphical interface login prompt that I used to see when I turned the computer on.

Anyhow, after updating the Nvidia drivers, I did download and install CUDA version 8. After, that and the building instructions your miner (as I'm pretty sure you're one of the developers) works great. Congratulations on your awesome coding ^_^.

I did say I'd try to reward any response through an XMR donation. As I'm pretty sure you were a developer of this, as the miner is used you do receive a portion of mined XMR, so I will be keeping my word as I use it more. Thanks for the courtesy of your follow-up too.

from xmr-stak-nvidia.

gwillem avatar gwillem commented on May 10, 2024

post updated, works now!

Hi and thanks for writing this! I got it working on Ubuntu 16.04 with a GTX1070.
You have to disregard the Ubuntu/Debian instructions from the README, because they will install cuda 7.5. Instead, do this (or find even newer cuda at Nvidia site):

wget cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb
sudo apt -y update
sudo apt -y install cuda

You may have a newer Nvidia driver (ie 375.66, auto-installed by Ubuntu). But it should work, you just have to restart.

from xmr-stak-nvidia.

psychocrypt avatar psychocrypt commented on May 10, 2024

CUDA 7.5 should be fine as long as you need no Nvidia Pascal support like in your case.

from xmr-stak-nvidia.

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.