I’m using Debian 12, Ryzen 7 5700X processor, and Radeon HD 5450 graphics card. I have tried uninstalling and reinstalling VLC but it didn’t resolve the issue. Here’s an excerpt from the VLC’s log file:
glconv_vaapi_x11 error: vaDeriveImage: operation failed
main error: video output creation failed
main error: failed to create video output
avcodec info: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding
How do I resolve this issue?
Maybe try a full update. Partial updates are problematic.
How do I do that?
sudo apt dist-upgrade Then reboot?
(I think. Not an expert.)
Tried it. I don’t think there’s anything to upgrade:
Jean-Luc@Enterprise:~$ sudo apt dist-upgrade [sudo] password for Jean-Luc: Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo apt update && sudo apt upgrade
According to Debian Wiki VLC has limited support of va-api for hardware acceleration. Try fixes in the wiki. It might help.
Thank you, this resolved my issue.
I read the wiki and changed “Hardware-accelerated decoding” to “VA-API video decoder”.
My original problem was caused by the fact that this was set to automatic, now that it’s set to “VA-API video decoder” VLC is able to play mp4 files again without any issues.