Green Flickering on Black Pixels - Macbook Pro 2011 (Auto Graphic Switching)
Solution 1:
This is related to the AMD Radeon discrete graphics card. It is a hardware issue.
I noticed it come up when plugging in an external monitor on my 2011 MacBook Pro 15" (as it forces the discrete graphics to be used at that time).
The only band-aid fix I was able to find was to force the use of the Intel integrated graphics over the AMD Radeon graphics card. I found a handy utility called GfxCardStatus to both show you what graphics card is in use, and also toggle the use of the Intel integrated graphics card. The utility is available at http://gfx.io
Unfortunately for me in my case, you can't use the integrated graphics card with an external display attached. But at least it gets rid of the green dots in some cases.
Solution 2:
My machine: 2017 2.9 GHz Quad-Core Intel Core i7 Macbook Pro 15" 16gb 1TB Radeon Pro 560 4 GB, Intel HD Graphics 630 1536 MB; macOS Catalina 10.15.6
Ok I had this exact issue but it was with blue artifacts instead of green. I used your clues to solve the problem!
I noticed my issue was recent after a ICC color calibration with an X-Rite i1Display on my integrated Color LCD screen. I recalibrated two times and it eventually went away. Then it returned. I found this thread and used the gfx.io utility to control the current graphics card being used. I found the artifacting only showed up when the integrated Intel 630 was used. And I finally realized the issue was the ICC profile must be corrupt as I could literally switch between integrated and Radeon and the artifacts toggled with switching. Maybe it was calibrated while the switching was active and the profiles became corrupt, I'll never know.
So to fix, I used the gfx.io app to switch to Intel HD 630 graphics, then recalibrated the color ICC profile with i1Display Profiler software. The resulting new profile had no artifacting or corruption in display. Then tested the new ICC profile by switching between both Intel and Radeon cards, and no issues!
Hope this helps! Thought my graphics chip was going bad.