Open ponceto opened 4 years ago
Yep. Still there : https://github.com/MatterHackers/MatterControl/issues/4682 Building from source result in the same issue :
X11 Error encountered:
Error: BadMatch (invalid parameter attributes)
Request: 150 (5)
Resource ID: 0x7200011
Serial: 252
Hwnd: Hwnd, Mapped:False ClientWindow:0x7200011, WholeWindow:0x7200010, Zombie=False, Parent:[Hwnd, Mapped:False ClientWindow:0x720000F, WholeWindow:0x720000E, Zombie=False, Parent:[<null>]]
Control: 0 at System.Environment.get_StackTrace () [0x00000] in <e50d21fbfba24408b2ca69b0d707999a>:0
at System.Windows.Forms.XplatUIX11.HandleError (System.IntPtr display, System.Windows.Forms.XErrorEvent& error_event) [0x00000] in <91835e866d3040be91350e07c4485584>:0
at OpenTK.Platform.X11.Glx.MakeCurrent (System.IntPtr , System.IntPtr , System.IntPtr ) [0x00000] in <d85857bc66524258b04ff0bdaeed67db>:0
at OpenTK.Platform.X11.Glx.MakeCurrent (System.IntPtr display, System.IntPtr drawable, OpenTK.ContextHandle context) [0x00000] in <d85857bc66524258b04ff0bdaeed67db>:0
at OpenTK.Platform.X11.X11GLContext.MakeCurrent (OpenTK.Platform.IWindowInfo window) [0x00000] in <d85857bc66524258b04ff0bdaeed67db>:0
at OpenTK.Graphics.GraphicsContext.MakeCurrent (OpenTK.Platform.IWindowInfo window) [0x00000] in <d85857bc66524258b04ff0bdaeed67db>:0
at OpenTK.GLControl.MakeCurrent () [0x00000] in <33e0a290e5404e8e8877ff9c93b1ec2f>:0
at OpenTK.GLControl.OnHandleCreated (System.EventArgs e) [0x00000] in <33e0a290e5404e8e8877ff9c93b1ec2f>:0
at System.Windows.Forms.Control.WmCreate (System.Windows.Forms.Message& m) [0x00000] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.UserControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.XplatUIX11.SendMessage (System.IntPtr hwnd, System.Windows.Forms.Msg message, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.XplatUIX11.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00000] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.XplatUI.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00000] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams cp) [0x00000] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.Control.CreateHandle () [0x00000] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.Control.CreateControl () [0x00000] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.Control.CreateControl () [0x00000] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.Control.SetVisibleCore (System.Boolean value) [0x00000] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.Form.SetVisibleCore (System.Boolean value) [0x00000] in <91835e866d3040be91350e07c4485584>:0
at MatterHackers.Agg.UI.WinformsSystemWindow.SetVisibleCore (System.Boolean value) [0x00000] in <3880858f46bf4e7585d7990a40fb346e>:0
at System.Windows.Forms.Control.set_Visible (System.Boolean value) [0x00000] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.Control.Show () [0x00000] in <91835e866d3040be91350e07c4485584>:0
at MatterHackers.Agg.UI.WinformsSystemWindow.Show () [0x00000] in <3880858f46bf4e7585d7990a40fb346e>:0
at MatterHackers.Agg.UI.WinformsSystemWindow.ShowSystemWindow (MatterHackers.Agg.UI.SystemWindow systemWindow) [0x00000] in <3880858f46bf4e7585d7990a40fb346e>:0
at MatterHackers.Agg.UI.SingleWindowProvider.ShowSystemWindow (MatterHackers.Agg.UI.SystemWindow systemWindow) [0x00000] in <cd3036edef1642a2bc45a791a781801a>:0
at MatterHackers.MatterControl.WinformsSingleWindowProvider.ShowSystemWindow (MatterHackers.Agg.UI.SystemWindow systemWindow) [0x00000] in <089d2105cf584de3ab47b25c342c770d>:0
at MatterHackers.Agg.UI.SystemWindow.ShowAsSystemWindow () [0x00000] in <2c7a0206278f47928849fb87c13cbbc5>:0
at MatterHackers.MatterControl.Program.Main (System.String[] args) [0x00000] in <104106100d35454e8f9107e8568e66f6>:0
OpenTK.Graphics.GraphicsContextException: Failed to make context current.
at OpenTK.Platform.X11.X11GLContext.MakeCurrent (OpenTK.Platform.IWindowInfo window) [0x0010e] in <d85857bc66524258b04ff0bdaeed67db>:0
at OpenTK.Graphics.GraphicsContext.MakeCurrent (OpenTK.Platform.IWindowInfo window) [0x00000] in <d85857bc66524258b04ff0bdaeed67db>:0
at OpenTK.GLControl.MakeCurrent () [0x00017] in <33e0a290e5404e8e8877ff9c93b1ec2f>:0
at OpenTK.GLControl.OnHandleCreated (System.EventArgs e) [0x0007a] in <33e0a290e5404e8e8877ff9c93b1ec2f>:0
at System.Windows.Forms.Control.WmCreate (System.Windows.Forms.Message& m) [0x00000] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x0021c] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00027] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.UserControl.WndProc (System.Windows.Forms.Message& m) [0x00025] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0000b] in <91835e866d3040be91350e07c4485584>:0
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00085] in <91835e866d3040be91350e07c4485584>:0
Time to '': 190
Thread was being aborted.
I'm also getting a similar issue.
X11 Error encountered:
Error: BadMatch (invalid parameter attributes)
Request: 152 (5)
Resource ID: 0x2A00011
Serial: 255
Hwnd: Hwnd, Mapped:False ClientWindow:0x2A00011, WholeWindow:0x2A00010, Zombie=False, Parent:[Hwnd, Mapped:False ClientWindow:0x2A0000F, WholeWindow:0x2A0000E, Zombie=False, Parent:[
Time to '': 898
X11 Error encountered:
Error: BadMatch (invalid parameter attributes)
Request: 152 (5)
Resource ID: 0x2A00011
Serial: 311
Hwnd: Hwnd, Mapped:True ClientWindow:0x2A00011, WholeWindow:0x2A00010, Zombie=False, Parent:[Hwnd, Mapped:True ClientWindow:0x2A0000F, WholeWindow:0x2A0000E, Zombie=False, Parent:[
X11 Error encountered:
Error: BadMatch (invalid parameter attributes)
Request: 152 (5)
Resource ID: 0x2A00011
Serial: 316
Hwnd: Hwnd, Mapped:False ClientWindow:0x2A00011, WholeWindow:0x2A00010, Zombie=False, Parent:[Hwnd, Mapped:False ClientWindow:0x2A0000F, WholeWindow:0x2A0000E, Zombie=False, Parent:[
Here is mine. I am also using NVIDIA drivers 450
X11 Error encountered:
Error: BadMatch (invalid parameter attributes)
Request: 151 (5)
Resource ID: 0x3600014
Serial: 270
Hwnd: Hwnd, Mapped:False ClientWindow:0x3600014, WholeWindow:0x3600013, Zombie=False, Parent:[Hwnd, Mapped:False ClientWindow:0x3600012, WholeWindow:0x3600011, Zombie=False, Parent:[
exception inside UnhandledException handler: (null) assembly:/usr/lib/mono/4.5/mscorlib.dll type:FileNotFoundException member:(null)
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
File name: 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at Mindscape.Raygun4Net.RaygunMessageBuilder.SetEnvironmentDetails () [0x0000b] in 1[T] tags, System.Collections.IDictionary userCustomData, Mindscape.Raygun4Net.Messages.RaygunIdentifierMessage userInfoMessage, System.Nullable
1[T] currentTime) [0x00024] in 1[T] tags, System.Collections.IDictionary userCustomData, Mindscape.Raygun4Net.Messages.RaygunIdentifierMessage userInfo, System.Nullable
1[T] currentTime) [0x00016] in
Update: I found that the verson of mono was installed for ubuntu 18.04 and im on 20.04 so fixed that but still get somewhat the same error.
X11 Error encountered:
Error: BadMatch (invalid parameter attributes)
Request: 151 (5)
Resource ID: 0x3A00016
Serial: 298
Hwnd: Hwnd, Mapped:False ClientWindow:0x3A00016, WholeWindow:0x3A00015, Zombie=False, Parent:[Hwnd, Mapped:False ClientWindow:0x3A00014, WholeWindow:0x3A00013, Zombie=False, Parent:[
exception inside UnhandledException handler: (null) assembly:/usr/lib/mono/4.5/mscorlib.dll type:FileNotFoundException member:(null)
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
File name: 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at Mindscape.Raygun4Net.RaygunMessageBuilder.SetEnvironmentDetails () [0x0000b] in 1[T] tags, System.Collections.IDictionary userCustomData, Mindscape.Raygun4Net.Messages.RaygunIdentifierMessage userInfoMessage, System.Nullable
1[T] currentTime) [0x00024] in 1[T] tags, System.Collections.IDictionary userCustomData, Mindscape.Raygun4Net.Messages.RaygunIdentifierMessage userInfo, System.Nullable
1[T] currentTime) [0x00016] in
Here is my mono verson
Mono JIT compiler version 6.12.0.90 (tarball Fri Sep 4 14:02:38 UTC 2020) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: altstack Notifications: epoll Architecture: amd64 Disabled: none Misc: softdebug Interpreter: yes LLVM: yes(610) Suspend: hybrid GC: sgen (concurrent by default)
This bug is very pesky. Win10 version working on WINE, fairly stable.
You can edit /usr/lib/mattercontrol/appsettings.json to override this bug. Application crashes while 'Color' and 'Depth' parameters has different values. I set this values to '24', and program works fine.
Hi,
I've installed MatterControl 2.0 on a fresh installed Linux Mint 20. The application doesn't start and complain about an X11 error.
I'm using Nvidia drivers and the screen is using the default visual (TrueColor, 24-bits).
Here is the stack trace :