So it turns out cgminer wasn’t working at all! There was an error message about clCreateCommandQueue that caused it to deactivate the GPU device, and it was just sitting there displaying 0’s all night. I declared victory and went to bed when I saw it was running at all, I figured the 0’s would change to numbers after a while. I spiked the ball on the five yard line, basically.
I tried all of the 64-bit LTS distros back to 12.04 with no luck, and then decided to try 32-bit 16.04.05 just for grins. The AMD drivers won’t compile on this platform, but then I discovered that there are open source versions of all this stuff! So, here is the amended recipe.
sudo apt install autoconf libtool libcurl4-openssl-dev pkg-config ocl-icd-opencl-dev clinfo
sudo apt install mesa-utils // not sure if this one is strictly necessary, might be just for informational purposes e.g. glxinfo
sudo apt install mesa-opencl-icd
Then, download and unpack cgminer 3.7.2, and in that directory:
autoreconf -i
./autogen.sh
CFLAGS="-O2 -Wall -march=native" ./configure --enable-opencl
make
sudo make install // not sure if this is necessary either
And now I see actual numbers. Slush Pool has recognized that the worker exists, so that’s good… no stats showing up yet though. So this may also be a bust. We shall know in the morning, I am spiking the ball and going to bed.