The two cards are recognized by the computer but I'm getting strange FGLRX errors when I try to run anything more than aticonfig --lsa
Code:
willis@miner1:~$ lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Bonaire XT [Radeon HD 7790/8770]
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R9 270]
Code:
willis@miner1:~$ aticonfig --lsa
* 0. 01:00.0 AMD Radeon HD 7700 Series
1. 06:00.0 Supported device 6811
* - Default adapter
X.org is succesfully running:
Code:
willis@miner1:~$ ps ax | grep X
988 tty7 S<s+ 0:00 X :0
1232 pts/3 S+ 0:00 grep --color=auto X
But aticonfig claims it's not running:
Code:
willis@miner1:~$ aticonfig --adapter=all --odgt
ERROR - X needs to be running to perform AMD Overdrive(TM) commands
fglrxinfo and glxinfo both provide the same error message:
Code:
willis@miner1:~$ fglrxinfo
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 153 (GLX)
Minor opcode of failed request: 19 (X_GLXQueryServerString)
Serial number of failed request: 12
Current serial number in output stream: 12
But fglrx is loaded:
Code:
willis@miner1:~$ lsmod | grep fglrx
fglrx 8081247 0
amd_iommu_v2 19054 1 fglrx
There's a strange error in the Xorg.0.log file, it seems to find the two cards:
Code:
[ 20.773] ukiOpenDevice: node name is /dev/ati/card0
[ 20.773] ukiOpenDevice: open result is 12, (OK)
[ 20.858] ukiOpenByBusid: ukiOpenMinor returns 12
[ 20.858] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
[ 20.858] ukiOpenDevice: node name is /dev/ati/card1
[ 21.130] ukiOpenDevice: open result is 12, (OK)
[ 21.130] ukiOpenByBusid: ukiOpenMinor returns 12
[ 21.130] ukiOpenByBusid: ukiGetBusid reports PCI:6:0:0
But later claims that there's not instance of them:
Code:
[ 21.133] (WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:0) found
[ 21.133] (WW) fglrx: No matching Device section for instance (BusID PCI:0@6:0:0) found
This is the xorg.conf I've been using (generated by aticonfig --adapter=all --initial --force):
Code:
Section "ServerLayout"
Identifier "Server Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
Screen "aticonfig-Screen[1]-0" RightOf "aticonfig-Screen[0]-0"
EndSection
Section "Module"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[1]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "aticonfig-Device[1]-0"
Driver "fglrx"
BusID "PCI:6:0:0"
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "aticonfig-Screen[1]-0"
Device "aticonfig-Device[1]-0"
Monitor "aticonfig-Monitor[1]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
So basically to sum up, the two cards are recognized by the computer, lspci shows them, aticonfig --lsa shows them, running anything else doesn't work with a cryptic fglrx message, or claiming that the X server isn't working (which it is). I don't really know where to go from here, I've tried swapping out drivers, tweaking the xorg.conf. Could PCI Latency have anything to do with it?
And here's the obligatory cgminer output:
Code:
willis@miner1:~$ cgminer -n
[09:08:39] Log date is now 2014-02-16
[09:08:39] CL Platform 0 vendor: Advanced Micro Devices, Inc.
[09:08:39] CL Platform 0 name: AMD Accelerated Parallel Processing
[09:08:39] CL Platform 0 version: OpenCL 1.2 AMD-APP (1214.3)
[09:08:39] Error -1: Getting Device IDs (num)
[09:08:39] clDevicesNum returned error, no GPUs usable
[09:08:39] 0 GPU devices max detected