AVX512 enabling?

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
gmb
Bright Spark User
Posts: 350
Joined: Thu Mar 28, 2013 12:49 pm

AVX512 enabling?

Post by gmb »

Is it somehow possible to enable AVX512 in Handbrake x265 when the CPU supports it?


HandBrake Nightly 20201206213608-436cc757f-master (2020120601)
OS: Microsoft Windows NT 10.0.19042.0
CPU: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz

x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Windows][GCC 9.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
User avatar
s55
HandBrake Team
Posts: 10357
Joined: Sun Dec 24, 2006 1:05 pm

Re: AVX512 enabling?

Post by s55 »

I think x265 disables it by default still in that version. I'm not sure if there is any way to enable it or not but you could try asm=avx512 as an option. If not then it's not likely to work.
gmb
Bright Spark User
Posts: 350
Joined: Thu Mar 28, 2013 12:49 pm

Re: AVX512 enabling?

Post by gmb »

asm=512 works, thanks.It's 7% faster in my reference test by the way.

x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Windows][GCC 9.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512
Post Reply