VLC closed after opening video files

Please post the output of the following commands using formatted text. Install libva-utils if necessary:

vainfo
prime-run vainfo
printenv LIBVA_DRIVER_NAME
printenv VDPAU_DRIVER