Bug 1380 - Dynamic loading of "OpenGL32.dll" fails on Citrix VDI
Summary: Dynamic loading of "OpenGL32.dll" fails on Citrix VDI
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 2.4.0
Hardware: pc_x86_64 windows
: P4 normal
Assignee: Sven Gothel
Depends on:
Reported: 2019-04-30 15:19 CEST by Oliver Faulhaber
Modified: 2020-01-01 17:35 CET (History)
1 user (show)

See Also:
SCM Refs:
Workaround: ---

Runtime version check (376.89 KB, text/plain)
2019-04-30 15:19 CEST, Oliver Faulhaber
Other OpenGL application running successfully on same system (186.01 KB, image/png)
2019-04-30 15:21 CEST, Oliver Faulhaber

Note You need to log in before you can comment on or make changes to this bug.
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>