Same issue with Mac Mini 2012 with HDMI on a Huion 1080 tablet on HDMI and BenQ QHD monitor miniDP to DP.
i.e. Intermittent loss of signal to the BenQ through miniDP.
I wasn't sure if it was a BenQ problem or a Mac/Apple problem.
Followed this user's suggestion below:
https://www.symphonious.net/2017/01/09/benq-gw2765-monitor-display-port-no-signal-detected/#:~:text=The%20solution%20turns%20out%20to,off%20with%20it's%20power%20button.
When this happens, this user's solution is to
unplug the power to the monitor.
You then must
wait for 5-10 seconds so that the power light symbol on the monitor turns off.
This enables the monitor to reset its power.
Then
replug the power cable again for the monitor.
Now the signal should be detected by the monitor (from the mac into the monitor).
Currently, I am doing the following:
1) have a power bar with a switch on it, to avoid physically having to keep connecting and disconnecting the power cable at the monitor.
2) flip this switch whenever shutting down the computer so no power is going to the monitor. And then when wanting to use the computer, flip the switch to power up the monitor.
Seems to work so far reliably.
Doing so, I boot with the BenQ and then after logging into MacOS I turn on the Huion tablet on HDMI.
Seems things might be dicey with sleep modes, so for now will be turning off auto sleep / power save on monitor and MacOS and manually turn off the monitor(s) when not using.