ckolivas and kano, thanks for cgminer and the hard work you put into it. I think people take it for granted and feel entitled to having it at times. I see it as a wonderful gift from you guys to the community at large and feel it is not honored quite often enough. I'm just starting out mining, but once I have a few spare coins, I will certainly send some your way.
Now of course I also have a problem, namingly getting ADL to work. I compiled 3.1.0 and 3.1.1 from github, under Ubuntu 13.04 64bit. I can get it to work, just fine, using amd-catalyst-13.4-linux-x86.x86_64, AMD-APP-SDK-v2.8-lnx64 and ADL_SDK_5.0, it reporting back on configure that it found ADL. On make I can't see any errors, so I assumed all works well, until I start it.
export DISPLAY=:0
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_MAX_HEAP_SIZE=100
/usr/local/cgminer/cgminer -I 19 --scrypt --worksize 256 --lookup-gap 2 -g 1 -o poolurlremoved -u userremoved -p passremoved
[2013-05-15 22:53:04] Started cgminer 3.1.1
[2013-05-15 22:53:05] ADL found less devices than opencl!
[2013-05-15 22:53:05] There is possibly more than one display attached to a GPU
[2013-05-15 22:53:05] Use the gpu map feature to reliably map OpenCL to ADL
[2013-05-15 22:53:05] WARNING: Number of OpenCL and ADL devices did not match!
[2013-05-15 22:53:05] Hardware monitoring may NOT match up with devices!
[2013-05-15 22:53:05] Probing for an alive pool
[2013-05-15 22:53:05] Network diff set to 12.3M
[2013-05-15 22:53:05] Long-polling activated for poolurl
[2013-05-15 22:53:08] Accepted 00f2a0f7 Diff 270/31 GPU 1
[2013-05-15 22:53:10] Accepted 02c13dea Diff 92/31 GPU 0
That's my first clue something is wrong, the second that it doesn't show fan speed nor temperatures. It will also not allow me to change any GPU settings, not even showing the options in the G menu. On my workstation there I can see and alter those options.
I searched all over the place and tried everything I could think of to no avail. So I tried to get some debugging info.
./cgminer --ndevs
[2013-05-15 22:57:09] CL Platform 0 vendor: Advanced Micro Devices, Inc.
[2013-05-15 22:57:09] CL Platform 0 name: AMD Accelerated Parallel Processing
[2013-05-15 22:57:09] CL Platform 0 version: OpenCL 1.2 AMD-APP (1113.2)
[2013-05-15 22:57:09] Platform 0 devices: 2
[2013-05-15 22:57:09] 0 Tahiti
[2013-05-15 22:57:09] 1 Tahiti
[2013-05-15 22:57:09] Failed to ADL_Adapter_ID_Get. Error -1
[2013-05-15 22:57:09] Failed to ADL_Adapter_ID_Get. Error -1
[2013-05-15 22:57:09] ADL found less devices than opencl!
[2013-05-15 22:57:09] There is possibly more than one display attached to a GPU
[2013-05-15 22:57:09] Use the gpu map feature to reliably map OpenCL to ADL
[2013-05-15 22:57:09] WARNING: Number of OpenCL and ADL devices did not match!
[2013-05-15 22:57:09] Hardware monitoring may NOT match up with devices!
[2013-05-15 22:57:09] 2 GPU devices max detected
Also ran it with --verbose --debug --worktime (both normal and the ndevs) but didn't get more output really than I already posted.
Also tried the build from the page cgminer-3.1.1-x86_64-built.tar.bz2 to be precise. It errors out with this message first:
./cgminer: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
Fixed it up with this symlink:
ln -s /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0
Endresult is the exact same though.
I can repeat this process on two separate machines, one with two 7950, the other with a 5770 in it.
The only thing I want to keep is Linux, I really don't want to switch to windows on these boxes if I can avoid it. What kind of Linux, I don't really care as long as I get the temperature, fanspeed and gpu settings to work.
If there is any more data I can deliver, please let me know.