It depends on the hardware, driver, a library provided by Intel, and ffmpeg. The Intel library was updated to add support for their Arc cards and av1. I suspect this might have dropped support for old hardware or drivers. It works on my system with i7-8559U and another with Arc A380.
I will not be downgrading this library, but you can choose to use the older version that works if you absolutely feel the need to use hardware encoding, which frankly on early hardware is mediocre quality.
Notice it says “back to BDW (Broadwell),” which is 5th generation. The Specifications on this other page confirms it.