Photoshop: Error Code #126 from OpenGL drivers

  • 1
  • Problem
  • Updated 6 years ago
  • (Edited)
Error code #126: OpenGL... you know, this one has been floating around for about 3 years... Now, CS6 is going to lean heavily on OpenGL for real-time rendering... and is #126 going to be handled... y/n?
Photo of Anthony Harmon

Anthony Harmon

  • 4 Posts
  • 0 Reply Likes
  • frustrated

Posted 6 years ago

  • 1
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 766 Reply Likes
Which application are you using?
Which OS version?

And have you updated your video card drivers from the GPU maker's website?
Photo of Anthony Harmon

Anthony Harmon

  • 4 Posts
  • 0 Reply Likes
Short and Sweet Of It:

Any 64-bit OpenGL Photoshop-based plugin throws the 126 error. It does not matter if the plugin is launched from within PS CS5, or as a standalone. With plugins such as Nik Silver Efex Pro 2.x, as well as all the other plugins in their lineup: all 64-bit versions fail. Photoshop CS5 64-bit will not load.

It does not matter if OpenGL is enabled in PS or not.

32-bit versions of all plugins nominal.

Windows 8 CP Build 8250

AMD Radeon HD 6800 WDDM v1.20 - LATEST driver package

AMD OpenGL 126 errors go back at least 2 years. The web is replete with stories of Windows 7 not loading games run on AMD cards...

Not being a programmer, but someone who does pay close attention, Microsoft in their MSDN blog touted how Windows 8 is built on the concept of Asynchronous memory calls. Combine that piece of information with this:

http://opensource.adobe.com/svn/opens...

public static const NETCONNECTION_ASYNC_ERROR:int = 126;

And this being an Adobe document, it seemed like a good idea to shake the tree and see what fell off.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 766 Reply Likes
Which plugin are you running that gives this error? I haven't heard of other people getting that error in Photoshop. Also, that's not a normal Photoshop error message, so I'm wondering where it comes from.

The only mention of it I can find on the web is your post, and people with mis-installed ATI drivers (LoadLibrary failure).

Also, error codes from an open source video player have nothing to do with Photoshop.
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 13977 Posts
  • 1666 Reply Likes
Are you sure you have the latest drivers and have them installed correctly? If you just do Windows Update that won't do it. Determine what video card you have and go directly to the manufacturers website (nVidia or ATI/AMD) and download the latest driver. GPU and OpenGL support | Photoshop CS4, CS5: http://adobe.ly/OpenGL
Photo of brian brains

brian brains

  • 69 Posts
  • 5 Reply Likes
LoadLibrary 126 Error:

This is a bug in the OpenGL software and can't be fixed by reverting to an earlier version.

There are two solutions. The first involves using a command window and in windows\system32 enter this command

copy atioglxx.dll .dll

In some instances this works as a bug in ATI/AMD's software is looking for the file .dll instead of atioglxx.dll This didn't work for me but did for others.

The other solution is to updrade to the Catalyst 4.2 OGL Preview software from the AMD site. This sorted all OpenGL errors for me incl LR4 CS5 and plugins that use OpenGL incl stitch panorama in Photoshop etc.
Photo of Ian McKeaveney

Ian McKeaveney

  • 1 Post
  • 0 Reply Likes
Thanks brian brains, just been getting this error and came across your post about the Catalyst 4.2 OGL Preview, and though I got a installation failure message Photoshop is opening fine and I'm not getting error 126 anymore.