What is this?

Answered

This info is new, it sometimes pops up when debugging and covers up parts of a dialog/buttons. How can I disable it?

 

 

Thanks

Peter

0
8 comments

The panel in your screenshot is the Metal Performance HUD, a macOS developer overlay. It is not part of IntelliJ IDEA. The IDE draws its windows with Metal, so when the HUD is turned on for the IDE process, macOS draws it on top of every IDE window, dialogs and popups included. The fields in your screenshot (device, resolution, Composited, Game Mode, FPS, GPU, Frame Interval) match Apple's description of the HUD.

Check these in Terminal, then restart the IDE:

  1. Run launchctl getenv MTL_HUD_ENABLED. If it prints 1, run /bin/launchctl unsetenv MTL_HUD_ENABLED.
  2. Run defaults read -g | grep -i hud. If it lists a key such as MetalForceHudEnabled, remove it with defaults delete -g <key name>.
  3. If you start the IDE from a terminal, look for MTL_HUD_ENABLED in ~/.zshrc or ~/.zprofile and remove that line.
  4. If you installed a menu bar app that toggles the Metal HUD, turn the HUD off in that app.

To narrow it down, please also tell me:

  1. When exactly the HUD appears: which action or window (for example, a breakpoint hit, Evaluate Expression, a specific dialog).
  2. Whether it appears only in IntelliJ IDEA windows, or also in other applications, including the window of the application you debug.

If the HUD is still there after the restart, include the output of the two commands from steps 1 and 2.

0

1. launchctl getenv MTL_HUD_ENABLED returns 0

2. defaults read -g | grep -i hud returns no key

3. MTL_HUD_ENABLED is not configured in any bash/zsh profile

4. No menu bar app that toggles the Metal HUD

The Metal HUD appears in IntelliJ only when I start a debugging session (Shift-F9) for the second time.

It only appears in the IntelliJ IDE - not in other applications.

I think Metal HUD started when I updated to IntelliJ EAP 2026.3. I reverted to IntelliJ 2026.2 (via Toolbox) but Metal HUD does not disappear.

0

 

Please run these in Terminal while the HUD is visible:

  1. defaults find MetalHud and defaults find MetalForceHud
  2. ps eww -p $(pgrep -f "Contents/MacOS/idea" | head -1) | tr ' ' '\n' | grep MTL_

Also, when the HUD is on, macOS adds a Metal HUD menu to the menu bar. Check if you see that menu while IntelliJ IDEA is active.

This output can contain paths and other details from your Mac so we can create a private support request at https://intellij-support.jetbrains.com/hc/en-us/requests/new with the output, the menu bar result, and a link to this thread. We’ll continue the investigation there.

IntelliJ IDEA has no setting or registry key for the HUD. The one IDE-side option is the rendering pipeline: the HUD attaches only to Metal windows, so the IDE on OpenGL does not show it. To use that as a workaround:

  1. Open Help | Edit Custom VM Options….
  2. Add the line -Dsun.java2d.metal=false.
  3. Restart the IDE.
0

Hi Abhishek - thanks for pointing me in the right direction.

I noticed that the Metal HUD menu item appeared in IntelliJ when I typed Shift-F9 which was also assigend to the Run→Debug action. I re-assigned another shortcut to the Run→Debug action and the HUD menu does not appear anymore when I start debugging.

Now I can toggle the Metal HUD menu item in IntelliJ via Shift-F9 - but I cannot find where the shortcut is configured. I also cannot find any plugin that might be associated with HUD. It does not seem to be a global MacOS keyboard shortcut because it works only in IntelliJ.

I am using the -Dsun.java2d.metal=false workaround for now - which is fine.

Thanks

0
Thanks for testing the Debug shortcut change. Based on your test and other macOS reports, Shift+F9 is a macOS shortcut for the Metal Performance HUD, not an IntelliJ IDEA shortcut. That is why no keymap entry or plugin shows it. macOS applies it in applications that render with Metal, and IntelliJ IDEA renders with Metal, so the HUD toggles only there.

The Eclipse keymap binds **Debug** to Shift+Alt+D and Shift+F9, so each debug start also toggled the HUD. Keeping **Debug** on another shortcut is the fix. If the HUD appears again, press Shift+F9 to hide it.

The `-Dsun.java2d.metal=false` option is no longer required. Apple deprecated OpenGL on macOS, so you can remove the line in **Help | Edit Custom VM Options…** and restart the IDE to return to Metal rendering. Keep the line only if the HUD must never appear.
0

Hi Abhishek Sah - thanks for the explanation.

So the mentioned Eclipse behaviour is exactly what I experienced with IntelliJ.

When I used Shift-F9 for debugging, the session started right away. Now that I use a different shortcut, I get prompted by a small option dialog where I have to choose a Run/Debug configuration. Is there a way to bypass the dialog? I could not find anything under ‘Modify Options‘→’Before Launch’ to disable it.

Thanks 

 

0

The popup comes from the Debug… action (with the dots, which is choose and debug config), which asks for a configuration first. Shift+F9 was probably on Debug, which starts the selected configuration directly. The new shortcut is most likely on Debug….

  1. Open the IDE settings and select Keymap.
  2. Search for Debug.
  3. Remove the shortcut from Debug… and add it to Debug.
0

Oh no - I confused Debug… with Debug, thanks for the hint. Everything is fine now.

0

Please sign in to leave a comment.