View Issue Details

IDProjectCategoryView StatusLast Update
0003295NoesisGUIC++ SDKpublic2024-05-02 21:43
Reportermgb Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version3.2 
Summary0003295: GLRenderDevice::DrawBatch / NS_FATAL
DescriptionHi, I'm having trouble running Inventory / HelloWorld with OpenGL.

The errors I'm reporting also happen in my application.
However, I am reporting it in examples to make it easier to reproduce.

I'm using Windows 11 ARM through Parallels on an Apple M2 Max.

My application is only in OpenGL.

VS Output:
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'E:\3.2.3\NoesisGUI-NativeSDK-win-3.2.3\Bin\windows_x86_64\Samples.HelloWorld.exe'. Symbols loaded.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\xtajit64.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\apphelp.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'E:\3.2.3\NoesisGUI-NativeSDK-win-3.2.3\Bin\windows_x86_64\NoesisApp.dll'. Symbols loaded.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'E:\3.2.3\NoesisGUI-NativeSDK-win-3.2.3\Bin\windows_x86_64\Noesis.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140d.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbased.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbased.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Unloaded 'C:\Windows\System32\ucrtbased.dll'
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\DWrite.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140d.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140_1d.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'.
14:39:20:877 [NOESIS/I] Noesis Init v3.2.3 (Windows on x86_64 Profile)
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\mswsock.dll'.
14:39:20:877 [NOESIS/I] Inspector listening on port 17630
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\clbcatq.dll'.
14:39:20:877 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\MMDevAPI.dll'.
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'.
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'.
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'.
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'.
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Unloaded 'C:\Windows\System32\cfgmgr32.dll'
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Unloaded 'C:\Windows\System32\cfgmgr32.dll'
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\AudioSes.dll'.
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'.
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\ResourcePolicyClient.dll'.
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'.
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\umpdc.dll'.
14:39:21:129 [NOESIS/D] Creating 'WASAPI' audio device: Speakers (High Definition Audio Device)
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\XInput1_4.dll'.
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\InputHost.dll'.
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\CoreMessaging.dll'.
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'.
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'.
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\TextInputFramework.dll'.
14:39:21:129 [NOESIS/I] 'App.xaml' loaded
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\opengl32.dll'.
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\glu32.dll'.
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\DXCore.dll'.
14:39:21:129 [NOESIS/D] Creating GL render context
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\AppXDeploymentClient.dll'.
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\prl_gldd.dll'.
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'.
14:39:21:129 [NOESIS/D] PixelFormat: R8G8B8A8 D24S8 1x
14:39:21:129 [NOESIS/W] Creating a Debug context
14:39:21:129 [NOESIS/D] Version: 3.3 (3.3 Metal - 88)
14:39:21:129 [NOESIS/D] Vendor: Parallels and Apple
14:39:21:129 [NOESIS/D] Renderer: Parallels using Apple M2 Max (Compat)
14:39:21:129 [NOESIS/I] 'MainWindow.xaml' loaded
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\CoreUIComponents.dll'.
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'.
14:39:21:129 [NOESIS/I] 'Aero Matics Regular' loaded
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\ApplicationTargetedFeatureDatabase.dll'.
14:39:21:129 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\twinapi.appcore.dll'.
14:39:21:385 The thread 'ShellHandwriting Delegate Thread' (21360) has exited with code 0 (0x0).
14:39:21:385 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\dwmapi.dll'.
14:39:21:385 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\dxgi.dll'.
14:39:21:385 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\d3d11.dll'.
14:39:21:385 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\directxdatabasehelper.dll'.
14:39:21:385 'Samples.HelloWorld.exe' (Win32): Loaded 'C:\Windows\System32\prl_umdd10.dll'.
14:39:27:188 [NOESIS/E] glDrawElements(GL_TRIANGLES, batch.numIndices, GL_UNSIGNED_SHORT, indices) [GL_INVALID_FRAMEBUFFER_OPERATION]
14:39:27:188 A breakpoint instruction (__debugbreak() statement or a similar call) was executed in Samples.HelloWorld.exe.
14:39:27:188

Callstack:
> NoesisApp.dll!NoesisApp::GLRenderDevice::DrawBatch(const Noesis::Batch & batch) Line 566 C++
     Noesis.dll!Noesis::VGLContext::DrawBatch(const Noesis::VGLContext::Surface & surface, const Noesis::VGLBatch & batch) Line 4413 C++
     Noesis.dll!Noesis::VGLContext::DrawBatches() Line 4438 C++
     Noesis.dll!Noesis::VGLContext::Flush(bool endOfFrame, bool clearEffects) Line 1493 C++
     Noesis.dll!Noesis::RenderTreeHelper::Render(Noesis::RenderNode * node, const Noesis::Sizei & size, bool clear, const Noesis::Matrix4 & proj) Line 110 C++
     Noesis.dll!Noesis::RenderTree::Render(const Noesis::Sizei & size, bool clear, const Noesis::Matrix4 & projection) Line 427 C++
     Noesis.dll!Noesis::Renderer::DoRender(const Noesis::Matrix4 & projection, float width, float height, bool clear) Line 257 C++
     Noesis.dll!Noesis::Renderer::Render(bool flipY, bool clear) Line 212 C++
     NoesisApp.dll!NoesisApp::Window::Render(double time) Line 293 C++
     NoesisApp.dll!NoesisApp::Application::Tick(double time) Line 334 C++
     NoesisApp.dll!NoesisApp::ApplicationLauncher::OnTick(double time) Line 150 C++
     NoesisApp.dll!NoesisApp::DisplayLauncher::Run::__l2::<lambda_1>::operator()(NoesisApp::Display * __formal) Line 44 C++
     NoesisApp.dll!Noesis::DelegateImpl<void __cdecl(NoesisApp::Display *)>::FunctorStub<`NoesisApp::DisplayLauncher::Run'::`2'::<lambda_1>>::Invoke(NoesisApp::Display * && <args_0>) Line 162 C++
     NoesisApp.dll!Noesis::Delegate<void __cdecl(NoesisApp::Display *)>::operator()(NoesisApp::Display * <args_0>) Line 522 C++
     NoesisApp.dll!NoesisApp::Win32Display::EnterMessageLoop(bool runInBackground) Line 485 C++
     NoesisApp.dll!NoesisApp::DisplayLauncher::Run() Line 49 C++
     Samples.HelloWorld.exe!NsMain(int argc, char * * argv) Line 81 C++
     Samples.HelloWorld.exe!WinMain(HINSTANCE__ * __formal, HINSTANCE__ * __formal, char * __formal, int __formal) Line 37 C++
     Samples.HelloWorld.exe!invoke_main() Line 107 C++
     Samples.HelloWorld.exe!__scrt_common_main_seh() Line 288 C++
     Samples.HelloWorld.exe!__scrt_common_main() Line 331 C++
     Samples.HelloWorld.exe!WinMainCRTStartup(void * __formal) Line 17 C++
     kernel32.dll!00007ffdaa15091c() Unknown
     kernel32.dll!00007ffdaa0e7ad0() Unknown
     ntdll.dll!00007ffdade3c148() Unknown
Steps To ReproduceOpen HelloWorld.exe
Just Minimize
Done
TagsNo tags attached.
PlatformAny

Activities

mgb

mgb

2024-05-02 21:43

reporter  

error.png (347,024 bytes)

Issue History

Date Modified Username Field Change
2024-05-02 21:43 mgb New Issue
2024-05-02 21:43 mgb File Added: error.png