Bitcoin Forum
April 20, 2024, 02:53:01 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: 2nd 6870 video card not working in Linux  (Read 6761 times)
AngelusWebDesign (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
June 02, 2011, 06:03:51 PM
Last edit: June 02, 2011, 06:49:37 PM by AngelusWebDesign
 #1

I have a Sapphire Radeon 6870 which has worked perfectly up to and including today.
I just bought an XFX Radeon 6870, and am trying to install it on my Linux system.

The 2nd video card was installed properly, with 2 PCI-E power cables attached, etc.
Linux (Mint 11, 64-bit) sees the card:

root@Matthew:/etc# aticonfig --list-adapters
* 0. 01:00.0 AMD Radeon HD 6800 Series
  1. 02:00.0 AMD Radeon HD 6800 Series

* - Default adapter


BUT when I try to use it for mining, it doesn't seem to be accessible.
Ideas?

root@Matthew:/etc# aticonfig --adapter=all --odgt
Adapter 0 - AMD Radeon HD 6800 Series
            Sensor 0: Temperature - 77.00 C
ERROR - Get temperature failed for Adapter 1 - AMD Radeon HD 6800 Series

root@Matthew:/home/matthew# aticonfig --adapter=all --odgc

Adapter 0 - AMD Radeon HD 6800 Series
                            Core (MHz)    Memory (MHz)
           Current Clocks :    950           1050
             Current Peak :    950           1050
  Configurable Peak Range : [775-1000]     [1050-1250]
                 GPU load :    99%
ERROR - Get clocks failed for Adapter 1 - AMD Radeon HD 6800 Series


Here is my xorg.conf file:

Section "ServerLayout"
   Identifier     "aticonfig Layout"
   Screen      0  "aticonfig-Screen[0]-0" 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 "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:2: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


Here is my PCI listing:


root@Matthew:/home/matthew# lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation 2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:01.1 PCI bridge: Intel Corporation 2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1c.6 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 7 (rev b5)
00:1c.7 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 8 (rev b5)
00:1d.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation P67 Express Chipset Family LPC Controller (rev 05)
00:1f.2 IDE interface: Intel Corporation 6 Series Chipset Family 4 port SATA IDE Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series Chipset Family SMBus Controller (rev 05)
00:1f.5 IDE interface: Intel Corporation 6 Series Chipset Family 2 port SATA IDE Controller (rev 05)
01:00.0 VGA compatible controller: ATI Technologies Inc Barts XT [ATI Radeon HD 6800 Series]
01:00.1 Audio device: ATI Technologies Inc Barts HDMI Audio [Radeon HD 6800 Series]
02:00.0 VGA compatible controller: ATI Technologies Inc Barts XT [ATI Radeon HD 6800 Series]
02:00.1 Audio device: ATI Technologies Inc Barts HDMI Audio [Radeon HD 6800 Series]
04:00.0 PCI bridge: Integrated Technology Express, Inc. Device 8892 (rev 10)
06:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
07:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
09:00.0 IDE interface: Marvell Technology Group Ltd. Device 91a3 (rev 11)


Here is what the driver is reporting -- how do I bash this driver over the head to convince it I have two graphics cards? Do I need to uninstall/reinstall the driver?

root@Matthew:/home/matthew# fglrxinfo
display: :0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: AMD Radeon HD 6800 Series
OpenGL version string: 4.1.10750 Compatibility Profile Context
1713624781
Hero Member
*
Offline Offline

Posts: 1713624781

View Profile Personal Message (Offline)

Ignore
1713624781
Reply with quote  #2

1713624781
Report to moderator
1713624781
Hero Member
*
Offline Offline

Posts: 1713624781

View Profile Personal Message (Offline)

Ignore
1713624781
Reply with quote  #2

1713624781
Report to moderator
1713624781
Hero Member
*
Offline Offline

Posts: 1713624781

View Profile Personal Message (Offline)

Ignore
1713624781
Reply with quote  #2

1713624781
Report to moderator
It is a common myth that Bitcoin is ruled by a majority of miners. This is not true. Bitcoin miners "vote" on the ordering of transactions, but that's all they do. They can't vote to change the network rules.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
AngelusWebDesign (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
June 02, 2011, 06:29:01 PM
Last edit: June 02, 2011, 06:44:48 PM by AngelusWebDesign
 #2

I manually added a new "device" to my xorg.conf (see above)-- it seems to be working.

Now I'm trying to get a miner to see the 2nd card!

Here is what I see though:

Code:
root@Matthew:/poclbm# ./poclbm.py
No device specified or device not found, use -d to specify one of the following

[0] Barts
[1] Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz

"Barts" seems to be the name of the 6870. But why doesn't it see 2 of them?

Please chime in if you have any ideas...

Thanks,

Matthew


Here is what CLInfo says about my setup:

Number of platforms:             1
  Platform Profile:             FULL_PROFILE
  Platform Version:             OpenCL 1.1 AMD-APP-SDK-v2.4 (595.10)
  Platform Name:                AMD Accelerated Parallel Processing
  Platform Vendor:             Advanced Micro Devices, Inc.
  Platform Extensions:          cl_khr_icd cl_amd_event_callback cl_amd_offline_devices


  Platform Name:                AMD Accelerated Parallel Processing
Number of devices:             2
  Device Type:                CL_DEVICE_TYPE_GPU
  Device ID:                4098
  Max compute units:             14
  Max work items dimensions:          3
    Max work items[0]:             256
    Max work items[1]:             256
    Max work items[2]:             256
  Max work group size:             256
  Preferred vector width char:          16
  Preferred vector width short:          8
  Preferred vector width int:          4
  Preferred vector width long:          2
  Preferred vector width float:          4
  Preferred vector width double:       0
  Max clock frequency:             950Mhz
  Address bits:                32
  Max memory allocation:          134217728
  Image support:             Yes
  Max number of images read arguments:    128
  Max number of images write arguments:    8
  Max image 2D width:          8192
  Max image 2D height:          8192
  Max image 3D width:          2048
  Max image 3D height:    2048
  Max image 3D depth:          2048
  Max samplers within kernel:       16
  Max size of kernel argument:          1024
  Alignment (bits) of base address:       32768
  Minimum alignment (bytes) for any datatype:    128
  Single precision floating point capability
    Denorms:                No
    Quiet NaNs:                Yes
    Round to nearest even:          Yes
    Round to zero:             Yes
    Round to +ve and infinity:          Yes
    IEEE754-2008 fused multiply-add:       Yes
  Cache type:                None
  Cache line size:             0
  Cache size:                0
  Global memory size:             536870912
  Constant buffer size:             65536
  Max number of constant args:          8
  Local memory type:             Scratchpad
  Local memory size:             32768
  Profiling timer resolution:          1
  Device endianess:             Little
  Available:                Yes
  Compiler available:             Yes
  Execution capabilities:            
    Execute OpenCL kernels:          Yes
    Execute native function:          No
  Queue properties:            
    Out-of-Order:             No
    Profiling :                Yes
  Platform ID:                0x7ff576ea8800
  Name:                   Barts
  Vendor:                Advanced Micro Devices, Inc.
  Driver version:             CAL 1.4.1385
  Profile:                FULL_PROFILE
  Version:                OpenCL 1.1 AMD-APP-SDK-v2.4 (595.10)
  Extensions:                cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_printf cl_amd_media_ops cl_amd_popcnt
  Device Type:                CL_DEVICE_TYPE_CPU
  Device ID:                4098
  Max compute units:             8
  Max work items dimensions:          3
    Max work items[0]:             1024
    Max work items[1]:             1024
    Max work items[2]:             1024
  Max work group size:             1024
  Preferred vector width char:          16
  Preferred vector width short:          8
  Preferred vector width int:          4
  Preferred vector width long:          2
  Preferred vector width float:          4
  Preferred vector width double:       0
  Max clock frequency:             3701Mhz
  Address bits:                64
  Max memory allocation:          2147483648
  Image support:             Yes
  Max number of images read arguments:    128
  Max number of images write arguments:    8
  Max image 2D width:          8192
  Max image 2D height:          8192
  Max image 3D width:          2048
  Max image 3D height:    2048
  Max image 3D depth:          2048
  Max samplers within kernel:       16
  Max size of kernel argument:          4096
  Alignment (bits) of base address:       1024
  Minimum alignment (bytes) for any datatype:    128
  Single precision floating point capability
    Denorms:                Yes
    Quiet NaNs:                Yes
    Round to nearest even:          Yes
    Round to zero:             Yes
    Round to +ve and infinity:          Yes
    IEEE754-2008 fused multiply-add:       No
  Cache type:                Read/Write
  Cache line size:             64
  Cache size:                32768
  Global memory size:             6255067136
  Constant buffer size:             65536
  Max number of constant args:          8
  Local memory type:             Global
  Local memory size:             32768
  Profiling timer resolution:          1
  Device endianess:             Little
  Available:                Yes
  Compiler available:             Yes
  Execution capabilities:            
    Execute OpenCL kernels:          Yes
    Execute native function:          Yes
  Queue properties:            
    Out-of-Order:             No
    Profiling :                Yes
  Platform ID:                0x7ff576ea8800
  Name:                   Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
  Vendor:                GenuineIntel
  Driver version:             2.0
  Profile:                FULL_PROFILE
  Version:                OpenCL 1.1 AMD-APP-SDK-v2.4 (595.10)
  Extensions:                cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_media_ops cl_amd_popcnt cl_amd_printf


Error : atomics mismatch!
Error : Bytes mismatch!
Error : images mismatch!
Failed!
AngelusWebDesign (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
June 02, 2011, 07:35:26 PM
 #3

Is it normal to NOT see anything when you plug your monitor into a 2nd video card?
That's the case for me -- it might be because I only have one "screen" set up in xorg.conf

Is there a good website that covers this stuff? I did some googling, but surprisingly can't find much of anything.
whackedspinach
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
June 03, 2011, 08:15:39 PM
 #4

I'm using 2 6850s but am having the same issue.  Last night DiabloMiner seemed to see them both, but no dice today.  I also can't get sensor readings on the 2nd card.
AngelusWebDesign (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
June 03, 2011, 08:49:02 PM
 #5

I had to figure it out myself -- got it working though.

The key was

aticonfig --initial -f --adapter=all

AFTER plugging in a monitor on that 2nd video card and rebooting. Apparently, no monitor, no video card recognized by the system.

It was all downhill from there.

Zerbie
Member
**
Offline Offline

Activity: 72
Merit: 10


View Profile
June 03, 2011, 09:02:21 PM
 #6

I've had the same issue with Ubuntu and gave up.  I still run windows for my dual card systems.

Does anyone know how to fool a second video card into activating without plugging a monitor into it?  If so, I'll go back and try again.
minerX
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
June 11, 2011, 08:48:48 AM
 #7

I've had the same issue with Ubuntu and gave up.  I still run windows for my dual card systems.

Does anyone know how to fool a second video card into activating without plugging a monitor into it?  If so, I'll go back and try again.

Dummy plugs and/or monitors are not required for Linux.  I believe the issue here is installing a 2nd card after the initial installation of Ubuntu.   

I had the same problem above when I installed a 3rd card to Linux.  I have since fixed the problem by using the above fix, but adding SUDO.

"sudo aticonfig --initial -f --adapter=all"
"sudo reboot"

This has fixed the problem and everything is working great.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!