Bitcoin Forum
April 26, 2024, 03:22:50 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Mining with 5970 and 6850 in the same machine (linux) [Resolved]  (Read 7694 times)
lbeckm3 (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 0



View Profile
October 05, 2012, 03:19:34 PM
Last edit: October 10, 2012, 07:25:45 PM by lbeckm3
 #1

Ok, pretty much banging my head against a wall here!  I started with this under Ubuntu Linux;

Card: 6850
Miner: Phoenix 1.6
Vid driver: 12.1
SDK: 2.1

Then I got a 5970 and had to switch things up, currently have;

Card: 5970
Miner: cgminer
Vid driver: 11.1
SDK: 2.5

Took some head scratching etc to get that working - main issue is one of the cores on the 5970 is bad!!  cgminer works fine on the one at around 330mh.  Thinking of getting return through the seller/Dell but not sure how to prove the other core is bad (all testing I did on XP with it shows it works fine - benchmarks etc.).  Anyway back to the issue at hand, I tossed in the 6850 and tried to start up cgminer with -d 2 to hit the 6850 and it doesn't exist, I get;

cgminer -o <mining pool url> -u <myuser> -p <mypass> -d 2 -D

 [2012-10-05 10:14:57] Started cgminer 2.7.6                    
 [2012-10-05 10:14:58] CL Platform 0 vendor: Advanced Micro Devices, Inc.                    
 [2012-10-05 10:14:58] CL Platform 0 name: AMD Accelerated Parallel Processing                    
 [2012-10-05 10:14:58] CL Platform 0 version: OpenCL 1.1 AMD-APP-SDK-v2.5 (793.1)                    
 [2012-10-05 10:14:58] Platform 0 devices: 2                    
 [2012-10-05 10:14:58]  0       Cypress                    
 [2012-10-05 10:14:58]  1       Cypress                    
Command line options set a device that doesn't exist

but if I do a listing with aticonfig;

aticonfig --list-adapters
* 0. 03:00.0 ATI Radeon HD 5900 Series
  1. 04:00.0 ATI Radeon HD 5900 Series
  2. 05:00.0 AMD Radeon HD 6800 Series  

* - Default adapter

It shows it in there.  What am I missing here?  Thanks!!!

-Lyle


1714144970
Hero Member
*
Offline Offline

Posts: 1714144970

View Profile Personal Message (Offline)

Ignore
1714144970
Reply with quote  #2

1714144970
Report to moderator
1714144970
Hero Member
*
Offline Offline

Posts: 1714144970

View Profile Personal Message (Offline)

Ignore
1714144970
Reply with quote  #2

1714144970
Report to moderator
1714144970
Hero Member
*
Offline Offline

Posts: 1714144970

View Profile Personal Message (Offline)

Ignore
1714144970
Reply with quote  #2

1714144970
Report to moderator
The Bitcoin network protocol was designed to be extremely flexible. It can be used to create timed transactions, escrow transactions, multi-signature transactions, etc. The current features of the client only hint at what will be possible in the future.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
crazyates
Legendary
*
Offline Offline

Activity: 952
Merit: 1000



View Profile
October 05, 2012, 03:33:49 PM
 #2

Are you really using driver 11.1 with SDK 2.5? Update your driver.

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
lbeckm3 (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 0



View Profile
October 05, 2012, 04:25:47 PM
 #3

Are you really using driver 11.1 with SDK 2.5? Update your driver.

Ok I tried 12.1 and same result.
12.4 and SDK 2.5 segfaults  

Now on SDK 2.6 and 12.4 (8.963) and get this on 5970;

[2012-10-05 11:08:40] GPU0: invalid nonce - HW error                    
 [2012-10-05 11:08:40] OCL NONCE 0 found in slot 11158                    
 [2012-10-05 11:08:40] GPU0: invalid nonce - HW error                    
 [2012-10-05 11:08:40] OCL NONCE 0 found in slot 11159                    
 [2012-10-05 11:08:40] GPU0: invalid nonce - HW error                    
 [2012-10-05 11:08:40] OCL NONCE 0 found in slot 11160                    
 [2012-10-05 11:08:40] GPU0: invalid nonce - HW error                    
 [2012-10-05 11:08:40] OCL NONCE 0 found in slot 11161                    
 [2012-10-05 11:08:40] GPU0: invalid nonce - HW error                    
 [2012-10-05 11:08:40] OCL NONCE 0 found in slot 11162                    
 [2012-10-05 11:08:40] GPU0: invalid nonce - HW error                    
 [2012-10-05 11:08:40] OCL NONCE 0 found in slot 11163                    
 [2012-10-05 11:08:40] GPU0: invalid nonce - HW error  

probably due to the one bad core?  Not sure.  cgminer still doesn't see the 6850;

[2012-10-05 11:13:45] Started cgminer 2.7.6                    
 [2012-10-05 11:13:46] CL Platform 0 vendor: Advanced Micro Devices, Inc.                    
 [2012-10-05 11:13:46] CL Platform 0 name: AMD Accelerated Parallel Processing                    
 [2012-10-05 11:13:46] CL Platform 0 version: OpenCL 1.2 AMD-APP (938.2)                    
 [2012-10-05 11:13:46] Platform 0 devices: 2                    
 [2012-10-05 11:13:46]    0   Cypress                    
 [2012-10-05 11:13:46]    1   Cypress                    
                
I will probably need to just step by step install driver and sdk until I get a combo that works.  The install order does matter right?  So SDK first then driver?

Frequency
Hero Member
*****
Offline Offline

Activity: 540
Merit: 500


COINDER


View Profile WWW
October 06, 2012, 08:32:16 PM
 #4

Are you really using driver 11.1 with SDK 2.5? Update your driver.

Ok I tried 12.1 and same result.
12.4 and SDK 2.5 segfaults  

Now on SDK 2.6 and 12.4 (8.963) and get this on 5970;

[2012-10-05 11:08:40] GPU0: invalid nonce - HW error                    
 [2012-10-05 11:08:40] OCL NONCE 0 found in slot 11158                    
 [2012-10-05 11:08:40] GPU0: invalid nonce - HW error                    
 [2012-10-05 11:08:40] OCL NONCE 0 found in slot 11159                    
 [2012-10-05 11:08:40] GPU0: invalid nonce - HW error                    
 [2012-10-05 11:08:40] OCL NONCE 0 found in slot 11160                    
 [2012-10-05 11:08:40] GPU0: invalid nonce - HW error                    
 [2012-10-05 11:08:40] OCL NONCE 0 found in slot 11161                    
 [2012-10-05 11:08:40] GPU0: invalid nonce - HW error                    
 [2012-10-05 11:08:40] OCL NONCE 0 found in slot 11162                    
 [2012-10-05 11:08:40] GPU0: invalid nonce - HW error                    
 [2012-10-05 11:08:40] OCL NONCE 0 found in slot 11163                    
 [2012-10-05 11:08:40] GPU0: invalid nonce - HW error  

probably due to the one bad core?  Not sure.  cgminer still doesn't see the 6850;

[2012-10-05 11:13:45] Started cgminer 2.7.6                    
 [2012-10-05 11:13:46] CL Platform 0 vendor: Advanced Micro Devices, Inc.                    
 [2012-10-05 11:13:46] CL Platform 0 name: AMD Accelerated Parallel Processing                    
 [2012-10-05 11:13:46] CL Platform 0 version: OpenCL 1.2 AMD-APP (938.2)                    
 [2012-10-05 11:13:46] Platform 0 devices: 2                    
 [2012-10-05 11:13:46]    0   Cypress                    
 [2012-10-05 11:13:46]    1   Cypress                    
                
I will probably need to just step by step install driver and sdk until I get a combo that works.  The install order does matter right?  So SDK first then driver?



did you initializ the latest card?
maybe this will help
•aticonfig --lsa
•sudo aticonfig --adapter=all --initial

If everything went fine, reboot the computer by “sudo reboot”.
After that, check if everything works:

•sudo aticonfig --adapter=all --odgt

GL


COINDER
COINDER
lbeckm3 (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 0



View Profile
October 07, 2012, 06:27:53 PM
 #5


did you initializ the latest card?
maybe this will help
•aticonfig --lsa
•sudo aticonfig --adapter=all --initial

If everything went fine, reboot the computer by “sudo reboot”.
After that, check if everything works:

•sudo aticonfig --adapter=all --odgt

GL



Thanks for the suggestions!  I tried all those steps and seems like it sees everything ok;

Code:
aticonfig --adapter=all --odgt

Adapter 0 - ATI Radeon HD 5900 Series
            Sensor 0: Temperature - 82.50 C

Adapter 1 - ATI Radeon HD 5900 Series
            Sensor 0: Temperature - 82.00 C

Adapter 2 - AMD Radeon HD 6800 Series 
            Sensor 0: Temperature - 43.00 C

but when I launch cgminer (specifying "-d 2");
Code:
cgminer -o http://<url> -u <user> -p <pass> -d 2 -D
 [2012-10-07 13:10:49] Started cgminer 2.7.6                   
 [2012-10-07 13:10:50] CL Platform 0 vendor: Advanced Micro Devices, Inc.                   
 [2012-10-07 13:10:50] CL Platform 0 name: AMD Accelerated Parallel Processing                   
 [2012-10-07 13:10:50] CL Platform 0 version: OpenCL 1.1 AMD-APP (898.1)                   
 [2012-10-07 13:10:50] Platform 0 devices: 1                   
 [2012-10-07 13:10:50] 0 Cypress                   
Command line options set a device that doesn't exist

More info;

Code:
fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: ATI Radeon HD 5900 Series
OpenGL version string: 4.2.11554 Compatibility Profile Context



display: :0.0  screen: 1
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: ATI Radeon HD 5900 Series
OpenGL version string: 4.2.11554 Compatibility Profile Context



display: :0.0  screen: 2
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6800 Series 
OpenGL version string: 4.2.11554 Compatibility Profile Context
=====================================
clinfo
Number of platforms: 1
  Platform Profile: FULL_PROFILE
  Platform Version: OpenCL 1.1 AMD-APP (898.1)
  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
  Board name: ATI Radeon HD 5900 Series
  Device Topology: PCI[ B#3, D#0, F#0 ]
  Max compute units: 20
  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: 2
  Native vector width char: 16
  Native vector width short: 8
  Native vector width int: 4
  Native vector width long: 2
  Native vector width float: 4
  Native vector width double: 2
  Max clock frequency: 725Mhz
  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: 2048
  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
  Kernel Preferred work group size multiple: 64
  Error correction support: 0
  Unified memory for Host and Device: 0
  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: 0x7fb498bee480
  Name: Cypress
  Vendor: Advanced Micro Devices, Inc.
  Device OpenCL C version: OpenCL C 1.1
  Driver version: CAL 1.4.1703
  Profile: FULL_PROFILE
  Version: OpenCL 1.1 AMD-APP (898.1)
  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_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_atomic_counters_32 cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_popcnt cl_amd_meminfo


  Device Type: CL_DEVICE_TYPE_CPU
  Device ID: 4098
  Board name:
  Max compute units: 4
  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
  Native vector width char: 16
  Native vector width short: 8
  Native vector width int: 4
  Native vector width long: 2
  Native vector width float: 4
  Native vector width double: 0
  Max clock frequency: 1150Mhz
  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: Yes
  Cache type: Read/Write
  Cache line size: 64
  Cache size: 65536
  Global memory size: 8391602176
  Constant buffer size: 65536
  Max number of constant args: 8
  Local memory type: Global
  Local memory size: 32768
  Kernel Preferred work group size multiple: 1
  Error correction support: 0
  Unified memory for Host and Device: 1
  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: 0x7fb498bee480
  Name: AMD Phenom(tm) 9650 Quad-Core Processor
  Vendor: AuthenticAMD
  Device OpenCL C version: OpenCL C 1.1
  Driver version: 2.0
  Profile: FULL_PROFILE
  Version: OpenCL 1.1 AMD-APP (898.1)
  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_printf cl_amd_media_ops cl_amd_popcnt
lbeckm3 (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 0



View Profile
October 07, 2012, 06:35:30 PM
 #6

I should also mention I'm running Catalyst 12.1 drivers with SDK 2.5.   Grin

Frequency
Hero Member
*****
Offline Offline

Activity: 540
Merit: 500


COINDER


View Profile WWW
October 07, 2012, 08:37:26 PM
Last edit: October 07, 2012, 11:27:50 PM by Frequency
 #7

I should also mention I'm running Catalyst 12.1 drivers with SDK 2.5.   Grin




did you try "./cgminer -o http://<url>:<port> -u <user> -p <pass> -d 2 -D" without the -d 2 -D part?


Or try:
Catalyst 11.11. you should indeed use SDK 2.5, which is included in.

follow the next steps to install this driver after you removed the old one:

•sudo apt-get install build-essential cdbs dh-make dkms execstack dh-modaliases fakeroot libqtgui4



•sudo apt-get install ia32-libs-multiarch:i386 lib32gcc1 libc6-i386
•sudo apt-get install ia32-libs



•wget http://www2.ati.com/drivers/linux/ati-driver-installer-11-11-x86.x86_64.run

•sudo sh ./ati-driver-installer-11-11-x86.x86_64.run --buildpkg Ubuntu/precise          (takes a few minutes)

•sudo dpkg -i fglrx*.deb

then the steps i send u before starting with aticonfig

Gl




COINDER
COINDER
QuantumFoam
Full Member
***
Offline Offline

Activity: 200
Merit: 100


|Quantum|World's First Cloud Management Platform


View Profile WWW
October 08, 2012, 01:00:53 AM
 #8

Check your xorg.conf (usually in /etc/X11/xorg.conf) and verify the bus ids match up correctly with what's listed in aticonfig --lsa. It's been my experience that sometimes aticonfig --adapter=all --initial doesn't get the xorg.conf right on the first go. Whenever I've had problems with cgminer not picking up one of my cards for whatever reason, it's always been a mismatch in xorg.conf.

|Quantum|World's First Cloud Management Platform on the Blockchain
-ck
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
October 08, 2012, 11:05:04 AM
 #9

If you're reconfiguring xorg.conf with aticonfig, it tries to add to your existing config normally unless you use the force parameter. Since you're reconfiguring everything from scratch effectively, I recommend
Code:
sudo aticonfig --adapter=all --initial -f

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
lbeckm3 (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 0



View Profile
October 10, 2012, 07:25:13 PM
 #10

Well, I have tried all the suggestions here and still zip!  I do see an issue with compiling the video drivers (I'm on lucid fyi), but I'm giving up.  This system is pretty old, running an old Asrock motherboard and thought I had the magic solution when I remembered there was a little "memory chip" type thing for enabling x16 in one direction, or if I flip it over it configures the two PCIe slots as x8/x8.  Alas, no, that didn't do it either.  So bottom line, I'm going to move the darn 6850 to a different machine and use it over there.  Sort of sucks as that's a bunch more in the way of power draw to keep another system up, but oh well.

I REALLY APPRECIATE all the responses - kudos to everyone that has tried to help me thus far, you all have been great!!  Wish I had more time to play and get it going but I have too many other time commitments.

Thanks!!

-Lyle
Gatorhex
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
October 13, 2012, 02:25:21 AM
 #11

Did u try GUIMiner?

Did you do something stupid like connecting them with a crossfire link? (59xx & 68xx are not compatible)

I run a Bart and Cypress system, no crossfire, running two instances of GUIMiner.
lbeckm3 (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 0



View Profile
October 16, 2012, 09:23:19 PM
 #12

Did u try GUIMiner?

Did you do something stupid like connecting them with a crossfire link? (59xx & 68xx are not compatible)

I run a Bart and Cypress system, no crossfire, running two instances of GUIMiner.

No I haven't tried GUIMiner as of yet.  For some reason I thought that was windows only, but does look like there is a linux version.  I'll give it a try!

I didn't do any crossfire with it, although I did flip over a little "memory stick" looking thing on my MB that converts the two PCIe expansion cards to 8x/8x from (I'm guessing here) 1x/16x.

I did just go through and update from Ubuntu 10.04 to 12.04 figuring what the heck, nothing to lose (only upgrade borked up and I had to install from scratch - very glad I tar'd off my /home directory to another server so my wallet etc etc came back fine!

Thanks for the suggestions - I'll try them and update this thread when I do. 
thirdchance57
Full Member
***
Offline Offline

Activity: 190
Merit: 100


★Bitvest.io★ Play Plinko or Invest!


View Profile
April 27, 2013, 10:54:26 PM
 #13

the same error here .. it has accepted and completed a few shares randomly but mostly im getting hw error.

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!