I downloaded a YouTube video on a Ubuntu Linux with yt-dlp. When I tried to view the downloaded WebM file with the default video application, Videos, also known as Totem, which is an application for playing videos that is provided with Ubuntu, I saw the message below:
An error occurred
Could not initialise OpenGL support
OK
When I opened the video with
VLC, which I had
previously installed, I heard audio, but no video was displayed. I checked
to see if the Nvidia
driver was up-to-date since the system had an Nvidia graphics card, but they
were up-to-date. You can check that by clicking on the Show Apps
button at the lower-right-hand corner of the screen Ubuntu desktop. Then type
Software Updates in the "Type to search" field. Click on
Software & Updates and then click on the Additional
Drivers.
To resolve the problem, I added the following line to the
/etc/environment file with a
text editor:
GDK_GL=gles
