Terminal not updated with metal rendering forced-disabled after disconnecting from 5K display on M1 Mac (Big Sur 11.1)
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.4.3
- OS version: macOS Big Sur 11.1 (applied the 5K display recognition update)
- com.googlecode.iterm2.plist
Detailed steps to reproduce the problem:
- Open a new terminal window on M1 Mac (in my case, MacBook Air) with GPU rendering enabled.
- Connect an external display; here mine is an LG 5K UltraFine Display.
- Maximize the terminal window to the full screen mode (occupying a separate space). Everything works fine.
- Disconnect the external display. The terminal rendering is no longer properly updated (see below).
What happened: The contents of the terminal window is not updated unless I resize the window. It seems that the window resizing only updates the terminal "one frame", and the "Capture GPU Frame" entry in the iTerm's main menu gets disabled. The terminal itself accepts all inputs and the terminal programs continue to run.
What should have happened: The GPU rendering should be kept enabled and the terminal should be rendered and updated normally, even after disconnection of the external display. I know that sometimes iTerm misses the screen resize events in the full screen mode and restoring to the windowed-mode and switching back the the full-screen mode finally notifies the terminal about the new screen size. But even in that case, the terminal rendering updates are done properly.