Pages:
Author

Topic: Phoenix 2 Miner v2.0.0 - page 4. (Read 201568 times)

hero member
Activity: 896
Merit: 1000
Seal Cub Clubbing Club
May 25, 2012, 12:05:56 PM
#47
failback = 600 <--Is this the default value?  I can't remember if I changed mine or not.
full member
Activity: 150
Merit: 100
May 25, 2012, 12:42:13 AM
#46

Each device is given a unique device ID. For OpenCL the format works like this:
[class:platform:device]

So [cl:0:0] refers to OpenCL device 0 of platform 0.

[cpu:0] Is a generic identifier for the CPU.


What exactly is the platform?
And how can it change to 1 0 or any other value?

thx

This probably won't help, but here's what I know. 

For one of my rigs running LinuxCoin, which has three 5970s (6 GPUs total), the OpenCL devices (GPUs) are identified as follows:

[cl:0:0] 
[cl:0:1]
[cl:0:2]
[cl:0:3]
[cl:0:4]
[cl:0:5]

I do not know what the first number after "cl" means or how it could be anything other than 0.  See, I told you this might not help.
member
Activity: 90
Merit: 10
May 23, 2012, 02:16:52 PM
#45

Each device is given a unique device ID. For OpenCL the format works like this:
[class:platform:device]

So [cl:0:0] refers to OpenCL device 0 of platform 0.

[cpu:0] Is a generic identifier for the CPU.


What exactly is the platform?
And how can it change to 1 0 or any other value?

thx
sr. member
Activity: 467
Merit: 250
May 22, 2012, 10:35:00 PM
#44

Odd error, not sure what to make of it.

Fedora14 box, mixed 5830/5850/6950. Aside from being about 200mhz slow vs cgminer, I'm seeing this:

Quote
[794.88 Mhash/s] [4 Accepted] [0 Rejected] [RPC (+LP)]Traceback (most recent call last):
  File "./phoenix.py", line 6, in
    main()
  File "/RAM/phoenix2/phoenix2/__init__.py", line 53, in main
    reactor.run()
  File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 1165, in run
    self.mainLoop()
  File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 1174, in mainLoop
    self.runUntilCurrent()
--- ---
  File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 769, in runUntilCurrent
    f(*a, **kw)
  File "/RAM/phoenix2/phoenix2/plugins/opencl/__init__.py", line 462, in postprocess
    if not self.interface.foundNonce(nr.unit, int(output)):
  File "/RAM/phoenix2/phoenix2/core/KernelInterface.py", line 200, in foundNonce
    hash = self.calculateHash(wu, nonce, timestamp)
  File "/RAM/phoenix2/phoenix2/core/KernelInterface.py", line 187, in calculateHash
    hashInput = pack('>76sI', staticData, nonce)
struct.error: integer out of range for 'I' format code
[20:33:44] Disconnected from server                   ^C

Ideas?

newbie
Activity: 16
Merit: 0
May 19, 2012, 01:27:12 PM
#43
Has anyone run this on an iMac with an AMD Radeon HD 6750M (or just OS X Lion, in general) and have any config options to share? Thanks!
full member
Activity: 150
Merit: 100
May 17, 2012, 04:43:14 AM
#42
Thanks ssateneth.  What you posted got me thinking, and I figured it out.  For reference, my system has three 5970s and is running LinuxCoin.

In order to have multiple instances of Phoenix2 runnning, I have to disable all of the OpenCL devices except the one that I want to use in that instance of Phoenix2.  There's no need to put the config files in different folders in my environment.

Code:
#!/usr/bin/env phoenix

[general]
    autodetect = +cl -cpu #Use autodetect for all OpenCL devices, except those which are CPUs.
    verbose = True #Enable verbose logging?
    backend = http://***:***@us3.eclipsemc.com:8337 #The primary backend.
    backups = http://***:***@us2.eclipsemc.com:8337 http://***:***@us.ozco.in:8332 http://***:***@deepbit.net:8332 #A space seperated list of backup servers.
    failback = 600 #Seconds between attempts to reconnect to primary backend when using backups. (0 to disable)
    queuesize = 1 #Target/maximum size of the queue
    queuedelay = 5 #Seconds before work expires to request more work (WARNING: don't change this unless you know what you are doing!)
    statusinterval = 1 #Seconds between statusbar updates
    ratesamples = 10 #Number of samples to average for hashrate reporting
    logfile = 0-phoenix_logfile #Set this option to log to a file.
