Bitcoin Forum
June 24, 2024, 10:56:28 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: [OS] nvOC easy-to-use Linux Nvidia Mining v0019-1.4 on: January 20, 2018, 05:12:05 PM
Forgive me if this was mentioned in the thread already (I couldn't find it) - but I put together a quick checklist for upgrading Claymore revisions for the latest nvOC_19:

Claymore Updates:
[ ]Download linux version of claymore update and unzip tar
[ ]Rename claymore folder to just version number as follows: 10.5 is 10_5
[ ]Upload to appropriate path using sftp client like filezilla (for nvOC_19 it's ~\eth\10_5)
[ ]Copy epools.txt and dpools.txt from pre-existing claymore folder into new path
[ ]Edit 1bash by replacing old version number with new (10_0 to 10_5): sudo nano ~/1bash
[ ]Grant permissions to new claymore dir: chmod -R 777 ~/eth/10_5
[ ]Restart OS: sudo shutdown -r now
[ ]Grep for new total speed - curl http://0.0.0.0:3333 | grep "ETH - Total Speed:"


And a script that I partially stole and modified for tweaking GPU on the fly:

export DISPLAY=:0
for i in {0..5} # Replace range with number of cards you have
do
for x in {3..3}
    do
    nvidia-settings  -a [gpu:${i}]/GPUGraphicsClockOffset[${x}]=10 # CORE_OVERCLOCK (MAXIMUM tested 175 with 1070)
    nvidia-settings  -a [gpu:${i}]/GPUMemoryTransferRateOffset[${x}]=1200 # MEMORY_OVERCLOCK(MAXIMUM tested 1500 with 1070)
done
done
sudo nvidia-smi -pl 100 #POWERLIMIT

2  Alternate cryptocurrencies / Mining (Altcoins) / Re: [OS] rxOC easy-to-use Linux AMD Mining v0012 on: August 23, 2017, 06:39:19 AM
I still need to mess around with the direct amd api commands. In my experience so far; the current amd api is absolute rubbish for the exact reason you are describing above.  AMD has announced they are making a new mining driver and api, hopefully it is as good as nvidia's.  I will look into making the current amd api OC better (it has to be possible as it can be done by the windows OC applications) probably after I finish nvOC v0019 and translate as many of the v0019 features to rxOC as possible.

Thank you for the quick response and sanity-check.

I've had to abandon my late night trouble-shooting due to other affairs, but I'll be back to continue in a few weeks. In case you're curious, I left off attempting a clean Ubuntu desktop install (kernel 4.10.5) with AMDGPU-Pro 16.60 drivers. Also found it surprising that wolfamdctrl binary was so difficult to obtain - however, managed to pluck v1.2 from a "simple" OS as was trying that next as well...

Anyway - appreciate all your efforts into this distro. I'll certainly let you know if I come across anything substantial before you figure it out yourself.
3  Alternate cryptocurrencies / Mining (Altcoins) / Re: [OS] rxOC easy-to-use Linux AMD Mining v0012 on: August 22, 2017, 05:36:04 AM
Hi fullzero and all.

Really...REALLY like the NvOC OS for my nVidia cards - using v17 without any hiccups for over a month now.

However, trying to spin up a 12-rig tb250-btc pro rig at the moment using rxOC v0012 and finding that I'm completely incapable of lowering the power consumption of the GPUs.

How can I verify that the MEMORY_OVERCLOCK_LEVEL and __CORE_OVERCLOCK_LEVEL parameters are actually doing what they're supposed to? The rocm-smi utility shows that the lower levels aren't being utilized properly...I'm either at the lowest level or highest, depending on the PERFORMANCE_LEVEL variable alone. So...sadly, it seems I can't get a middle ground.

No issues with these same cards (mix of RX580 Nitro+ and Pulse) within Windows.

Did some digging around with other mining OS and found that two of the big ones use wolfamdctrl to modify core-state and mem-state as well, but I haven't had any luck with that utility, either. The only values I seem to be able to change between rocm-smi and wolfamdctrl are the Fan speeds, memclock/core-clock, and overall Performance Level. Also, modifying the pp_tables directly by using 'echo manual > /sys/class/drm/card*/device/power_dpm_force_performance_level" and similar shows that nothing sticks.

All the work is being done under root - so I know it's not permission. It's almost as if something is overwriting every change I'm making, although nothing is jumping out at me...

Any ideas?

Here's an easy to see example of what I'm talking about:
root@bad:/home/m1# echo "manual" > /sys/class/drm/card0/device/power_dpm_force_performance_level
root@bad:/home/m1# more /sys/class/drm/card0/device/power_dpm_force_performance_level
auto

4  Bitcoin / Hardware / Arduino powered temperature dependent fan controller (PWM) on: June 30, 2017, 05:33:13 AM
Just wanted to share for those that might be interested - didn't see something like this in my immediate searches...

Code is beta...working excellent so far, though.

https://www.youtube.com/watch?v=Ff-VO6j2OTM


Supplies:

Any Arduino with PWM output and Analog input
Thermistor
Resistor that matches thermistor resistance value (100 Ohm in this example)
Fan with PWM input (PFC1212DE)

Thermistor reading dictates fan speed.

Code:
// Measured thermistor and received 80k at 80 degrees, so guessed it's a 100k
// Voltage divider resistor was then selected as 100k ohm
// (Ground) ---- (10k-Resistor) -------|------- (Thermistor) ---- (+5v)
//                                     |
//                                Analog Pin 0

int ThermistorPin = 0;
int Vo;
float R1 = 10000;
float logR2, R2, T;
float c1 = 1.009249522e-03, c2 = 2.378405444e-04, c3 = 2.019202697e-07;
int PWMpin=3;
int x=3500; // Initial X value. Higher value decreases total fan speed, lower increases.
int y=0;
void setup() {
Serial.begin(9600);
}

void loop() {

  Vo = analogRead(ThermistorPin);
  R2 = R1 * (1023.0 / (float)Vo - 1.0);
  logR2 = log(R2);
  T = (1.0 / (c1 + c2*logR2 + c3*logR2*logR2*logR2));
  T = T - 273.15;
  T = (T * 9.0)/ 5.0 + 32.0;

  Serial.print("Temperature: ");
  Serial.print(T);
  Serial.println(" F");

// Trial and error settings to drive a PFC1212DE-F00 FAN using PWM Pin 3 from Arduino
// Fan is wired to power source
// Arduino shares ground with GND from fan power source
// Arduino PWMpin connects to yellow PWM pin from fan

for(y = 0; y < 2500; y++) { // Temperature sampling rate, 2500 is about 10 second sample

digitalWrite(PWMpin, HIGH);
delayMicroseconds(x);
digitalWrite(PWMpin, LOW);
delayMicroseconds(4000-x); // Total PWM time 4000 microseconds - X value

if (T>=60 && T<=69){
 x=3950;
} else if (T>=70 && T<=79){
 x=3700;
} else if (T>=80 && T<=89){
 x=3500;
} else if (T>=90 && T<=99){
 x=2000;
} else if (T>=100){
 x=10;
}
}

}
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!