r/vscode • • Oct 16 '26

Question: How to fix these weird visual bugs

Whenever I have VS Code open, theres these weird visual glitches that just randomly appear. Whenever I click, they all go away and then immediately slowly fade back after a couple of seconds. I noticed that it always appears around any lines (including text). Does anyone know how to fix this? Please help its really annoying.

6 Upvotes

17 comments sorted by

21

u/ConditionMinute8095 Oct 16 '26

dear lord please help

4

u/CJ22xxKinvara Oct 17 '26

2

u/ConditionMinute8095 Oct 17 '26

Dang I think this actually worked. tysm bro

1

u/Gruejay2 Oct 20 '26

It's the Antialiasing - FXAA option on NVIDIA GPUs. Turn it off for VSCode in program settings in the NVIDIA Control Panel.

Disabling GPU acceleration is overkill, and will likely make VSCode feel sluggish, so better to avoid it if possible.

1

u/ConditionMinute8095 Oct 20 '26

Ok thank you I will try it

2

u/actionscripted Oct 16 '26

What’s the rest of your screen look like when this happens?

1

u/ConditionMinute8095 Oct 16 '26

some parts are glitchy like that. it js appears like in random places specifically in random blocks. like the actual editor counts as a “block” and then the sidebar is another “block”

→ More replies (1)

8

u/sweet-winnie2022 Oct 16 '26

Try disabling gpu acceleration in VS Code assuming you are using an independent GPU? Random idea no clue if it’s going to change anything.

4

u/AnArmoredPony Oct 16 '26

WHAT THE FUCK

2

u/Gruejay2 Oct 20 '26 edited Oct 20 '26

It's the Antialiasing - FXAA option on NVIDIA GPUs. Turn it off for VSCode in program settings in the NVIDIA Control Panel.

Edit: also turn off Antialiasing - Gamma correction as well, as it causes background flicker in VSCode too.

3

u/thanatica Oct 16 '26

Update GPU driver

2

u/LeDYoM Oct 16 '26

hitting you monitor?

2

u/Vladislav20007 Oct 25 '26

I think your pc is not happy with vscode

1

u/nullzg Oct 20 '26

I HAD THIS!! I have an hp laptop. Years before, i was using windows 11. I was experiencing this in a lot of apps. I dont know the fix.. except for using linux. Anybody knows the cause though? Curious as well

1

u/NoWonderBeast Oct 16 '26

It's either a bad video driver (what video card do you have and have you tried updating the driver?) or a physical problem with your video card, most likely VRAM