[cl:0:0]
    autoconfigure = False #Automatically configure this device?
    kernel = phatk2 #The kernel to use for the device
    name = GPU 0 #The name to display the device as (default is device ID if not specified)
    start_undetected = False #Do not start the kernel if the device is not present
    disabled = False #Disable this device?
    worksize = 256 #Work group size, tweaking this option may improve performance
    vectors = True #Use unit2 vectors? (enable this or vectors4, not both)
    vectors4 = False #Use uint4 vectors? (enable this or vectors, not both)
    bfi_int = True #Use BFI_INT instruction on ATI VLIW GPUs?
    goffset = True #Use OpenCL 1.1 global offset?
    fastloop = False #Use fast internal loop? (ideal for low aggression)
    aggression = 11 #Number of nonces to test per kernel execution (lower value = less desktop lag, higher value = higher hashrate)
[cl:0:1]
    disabled = True
[cl:0:2]
    disabled = True
[cl:0:3]
    disabled = True
[cl:0:4]
    disabled = True
[cl:0:5]
    disabled = True

If I don't disable the other OpenCL devices, I get the "cross-talk" I was referring to in my previous post.  Below is what it looks like.
Code:
[05/17/2012 02:08:59] Welcome to Phoenix v2.0.0
[05/17/2012 02:09:02] Connected to server
[05/17/2012 02:09:02] Server gave new work; passing to WorkQueue
[05/17/2012 02:09:02] New block (WorkQueue)
[05/17/2012 02:09:57] Server gave new work; passing to WorkQueue
[05/17/2012 02:10:34] Disconnected from server
[05/17/2012 02:10:49] Welcome to Phoenix v2.0.0
[05/17/2012 02:10:54] [GPU 0] Finding inner ELF...
[05/17/2012 02:10:54] [GPU 0] Patching inner ELF...
[05/17/2012 02:10:54] [GPU 0] Patching instructions...
[05/17/2012 02:10:54] [GPU 0] BFI-patched 472 instructions...
[05/17/2012 02:10:54] [GPU 0] Patch complete, returning to kernel...
[05/17/2012 02:10:54] [GPU 0] Applied BFI_INT patch
[05/17/2012 02:10:54] Detected [cl:0:0]: [Cypress 0] using phatk2 (rating 3)
[05/17/2012 02:10:59] [Cypress 1] Finding inner ELF...
[05/17/2012 02:10:59] [Cypress 1] Patching inner ELF...
[05/17/2012 02:10:59] [Cypress 1] Patching instructions...
[05/17/2012 02:10:59] [Cypress 1] BFI-patched 472 instructions...
[05/17/2012 02:10:59] [Cypress 1] Patch complete, returning to kernel...
[05/17/2012 02:10:59] [Cypress 1] Applied BFI_INT patch
[05/17/2012 02:11:00] Detected [cl:0:1]: [Cypress 1] using phatk2 (rating 3)
[05/17/2012 02:11:04] [Cypress 2] Finding inner ELF...
[05/17/2012 02:11:04] [Cypress 2] Patching inner ELF...
[05/17/2012 02:11:04] [Cypress 2] Patching instructions...
[05/17/2012 02:11:04] [Cypress 2] BFI-patched 472 instructions...
[05/17/2012 02:11:04] [Cypress 2] Patch complete, returning to kernel...
[05/17/2012 02:11:04] [Cypress 2] Applied BFI_INT patch
[05/17/2012 02:11:05] Detected [cl:0:2]: [Cypress 2] using phatk2 (rating 3)
[05/17/2012 02:11:10] [Cypress 3] Finding inner ELF...
[05/17/2012 02:11:10] [Cypress 3] Patching inner ELF...
[05/17/2012 02:11:10] [Cypress 3] Patching instructions...
[05/17/2012 02:11:10] [Cypress 3] BFI-patched 472 instructions...
[05/17/2012 02:11:10] [Cypress 3] Patch complete, returning to kernel...
[05/17/2012 02:11:10] [Cypress 3] Applied BFI_INT patch
[05/17/2012 02:11:10] Detected [cl:0:3]: [Cypress 3] using phatk2 (rating 3)
[05/17/2012 02:11:15] [Cypress 4] Finding inner ELF...
[05/17/2012 02:11:15] [Cypress 4] Patching inner ELF...
[05/17/2012 02:11:15] [Cypress 4] Patching instructions...
[05/17/2012 02:11:15] [Cypress 4] BFI-patched 472 instructions...
[05/17/2012 02:11:15] [Cypress 4] Patch complete, returning to kernel...
[05/17/2012 02:11:15] [Cypress 4] Applied BFI_INT patch
[05/17/2012 02:11:15] Detected [cl:0:4]: [Cypress 4] using phatk2 (rating 3)
[05/17/2012 02:11:20] [Cypress 5] Finding inner ELF...
[05/17/2012 02:11:20] [Cypress 5] Patching inner ELF...
[05/17/2012 02:11:20] [Cypress 5] Patching instructions...
[05/17/2012 02:11:20] [Cypress 5] BFI-patched 472 instructions...
[05/17/2012 02:11:20] [Cypress 5] Patch complete, returning to kernel...
[05/17/2012 02:11:20] [Cypress 5] Applied BFI_INT patch
[05/17/2012 02:11:20] Detected [cl:0:5]: [Cypress 5] using phatk2 (rating 3)
[05/17/2012 02:11:21] Connected to server
[05/17/2012 02:11:21] Server gave new work; passing to WorkQueue
[05/17/2012 02:11:21] New block (WorkQueue)
[05/17/2012 02:11:25] Reject reason: stale-prevblk
[05/17/2012 02:11:25] [Cypress 2] Result 000000008d6906f6... REJECTED
[05/17/2012 02:11:26] Reject reason: stale-prevblk
[05/17/2012 02:11:26] [Cypress 4] Result 0000000073f93bc3... REJECTED
[05/17/2012 02:11:27] Reject reason: stale-prevblk
[05/17/2012 02:11:27] [Cypress 5] Result 000000006f5a7374... REJECTED
[05/17/2012 02:11:28] Reject reason: stale-prevblk
[05/17/2012 02:11:28] [Cypress 3] Result 0000000052adef0a... REJECTED
[05/17/2012 02:11:28] Reject reason: stale-prevblk
[05/17/2012 02:11:28] [GPU 0] Result 000000002de2daef... REJECTED
[05/17/2012 02:11:35] Reject reason: stale-prevblk
[05/17/2012 02:11:35] [Cypress 1] Result 000000005145b520... REJECTED
[05/17/2012 02:11:36] LP: New work pushed
[05/17/2012 02:11:36] Server gave new work; passing to WorkQueue
[05/17/2012 02:11:36] New block (WorkQueue)
[05/17/2012 02:11:46] [Cypress 4] Result 00000000427db873... ACCEPTED
[05/17/2012 02:11:47] [GPU 0] Result 000000005a2d4b8a... ACCEPTED
[05/17/2012 02:11:51] [Cypress 5] Result 000000002905fd9e... ACCEPTED
[05/17/2012 02:11:55] [Cypress 5] Result 00000000e27265fc... ACCEPTED
[05/17/2012 02:11:56] [GPU 0] Result 00000000f79c5e37... ACCEPTED
[05/17/2012 02:11:56] [Cypress 3] Result 00000000aaba5c23... ACCEPTED
[05/17/2012 02:11:59] [GPU 0] Result 000000004d28c239... ACCEPTED
[05/17/2012 02:12:00] [Cypress 4] Result 00000000a35c9192... ACCEPTED
[05/17/2012 02:12:01] [Cypress 1] Result 000000000cea89ad... ACCEPTED
[05/17/2012 02:12:04] [GPU 0] Result 000000008700fb72... ACCEPTED
[05/17/2012 02:12:04] [Cypress 5] Result 00000000b7f1eacb... ACCEPTED
[05/17/2012 02:12:08] [GPU 0] Result 00000000d6305354... ACCEPTED
[05/17/2012 02:12:10] [Cypress 5] Result 00000000c5fd3719... ACCEPTED
[05/17/2012 02:12:12] [Cypress 3] Result 00000000fd61f43a... ACCEPTED
[05/17/2012 02:12:13] [Cypress 3] Result 0000000029e7d011... ACCEPTED
[05/17/2012 02:12:14] [Cypress 4] Result 0000000092487d67... ACCEPTED
[05/17/2012 02:12:14] [Cypress 2] Result 000000005c909db8... ACCEPTED
[05/17/2012 02:12:17] [GPU 0] Result 000000001b7637b8... ACCEPTED
[05/17/2012 02:12:20] [GPU 0] Result 0000000009a292a5... ACCEPTED
[05/17/2012 02:12:20] [GPU 0] Result 00000000ce414e5c... ACCEPTED
[05/17/2012 02:12:23] [Cypress 2] Result 000000000440a1ff... ACCEPTED
[05/17/2012 02:12:24] [Cypress 2] Result 00000000f46f9e62... ACCEPTED
[05/17/2012 02:12:28] [Cypress 5] Result 00000000d4307c2c... ACCEPTED
[05/17/2012 02:12:28] [Cypress 2] Result 000000005f373b95... ACCEPTED
[05/17/2012 02:12:31] [GPU 0] Result 00000000264055b1... ACCEPTED
[05/17/2012 02:12:31] Server gave new work; passing to WorkQueue
[05/17/2012 02:12:35] [Cypress 3] Result 000000004853cf08... ACCEPTED
[05/17/2012 02:12:36] [GPU 0] Result 00000000a9fc90b4... ACCEPTED
[05/17/2012 02:12:37] [Cypress 3] Result 0000000036ff8a19... ACCEPTED
[05/17/2012 02:12:38] Disconnected from server
[05/17/2012 02:14:29] Welcome to Phoenix v2.0.0
[05/17/2012 02:14:34] [GPU 0] Finding inner ELF...
[05/17/2012 02:14:34] [GPU 0] Patching inner ELF...
[05/17/2012 02:14:34] [GPU 0] Patching instructions...
[05/17/2012 02:14:34] [GPU 0] BFI-patched 472 instructions...
[05/17/2012 02:14:34] [GPU 0] Patch complete, returning to kernel...
[05/17/2012 02:14:34] [GPU 0] Applied BFI_INT patch
[05/17/2012 02:14:34] Detected [cl:0:0]: [Cypress 0] using phatk2 (rating 3)
[05/17/2012 02:14:39] [Cypress 1] Finding inner ELF...
[05/17/2012 02:14:39] [Cypress 1] Patching inner ELF...
[05/17/2012 02:14:39] [Cypress 1] Patching instructions...
[05/17/2012 02:14:39] [Cypress 1] BFI-patched 472 instructions...
[05/17/2012 02:14:39] [Cypress 1] Patch complete, returning to kernel...
[05/17/2012 02:14:39] [Cypress 1] Applied BFI_INT patch
[05/17/2012 02:14:40] Detected [cl:0:1]: [Cypress 1] using phatk2 (rating 3)
[05/17/2012 02:14:44] [Cypress 2] Finding inner ELF...
[05/17/2012 02:14:44] [Cypress 2] Patching inner ELF...
[05/17/2012 02:14:44] [Cypress 2] Patching instructions...
[05/17/2012 02:14:44] [Cypress 2] BFI-patched 472 instructions...
[05/17/2012 02:14:44] [Cypress 2] Patch complete, returning to kernel...
[05/17/2012 02:14:44] [Cypress 2] Applied BFI_INT patch
[05/17/2012 02:14:45] Detected [cl:0:2]: [Cypress 2] using phatk2 (rating 3)
[05/17/2012 02:14:50] [Cypress 3] Finding inner ELF...
[05/17/2012 02:14:50] [Cypress 3] Patching inner ELF...
[05/17/2012 02:14:50] [Cypress 3] Patching instructions...
[05/17/2012 02:14:50] [Cypress 3] BFI-patched 472 instructions...
[05/17/2012 02:14:50] [Cypress 3] Patch complete, returning to kernel...
[05/17/2012 02:14:50] [Cypress 3] Applied BFI_INT patch
[05/17/2012 02:14:50] Detected [cl:0:3]: [Cypress 3] using phatk2 (rating 3)
[05/17/2012 02:14:55] [Cypress 4] Finding inner ELF...
[05/17/2012 02:14:55] [Cypress 4] Patching inner ELF...
[05/17/2012 02:14:55] [Cypress 4] Patching instructions...
[05/17/2012 02:14:55] [Cypress 4] BFI-patched 472 instructions...
[05/17/2012 02:14:55] [Cypress 4] Patch complete, returning to kernel...
[05/17/2012 02:14:55] [Cypress 4] Applied BFI_INT patch
[05/17/2012 02:14:55] Detected [cl:0:4]: [Cypress 4] using phatk2 (rating 3)
[05/17/2012 02:15:00] [Cypress 5] Finding inner ELF...
[05/17/2012 02:15:00] [Cypress 5] Patching inner ELF...
[05/17/2012 02:15:00] [Cypress 5] Patching instructions...
[05/17/2012 02:15:00] [Cypress 5] BFI-patched 472 instructions...
[05/17/2012 02:15:00] [Cypress 5] Patch complete, returning to kernel...
[05/17/2012 02:15:00] [Cypress 5] Applied BFI_INT patch
[05/17/2012 02:15:01] Detected [cl:0:5]: [Cypress 5] using phatk2 (rating 3)
[05/17/2012 02:15:01] Connected to server
[05/17/2012 02:15:01] Server gave new work; passing to WorkQueue
[05/17/2012 02:15:01] New block (WorkQueue)
[05/17/2012 02:15:06] [Cypress 5] Result 000000006d3dcc56... ACCEPTED
[05/17/2012 02:15:06] [GPU 0] Result 000000008d0463f8... ACCEPTED
[05/17/2012 02:15:08] [Cypress 1] Result 00000000618759c1... ACCEPTED
[05/17/2012 02:15:10] [Cypress 1] Result 00000000c01651cb... ACCEPTED
[05/17/2012 02:15:11] [GPU 0] Result 000000004be1efa0... ACCEPTED
[05/17/2012 02:15:11] [GPU 0] Result 0000000016784368... ACCEPTED
[05/17/2012 02:15:12] [Cypress 3] Result 00000000bbb2a918... ACCEPTED
[05/17/2012 02:15:13] [Cypress 2] Result 000000007a16880b... ACCEPTED
[05/17/2012 02:15:15] [Cypress 1] Result 0000000023da045a... ACCEPTED
[05/17/2012 02:15:17] [Cypress 3] Result 000000002d022b46... ACCEPTED
[05/17/2012 02:15:19] [GPU 0] Result 000000004c07b64f... ACCEPTED
[05/17/2012 02:15:20] [Cypress 3] Result 00000000aa1e3d47... ACCEPTED
[05/17/2012 02:15:22] [GPU 0] Result 000000006f3fa005... ACCEPTED
[05/17/2012 02:15:23] [GPU 0] Result 00000000c9dc0cb2... ACCEPTED
[05/17/2012 02:15:24] [GPU 0] Result 000000006a8b1572... ACCEPTED
[05/17/2012 02:15:28] [Cypress 2] Result 000000002c66ced2... ACCEPTED
[05/17/2012 02:15:29] [Cypress 2] Result 00000000a929b94d... ACCEPTED
[05/17/2012 02:15:31] [Cypress 5] Result 000000009c5751ea... ACCEPTED
[05/17/2012 02:15:32] [GPU 0] Result 000000006258a234... ACCEPTED
[05/17/2012 02:15:34] [Cypress 2] Result 00000000092021c8... ACCEPTED
[05/17/2012 02:15:37] [Cypress 4] Result 0000000072818232... ACCEPTED
[05/17/2012 02:15:38] [Cypress 3] Result 000000006a99a639... ACCEPTED
[05/17/2012 02:15:39] [Cypress 2] Result 00000000a778e27d... ACCEPTED
[05/17/2012 02:15:42] Disconnected from server
legendary
Activity: 1344
Merit: 1004
May 17, 2012, 02:01:06 AM
#41
I know, it can be hard to with "recovering" a failed device compared to other more robust miners like CGMiner, but thats something you just have to live with. I have a 6 card rig that I check once a day, and I just check to see if all 6 cards have submitted anything recently; if not, I note the missing GPU, flash a BIOS with slightly changed clocks, reboot, and good to go another day.

