xenovacivus / PathCAM

PathCAM - Toolpath generation software for CNC robots!
GNU General Public License v3.0
213 stars 62 forks source link

Graphics Failure Exception #11

Open mankyd opened 9 years ago

mankyd commented 9 years ago

Just compiled and tried to run. I was left with the following exceptions:

X11 Error encountered: Error: BadMatch (invalid parameter attributes) Request: 155 (5) Resource ID: 0x2400022 Serial: 271 Hwnd: Hwnd, Mapped:False ClientWindow:0x2400022, WholeWindow:0x2400021, Zombie=False, Parent:[] Control: GUI.Drawing3D at System.Environment.get_StackTrace() at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display, XErrorEvent ByRef error_event) at OpenTK.Platform.X11.Glx.MakeCurrent(IntPtr , IntPtr , IntPtr ) at OpenTK.Platform.X11.Glx.MakeCurrent(IntPtr display, IntPtr drawable, ContextHandle context) at OpenTK.Platform.X11.X11GLContext.MakeCurrent(IWindowInfo window) at OpenTK.Graphics.GraphicsContext.MakeCurrent(IWindowInfo window) at OpenTK.GLControl.MakeCurrent() at OpenTK.GLControl.OnHandleCreated(System.EventArgs e) at System.Windows.Forms.Control.WmCreate(Message ByRef m) at System.Windows.Forms.Control.WndProc(Message ByRef m) at System.Windows.Forms.ScrollableControl.WndProc(Message ByRef m) at System.Windows.Forms.ContainerControl.WndProc(Message ByRef m) at System.Windows.Forms.UserControl.WndProc(Message ByRef m) at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m) at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m) at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam) at System.Windows.Forms.XplatUIX11.CreateWindow(System.Windows.Forms.CreateParams cp) at System.Windows.Forms.XplatUI.CreateWindow(System.Windows.Forms.CreateParams cp) at System.Windows.Forms.NativeWindow.CreateHandle(System.Windows.Forms.CreateParams cp) at System.Windows.Forms.Control.CreateHandle() at System.Windows.Forms.Control.CreateControl() at OpenTK.GLControl.ValidateState() at OpenTK.GLControl.MakeCurrent() at GUI.Drawing3D.set_ClearColor(Color value) at GUI.PathCAM.InitializeComponent() at GUI.PathCAM..ctor() at GUI.Program.Main()

OpenTK.Graphics.GraphicsContextException: Failed to make context current. at OpenTK.Platform.X11.X11GLContext.MakeCurrent (IWindowInfo window) [0x00000] in :0 at OpenTK.Graphics.GraphicsContext.MakeCurrent (IWindowInfo window) [0x00000] in :0 at OpenTK.GLControl.MakeCurrent () [0x00000] in :0 at OpenTK.GLControl.OnHandleCreated (System.EventArgs e) [0x00000] in :0 at System.Windows.Forms.Control.WmCreate (System.Windows.Forms.Message& m) [0x00000] in :0 at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in :0 at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in :0 at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in :0 at System.Windows.Forms.UserControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in :0 at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in :0 at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in :0 at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in :0 X11 Error encountered: Error: BadMatch (invalid parameter attributes) Request: 155 (5) Resource ID: 0x2400022 Serial: 289 Hwnd: Hwnd, Mapped:True ClientWindow:0x2400022, WholeWindow:0x2400021, Zombie=False, Parent:[] Control: GUI.Drawing3D at System.Environment.get_StackTrace() at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display, XErrorEvent ByRef error_event) at OpenTK.Platform.X11.Glx.MakeCurrent(IntPtr , IntPtr , IntPtr ) at OpenTK.Platform.X11.Glx.MakeCurrent(IntPtr display, IntPtr drawable, ContextHandle context) at OpenTK.Platform.X11.X11GLContext.MakeCurrent(IWindowInfo window) at OpenTK.Graphics.GraphicsContext.MakeCurrent(IWindowInfo window) at OpenTK.GLControl.MakeCurrent() at GUI.Drawing3D.set_ClearColor(Color value) at GUI.PathCAM.InitializeComponent() at GUI.PathCAM..ctor() at GUI.Program.Main()

Unhandled Exception: OpenTK.Graphics.GraphicsContextException: Failed to make context current. at OpenTK.Platform.X11.X11GLContext.MakeCurrent (IWindowInfo window) [0x00000] in :0 at OpenTK.Graphics.GraphicsContext.MakeCurrent (IWindowInfo window) [0x00000] in :0 at OpenTK.GLControl.MakeCurrent () [0x00000] in :0 at GUI.Drawing3D.set_ClearColor (Color value) [0x00000] in :0 at (wrapper remoting-invoke-with-check) GUI.Drawing3D:set_ClearColor (System.Drawing.Color) at GUI.PathCAM.InitializeComponent () [0x00000] in :0 at GUI.PathCAM..ctor () [0x00000] in :0 at (wrapper remoting-invoke-with-check) GUI.PathCAM:.ctor () at GUI.Program.Main () [0x00000] in :0 [ERROR] FATAL UNHANDLED EXCEPTION: OpenTK.Graphics.GraphicsContextException: Failed to make context current. at OpenTK.Platform.X11.X11GLContext.MakeCurrent (IWindowInfo window) [0x00000] in :0 at OpenTK.Graphics.GraphicsContext.MakeCurrent (IWindowInfo window) [0x00000] in :0 at OpenTK.GLControl.MakeCurrent () [0x00000] in :0 at GUI.Drawing3D.set_ClearColor (Color value) [0x00000] in :0 at (wrapper remoting-invoke-with-check) GUI.Drawing3D:set_ClearColor (System.Drawing.Color) at GUI.PathCAM.InitializeComponent () [0x00000] in :0 at GUI.PathCAM..ctor () [0x00000] in :0 at (wrapper remoting-invoke-with-check) GUI.PathCAM:.ctor () at GUI.Program.Main () [0x00000] in :0