-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In windows 10 unhandled exception "System.Exception: 'wglChoosePixelFormatARB failed: error 0'" #75
Comments
The demo project should run without problem, but they haven't been tested for a long time. Maybe I broke something when developing child window rendering. I'll look into the issue this weekend. BTW, I will restart development of ImGui in the next month. Thanks for let me know you are interested in this project. |
Seems to be a GPU-specific issue. I cannot reproduce the error on win10 and NVIDIA 1070Ti/2080Ti. Please try disable MSAA by setting |
Following your instructions I have changed the default value to
*Application.EnableMSAA
= false* and the demo has worked correctly, but when closing the window the
following exception appears:
*System.InvalidOperationException: 'Wgl.MakeCurrent failed, error: Invalid
controller.'*
and the next call stack;
*
ImGui.dll!ImGui.OSImplementation.Windows.Win32OpenGLRenderer.SetRenderingWindow(ImGui.OSAbstraction.Window.IWindow
window) line 130 C# ImGui.dll!ImGui.Application.Render() line 305 C#
ImGui.dll!ImGui.Application.Run.AnonymousMethod__0() line 129 C#
ImGui.dll!ImGui.OSImplementation.Windows.Win32Window.MainLoop(System.Action
guiMethod) line 688 C# ImGui.dll!ImGui.Form.MainLoop(System.Action
loopMethod) line 113 C# ImGui.dll!ImGui.Application.Run(ImGui.Form
mainForm, System.Action onGUI) line 118 C#
Calculator.dll!Calculator.Program.Main() line 13 C#*
I understand that although *MainForm.Closed* is false, in the *Render *method
there is no valid rendering context.
Thanks for your answer ...
Greetings ... Miguel
El lun, 6 dic 2021 a las 6:32, Zou Wei ***@***.***>)
escribió:
… Seems to be a GPU-specific issue. I cannot reproduce the error on win10
and NVIDIA 1070Ti and 2080Ti.
Please try disable MSAA by setting Application.EnableMSAA to false, and
run the demo again. @migueltk <https://github.com/migueltk>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#75 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABOPZVKPGVZNCYJBEIC3YZ3UPRDH3ANCNFSM5JFPFMMA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
This is a known issue. I will fix it later. |
Hello ...
When testing the demos, the following error is thrown in all of them:
"System.Exception: 'wglChoosePixelFormatARB failed: error 0'"
inside the method "private void CreateOpenGLContext (IntPtr hwnd)" in the file "Win32OpenGLRenderer.Windows.cs".
I use 'Windows 10 pro', version '21H1', 64-bit operating system.
OpenGL:
Renderer: Radeon RX 580 Series
Vendor: ATI Technologies Inc.
Version: 4.6.14761 Core Profile Forward-Compatible Context 21.10.2 30.0.13025.5005
Shading language version: 4.60
I appreciate any help, your project is great.
Thanks in advance ... Miguel
The text was updated successfully, but these errors were encountered: