Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

Sgminer HW Errors (AMD GPU on Ubuntu 64-bit)

Discussion in 'Questions and Help' started by GreenRaccoon23, Jul 15, 2014.

  1. GreenRaccoon23

    GreenRaccoon23 New Member

    Joined:
    Jul 7, 2014
    Messages:
    26
    Likes Received:
    13
    Trophy Points:
    3
    This is a Linux issue trying to set up and mine with a new GPU.

    I recently put in an AMD Radeon HD7970 GPU in my desktop. Previously, I was running lasybear's sgminer on an AMD Kaveri A10-7850K APU. I was getting about 580 khash/s with that APU.

    Sgminer doesn't work with the new GPU installed. If I put my intensity over 16, I get the dreaded "GPU 0: invalid nonce: HW error". If I put the intensity to 16 or below, I get 100% rejected shares. I've tried switching my thread-concurrency between 4096 and 8192, and I've also tried taking off all of the parameters but "-o", "-u", "-p", and "-I". Also, when the shares are being rejected, the GPU is only running 350-400 khash/s.

    I'm using Ubuntu 14.04 64 bit, and I'm 99% sure it's a driver problem. I've spent hours trying to figure this out. I've installed version 2.7 of the APP SDK, which is recommended for 7970 GPU's.

    I've tried using the fglrx and fglrx-updates drivers in Ubuntu's "Additional Drivers" settings. They install fine, but sgminer has problems with them. I've also tried installing the Catalyst drivers directly from AMD's website. The 14.04 driver installed great but still had the sgminer problems. 12.8 wouldn't install because it was whining that there was no "/lib/modules/3.13.0-30-generic/build/include/linux/version.h" file. 12.6 wouldn't even download (Come on, AMD...). 12.4 installs great, but when I reboot the computer, I can't go to the desktop. As soon as I login, the xserver crashes and takes me back to the login menu.

    After searching through a bunch of online forums, the AMD drivers most people recommend for sgminer are 12.4 and 12.8. Neither of these are working for me.

    Whenever I install any of these drivers, I make sure that I run these commands:
    Code:
    sudo aticonfig --adapters=all --initial
    export DISPLAY=:0
    sudo reboot
    Anyone have some direction for me?

    -----EDIT-----

    From the original post, it looks like people are having luck with the 14.6 Beta Catalyst driver. I never would've thought the beta driver would work better. :what: I'll give that a try later.

    I love Darkcoin, btw. Bitcoin's awesome, but it has a couple flaws that Darkcoin works out. Yeah, right now Bitcoin is way more popular, and the trend is for companies to adopt Bitcoin, but honestly, as more people learn about Darkcoin, they're going to choose it over Bitcoin. No one wants everyone to see where their money is going. I'm betting my money on Darkcoin, literally. ;)
     
    #1 GreenRaccoon23, Jul 15, 2014
    Last edited by a moderator: Jul 15, 2014
  2. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,573
    Likes Received:
    1,652
    Trophy Points:
    1,283
    Yeah the drivers are driving me mad in linux. Mind sharing your config or command line before we dig into driver issues (just in case :)...
     
  3. GreenRaccoon23

    GreenRaccoon23 New Member

    Joined:
    Jul 7, 2014
    Messages:
    26
    Likes Received:
    13
    Trophy Points:
    3
    I use "sudo nano darkcoin.sh" to make the config file. It looks like this:
    Code:
    export DISPLAY=:0
    export GPU_MAX_ALLOC_PERCENT=100
    export GPU_USE_SYNC_OBJECTS=1
    sgminer -k x11mod -o * -u * -p * --auto-fan --auto-gpu --gpu-fan 25-80 --temp-target 70 --gpu-engine 750-1100 --gpu-memclock 850 --gpu-threads 2 --thread-concurrency 8192 -I 16
     
  4. fusecavator

    fusecavator Member

    Joined:
    Jun 4, 2014
    Messages:
    40
    Likes Received:
    38
    Trophy Points:
    58
    Don't know if this is related to your problem, but 14.6 beta breaks lasybear's sgminer. If you are using 14.4 or 14.6 beta use djm's sgminer: https://github.com/djm34/sph-sgminer_x11mod
    If you are using lower, stick with lasybear's sgminer.
     
    • Like Like x 1
  5. GreenRaccoon23

    GreenRaccoon23 New Member

    Joined:
    Jul 7, 2014
    Messages:
    26
    Likes Received:
    13
    Trophy Points:
    3
    Just in time! I was just about to install the 14.6 driver. Wow, djm's version looks awesome. I'll let you all know if it works.
     
  6. GreenRaccoon23

    GreenRaccoon23 New Member

    Joined:
    Jul 7, 2014
    Messages:
    26
    Likes Received:
    13
    Trophy Points:
    3
    Hey thanks fusecavator! Now my hashrate is about 5Mh/s. But I'm still getting all rejected shares.

    -----EDIT-----

    I fixed it. Now my shares are being accepted.I misread the README file. I thought it said that the nist5 kernel was an improvement on the x11mod kernel, but it's not. Using the wrong kernel definitely would give me rejected shares haha.

    Thanks again for your help, guys. That was fast!
     
    #6 GreenRaccoon23, Jul 16, 2014
    Last edited by a moderator: Jul 16, 2014
  7. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,573
    Likes Received:
    1,652
    Trophy Points:
    1,283
    So which kernel are you using finally? x11mod or darkcoin? Got to fix my sgminer too.
     
  8. GreenRaccoon23

    GreenRaccoon23 New Member

    Joined:
    Jul 7, 2014
    Messages:
    26
    Likes Received:
    13
    Trophy Points:
    3
    I'm using the x11mod kernel. I didn't even know there WAS a "darkcoin" kernel, but hey look, there is! I haven't tried it out, but I'm guessing that the x11mod will work better. So in the command line, I'm using "-k x11mod."

    I'll give you my full config for djm's sgminer just cause I'm that nice. :D
    Code:
    export DISPLAY=:0
    export GPU_MAX_ALLOC_PERCENT=100
    export GPU_USE_SYNC_OBJECTS=1
    sgminer -k x11mod -o * -u * -p * --auto-fan --auto-gpu --gpu-fan 25-80 --temp-target 75 --gpu-memclock 850 --thread-concurrency 10600 -I 25
     
    #8 GreenRaccoon23, Jul 16, 2014
    Last edited by a moderator: Jul 16, 2014