Scroll to the bottom for the latest issue.
root@james-Streacom:/home/james# ./ethermine.bat
-su: ./ethermine.bat: Permission denied
root@james-Streacom:/home/james# chmod a+x ethermine.bat
root@james-Streacom:/home/james# ./ethermine.bat
./ethermine.bat: line 1: setx: command not found
./ethermine.bat: line 2: setx: command not found
./ethermine.bat: line 3: setx: command not found
./ethermine.bat: line 4: setx: command not found
./ethermine.bat: line 5: setx: command not found
./ethermine.bat: line 6: ethminer.exe: command not found
The ethermine.bat file:
setx GPU_FORCE_64BIT_PTR 0
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_SINGLE_ALLOC_PERCENT 100
ethminer.exe --farm-recheck 200 -G -S asia1.ethermine.org:4444 -FS us1.ethermine.org:4444 or us1.ethermine.org:14444 -O 0xf3047b2b495e31c1e39f198448ae5f382739264a.JamesRayRig
Ubuntu 17.10

Aren't .bat files for Windows only?
If so, these instructions would be misleading:
https://ethermine.org/
Indeed they are...
You're not too far off though. In Linux under bash you would use
export GPU_FORCE_64BIT_PTR=0
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100
Instead of setx. I don't use opencl so I can't say if those actual values are correct.
OK, I'm just running a long tox test on py-evm in the terminal, so once that's done I'll try this.
These are no longer needed:
export GPU_FORCE_64BIT_PTR=0
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100
Just run ethminer.
These are no longer needed:
export GPU_FORCE_64BIT_PTR=0
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100
Just run ethminer.
What about in Windows?
Do we still need them?
No, ethminer will do that for you: https://github.com/ethereum-mining/ethminer/blob/eae2cdae5ec3b000c5bcee812a7ccb91fe89c543/ethminer/main.cpp#L60.
Thanks!
@chfast clearly https://ethermine.org/ needs to be updated.
Also when I run ethminer, nothing happens. There is no ethminer process running in the system monitor.
I was running it from the GUI. I'll try following the instructions in the readme after cloning it.
I'm not sure how to fix this:
https://gist.github.com/jamesray1/3b0378f88b1a92ac511f9113dd231bef
@chfast clearly https://ethermine.org/ needs to be updated.
I'll contact them, I know a guy there
If anyone has any tips on how to fix this I'd appreciate it.
I logged in as a root user in Bash and mved the ethminer file to /bin, then cded to that folder and ran ethminer. The result was: ✘ 21:57:04|ethminer No OpenCL platforms found.
Also I downloaded the latest release, deleted the old files, extracted the new zip, and moved ethminer to /bin and ran it, but still got the same result.
I did some more reading and it seems like there is no support for open CL for this i915 driver:
james@james-Streacom:~$ lspci -nnk | grep -iA2 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0102] (rev 09)
Subsystem: ASUSTeK Computer Inc. 2nd Generation Core Processor Family Integrated Graphics Controller [1043:844d]
Kernel driver in use: i915
https://software.intel.com/en-us/articles/driver-support-matrix-for-media-sdk-and-opencl
https://askubuntu.com/questions/412009/open-cl-in-intel
https://askubuntu.com/questions/796770/how-to-install-libopencl-so-on-ubuntu
After sudo apt-get install beignet
root@james-Streacom:/bin# echo "/usr/lib/beignet/" > /etc/ld.so.conf.d/beignet.conf
root@james-Streacom:/bin# ldconfig
root@james-Streacom:/bin# exit
logout
james@james-Streacom:/media/james/Seagate Expansion Drive/Downloads/Software/bin$ ethminer
X server found. dri2 connection failed!
X server found. dri2 connection failed!
beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
(If you have multiple ICDs installed and OpenCL works, you can ignore this message)
No GPU device with sufficient memory was found. Can't GPU mine. Remove the -G argument
sudo apt install ocl-icd-opencl-dev and
ethminer
Still exactly the same result as above with beignet.
Interestingly:
sudo apt remove beignet
ethminer
Still gives beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware in the output.
/usr/lib/beignet/ was deleted, but /etc/ld.so.conf.d/beignet.conf wasn't, so I rmed it, then ran ethminer:
No protocol specified
No protocol specified
beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
(If you have multiple ICDs installed and OpenCL works, you can ignore this message)
No GPU device with sufficient memory was found. Can't GPU mine. Remove the -G argument
I'm not sure if buying a new computer is going to be economical with PoW on it's way out in due course.
wait... what gpu are you trying to mine on?
https://askubuntu.com/questions/952164/install-opencl-on-ubuntu-17-04-intel
intel i915, it's old, a 2nd gen core processor.
You can't mine on an integrated gpu. You either have to buy a dedicated graphics card or switch to another currency. Ethereum needs at least 3GB of V-RAM (Video memory) to work
I tried installing beignet as well as clinfo as per this.
james@james-Streacom:~$ clinfo
X server found. dri2 connection failed!
Number of platforms 1
Platform Name Intel Gen OCL Driver
Platform Vendor Intel
Platform Version OpenCL 2.0 beignet 1.3
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_subgroups cl_intel_subgroups_short cl_khr_gl_sharing
Platform Extensions function suffix Intel
X server found. dri2 connection failed!
beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
(If you have multiple ICDs installed and OpenCL works, you can ignore this message)
Platform Name Intel Gen OCL Driver
Number of devices 0
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Intel Gen OCL Driver
X server found. dri2 connection failed!
beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
(If you have multiple ICDs installed and OpenCL works, you can ignore this message)
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Intel Gen OCL Driver
clCreateContext(NULL, ...) [default] No devices found in platform
X server found. dri2 connection failed!
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
X server found. dri2 connection failed!
beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
(If you have multiple ICDs installed and OpenCL works, you can ignore this message)
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No devices found in platform
X server found. dri2 connection failed!
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
X server found. dri2 connection failed!
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform
X server found. dri2 connection failed!
beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
(If you have multiple ICDs installed and OpenCL works, you can ignore this message)
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No devices found in platform
ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.2.11
ICD loader Profile OpenCL 2.1
Just going more thoroughly through this.
You can't mine on an integrated gpu. You either have to buy a dedicated graphics card or switch to another currency. Ethereum needs at least 3GB of V-RAM (Video memory) to work
Ah OK. My computer only has a mini PCI-e slot so I think I'd have to get another computer to mine. But as I mentioned, it's not clear whether it will be worth it if it's just to mine, since mining's days are numbered, but it might be useful for development and testing with VMs.
Probably better to just hold ETH and work on development, unless there is evidence to indicate that mining will give a payback, or I need a better computer e.g. for development.
Yes, as we switch to pos with casper mining will only continue on forks, so holding ETH is your best bet right now. Also go buy yourself a decent pc, especially if your into developing. makes life way easier
OK I won't go buy a rig. If the need arises for a better PC, I will buy one.
Most helpful comment
I'll contact them, I know a guy there