If for whatever reason I need to run 2 different instances of phoenix, I make 2 seperate folders. Also, you really only need to declare arguments that are relevant. If you are manually setting things, you dont need autoconfigure or autodetect. I find that whatever I haven't set compared to your cfg just doesnt need to be defined or changed.

edit: i realized I may have not answered your original question. I don't experience any hash rate drops or misplaced shares or anything like that on my gaming PC (2 cards, 1 is dedicated, running a separate instance for each GPU). Hashrates are as expected for each card and don't seem to "merge" into a different card at random like you describe.

fakeedit2: You mention "creating multiple backends to allow for seperate workers" and "run multiple instances of phoenix 2". Isn't that the same thing?

Code:
[general]
verbose = True
backend = http://1CxcPP8FVktppy4PHTYJKnZFqQeyZ3jArb:[email protected]:8337

[cl:1:1]
name = GPU 2 810 5870
kernel = phatk2
AGGRESSION = 12
VECTORS = true
BFI_INT = true
WORKSIZE = 128

[cl:1:2]
name = GPU 6 880 5870
kernel = phatk2
AGGRESSION = 12
VECTORS = true
BFI_INT = true
WORKSIZE = 128

[cl:1:3]
name = GPU 5 760 5830
kernel = phatk2
AGGRESSION = 12
VECTORS = true
BFI_INT = true
WORKSIZE = 128

