For me rI only works when I set it manually on kubuntu. Yacminer 3.5.0-yac2; R7 240 1x 4GB, ADL is installed.
I have got an older gpu driver, but that should not interfere with yacminer?
did you post your command line somewhere?
#!/bin/sh
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_HEAP_SIZE=100
cd /home/bab5/YACMiner-master
./yacminer --scrypt-chacha -I 8 --thread-concurrency 24576 --worksize 128 -g 2 --lookup-gap 2 --gpu-engine 1100 --gpu-memclock 1000
If I put -R 640 or similar in there this happens:
bab5@bab5-desktop:~$ ./yac_mine.sh
[2014-03-17 08:33:31] ./yacminer: -R:
bab5@bab5-desktop:~$
Well, if that's the ONLY output, then based on that, it's only one of a couple things :
[2014-03-17 10:36:55] yacminer: -R: requires an argument
[2014-03-17 10:50:18] yacminer: -R: Invalid value passed to set raw intensity
[2014-03-17 10:37:02] yacminer: -R: unrecognized option
[2014-03-17 10:53:42] yacminer: -R: Invalid parameters for raw intensity
Two of which are produced by any code I've had to touch(part of libccan), and the code for -I is identical for parsing the parameters. If the library wasn't working or was different from what's included in the source, then -I would not work either, so I'm leaning towards the second or third option, and my guess would be that it isn't the latest code or you're executing a different binary if you compiled 3.5.0 yourself. run
./yacminer -V
and
./yacminer --help
let's see that output...
With that said though, There is a missing return value in the set_rawintensity routine (all the other ones return NULL, this one could return garbage I guess). I've added that return value and committed it. If you've checked the other issues and know that's not it, pull the latest version from github, compile it and try that. I'd like to know either way if it works or does not.