Hardware video decoding working on intel 11th gen CPU/GPU Ubuntu 26.04 firefox snap except for AV1 decoding

That also switches to that channel permanently, which may be more than users bargained for. One can also install specific revisions from arbitrary channels:

snap=mesa-2404
revid="$(snap info "$snap" | gawk '$1 ~ /^latest\/candidate:$/ {print gensub(/[()]/, "", "g", $4)}')"
sudo snap refresh --hold "$snap"
sudo snap refresh --revision="$revid" "$snap"

This finds the current revision on the latest/candidate channel, disables automatic refreshes of the snap and then refreshes to the found revision. Holding is required because snapd will otherwise revert to the tracked channel revision.

Once the revision will have trickled down into the stable channel just unhold:

sudo snap refresh --unhold "$snap"