[cl:1:4]
name = GPU 4 780 5830
kernel = phatk2
AGGRESSION = 12
VECTORS = true
BFI_INT = true
WORKSIZE = 128

[cl:1:5]
name = GPU 1 715 5830
kernel = phatk2
AGGRESSION = 12
VECTORS = true
BFI_INT = true
WORKSIZE = 128

[cl:1:6]
name = GPU 3 1015 6770
kernel = phatk2
AGGRESSION = 12
VECTORS = true
BFI_INT = true
WORKSIZE = 128

[web]
disable = true
full member
Activity: 150
Merit: 100
May 17, 2012, 01:13:33 AM
#40
My understanding is that creating multiple backends to allow for separate workers for each of my GPUs is not supported.  One would need to run multiple instances of Phoenix2, each with their own config file.

I created the separate config files and ran multiple instances of Phoenix2.  It worked in general.  However, I had something strange happen.  To make this clear, suppose I had just two instances of Phoenix2, called instance "A" and instance "B".  Some of the shares from instance "A" were being counted by instance "B" but  instance "A" was not counted some of its own shares.  So, the hash rate in instance "B" was abnormally high and the hash rate of instance "A" was abnormally low.

I had 6 different instances of Phoenix2 running on one rig.  Here's the config file from the first two.  The other config files were similar to the below two except that the appropriate changes were for different workers in the backend line.  Also, I changed the logfile line, [cl:0:#], and name as needed.

