I don’t know. Maybe you can tweak transcode profiles or check in vlc configs for hardware acceleration. Do you use the same version in windows and linux?
Another question: when using ubuntu, the source file is on a ntfs partition?
Yes the same version and yes ntfs partition. The ntfs partition could be the problem here.