This appears to be a regression in 4dc07b2
Previously I could use two parallel processes both using vaapi to do hardware h264 encoding. After that commit, the second process fails to initialize with the following error:
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 1
libva error: va_getDriverName() failed with operation failed,driver_name=i965
cc @evelikov @seanvk