So I updated my Ubuntu to 20.04 and many small squares with random pixel colors often appear on my desktop background. They are not glued to my screen though; they only appear on desktop. I've attached a screenshot.
What can I do?
PS: This has never happened on Windows, so I guess it must be OS-related.
Workaround: Restarting Gnome with Alt+F2 and then entering r solves the problem but only until the next restart.
Update: I changed the driver to NVIDIA's driver and still no luck. Some other random pixels are now on the background. And they remained there even after I changed the driver back to X.Org X server. And one other thing, those pixels go away when I change the background, but they come back the next time Ubuntu starts. Also, changing the background and changing it back to the same one returns the pixels too. It's somehow attached to that specific photo. Plus, Ubuntu is using my Intel graphics card by default, so I don't know if NVIDIA is the problem.
Temporary solution: I changed the desktop environment to Ubuntu on Wayland (you could do that from the login screen using the little tiny settings button if you reading this are also a noob like me :D) and it's fixed for now. I saw some stuff on the Internet that it uses more power, but for now I'll stick with it until I find a solution for the default DE. Will post if I find anything.
Removing the
xserver-xorg-video-intel
package viaworked for me.
Source: Comment #16 on this bug.