I downloaded and installed the 2.7 SDK file SDK_OGLES2_WINDOWS_PCEMULATION_2.07.27.0484.msi. The prebuilt executables start and run but hang without creating any windows.
I built and ran OGLES2Initialization (training course 01) and found that the application itself hangs during initialization before WinMain gets called. Note the irony in this!
What appears to be happening is that libEGL is calling into the ATI driver and it never returns. This is the stack trace under VS2008 while breaking after OGLES2Initialization hangs:
ntdll.dll!7754f861()
ntdll.dll!7754f861()
KernelBase.dll!767c0816()
kernel32.dll!75211138()
aticfx32.dll!025c3e69()
aticfx32.dll!025bfa13()
aticfx32.dll!025caea7()
aticfx32.dll!025b842c()
aticfx32.dll!025b659d()
atigktxx.dll!72da1f43()
atioglxx.dll!6907a66b()
atioglxx.dll!69d60dee()
atioglxx.dll!69b6bf3a()
atioglxx.dll!69bdcc65()
atioglxx.dll!69bdd1b0()
atioglxx.dll!69bdd1b0()
atioglxx.dll!69047f05()
opengl32.dll!6c10b6cd()
opengl32.dll!6c10b83c()
opengl32.dll!6c10b8ef()
libEGL.dll!100109ee()
libEGL.dll!100322d8()
libEGL.dll!100f713c()
libEGL.dll!100f067f()
libEGL.dll!1015fda3()
libEGL.dll!100f0c09()
libEGL.dll!100f174e()
shell32.dll!7581a5f4()
shell32.dll!7581d311()
ntdll.dll!7754f9ca()
ntdll.dll!77587230()
ntdll.dll!77575947()
ntdll.dll!77569cc9()
Running OGLES2ChameleonMan and then inspecting it with sysinternals' Process Explorer shows this stack on one of the two running threads:
wow64cpu.dll!TurboDispatchJumpAddressEnd+0x690
wow64cpu.dll!TurboDispatchJumpAddressEnd+0x484
wow64.dll!Wow64SystemServiceEx+0x1ce
wow64.dll!Wow64LdrpInitialize+0x429
ntdll.dll!RtlResetRtlTranslations+0x1b08
ntdll.dll!RtlResetRtlTranslations+0xc63
ntdll.dll!LdrInitializeThunk+0xe
ntdll.dll!NtWaitForSingleObject+0x15
kernel32.dll!WaitForSingleObjectEx+0x43
kernel32.dll!WaitForSingleObject+0x12
aticfx32.dll!AmdQueryPowerXpressDeviceInfo+0xaa69
aticfx32.dll!AmdQueryPowerXpressDeviceInfo+0x6613
aticfx32.dll!AmdQueryPowerXpressDeviceInfo+0x11aa7
aticfx32.dll!gslCfxInit+0x6ec
aticfx32.dll!OpenAdapter+0x79ad
ntdll.dll!RtlInterlockedFlushSList+0xcad
ntdll.dll!RtlInterlockedFlushSList+0x8db
ntdll.dll!RtlAllocateHeap+0xac
The graphics are ATI Radeon HD 4200, OpenGL 3.3, Driver 8.801.0.0, 25-NOV-10.
It seems that there might be a problem running the 32bit SDK apps on Windows 7 64bit. Is this platform or graphics card not supported?
Thanks,
- Eric