Bug 1380

Summary: Dynamic loading of "OpenGL32.dll" fails on Citrix VDI
Product: [JogAmp] Jogl Reporter: Oliver Faulhaber <oliver.faulhaber>
Component: coreAssignee: Sven Gothel <sgothel>
Severity: normal CC: sgothel
Priority: P4    
Version: 2.4.0   
Hardware: pc_x86_64   
OS: windows   
Type: DEFECT SCM Refs:
Workaround: ---
Attachments: Runtime version check
Other OpenGL application running successfully on same system

Description Oliver Faulhaber 2019-04-30 15:19:47 CEST
Created attachment 815 [details]
Runtime version check

On a Citrix VDI with Win 7 (64) and OpenGL Accelerator installed* the opengl32.dll will not load. 

In this environment, the opengl32.dll is an updated version containing a software rasterizer. It is located in C:\Windows\System32 (64 Bit) and in C:\Windows\ SysWow64 (32 Bit).

According to the log the file cannot be found - error 0x7e (126)
Opening the dll with DependencyWalker shows, that there are missing dependencies to: 
- libstdc++-6.dll 
- libwinpthread-1.dll

Other OpenGL-Applications, like for example GPU Capability Viewer, will run without error on the same system. Hence I am not sure if this bug is related to Citrix’ opengl32.dll or to the JOGL binary part.

Comment 1 Oliver Faulhaber 2019-04-30 15:21:27 CEST
Created attachment 816 [details]
Other OpenGL application running successfully on same system
Comment 2 Oliver Faulhaber 2019-05-06 08:24:53 CEST
This is a bug of the 64-Bit Version of Citrix OpenGL Software Accelerator, if I see the things correctly. It consits of a replacement for OpenGL32.dll and has missing implicit or forwarded dependencies to libwinpthread-1.dll and LIBSTD++-6.dll. Hence this library is practically broken and can not be loaded with function LoadLibrary.

I think this issue can be closed, since citrix should fix their 64 Bit OpenGL Software Accelerator.
Comment 3 Sven Gothel 2020-01-01 17:33:29 CET
(In reply to Oliver Faulhaber from comment #2)
agreed, not related to JogAmp
Comment 4 Sven Gothel 2020-01-01 17:35:46 CET
You may want to test the new 2.4.0-rc builds, see also Bug 1403 comment 3
and thread <http://forum.jogamp.org/JogAmp-2-4-0-rc-20191231-tp4040215p4040219.html>