OpenGL

OpenGL version test program

This program shows the version and vendor of the installed OpenGL driver on Windows. The 32 bit version runs on Windows XP and later. Example output from Windows XP, on an old Lenovo ThinkPad notebook:

Example output of the 64 bit version, running in an Oracle VirtualBox Windows 10 VM:

You can redirect the output of oglver, if started from a command line prompt, to get the same info in a file (e.g. "oglver > info.txt"), if you need it as text.

Mesa 3D OpenGL driver for Windows

To install the driver, copy mesadrv32.dll to C:\Windows\SysWOW64 and mesadrv64.dll to C:\Windows\System32. Then add these registry settings:

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers\MSOGL]
"DLL"="mesadrv32.dll"
"DriverVersion"=dword:00000001
"Flags"=dword:00000001
"Version"=dword:00000002

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers\MSOGL]
"DLL"="mesadrv64.dll"
"DriverVersion"=dword:00000001
"Flags"=dword:00000001
"Version"=dword:00000002

You can do this by executing mesa.reg (in mesa.zip).

After installing it on my Windows 10 VM, oglver shows this info (both 32 and 64 bit version) :

I don't know why it show VMware as vendor. All additional OpenGL features up to version 3.0 are available.

The reason for me to use Mesa 3D was that the VirtualBox OpenGL ICD driver doesn't work properly. First it is not installed, when you install the driver. You can modify the INF file, as desribed here, but I tried it and it is very unstable, usually programs which uses OpenGL crashes right at start. With Mesa 3D it is slower than a hardware accelerated driver, but it works.

If you want to compile the Mesa library yourself, see here. Setting up the right build environment on my Windows 10 development machine was not easy, this is a working combination:

This article was a great help.


2. April 2016, Frank Buß