vah264enc: [radeon]: failure at using a 640x482 size
While this pipeline works (gstreamer-vaapi):
gst-launch-1.0 videotestsrc num-buffers=1 ! video/x-raw, format=NV12, width=640, height=482 ! vaapih264enc ! video/x-h264, profile=high ! fakesink
This does not (gstva):
gst-launch-1.0 videotestsrc num-buffers=1 ! video/x-raw, format=NV12, width=640, height=482 ! vah264enc ! video/x-h264, profile=high ! fakesink
Not all frame sizes fail, just only those where height is 482, 486, 490, ... perhaps all those that aren't height % 4 = 0
Nonetheless, vapostproc can upload frames with this size. So it's specific to encoder profile.
It's not ruled out that it might be a driver bug under gstva configuration, which is different of gstreamer-vaapi.