MacBook Pro 2023 screen flickering
Good Evening community. I have a 2023 MacBook Pro M2, and for some time now, every time I go to Settings and then to Display, or when I access the Control Center and then Screen Mirroring, or when I try to use the Handoff or AirPlay controls while connected to Wi-Fi, the screen starts flickering, showing dotted horizontal lines in a grayish color. I've done a clean format, booted in safe mode, run Apple's diagnostic tests, ensured all updates are current, and unpaired all external devices. As additional information, it seems like the screen is trying to connect to a non-existent external device, apparently this happens after logging in with iCloud. Here a video:
https://youtube.com/shorts/KpqaNi2gaIQ?feature=share
MacBook Pro 16″, macOS 15.1