Code:
#!/usr/bin/env phoenix

[general]
    autodetect = +cl -cpu #Use autodetect for all OpenCL devices, except those which are CPUs.
    verbose = True #Enable verbose logging?
    backend = http://***:***@us3.eclipsemc.com:8337 #The primary backend.
    backups = http://***:***@us2.eclipsemc.com:8337 http://***:***@us.ozco.in:8332 http://***:***@deepbit.net:8332 #A space seperated list of backup servers.
    failback = 600 #Seconds between attempts to reconnect to primary backend when using backups. (0 to disable)
    queuesize = 1 #Target/maximum size of the queue
    queuedelay = 5 #Seconds before work expires to request more work (WARNING: don't change this unless you know what you are doing!)
    statusinterval = 1 #Seconds between statusbar updates
    ratesamples = 10 #Number of samples to average for hashrate reporting
    logfile = 0-phoenix_logfile #Set this option to log to a file.

[cl:0:0]
    autoconfigure = False #Automatically configure this device?
    kernel = phatk2 #The kernel to use for the device
    name = GPU 0 #The name to display the device as (default is device ID if not specified)
    start_undetected = False #Do not start the kernel if the device is not present
    disabled = False #Disable this device?
    worksize = 256 #Work group size, tweaking this option may improve performance
    vectors = True #Use unit2 vectors? (enable this or vectors4, not both)
    vectors4 = False #Use uint4 vectors? (enable this or vectors, not both)
    bfi_int = True #Use BFI_INT instruction on ATI VLIW GPUs?
    goffset = True #Use OpenCL 1.1 global offset?
    fastloop = False #Use fast internal loop? (ideal for low aggression)
    aggression = 11 #Number of nonces to test per kernel execution (lower value = less desktop lag, higher value = higher hashrate)

