I have been using VLC on Linux for about 8 years, and I always get screen glitches (mostly grey screen with huge pixel chunks, that last for about ~5 seconds, or until the scene shown on screen changes) whenever the file bitrate is too high and the video is very active (as in, there is action happeing, or in the worse case, the scene is panning view). I always thought that it was just something I have to accept when using VLC on Linux but today, I saw the "Inputs / Codec > File Cache" setting, and saw that the default cache of 300 milliseconds worth of data is on the small side, so I tried increasing it (tried 10 seconds or 10000 milliseconds) and to my surprise, the problem is fixed! This proves that the 300 milliseconds cache is too small (so when the scene suddenly becomes active, the bitrate also increases, so the cache is depleted early, but when VLC requests from more data from hard disk (I don't have an SSD), the hard disk can't give data in a short time so VLC glitches. Also, another proof that disk cache is the problem is that my CPU is far from 100% (just around 25%) while playing even 1080p H265 (HEVC) 10-bit videos, so it's definitely not a CPU issue. The only thing I had to do is increase the file cache to a reasonable amount (10 seconds works fine to me, but I didn't try finding the lower value that doesn't glitch. 10 seconds works, and I'll just leave it at that.) 8 years of keeping up with screen glitches, only because the file cache is too small.
I highly suggest changing the default file cache size to more than 300 milliseconds--I suggest 5 to 10 seconds. Let's avoid having someone else waiting 8 years before he/she realizes the fix to the problem.