macOS GPU Fan spins wildly

Some PCIe GPU fans spin uncontrollably on macOS computers, and it is very annoying to hear these fans’ buzzing. My computer is built with a Radeon RX 570 and sometimes has the above fan issue, especially after booting.

I searched the internet and found a tricky solution (source) that to install a benchmark software called LuxMark. After opening this software and running for a few seconds, the graphics card fan will magically return to the normal speed.

Continue reading

Compile OpenCV 4 with Qt 5 for Python 3 and C++ on macOS High Sierra 10.13

This tutorial provides step-by-step instructions to compile OpenCV 4 with Qt 5 for Python 3 and C++ on macOS High Sierra 10.13. For the latest macOS version, I think you can install OpenCV from Homebrew directly. I wrote this tutorial on Dec. 2020 and the High Sierra is a previous macOS system and installing OpenCV directly from Homebrew will fail so I have to compile it manually.

Continue reading