Disable using OpenGl to play videos

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Belini
Blank Cone
Blank Cone
Posts: 35
Joined: 06 Nov 2019 22:27

Disable using OpenGl to play videos

Postby Belini » 26 Apr 2022 15:42

My motherboard doesn't support OpenGl 2.0 and I always get error when I run VLC 4.0.0 Beta, how can I disable the use of OpenGL?

Image

Lotesdelere
Cone Master
Cone Master
Posts: 9721
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Disable using OpenGl to play videos

Postby Lotesdelere » 27 Apr 2022 09:31

From your screenshot it looks like you are using Windows XP and VLC 4.x is not compatible with Windows XP anymore. Minimum required version is Windows 7.

Rémi Denis-Courmont
Developer
Developer
Posts: 15135
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Disable using OpenGl to play videos

Postby Rémi Denis-Courmont » 27 Apr 2022 11:17

How does a motherboard not support OpenGL 2.0? It's just an API. Even my SBC without a GPU (just a dumb 2D HDMI display controller) supports OpenGL 2.0 through software rasterisation. It's slow but it's supported.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Belini
Blank Cone
Blank Cone
Posts: 35
Joined: 06 Nov 2019 22:27

Re: Disable using OpenGl to play videos

Postby Belini » 27 Apr 2022 14:35

I searched a lot and didn't find a way to put OpenGl 2.0 on my board so I think it doesn't support it, but regardless of that I would like to know if there is a way to disable the use of OpenGl in VLC?

Rémi Denis-Courmont
Developer
Developer
Posts: 15135
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Disable using OpenGl to play videos

Postby Rémi Denis-Courmont » 27 Apr 2022 16:24

On Windows, VLC uses DirectX, not OpenGL to play videos by default, and even then, it can fall back to other mechanisms automatically.

Regarding the GUI, I don't think you can turn off OpenGL. You need to use a different interface.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Belini
Blank Cone
Blank Cone
Posts: 35
Joined: 06 Nov 2019 22:27

Re: Disable using OpenGl to play videos

Postby Belini » 27 Apr 2022 17:41

Thanks for the clarifications.

chubinou
Developer
Developer
Posts: 521
Joined: 23 Jul 2015 15:19

Re: Disable using OpenGl to play videos

Postby chubinou » 28 Apr 2022 09:46

On windows, the 4.0 Qt interface uses an OpenGL implementation based on Direct3D11 (ANGLE). maybe your system is missing the d3dcompiler_47.dll which should be part of your system on an updated windows 7 (or above); as far as I know, It comes with directX

what version of windows do you use? as Lotesdelere said, we don't support windows XP

you may also try to force Qt to use software rendering, by exporting QT_OPENGL=software, but the result may be degraded.

Belini
Blank Cone
Blank Cone
Posts: 35
Joined: 06 Nov 2019 22:27

Re: Disable using OpenGl to play videos

Postby Belini » 28 Apr 2022 15:24

I am using windows 7 and i have d3dcompiler_47.dll

How should I export QT_OPENGL=software

Image

chubinou
Developer
Developer
Posts: 521
Joined: 23 Jul 2015 15:19

Re: Disable using OpenGl to play videos

Postby chubinou » 28 Apr 2022 16:27

first, the variable I mentioned is the wrong one, the one that should be set is QT_QUICK_BACKEND, sorry about that

you can create a "vlc.bat" file in this file enter the following text

Code: Select all

SET QT_QUICK_BACKEND=software vlc.exe --qt-compositor=dummy %*
start VLC using this file

Belini
Blank Cone
Blank Cone
Posts: 35
Joined: 06 Nov 2019 22:27

Re: Disable using OpenGl to play videos

Postby Belini » 28 Apr 2022 17:59

This way also did not work and gave this error now.

Image

Lotesdelere
Cone Master
Cone Master
Posts: 9721
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Disable using OpenGl to play videos

Postby Lotesdelere » 28 Apr 2022 18:08

As said by Chubinou, put both command lines in a .BAT file and then run this BAT file.
You can use Windows Notepad for creating this BAT file, or any other pure text editor of your choice.
That said, it appears that you are using a so called Windows 7 Lite version. There is no such official Windows 7 Lite version, the "Lite" is a custom build made by some third party. So it may lack some features of the regular Windows 7 from Microsoft.

Belini
Blank Cone
Blank Cone
Posts: 35
Joined: 06 Nov 2019 22:27

Re: Disable using OpenGl to play videos

Postby Belini » 28 Apr 2022 21:10

The .bat file was created this way even with the two lines in it, it may even be my lite version of windows 7 but until version 3.0.17 it works normally on this windows and only gives this problem now in version 4.0.0 Beta.

chubinou
Developer
Developer
Posts: 521
Joined: 23 Jul 2015 15:19

Re: Disable using OpenGl to play videos

Postby chubinou » 29 Apr 2022 13:23

> This way also did not work and gave this error now.

that's odd, this option (--qt-compositor) has been here since November 2020, can you check that the your version is recent enough? I assume you downloaded vlc 4.0 from here https://nightlies.videolan.org/, you may try to download one from last week (the latest has a temporary regression in the player view -_-' )

otherwise you may try without the --qt-compositor option but you'll probably need to disable "integrate video in interface" in the preferences

> but until version 3.0.17 it works normally on this windows

the 4.0 version has a new interface with different requirements. It's supposed to work on windows 7, but maybe there are some edge cases that needs to be covered.

Belini
Blank Cone
Blank Cone
Posts: 35
Joined: 06 Nov 2019 22:27

Re: Disable using OpenGl to play videos

Postby Belini » 29 Apr 2022 14:25

I downloaded version 29-Apr-2022 32bit and also 64bit and in both the OpenGl error continues and in this version now --video-x and --video-y don't work, I can put any value in --video- x and --video-y that nothing happens.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 19 guests