VLC plays audio only without videos

Hi, recently, a strange thing happens.
Suddenly, I found VLC plays audio and does not output any video, I used another video players and they worked fine. Then in VLC preference, I changed the output from OpenGL to X11 and worked.
Is there a solution to make it work with OpenGL?

hi Ahmed,
have you made somes modifications on your configuration ? (update ?)

try to change values of “hardware video decoding” in Preferences > Input/Codecs > Hardware decoding (VA-API video decoder or VDPAU)


Thanks. I changed it from automatic to VA-API and it worked