to mine in linux. is there a basic how to available ?
Additional question -- is it possible to mine with sgminer on OSS drivers (radeon.ko), not the proprietary (fglrx) one ?
I tried to compile sgminer on Fedora 22, but there were some errors with x11 & co. algos. Maybe it's related to Mesa ? In Fedora 22 is Mesa 10.3.X, I didn't tried yet with Fedora 23 (where is Mesa 11.0.6).
On F22, Mesa 10.X and OSS AMD drivers, I'm able to run bfgminer - but just for sha256 coins/mining, bfgminer probably doesn't support X11 algo ...
Thanks!
fedora 22 ( lets use x64 for example here ) is very specific on running fglrx drivers ...
this is due to the specific version of gnome ( more to the point - gdm ) that it runs ...
you need the catalyst drivers to have any useful mining whatsoever - oss nouveau just doesnt cut it ... and in order to do this - you need to install catalyst 15.7 - patch it - make sure you install it on kernel 4.0.4 / 4.0.6 on f22x64 - and need to run it on kde ...
how do i know? ... i have it - been through it - and still running it ...
f23x64 just simply does not work without you needing a science degree to get it running with the new drivers ... and the new catalyst drivers ( crimson ) are simply useless ... they pretty much kill your video card by overheating them and destroying the gpu ...
there are many editorials that workaround the issue - but if you run into any problems ... ill help if i can ...
#crysx
No nouveau, it's for nVidia, isn't? I talked about OSS radeon.ko. Of course I understand that the power/efficiency will be lower by OSS than by closed (fglrx/Crimson) drivers, but I try it not for profit, just for interest (with mining and X11 coins).
On F23 (with latest updates of gcc, kernel, mesa, etc.) I'm able to compile newest sgminer (downloaded from git) without any troubles. But when I try to start something like this :
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
./sgminer --algorithm darkcoin --queue 0 --scan-time 5 --no-submit-stale
-o stratum+tcp://xyz -u ABCD.1 -p x -g 1 --intensity 7 -w 256 --thread-concurrency 4096 --shaders 256
I got this error :
./aes_helper.cl:188:12: error: OpenCL does not support the 'static' storage class specifier
./aes_helper.cl:255:12: error: OpenCL does not support the 'static' storage class specifier
./aes_helper.cl:322:12: error: OpenCL does not support the 'static' storage class specifier
....
input.cl:215:18: error: invalid reinterpretation: sizes of 'uchar8' (vector of 8 'uchar' values) and
'sph_u64' (aka 'unsigned long long') must match
input.cl:91:27: note: expanded from macro 'SWAP8'
/usr/include/clc/as_type.h:42:22: note: expanded from macro 'as_uchar8'
/usr/include/clc/as_type.h:8:38: note: expanded from macro 'as_ulong'
input.cl:216:18: error: invalid reinterpretation: sizes of 'uchar8' (vector of 8 'uchar' values) and
'sph_u64' (aka 'unsigned long long') must match
input.cl:91:27: note: expanded from macro 'SWAP8'
/usr/include/clc/as_type.h:42:22: note: expanded from macro 'as_uchar8'
....
It looks it's "just" about few types/classes, with that's OpenCL not so much familiar. But I'm just guessing ... Do you mean is it possible to make some fix for this (in some of the new version of sgminer, or just some patch for current version) ... ?
Thanks in advance, Crys!