Author

Topic: [SOLVED] linux: 2nd gpu won't start (Read 1886 times)

newbie
Activity: 42
Merit: 0
January 13, 2012, 04:49:03 PM
#4
My bash script for starting the miners has export DISPLAY=:0.X, where X is 0 or 1, for setting the fan speeds. In the past that was good enough, but somewhere during my package upgrades it meant that ati-stream-sdk-bin no longer saw both cards when I used clinfo. As soon as I added export DISPLAY=:0 to my script (or in the screen session where phoenix is running) everything worked fine again.
newbie
Activity: 42
Merit: 0
January 13, 2012, 04:24:54 PM
#3
Here's another update. Aticonfig shows that I have two gpus, but when I run phoenix without DEVICE= then it shows one gpu and the cpu. This explains the error message regarding the ELF kernel and BFI_INT patching b/c phoenix is trying to apply this to the 1090T that shows up as device 1. How do I get phoenix to see my second gpu? I am guessing this is a pyopencl problem, given aticonfig sees both gpus.

Code:
No device specified or device not found, use DEVICE=ID to specify one of the following

    [0] Cypress                       
    [1] AMD Phenom(tm) II X6 1090T Processor

/opt/bin/aticonfig --list-adapters
* 0. 06:00.0 ATI Radeon HD 5800 Series 
  1. 02:00.0 ATI Radeon HD 5800 Series 

* - Default adapter
newbie
Activity: 42
Merit: 0
January 11, 2012, 06:52:31 PM
#2
One additional note. In the past, I only needed a monitor or dummy plug for the primary card and both would mine properly. I have tried having a monitor/dummy plug on both, but the 2nd card still won't start mining.
newbie
Activity: 42
Merit: 0
January 11, 2012, 05:44:27 PM
#1
After multiple google searches and searches through this forum I haven't found a solution, so I apologize if I missed a previously posted answer.

I have 2 boxes with gentoo, kde-4, pyopencl-0.92, ati-stream-sdk-bin-2.5, ati-drivers-11.11, and phoenix-1.6.2. After updating @world the 2nd gpu won't mine on either box (they have both been mining properly since april). If I use pyopencl-0.92 then I get,

Code:
Invalid ELF header
FATAL kernel error: Failed to apply BFI_INT patch to kerne l! Is BFI_INT supported on this hardware?

If I use pyopencl-2011.2,
Code:
FATAL kernel error: Failed to load OpenCL kernel!

I have also ati-stream-sdk-2.4, the opencl included with ati-drivers, ati-drivers-11.12, and phoenix-1.73, and the above problem persists for all configurations. I call phoenix using,
Code:
python ./phoenix.py -u http://wazoo42:[email protected]:8334/ -q 1 -k phatk2 DEVICE=1 VECTORS AGGRESSION=9 -v BFI_INT WORKSIZE=128

I have noticed that eselect only links libOpenCL.so.1 from /opt/amd-app-sdk/lib/x86_64 to /usr/lib64/libOpenCL.so.1, and I make a similar link to libOpenCL.so. Any thoughts as to what is broken and needs to be fixed? Thanks in advance.
Jump to: