I am using emacs for editing. The problem is that it is giving me a lot of artifacts on the screen. Like the cursor movement leave black marks all over the screen. Cursor is sometimes not visible after movement. If I use highlighting current line then it also leaves artifacts.

Please help.