Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 667. (Read 5805728 times)

legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
...
I tried with "cgminer web monitor", but it tells me that my VGAs are offline.
...
What options did you use to run cgminer?
You of course need --api-listen before anything will work.
You need --api-network if the monitoring tool is on a different computer or if the monitoring tool doesn't allow 127.0.0.1 when it is on the same computer

Edit: I'm thinking of adding --api-allow IP[/N],IP2[/N2]...
not sure about deprecating --api-network - but probably easiest to just leave it (unless ckolivas has a preference about that)

i used both options, and this: https://bitcointalksearch.org/topic/cgminer-web-monitor-beta-v08-58834

that one did not work.

Then with the same options, anubis worked.
Then the problem is probably with the web monitor software since anubis works
(if anubis didn't work then I'd say it's your network/settings)
legendary
Activity: 1795
Merit: 1208
This is not OK.
I'm getting an unholy amount of discarded work and a fare amount of rejects... where should I start looking to fix/improve this?
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
Debugging requires:
-D --verbose -T
as the README file says...
[2012-02-07 07:49:21] Started cgminer 2.2.3                    
...
[2012-02-07 07:49:21] CompilerOptions: -D WORKSIZE=64 -D VECTORS4 -D BITALIGN -D BFI_INT                    
[2012-02-07 07:49:21] Error: Building Program (clBuildProgram)                    
[2012-02-07 07:49:21]                    
[2012-02-07 07:49:21] Failed to init GPU thread 0, disabling device 0                    
...

cgminer crashed
Says the same thing Tongue
I'd guess that you didn't install it correctly and
 phatk120203.cl  and/or poclbm120203.cl
are missing.
newbie
Activity: 78
Merit: 0
...
I tried with "cgminer web monitor", but it tells me that my VGAs are offline.
...
What options did you use to run cgminer?
You of course need --api-listen before anything will work.
You need --api-network if the monitoring tool is on a different computer or if the monitoring tool doesn't allow 127.0.0.1 when it is on the same computer

Edit: I'm thinking of adding --api-allow IP[/N],IP2[/N2]...
not sure about deprecating --api-network - but probably easiest to just leave it (unless ckolivas has a preference about that)

i used both options, and this: https://bitcointalksearch.org/topic/cgminer-web-monitor-beta-v08-58834

that one did not work.

Then with the same options, anubis worked.
legendary
Activity: 1876
Merit: 1000

let me show you a snap shot from my anubis console of one of the 4 rigs I have with 5870s each.



I apologize if this is linked somewhere else in this massive thread, but is that interface/summary/scripts opensource/linkable/etc?


did you search the forums for the word 'anubis ' ?
sr. member
Activity: 467
Merit: 250

let me show you a snap shot from my anubis console of one of the 4 rigs I have with 5870s each.



I apologize if this is linked somewhere else in this massive thread, but is that interface/summary/scripts opensource/linkable/etc?
member
Activity: 77
Merit: 10
Debugging requires:
-D --verbose -T
as the README file says...
[2012-02-07 07:49:21] Started cgminer 2.2.3                    
[2012-02-07 07:49:21] CL Platform 0 vendor: Advanced Micro Devices, Inc.                    
[2012-02-07 07:49:21] CL Platform 0 name: AMD Accelerated Parallel Processing                    
[2012-02-07 07:49:21] CL Platform 0 version: OpenCL 1.1 AMD-APP (898.1)                    
[2012-02-07 07:49:21] Platform 0 devices: 1                    
[2012-02-07 07:49:21] Testing pool http://127.0.0.1:8332                    
[2012-02-07 07:49:21] Popping work to stage thread                    
[2012-02-07 07:49:21] Popping work to work thread                    
[2012-02-07 07:49:21] Successfully retrieved and deciphered work from pool 0 http://127.0.0.1:8332                    
[2012-02-07 07:49:21] Pushing pooltest work to base pool                    
[2012-02-07 07:49:21] Pool 0 http://127.0.0.1:8332 active                    
[2012-02-07 07:49:21] Pushing ping to longpoll thread                    
[2012-02-07 07:49:21] Pushing work to getwork[20 1q2u-e0u2e- 0 7   0 7 : 4 9 : 2 1 ]   P u s h i n g
 ping to thread 0                    
[2012-02-07 07:49:21] Popping work to stage th[r2e0a1d2 - 0 2 - 0 7   0 7 : 4 9 : 2 1 ]   I n i
t GPU thread 0 GPU 0 virtual GPU 0                    
[2012-02-07 07:49:21] CL Platform vendor: Advanced Micro Devices, Inc.                    
[2012-02-07 07:49:21] CL Platform name: AMD Accelerated Parallel Processing                    
[2012-02-07 07:49:21] CL Platform version: OpenCL 1.1 AMD-APP (898.1)                    
[2012-02-07 07:49:21] List of devices:                    
[2012-02-07 07:49:[2210]1 2N-o0 2l-o0n7g -0p7o:l4l9 :f2o1u]n d    0o   nC yapnrye spso o l   s e r v e r                      
        
[2012-02-07 07:49:21] Selected 0: Cypress                    
[2012-02-07 07:49:21] Preferred vector width reported 4                    
[2012-02-07 07:49:21] Max work group size reported 256                    
[2012-02-07 07:49:21] No binary found, generating from source                    
[2012-02-07 07:49:21] Setting worksize to 64                    
[2012-02-07 07:49:21] Patched source to suit 4 vectors                    
[2012-02-07 07:49:21] cl_amd_media_ops found, setting BITALIGN                    
[2012-02-07 07:49:21] BFI_INT patch requiring device found, patched source with BFI_INT                    
[2012-02-07 07:49:21] CompilerOptions: -D WORKSIZE=64 -D VECTORS4 -D BITALIGN -D BFI_INT                    
[2012-02-07 07:49:21] Error: Building Program (clBuildProgram)                    
[2012-02-07 07:49:21]                    
[2012-02-07 07:49:21] Failed to init GPU thread 0, disabling device 0                    
[2012-02-07 07:49:21] Restarting the GPU from the menu will not fix this.                    
[2012-02-07 07:49:21] Try restarting cgminer.                    
[2012-02-07 07:49:21] Init GPU thread 1 GPU 0 virtual GPU 0                    
[2012-02-07 07:49:21] CL Platform vendor: Advanced Micro Devices, Inc.                    
[2012-02-07 07:49:21] CL Platform name: AMD Accelerated Parallel Processing                    
[2012-02-07 07:49:21] CL Platform version: OpenCL 1.1 AMD-APP (898.1)                    
[2012-02-07 07:49:21] List of devices:                    
[2012-02-07 07:49:21]    0   Cypress                    
[2012-02-07 07:49:21] Selected 0: Cypress                    
[2012-02-07 07:49:21] Preferred vector width reported 4                    
[2012-02-07 07:49:21] Max work group size reported 256                    
[2012-02-07 07:49:21] No binary found, generating from source                    
[2012-02-07 07:49:21] Setting worksize to 64                    
[2012-02-07 07:49:21] Patched source to suit 4 vectors                    
[2012-02-07 07:49:21] cl_amd_media_ops found, setting BITALIGN                    
[2012-02-07 07:49:21] BFI_INT patch requiring device found, patched source with BFI_INT                    
[2012-02-07 07:49:21] CompilerOptions: -D WORKSIZE=64 -D VECTORS4 -D BITALIGN -D BFI_INT                    
[2012-02-07 07:49:21] Error: Building Program

cgminer crashed
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Debugging requires:
-D --verbose -T
as the README file says...
member
Activity: 77
Merit: 10
Presuming (on windows) you ran a previous version and it worked and the new version doesn't ...

The output of use would be "cgminer -n" and "cgminer -D -T ..." (where ... are the other options you normally use)
[2012-02-07 07:12:29] Started cgminer 2.2.3                   
[2012-02-07 07:12:29] CL Platform 0 vendor: Advanced Micro Devices, Inc.                   
[2012-02-07 07:12:29] CL Platform 0 name: AMD Accelerated Parallel Processing                   
[2012-02-07 07:12:29] CL Platform 0 version: OpenCL 1.1 AMD-APP (898.1)                   
[2012-02-07 07:12:29] Platform 0 devices: 1                   
[2012-02-07 07:12:29] Testing pool http://127.0.0.1:8332                   
[2012-02-07 07:12:29] Popping work to stage thread                   
[2012-02-07 07:12:29] Popping work to work thread                   
[2012-02-07 07:12:29] Successfully retrieved and deciphered work from pool 0 http://127.0.0.1:8332                   
[2012-02-07 07:12:29] Pushing pooltest work to base pool                   
[2012-02-07 07:12:29] Pool 0 http://127.0.0.1:8332 active                   
[2012-02-07 07:12:29] Pushing ping to longpoll thread                   
[2012-02-07 07:12:29] Pushing work to getwork [2que0u1e2 - 0 2 - 0 7   0 7 : 1 2 : 2 9 ]   P u s
hing ping to thread 0                   
[2012-02-07 07:12:29] Popping work to stage thre[a2d0 1 2 - 0 2 - 0 7   0 7 : 1 2 : 2 9 ]   I
nit GPU thread 0 GPU 0 virtual GPU 0                   
[2012-02-07 07:12:29] CL Platform vendor: Advanced Micro Devices, Inc.                   
[2012-02-07 07:12:29] CL Platform name: AMD Accelerated Parallel Processing                   
[2012-02-07 07:12:29] CL Platform version: OpenCL 1.1 AMD-APP (898.1)                   
[2012-02-07 07:12:29] List of devices:                   
[2012-02-07 07:12:[2290]1 2N-o0 2l-o0n7g -0p7o:l1l2 :f2o9u]n d    0o   nC yapnrye spso o l   s e r v e r                     
         
[2012-02-07 07:12:29] Selected 0: Cypress                   
[2012-02-07 07:12:29] Preferred vector width reported 4                   
[2012-02-07 07:12:29] Max work group size reported 256                   
[2012-02-07 07:12:29] No binary found, generating from source                   
[2012-02-07 07:12:29] Setting worksize to 64                   
[2012-02-07 07:12:29] Patched source to suit 4 vectors                   
[2012-02-07 07:12:29] cl_amd_media_ops found, setting BITALIGN                   
[2012-02-07 07:12:29] BFI_INT patch requiring device found, patched source with BFI_INT                   
[2012-02-07 07:12:29] CompilerOptions: -D WORKSIZE=64 -D VECTORS4 -D BITALIGN -D BFI_INT                   
[2012-02-07 07:12:29] Error: Building Program (clBuildProgram)                   
[2012-02-07 07:12:29]                     
[2012-02-07 07:12:29] Failed to init GPU thread 0, disabling device 0                   
[2012-02-07 07:12:29] Restarting the GPU from the menu will not fix this.                   
[2012-02-07 07:12:29] Try restarting cgminer.                   
[2012-02-07 07:12:29] Init GPU thread 1 GPU 0 virtual GPU 0                   
[2012-02-07 07:12:29] CL Platform vendor: Advanced Micro Devices, Inc.                   
[2012-02-07 07:12:29] CL Platform name: AMD Accelerated Parallel Processing                   
[2012-02-07 07:12:29] CL Platform version: OpenCL 1.1 AMD-APP (898.1)                   
[2012-02-07 07:12:29] List of devices:                   
[2012-02-07 07:12:29]    0   Cypress                   
[2012-02-07 07:12:29] Selected 0: Cypress                   
[2012-02-07 07:12:29] Preferred vector width reported 4                   
[2012-02-07 07:12:29] Max work group size reported 256                   
[2012-02-07 07:12:29] No binary found, generating from source                   
[2012-02-07 07:12:29] Setting worksize to 64                   
[2012-02-07 07:12:29] Patched source to suit 4 vectors                   
[2012-02-07 07:12:29] cl_amd_media_ops found, setting BITALIGN                   
[2012-02-07 07:12:29] BFI_INT patch requiring device found, patched source with BFI_INT                   
[2012-02-07 07:12:29] CompilerOptions: -D WORKSIZE=64 -D VECTORS4 -D BITALIGN -D BFI_INT                   
[2012-02-07 07:12:29] Error: Building Program
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Which flags do I have to use to get the best out of my 7970?
cgminer is currently not performing that well yet on 7970. The best you'll get is likely to be with -g 3 -I 9 and no other flags. It defaults to -v 1 -w 256 -k poclbm when it detects a 7970.
hero member
Activity: 1162
Merit: 500
Which flags do I have to use to get the best out of my 7970?
hero member
Activity: 742
Merit: 500
Edit: I'm thinking of adding --api-allow IP[/N],IP2[/N2]...
not sure about deprecating --api-network - but probably easiest to just leave it (unless ckolivas has a preference about that)
I think, as a general rule of thumb, it should be possible for any network service to accept connections from any IP, making it possible to restrict this is good, but IMHO --api-network shouldn't be deprecated unless --api-allow will accept *[/*].  While this won't likely ever affect me, it would affect anyone that wants to monitor rigs in a datacenter from a home computer with a dynamic IP, especially one where the ISP forces IP changes daily or more frequently.
Then I guess next would be to add security also Tongue
Meh, I've written security stuff in Java (it's there already) but never C, I guess I should read up ... but then windows appears in the middle of it all and makes you wanna run screaming from the room ...

