specs looks ok, I have a laptop with same cpu, an older intel HD card and less ram running Ubuntu 20.04 and I don't experience any lag.

For local files, configure vlc to use vaapi for hardware...