小渔分享

小渔分享

youtube
bilibili
zhihu

【Article】Macmini M4 External Monitor (2K, 3K) Enable HiDPi

macmin

  1. Open the terminal in macOS
    截屏 2024-12-11_00.34.49

    After entering this command, press the Enter key.

    bash -c "$(curl -fsSL https://raw.githubusercontent.com/xzhih/one-key-hidpi/master/hidpi.sh]]"
    

    If you see curl: (28) Failed to connect..., we cannot install via command, so we can install by downloading the installation package.

  2. Download the installation package

  3. After downloading, unzip and install,

    • Double-click hidpi.command

      截屏 2025-05-11_00.10.32

    • If it shows unable to open, go to Mac's settings → Privacy & Security → Open Anyway.

      截屏 2025-05-11_00.20.22

    • Installation

      • Enter 1, press the Enter key

        截屏 2025-05-11_00.26.06

      • Enter 3, press the Enter key, and input the Mac startup password.

        截屏 2025-05-11_00.30.03

      • Here, choose the refresh rate of your monitor. Since I am using a 2K monitor, I chose the fourth option. If you see [Process Completed], it means the installation was successful.

        截屏 2025-05-11_00.32.53

  4. Restart the Mac.

  5. Compare before and after installation, open settings → Resolution. The left side shows the settings before installation, and the right side shows the settings after installation. Choose a suitable one on the right; I am using 1680x945 (HIDPI), which looks more comfortable overall.

    截屏 2025-05-11_00.39.22

    Problem: Unable to find the monitor, automatically exits?#

截屏 2025-06-28 13.30.30

Here I record the reason:

The problematic options were as follows (unfortunately, I did not take a screenshot when the issue occurred):

Resolution had only two options: 1920 x 1080, 1280 x 720

Color profile: display

Refresh rate: 60 Hz, 50 Hz

Below is a screenshot after fixing the issue:

截屏 2025-06-30 16.25.39

I connected the Mac mini M4 to the display using an HDMI cable, and the monitor accidentally lost power. When I restarted the monitor, this issue appeared.

I suspected it was a problem with the HiDPI installation package and struggled for a long time without resolving it.

Finally, I unplugged the HDMI cable from the monitor and plugged it back in, and miraculously, it returned to normal.

I seriously suspect that there might be an issue with the HDMI cable. The HDMI cable was purchased online and claimed to support 8k, but the connector feels loose and seems to have poor contact.

I tried to reproduce this issue again by repeatedly unplugging and plugging the HDMI cable, but the issue did not occur again.

61efcec5de3f272dbf488fed14910cd4

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.