ssh tunnels are nice and easy Smiley

Anyway - yes I think I'd prefer to leave --api-network and add --api-allow as a second option.
(/me adds it to the list of things I should get done)
I think the flags work well as they are.  Theres firewalls and hosts.allow for limiting access, so I don't see any reason to add it to cgminer.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
Edit: I'm thinking of adding --api-allow IP[/N],IP2[/N2]...
not sure about deprecating --api-network - but probably easiest to just leave it (unless ckolivas has a preference about that)
I think, as a general rule of thumb, it should be possible for any network service to accept connections from any IP, making it possible to restrict this is good, but IMHO --api-network shouldn't be deprecated unless --api-allow will accept *[/*].  While this won't likely ever affect me, it would affect anyone that wants to monitor rigs in a datacenter from a home computer with a dynamic IP, especially one where the ISP forces IP changes daily or more frequently.
Then I guess next would be to add security also Tongue
Meh, I've written security stuff in Java (it's there already) but never C, I guess I should read up ... but then windows appears in the middle of it all and makes you wanna run screaming from the room ...

ssh tunnels are nice and easy Smiley

Anyway - yes I think I'd prefer to leave --api-network and add --api-allow as a second option.
(/me adds it to the list of things I should get done)
hero member
Activity: 807
Merit: 500
Edit: I'm thinking of adding --api-allow IP[/N],IP2[/N2]...
not sure about deprecating --api-network - but probably easiest to just leave it (unless ckolivas has a preference about that)
I think, as a general rule of thumb, it should be possible for any network service to accept connections from any IP, making it possible to restrict this is good, but IMHO --api-network shouldn't be deprecated unless --api-allow will accept *[/*].  While this won't likely ever affect me, it would affect anyone that wants to monitor rigs in a datacenter from a home computer with a dynamic IP, especially one where the ISP forces IP changes daily or more frequently.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
...
I tried with "cgminer web monitor", but it tells me that my VGAs are offline.
...
What options did you use to run cgminer?
You of course need --api-listen before anything will work.
You need --api-network if the monitoring tool is on a different computer or if the monitoring tool doesn't allow 127.0.0.1 when it is on the same computer

Edit: I'm thinking of adding --api-allow IP[/N],IP2[/N2]...
not sure about deprecating --api-network - but probably easiest to just leave it (unless ckolivas has a preference about that)
hero member
Activity: 742
Merit: 500
Thanks for the tweaks for p2pool!
full member
Activity: 373
Merit: 100
lrzuntar cgminer-2.2.3-x86_64-built.tar.lrz
Output filename is: ./cgminer-2.2.3-x86_64-built.tar...Decompressing...
Attempting to work with file produced by newer lrzip version 0.6 file.
Decompressing...Unexpected initial tag 1 in streams
Failed to open_stream_in in runzip_chunk
No such file or directory
Fatal error - exiting

You don't think the highlighted bit could be part of your problem?
Jump to: