cgminer 没有找到设备

cgminer 没有找到设备

当我运行 cgminer -n(版本 3.12.2)时,我得到:

 [2014-02-12 11:09:10] USB all: found 12 devices - listing known devices                    
 [2014-02-12 11:09:10] No known USB devices  

当我运行 lcpci -v 时我确实看到了我的卡:

03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Antilles [Radeon HD 6990] (prog-if 00 [VGA controller])
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 0b2a
    Flags: bus master, fast devsel, latency 0, IRQ 51
    Memory at d0000000 (64-bit, prefetchable) [size=256M]
    Memory at fbac0000 (64-bit, non-prefetchable) [size=128K]
    I/O ports at ce00 [size=256]
    [virtual] Expansion ROM at fba00000 [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: fglrx_pci

03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cayman/Antilles HDMI Audio [Radeon HD 6900 Series]
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Cayman/Antilles HDMI Audio [Radeon HD 6900 Series]
    Flags: bus master, fast devsel, latency 0, IRQ 49
    Memory at fbafc000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: snd_hda_intel

04:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Antilles [Radeon HD 6990]
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 1b2a
    Flags: bus master, fast devsel, latency 0, IRQ 52
    Memory at c0000000 (64-bit, prefetchable) [size=256M]
    Memory at fb9c0000 (64-bit, non-prefetchable) [size=128K]
    I/O ports at be00 [size=256]
    [virtual] Expansion ROM at fb900000 [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: fglrx_pci

04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cayman/Antilles HDMI Audio [Radeon HD 6900 Series]
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Cayman/Antilles HDMI Audio [Radeon HD 6900 Series]
    Flags: bus master, fast devsel, latency 0, IRQ 50
    Memory at fb9fc000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: snd_hda_intel

fglrxinfo 的结果是:

display: :0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6900 Series  
OpenGL version string: 4.2.12337 Compatibility Profile Context 13.101



display: :0  screen: 1
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6900 Series  
OpenGL version string: 4.2.12337 Compatibility Profile Context 13.101

当尝试使用 ./autogen.sh (带或不带 --enable-opengl)进行编译时,我得到

  OpenCL...............: NOT FOUND. GPU mining support DISABLED
configure: error: No mining configured in

答案1

正如 dobey 所说,我需要 opencl,但 amd-sdk 版本的 opencl 似乎不适合我(我可能安装不正确)。大多数 opencl 安装都会卸载 fglrx 并安装 nvidia 驱动程序。这是我在论坛上找到的一个可以让它工作的:

sudo apt-get install ocl-icd-opencl-dev

希望它能帮助别人!

相关内容