Bitcoin Forum
May 02, 2024, 06:23:04 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 [20] 21 22 23 24 »
381  Bitcoin / Mining / Re: Cacti template for AMD GPU monitoring on: March 03, 2012, 04:39:13 AM

working perfectly now, thank you for the help..
382  Bitcoin / Mining software (miners) / Re: CGMINER GPU bitforce overclock monitor fanspeed GCN RPC linux/windows/osx 2.2.6 on: March 01, 2012, 07:01:48 PM
Here is it
http://pastebin.com/gpFDyXef

requires screen

this should be spun off into its' own thread so people don't miss this great script... I've been looking for something like this for a long while.. well done!

383  Economy / Goods / Re: [WTS] Mining Rigs 7500 mhash capable on: February 22, 2012, 09:40:53 PM
* you have PM *
384  Bitcoin / Mining / Re: Monitoring AMD GPUs with SNMP in Linux on: February 20, 2012, 04:55:21 PM
Guessing it's this line in the script:

Quote
unless ($adapter_list =~ m/^.*\d+\.\s+\d{2}:\d{2}\.\d\s+.*/) {


Yep, you nailed it. The regex doesn't work with anything other than 0-9 at the moment. I'll post an updated version that should work with your setup as soon as I get a couple minutes free.

Thank you! You've created one of what I considered the missing pieces for miners with any decent GHash rate.. I've got a couple of miners actually working in Cacti, and once this is fixed, I'll can find the remaining issues and get the others going. Looking forward to the patch.

I played with a  little. The right fix would be matching to something like [0-9a-fA-F][0-9a-fA-F] but for now I was able to change d{2} to w{2} in both places it matches, and get by.


Quote
--- gpu_snmp.pl.old     2012-02-20 09:22:31.000000000 -0800
+++ gpu_snmp.pl 2012-02-20 09:20:21.000000000 -0800
@@ -64,7 +64,7 @@
 #
 # * - Default adapter
 #
-unless ($adapter_list =~ m/^.*\d+\.\s+\d{2}:\d{2}\.\d\s+.*/) {
+unless ($adapter_list =~ m/^.*\d+\.\s+\w{2}:\d{2}\.\d\s+.*/) {
   # Bail out, we are getting an error
   die "Execution failed with:" . $adapter_list . "\nCheck that sudo and aticonfig are configured correctly.\n";
 }
@@ -73,7 +73,7 @@
 my $num_adapters = 0;
 my @adapter;
 foreach my $line (split (/\n/,$adapter_list)) {
-  if (($id,$address,$description) = $line =~ m/^.*(\d+)\.\s+(\d{2}:\d{2}\.\d)\s+(.*)/) {
+  if (($id,$address,$description) = $line =~ m/^.*(\d+)\.\s+(\w{2}:\d{2}\.\d)\s+(.*)/) {
     #print "Got \$id:$id,\$address:$address,\$description:$description\n";
     $adapter[$num_adapters]{'id'} = $id;
     $adapter[$num_adapters]{'address'} = $address;
385  Bitcoin / Mining / Re: Cacti template for AMD GPU monitoring on: February 18, 2012, 05:04:52 AM
EDIT: Ignore me working fine.. I was able to still go add the graphs and it worked.

Glad to hear it!

Feel free to share your graphs if you are willing.

Oddly I can only get graphs from 3 out of 9 machines... there's an issue with PCI ID 0a breaking the perl script (noted in your amd perl script thread) and I can't understand the others.. I may post working/notworking when I get a chance tomorrow.

------EDIT------

Kinda wondering whether we're running into a PCI-ID issue on the cacti supporting scripts/items as well.


Data from a non-working one. It shows "success, 0 items 0 rows". Won't show any cards when I go to add graphs.

Quote

Data Query Debug Information
+ Running data query [12].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/amd_gpu.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.8072.1.3.2.4.1.2.5.103.112.117.105.100'
+ No SNMP data returned
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/amd_gpu.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/amd_gpu.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/amd_gpu.xml

--------

root@stats1:~# snmpwalk -v2c -cpublic 10.4.18.22 NET-SNMP-EXTEND-MIB::nsExtendOutLine
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuid".1 = STRING: 0
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuid".2 = STRING: 1
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuid".3 = STRING: 2
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpufan".1 = STRING: 34
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpufan".2 = STRING: 72
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpufan".3 = STRING: 33
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuload".1 = STRING: 99
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuload".2 = STRING: 99
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuload".3 = STRING: 98
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gputemp".1 = STRING: 7900
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gputemp".2 = STRING: 7850
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gputemp".3 = STRING: 7750
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuclock".1 = STRING: 950
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuclock".2 = STRING: 930
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuclock".3 = STRING: 880
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuvcore".1 = STRING: 1100
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuvcore".2 = STRING: 1088
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuvcore".3 = STRING: 1088
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpumemory".1 = STRING: 300
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpumemory".2 = STRING: 300
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpumemory".3 = STRING: 1250
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuaddress".1 = STRING: 0a:00.0
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuaddress".2 = STRING: 09:00.0
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuaddress".3 = STRING: 04:00.0
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpudescription".1 = STRING: ATI Radeon HD 5800 Series
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpudescription".2 = STRING: ATI Radeon HD 5800 Series
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpudescription".3 = STRING: AMD Radeon HD 6900 Series


And a working one, showing "6 items 2 rows"


Quote
+ Running data query [12].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/amd_gpu.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.8072.1.3.2.4.1.2.5.103.112.117.105.100'
+ No SNMP data returned
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/amd_gpu.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/amd_gpu.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/amd_gpu.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/amd_gpu.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/amd_gpu.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/amd_gpu.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/amd_gpu.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/amd_gpu.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/amd_gpu.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/amd_gpu.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/amd_gpu.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/amd_gpu.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/amd_gpu.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/amd_gpu.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/amd_gpu.xml'

----------
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuid".1 = STRING: 0
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuid".2 = STRING: 1
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpufan".1 = STRING: 20
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpufan".2 = STRING: 20
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuload".1 = STRING: 99
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuload".2 = STRING: 99
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gputemp".1 = STRING: 7000
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gputemp".2 = STRING: 6700
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuclock".1 = STRING: 870
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuclock".2 = STRING: 870
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuvcore".1 = STRING: 1100
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuvcore".2 = STRING: 1100
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpumemory".1 = STRING: 1250
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpumemory".2 = STRING: 1250
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuaddress".1 = STRING: 03:00.0
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpuaddress".2 = STRING: 04:00.0
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpudescription".1 = STRING: AMD Radeon HD 6900 Series
NET-SNMP-EXTEND-MIB::nsExtendOutLine."gpudescription".2 = STRING: AMD Radeon HD 6900 Series


I suspect the errors in the cacti.log are telling me, but I need a more verbose output...

Quote
02/20/2012 03:25:02 PM - CMDPHP: Poller[0] Host[2] DS[8] WARNING: Result from SNMP not valid.  Partial Result: U
02/20/2012 03:25:04 PM - CMDPHP: Poller[0] Host[8] DS[80] WARNING: Result from SNMP not valid.  Partial Result: U
02/20/2012 03:25:08 PM - CMDPHP: Poller[0] Host[9] DS[118] WARNING: Result from CMD not valid.  Partial Result: U
02/20/2012 03:25:08 PM - CMDPHP: Poller[0] Host[9] DS[119] WARNING: Result from CMD not valid.  Partial Result: U
02/20/2012 03:25:09 PM - CMDPHP: Poller[0] Host[9] DS[120] WARNING: Result from CMD not valid.  Partial Result: U
02/20/2012 03:25:09 PM - CMDPHP: Poller[0] Host[9] DS[120] WARNING: Result from CMD not valid.  Partial Result: U


386  Bitcoin / Mining / Re: Monitoring AMD GPUs with SNMP in Linux on: February 17, 2012, 08:34:05 PM
Found a problem with the script with PCI Slot ID of "0a:00.0". Breaks on two of my miners, miner2 and miner 5:


Quote
[root@miner2 scripts]# ./gpu_snmp.pl  description
Execution failed with:* 0. 0a:00.0 ATI Radeon HD 5800 Series
  1. 09:00.0 ATI Radeon HD 5800 Series
  2. 04:00.0 AMD Radeon HD 6900 Series

* - Default adapter

Check that sudo and aticonfig are configured correctly.

[root@miner5 scripts]# ./gpu_snmp.pl  description
Execution failed with:* 0. 0a:00.0 ATI Radeon HD 5800 Series  
  1. 09:00.0 ATI Radeon HD 5800 Series  
  2. 05:00.0 ATI Radeon HD 5800 Series  
  3. 04:00.0 ATI Radeon HD 5800 Series  

* - Default adapter

Check that sudo and aticonfig are configured correctly.


Quote
[root@miner2 ~]# aticonfig --list-adapters
* 0. 0a:00.0 ATI Radeon HD 5800 Series
  1. 09:00.0 ATI Radeon HD 5800 Series
  2. 04:00.0 AMD Radeon HD 6900 Series

* - Default adapter
[root@miner2 ~]#

[root@miner5 scripts]# aticonfig --list-adapters
* 0. 0a:00.0 ATI Radeon HD 5800 Series  
  1. 09:00.0 ATI Radeon HD 5800 Series  
  2. 05:00.0 ATI Radeon HD 5800 Series  
  3. 04:00.0 ATI Radeon HD 5800 Series

Guessing it's this line in the script:

Quote
unless ($adapter_list =~ m/^.*\d+\.\s+\d{2}:\d{2}\.\d\s+.*/) {
  # Bail out, we are getting an error
  die "Execution failed with:" . $adapter_list . "\nCheck that sudo and aticonfig are configured correctly.\n";
}

Sadly, I'm not enough of a perl guru to figure out what to change..


387  Bitcoin / Mining / Re: Cacti template for AMD GPU monitoring on: February 17, 2012, 08:20:19 PM
EDIT: working for 2 of 9 boxes - grrrrr
388  Bitcoin / Mining software (miners) / Re: CGMINER GPU bitforce overclock monitor fanspeed GCN RPC linux/windows/osx 2.2.6 on: February 17, 2012, 03:57:51 PM
cgminer sets clocks all back to default on exit... if it exits cleanly, and of course on windows it's a miracle when it does.

Sadly this is not the case.

windows machine, pair of 6950's, set to 850/1300 for normal operation, in cgminer they are set to 700-880/300... when cgminer exits it leaves the cards at 880/300.

even updated to 12.1 drivers, both 2.4 and 2.6 SDK.



Is it exiting or crashing?

I run cgminer from a .bat file in windows, and when I hit the "Q" button, it gives me the 2-page summary of stats, then sits for about 3 seconds and then closes the dos window. I'm not getting any complaints from windows about it crashing/hanging/etc.

ckolivas: I know you have the impossible task of trying to make an app play nice with windows. I'm HAPPY to run any sort of debug load/options you might have to give better/more-detailed information.



389  Bitcoin / Mining software (miners) / Re: CGMINER GPU bitforce overclock monitor fanspeed GCN RPC linux/windows/osx 2.2.6 on: February 17, 2012, 02:31:16 AM
cgminer sets clocks all back to default on exit... if it exits cleanly, and of course on windows it's a miracle when it does.

Sadly this is not the case.

windows machine, pair of 6950's, set to 850/1300 for normal operation, in cgminer they are set to 700-880/300... when cgminer exits it leaves the cards at 880/300.

even updated to 12.1 drivers, both 2.4 and 2.6 SDK.

390  Bitcoin / Mining software (miners) / Re: CGMINER GPU bitforce overclock monitor fanspeed GCN RPC linux/windows/osx 2.2.6 on: February 16, 2012, 03:30:52 AM

Is there some way I'm not aware of (and I went back and re-read the latest docs) to set GPU core/RAM clocks on exit?

I can mine at a much higher clock/much lower memory, than I choose to game.. and if I forget to go back and reset it each time I close the miner, my desktop machine will hang..

I realize it's a small thing, but just wondering if there's a way to set it?

391  Economy / Services / Re: TOR Relay Project - Will Provide Tor Relay Access Node, Require Community Input on: February 15, 2012, 09:44:09 PM

Better make sure BEFORE you spend this money, that your ISP understands and supports you running a TOR node.. you will get DCMA takedowns sent on your ISP within 2-4 hours...

392  Bitcoin / Mining software (miners) / Re: ANUBIS - a CGMINER Web Frontend on: February 15, 2012, 06:42:45 AM

Not sure if you have a feature request list, but I'd put this:

-- Graphs
-- ways to explore historical information? (like, how long has that card been throttling?)
-- configurable notifications, and way to test them?

393  Bitcoin / Mining software (miners) / Re: ANUBIS - a CGMINER Web Frontend on: February 14, 2012, 11:01:35 PM
wanted to say, got this working today, nice job.. great software, appreciate sharing.. Smiley

Couple suggestions for things to add to your initial post:

Requirements:
-- needs php, php-mysql

php config :
set "short_open_tag" to "enabled" in /etc/php.ini
394  Bitcoin / Pools / Re: [1293 GH] BTC Guild - Pure PPS Merged Mining [BIP16/P2SH Support] on: February 14, 2012, 12:03:28 AM
mine3.btcguild.com:9332 (50.31.135.6 by direct IP)
mine2.btcguild.com:9332 (50.31.135.5 by direct IP)
mine1.btcguild.com:9332 (50.31.135.4 by direct IP)

Planning on leaving these DNS entries active for a while? I'll toss them in a cgminer script and set it to load balance. Any others you'd want us to add?
395  Bitcoin / Mining software (miners) / Re: CGMINER GPU bitforce overclock monitor fanspeed RPC in C linux/windows/osx 2.2.1 on: February 07, 2012, 09:03:02 PM
did you search the forums for the word 'anubis ' ?

Thanks - found it: https://bitcointalk.org/index.php?topic=57342.0

396  Bitcoin / Mining software (miners) / Re: CGMINER GPU bitforce overclock monitor fanspeed RPC in C linux/windows/osx 2.2.1 on: February 07, 2012, 05:04:15 PM

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?
397  Bitcoin / Mining software (miners) / Re: CGMINER miner overclock monitor fanspeed RPC in C linux/windows/osx 2.1.1 on: January 12, 2012, 06:38:16 PM
AMD/ATI have been a bunch of fsking morons with their drivers and the driver returns a different set of values to the ATI display library and all I can do is enumerate them in the order they appear in each library and hope they're one and the same. It usually correlates with PCI slot but even then, mobo manufacturers don't enumerate them always in order either.... sigh

The 6990 / dual GPU cards also are special cases in point and while the ADL library does give tiny hints about how they're related, I can't poke and prod around them to find what the values mean because I don't own one.

Thx for the reply.

Any chance we can get what you CAN get, added into the GPU section, based on the results of the "--list-adapters" output? Instead of:

Quote
GPU 0: 429.2 / 391.7 Mh/s | A:50595  R:120  HW:3  U:5.30/m  I:9
76.0 C  F: 38% (1566 RPM)  E: 960 MHz  M: 300 Mhz  V: 1.088V  A: 99% P: 0%

how about something like this?


Quote
GPU 0: 429.2 / 391.7 Mh/s | A:50595  R:120  HW:3  U:5.30/m  I:9
76.0 C  F: 38% (1566 RPM)  E: 960 MHz  M: 300 Mhz  V: 1.088V  A: 99% P: 0%
CT:  AMD Radeon HD 6900 Series X-ID: 0. (08:00.0)

398  Bitcoin / Mining software (miners) / Re: CGMINER miner overclock monitor fanspeed RPC in C linux/windows/osx 2.1.1 on: January 06, 2012, 04:51:29 AM
First off, LOVE cgminer, amazing, thank you.. please never stop development!!

Card order/sorting...

Is there any way to get CGMiner to indicate the card type it has assigned to "CARD 0", "CARD 1" etc, or at least check it against the "list-adapters" list?

Case in point, what the ATI driver indicates as card 0,1,2 is backwards from what CG miner chooses... has bit me more than once.

Example?

Quote
[root@miners]# DISPLAY=:0 aticonfig --list-adapters
* 0. 08:00.0 AMD Radeon HD 6900 Series
  1. 04:00.0 ATI Radeon HD 5800 Series

* - Default adapter

but cgminer has the 5800 series as GPU 0, and 6900 Series as Card 1

Quote
GPU 0: 398.9 / 392.2 Mh/s | A:371  R:0  HW:0  U:5.29/m  I:9
80.0 C  F: 42% (1801 RPM)  E: 960 MHz  M: 300 Mhz  V: 1.088V  A: 99% P: 0%

GPU 1: 364.2 / 366.1 Mh/s | A:361  R:1  HW:0  U:5.15/m  I:9
78.0 C  F: 52% (2888 RPM)  E: 900 MHz  M: 1250 Mhz  V: 1.100V  A: 99% P: 0%


(now that I'm posting this, I'm wondering whether my DISPLAY order in xorg.conf doesn't match the adapter list, order wise, and whether I could fix it that way... but it would still be nice to see cgminer identify the card matching GPU)

399  Bitcoin / Mining / Re: SOLO MINING POSTING ONLY on: October 24, 2011, 09:05:04 PM
The writing appears to be on the wall. I do not see a BTC worth more then 5 dollars USD for many moons
to come. I will not say ever.. since that is a long time ;-)

At this point I think you're better off to find a solid dependable *PPS site, set that to your primary, find another one, set it to your secondary, and then forget about it for a while..
400  Bitcoin / Pools / Re: [1337 GH/sec] BTC Guild - Major Changes Coming on: October 21, 2011, 04:30:33 PM
When is the change gonna take place?  Won't mind paying for a percentage for steady uptime.

^^^
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 [20] 21 22 23 24 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!