Code:
#!/usr/bin/env phoenix

[general]
    autodetect = +cl -cpu #Use autodetect for all OpenCL devices, except those which are CPUs.
    verbose = True #Enable verbose logging?
    backend = http://***:***@us3.eclipsemc.com:8337 #The primary backend.
    backups = http://***:***@us2.eclipsemc.com:8337 http://***:***@us.ozco.in:8332 http://***:***@deepbit.net:8332 #A space seperated list of backup servers.
    failback = 600 #Seconds between attempts to reconnect to primary backend when using backups. (0 to disable)
    queuesize = 1 #Target/maximum size of the queue
    queuedelay = 5 #Seconds before work expires to request more work (WARNING: don't change this unless you know what you are doing!)
    statusinterval = 1 #Seconds between statusbar updates
    ratesamples = 10 #Number of samples to average for hashrate reporting
    logfile = 1-phoenix_logfile #Set this option to log to a file.
[cl:0:1]
    autoconfigure = False #Automatically configure this device?
    kernel = phatk2 #The kernel to use for the device
    name = GPU 1 #The name to display the device as (default is device ID if not specified)
    start_undetected = False #Do not start the kernel if the device is not present
    disabled = False #Disable this device?
    worksize = 256 #Work group size, tweaking this option may improve performance
    vectors = True #Use unit2 vectors? (enable this or vectors4, not both)
    vectors4 = False #Use uint4 vectors? (enable this or vectors, not both)
    bfi_int = True #Use BFI_INT instruction on ATI VLIW GPUs?
    goffset = True #Use OpenCL 1.1 global offset?
    fastloop = False #Use fast internal loop? (ideal for low aggression)
    aggression = 11 #Number of nonces to test per kernel execution (lower value = less desktop lag, higher value = higher hashrate)

Is there something wrong in the config file?  There seems to be some "cross-talk" between the different instances of Phoenix2.  If you want further proof, I can replicate the situation and post the log file (assuming it happens again). 

Regarding the auto-detect, is it necessary for each instance of Phoenix2 to go through auto-detecting all 6 OpenCL devices, patching, etc. in my rig?  Is there a way to have it only detect the OpenCL device that will be used in that instance?

For now, I'm running all 6 OpenCL devices on a single backend.  It works, but it makes it difficult to detect a failed device.
sr. member
Activity: 476
Merit: 250
Keep it Simple. Every Bit Matters.
May 15, 2012, 03:14:30 PM
#39
After more playing around. Think I've grasped what these settings do.

Setup [cl:0:0] and [cl:0:1]. Separate settings for each graphics card. *duh* moment there I know.

Now I'm using the right settings to a specific card, changing over to vectors4, bfi_int and workload 256, made a big increase.

I'm still not sure what I'm doing but my mhash/s is going up, so i'm not complaining.
sr. member
Activity: 476
Merit: 250
Keep it Simple. Every Bit Matters.
May 15, 2012, 11:26:01 AM
#38
Just want to start off by saying overall I found phoenix has worked quite well.
I've not truly grasped how to use it to it's fullest.

My settings are below.

Quote
[general]
    autodetect = +cl -cpu
    verbose = Enable
    backend = #Removed
    backups = #Removed
    failback = 600
    queuesize = 1
    queuedelay = 5
    statusinterval = 1
    ratesamples = 10
    logfile = False
[web]
    disabled = False
    bind = 192.168.1.2
    port = 7780
    password = phoenix
    root = C:\phoenix2\phoenix2\www
    logbuffer = 1000

[cl:1:1]
    autoconfigure = False
    kernel = phatk2
    name = GPU 0
    start_undetected = False
    disabled = False
    worksize = 128
    vectors = True
    vectors4 = False
    bfi_int = False
    goffset = True
    fastloop = True
    aggression = 1

I average 65-70 Mhash most the time. However I have no idea what a few of these parts really do:

[cl:1:1] - This part seems to give higher results than for example using 0:0. No idea just know it does.
Vectors - Didn't seem to find much difference changing this.
Worksize - A small number seemed to work okay for these low end graphics cards in my laptop
Aggression - I work on this laptop all day, so 1 is realistically the only option.
Kernel - As I understand it, there is opencl and phatk2, phatk2 showed minor improvements.

The rest I don't understand at all. Any advice?
legendary
Activity: 1540
Merit: 1001
May 08, 2012, 01:34:11 PM
#37
I just switched to 2.0.  Took a bit to get working.. the docs need some improvement IMHO.  It'd be nice if the output gave some info too, such as what GPUs were accepted, and current hashrate.  I intend to look at the RPC calls to see if there's a way to check these remotely, as the log file doesn't help me, and every time I VNC to it, everything slows down.

I had the problem you had for a bit.  Then I put this back in the global settings:

Code:
autodetect = +cl -cpu #Use autodetect for all OpenCL devices, except those which are CPUs.

Then, voila, it started submitting work.


What can cause this error? I just fresh installed my win7 on an x79 chipset board and 3930K CPU, same radeon 5870 though.
this is my cfg.
Code:
[general]
backend = http://1CxcPP8FVktppy4PHTYJKnZFqQeyZ3jArb:[email protected]:8337

[cl:1:1]
kernel = phatk2
AGGRESSION = 5
VECTORS = true
BFI_INT = true
WORKSIZE = 128

[web]
disable = true

this is the error.


there are definately kernels in my plugins folder, I just download it fresh and it still wont work. help?
sr. member
Activity: 446
Merit: 250
May 08, 2012, 11:48:15 AM
#36
I have a feeling that it would be helpful to copy the "Getting started" information from the beta thread to the first post of this thread.

That would be great.
full member
Activity: 150
Merit: 100
May 08, 2012, 10:32:29 AM
#35
I have a feeling that it would be helpful to copy the "Getting started" information from the beta thread to the first post of this thread.
legendary
Activity: 1344
Merit: 1004
May 07, 2012, 05:59:48 AM
#34
I'm getting a weird problem that I've never seen before. I haven't changed any drivers or sdk or anything, it just started happening out of the blue.

Someone thought it might have something to do with bip16 or something to do with local block detection (?) and cgminer had this problem at some point?
I really dont know, i'm just posting what someone else though. Can I get a fix please? I'm mining on eligius.
The miner continues to submit "shares", but they are all rejected with the reject reason: stale-prevblk. when another LP hits, it doesnt spam anymore and it submits valid shares
legendary
Activity: 1344
Merit: 1004
April 23, 2012, 08:50:51 PM
#33
I'm having the same problem as ssateneth. Failed to load plugins. Fresh install and plugin folder is there. ssateneth was your issue ever resolved?

EDIT: Sorry, I missed that "ran repair of SDK 2.6". Can you give me more info on this? I'm not sure what you are saying. You didn't have to install SDK 2.6 right?

When you install a driver package from AMD, it normally extracts by default to C:\AMD\Support\. Navigate inside that folder, and go to Packages\Apps\OpenCL64 (Might be just OpenCL if you are on 32bit OS). Run the .msi within. It should be self explanatory from there.

And yes I have 2.6 SDK and 2.1 SDK installed, but I only use 2.1 SDK. 2.6 is just there to allow detecting opencl at all in certain situations.
full member
Activity: 219
Merit: 120
April 23, 2012, 08:19:43 PM
#32
Is there any documentation about how to use the JSON RPC?

See doc/rpc.txt:
https://github.com/phoenix2/phoenix/blob/master/doc/rpc.txt
hero member
Activity: 518
Merit: 500
April 23, 2012, 11:15:58 AM
#31
Is there any documentation about how to use the JSON RPC?
member
Activity: 98
Merit: 13
April 23, 2012, 11:03:39 AM
#30
I'm having the same problem as ssateneth. Failed to load plugins. Fresh install and plugin folder is there. ssateneth was your issue ever resolved?

EDIT: Sorry, I missed that "ran repair of SDK 2.6". Can you give me more info on this? I'm not sure what you are saying. You didn't have to install SDK 2.6 right?
legendary
Activity: 1001
Merit: 1005
April 23, 2012, 01:43:20 AM
#29

Quote
serj@serj-desktop-2:~/mining/phoenix$ ./setup.py
Traceback (most recent call last):
  File "./setup.py", line 3, in
    from setuptools import setup, find_packages
ImportError: No module named setuptools
What doest it means?
newbie
Activity: 51
Merit: 0
April 12, 2012, 06:06:33 PM
#28
Yes, I forgot my .cfg Smiley

Code:
[general]
autodetect = +cl -cpu -cuda
verbose = True
backend = http://XXX:[email protected]:15098
backups = http://XXX:[email protected]:8332
failback = 300
queuesize = 1
queuedelay = 5
statusinterval = 1
ratesamples = 10
logfile = log

[cl:0:0]
autoconfigure = False
kernel = phatk2
name = 5830_1
start_undetected = False
disabled = False
WORKSIZE = 256
VECTORS = true
VECTORS4 = false
BFI_INT = true
fastloop = false
AGGRESSION = 14
goffset = true

[cl:0:1]
autoconfigure = False
kernel = phatk2
name = 5830_2
start_undetected = False
disabled = False
WORKSIZE = 256
VECTORS = true
VECTORS4 = false
BFI_INT = true
fastloop = false
AGGRESSION = 14
goffset = true

[cl:0:2]
autoconfigure = False
kernel = phatk2
name = 5830_3
start_undetected = False
disabled = False
WORKSIZE = 256
VECTORS = true
VECTORS4 = false
BFI_INT = true
fastloop = false
AGGRESSION = 14
goffset = true

Phoenix2 w/o any modifications.
I've tried 11.12+2.5, but had problems with one of the rigs (thank you, restore point Smiley )
All 5 rigs are dedicated, all miners has affinity to core 0, and cpu is downclocked/volted => cpu bug is not problem.
In my home I have 6970 and the connection with bitparking is rock solid, as you say.
That means problem with router/switch/isp, but poclbm works well with bitparking & btcguild... but gives ~2% less.
I changed the switch, router is cisco, isp is... there is no other isps Shocked

And last - Prop, score, PPLNS and other pps pools is closed book. For now Smiley
Maybe phoenix and bitparking not love one another.

However, I launch two windows with phoenix2 - one for bitparking with AGG 14 and one for btcguild with AGG 7 and fastloop.
Not so elegance, but works Smiley
Pages:
Jump to: