Ubuntu - GPU - VA-API - Check if hardware decoding is active

sudo cat /sys/kernel/debug/dri/0/amdgpu_pm_info | grep ^VCN

returns:

VCN: Disabled

Retest hardware decoding whilst playing a video

Start playing a video, say a .mp4.

Then check if hardware decoding is being used.

sudo cat /sys/kernel/debug/dri/0/amdgpu_pm_info | grep ^VCN

returns:

VCN: Enabled