Skip to content
Brian Lee edited this page May 5, 2018 · 8 revisions

Troubleshooting

Before you do any of the below, check out the Getting Started page to get the latest release and set up the example startup script.

Below are some common issues when running sgminer-x16r and some possible solutions. Feel free to update this page if you've had a different issue or solution.

Before you do anything else, add a -L log.txt argument to your startup command. This will enable logging, which can be very useful in debugging the problem.

Avermore hangs on "...using Jannsson ...", or stays on a blank screen for a while

  • The OpenCL kernels take several minutes to compile. Don't worry though, this should only happen the first time the miner starts up. Subsequent launches should only take a few seconds.

Avermore immediately closes after running the startup script

  • If you have an integrated or Nvidia GPU, you might need to set the OpenCL platform to AMD by setting --gpu-platform=N to 1 or 2
  • You need to install the MSVC 2017 x86 redistributables if you don't have it installed.
  • Try changing the set GPU_FORCE_64BIT_PTR=1 to set GPU_FORCE_64BIT_PTR=0 or vice-versa in your run script.

All devices disabled, cannot mine!

  • Try setting the OpenCL platform to AMD by setting --gpu-platform=N to 1 or 2. This is often an issue if you have Nvidia or integrated graphics cards on the same machine.

Error -11 building program

  • Try setting the OpenCL platform to AMD by setting --gpu-platform=N to 1 or 2. This is often an issue if you have Nvidia or integrated graphics cards on the same machine.

Hashrates are much lower than I'm expecting

  • Try playing around with the xIntensity value -X=N. Typically, an xIntensity of 128-1024 should be fine, but try lowering this value until you get something stable, then increasing it incrementally (in multiples of 64) later to get better performance.
  • Try setting the OpenCL platform to AMD by setting --gpu-platform=N to 1 or 2. This is often an issue if you have Nvidia or integrated graphics cards on the same machine.

Linux error dependancy

./sgminer: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory.

Install with:

sudo apt-get install libcurl4-openssl-dev libncurses5