Why do all of my OpenGL applications stop working when I start MATLAB?
10 views (last 30 days)
Show older comments
MathWorks Support Team
on 27 Jun 2009
Edited: MathWorks Support Team
on 17 Oct 2017
The following are examples of applications that work fine until I start MATLAB:
- A personally developed application example1.exe
- openGL benchmark
- directx 7.0 dxdiag.exe
When I inquire about OpenGL in MATLAB I get:
opengl info
Warning: OpenGL not available. Using ZBuffer.
> In C:\matlabR12\toolbox\matlab\graphics\opengl.m at line 47
Beyond this, I also experience extreme slowness in MATLAB. After running BENCH, my computer ranks below a Pentium III 500, while I have a Pentium III 850.
Accepted Answer
MathWorks Support Team
on 17 Oct 2017
This problem is being caused by a conflict between MATLAB and your graphics driver's OpenGL Application Program Interface (API) instructions.
This problem will likely occur if you have the MATLAB Web Server installed on your computer. The MATLAB Web Server will launch on start up of your system (by default). It will, in turn, launch a MATLAB process. MATLAB then loads the operating system's OpenGL API (opengl32.dll in Windows).
We have seen some graphics card drivers that have their own set of 3-D OpenGL instructions that conflict with the operating system's OpenGL API. We have seen this problem with the following chipsets:
Oxygen GVX1 (made by 3Dlabs)
Rage Mobility 128 (made by ATI Technologies)
Savage 2000 (made by S3)
The workarounds for this problem are:
1. Try troubleshooting possible OpenGL conflicts:
2. Do not launch the MATLAB Web Server on startup.
You can do this by going to Administrative Tools in the Control Panel, selecting Component Services, then finding the service with name MATLAB Server in Services (Local) and setting its Startup type to Manual and stopping it.
3. If you have no intention of using the MATLAB Web Server, you can uninstall it.
0 Comments
More Answers (0)
See Also
Categories
Find more on Graphics Performance in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!