AVX for Windows Vista (build 6003) (Patreon)
Downloads
Content
This is an extensive patch to Windows Vista's NTOSKRNL (build 6003 - earlier kernel versions may not have enough room for the patch) which allows for AVX and AVX2 instructions to run without emulation on supported CPUs (AMD FX and up, as well as Intel 2nd gen Core and Xeon CPUs and up). Driver Signing Enforcement/Code Integrity must be disabled to use it.But even with those disabled, Windows still runs highly-privileged scheduled tasks that detect new drivers installed on the system and automatically disable them if unsigned. It does not disable them again once re-enabled, but to simplify the installation process and avoid a second reboot to realize the AVX support, the script will force a reboot within three seconds of completion. Make sure to save your work before running the script.I could also add the option of creating a boot menu with a second entry using the original, unpatched kernel, but I do not know what users would prefer, as the menu would slow down boot times and require the user to make additional key presses. The patcher contains many safeguards that should prevent a "bad" patch from occurring, including detection of kernels that cannot fit the patch.I have been testing this patch for over two months on systems with thousands of threads running simultaneously. The system is as stable as before the patch was added and it was able to run applications that did not run before, including AVX-optimized versions of llama.cpp, Counter-Strike 2 and more.Updated on 2026-10-19 (at 1318 UTC-4) to resolve an issue with the kernel patching that only presented itself on newer CPUs (including Ryzens).