Showing posts with label i5. Show all posts
Showing posts with label i5. Show all posts

Tuesday, April 23, 2024

part 1:clean rust install

Note:

If you need rustc and cargo to learn rust you might not need rustup.  However it is required for most projects.   So follow this.

Install Rust (macos)

 curl –proto ‘=https’ –tlsv1.2 -sSf https://sh.rustup.rs | sh

 

The install (see above) is as easy as the official site (https://www.rust-lang.org/tools/install) says.   So why don't I like it?

Well I know I would have to:

  1. examine the script and try to figure out what it was doing
  2. write a note to myself about some directory paths
  3. review above note to uninstall 
  4. leave behind a bunch of left over files

Instructions

macport is the package manager I use.

download and install macports from macports.org

A how to for homebrew users.

You don't need xcode but you will need the tools.  Launch terminal and enter these commands:

xcode-select --install

sudo port install rust
sudo port install cargo

 

cd /opt/local/bin 

./rustc --version
rustc 1.77.1 (7cf61ebde 2024-03-27) (built from a source tarball)
 

Success you have installed rust!

macos 12.7 Monterey macbook pro 2.7 GHz Core i5 (I5-5257U)

Part 2: rustup; why


Saturday, July 11, 2015

Handbrake sudden shutdown: Solved!


Handbrake shuts down machine

My i5-460M laptop running handbrake 0.9.9 - 0.10.2 suddenly shuts down.

I had the temperature monitor up one day and noticed that the temp. quickly went from 49*C to 100*C, the fans become very noisy and then shuts down the machine.

Used cpulimit but encode goes down to around 20 fps if I want to keep the temps down below 90*C.

The fan goes into high speed mode and even though I vacuumed the vents didn't make much of a difference.  I wonder if the heat sink has come off the cpu.

I will try older version of handbrake or maybe limit thread=1.

Note:  The BIOS is doing the thermal shutdown (which is good) before damage to cpu occurs.