forked from aceneun/sgminer-gm-x16r
-
Notifications
You must be signed in to change notification settings - Fork 25
Troubleshooting
Brian Lee edited this page May 5, 2018
·
8 revisions
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.
- 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.
- 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
toset GPU_FORCE_64BIT_PTR=0
or vice-versa in your run script.
- 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.
- 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.
- 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.
./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