Is it possible to reset the HDMI refresh rate via Terminal?

While setting up a 2018 Mac mini (Sonoma), in Display Settings I inadvertently set the HDMI refresh rate to 30Hz. My display does not support 30Hz and the screen went black. The Mac did not automatically revert to 60Hz, and hitting the ESC key did nothing. (This is a Sony Bravia 1080p TV.)


All I could do was power off the Mac mini via the power button.


Now, when I boot the Mac mini, the startup Apple logo & progress bars appear, but then the screen goes black again and the TV displays this message - "Unsupported signal. Check the device output." Of course, with a black screen I can't do that.


I tried each of the following but none have corrected the problem. Every time, the screen just comes up black as above.

  • Boot into Safe Mode
  • Reset NVRAM
  • Reset SMC


I *can* boot into Recovery Mode, and from there I *could* use Terminal ...


Does anyone know a command to reset whatever (hidden) setting controls the HDMI refresh rate so I can reset it to 60Hz?

iPhone 16

Posted on Mar 7, 2025 4:14 PM

Reply
8 replies
Sort By: 

Mar 7, 2025 4:48 PM in response to MartinR

Hmm... I'm surprised that the NVRAM reset didn't reset the Display settings to default.

Maybe try that again and hold the keys until it chimes two or three times.

see > Reset NVRAM on your Mac - Apple Support


If that doesn't help,

1) try a different HDMI cable

2) connect a different Display or TV to the Mac mini

3) connect a second Display or that TV to the Mac mini using a USB-C to HDMI adapter.


For some other ideas,

see > If your external display is dark or low resolution - Apple Support

and > If there’s no picture on your Mac after you change the resolution - Apple Support


Edit: for an after thought

shut off the Mac mini, turn off the TV and unplug the cable from the Mac mini,

reconnect the cable, turn on the TV and set to that cable input, then turn on the Mac mini.

Reply

Mar 7, 2025 6:44 PM in response to den.thed

Thanks for the suggestions. Nothing has worked so far - different HDMI cable, multiple NVRAM & SMC resets, multiple attempts to boot into Safe Mode, shut down & unplug everything, etc. Unfortunately I don't have another display to connect to.


I tried connecting the mini to the TV using a USB-C-to-DVI adapter + a DVI-HDMI cable and that actually works ... and it runs at 60Hz refresh (verified in System Information). But there is no option to change the refresh rate, and in any event the Mac only shows options for the currently connected display. It appears the Mac "sees" the TV as a different display when connected via the Adapter vs. directly via HDMI even though it's the same TV.


System Settings has to be storing the refresh rate somewhere. But it's not in NVRAM, I inspected NVRAM and there are no display settings there.

Reply

Mar 8, 2025 10:34 AM in response to den.thed

den.thed wrote:
Strange that one of those, did not default the refresh rate.

Do you have another Mac that is setup to access the Mac mini with screen sharing..?
If so, see if you can get into the Mac mini that way and change the refresh rate.

I was thinking of that too and will give it a try. Will let you know what happens.

Reply

Mar 8, 2025 1:20 PM in response to MartinR

MartinR wrote:
I was thinking of that too and will give it a try. Will let you know what happens.

Well, Zip-a-dee-doo-dah, zip-a-dee-ay! My, oh my, what a wonderful day. Plenty of sunshine headin' my way!


The screen sharing approach worked like a charm!


As indicated earlier, with the USB-C-to-DVI adapter & a DVI-HDMI cable the display works and runs @60Hz. I booted that way and set up Screen Sharing. Tested to make sure it worked. Then I shut down the mini & the TV, switched to the HDMI cable and rebooted the mini. Of course, the TV showed a black screen as before. But from another iMac, I was able to Screen Share to the mini, log in, open System Settings > Displays and change the Refresh Rate back to 60Hz ... and now the TV is back in operation.


Many thanks for the suggestion. I'd like to say great minds think alike ... but yours is the greater!

Reply

Is it possible to reset the HDMI refresh rate via Terminal?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.