prolems running mission planner 1.2.50 with mono 2.10,8,1 under ubuntu 12.04

Hi

I've updated mono and downloaded the latest MissionPlanner (MP) from http://ardupilot.com/downloads/?category=4 while trying to run it get the following error. I'm not sure what else to update, any suggestions would be appreciated. Thanks in advance for your help.

INFO ArdupilotMega.Utilities.ParameterMetaDataParser - Process SIM_ : ../libraries/SITL/SITL.cpp
INFO ArdupilotMega.Utilities.ParameterMetaDataParser - https://raw.github.com/diydrones/ardupilot/master/libraries/SITL/SI...
INFO ArdupilotMega.Utilities.ParameterMetaDataParser - Process AHRS_ : ../libraries/AP_AHRS/AP_AHRS.cpp
INFO ArdupilotMega.Utilities.ParameterMetaDataParser - https://raw.github.com/diydrones/ardupilot/master/libraries/AP_AHRS...
X11 Error encountered:
  Error: BadRequest (invalid request code or no such operation)
  Request:     153 (19)
  Resource ID: 0x52
  Serial:      17
  Hwnd:        Hwnd, Mapped:False ClientWindow:0x52, WholeWindow:0x52, Zombie=False, Parent:[<null>]
  Control:     <handle 52 non-existant>   at System.Environment.get_StackTrace()
   at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display, XErrorEvent ByRef error_event)
   at OpenTK.Platform.X11.Glx.ChooseFBConfig(IntPtr , Int32 , System.Int32[] , Int32 ByRef )
   at OpenTK.Platform.X11.X11GraphicsMode.SelectVisualUsingFBConfig(ColorFormat color, Int32 depth, Int32 stencil, Int32 samples, ColorFormat accum, Int32 buffers, Boolean stereo)
   at OpenTK.Platform.X11.X11GraphicsMode.SelectGraphicsMode(ColorFormat color, Int32 depth, Int32 stencil, Int32 samples, ColorFormat accum, Int32 buffers, Boolean stereo)
   at OpenTK.Graphics.GraphicsMode.LazySelectGraphicsMode()
   at OpenTK.Graphics.GraphicsMode.get_Index()
   at OpenTK.X11GLControl..ctor(OpenTK.Graphics.GraphicsMode mode, System.Windows.Forms.Control control)
   at OpenTK.GLControlFactory.CreateGLControl(OpenTK.Graphics.GraphicsMode mode, System.Windows.Forms.Control control)
   at OpenTK.GLControl.OnHandleCreated(System.EventArgs e)
   at ArdupilotMega.Controls.HUD.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 System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(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.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 System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(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.SplitContainer.WndProc(Message ByRef msg)
   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 System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(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.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 System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(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.SplitContainer.WndProc(Message ByRef msg)
   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 System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(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.MyUserControl.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 System.Windows.Forms.Control.SetVisibleCore(Boolean value)
   at System.Windows.Forms.Control.set_Visible(Boolean value)
   at ArdupilotMega.Controls.MainSwitcher+Screen.set_Visible(Boolean value)
   at ArdupilotMega.Controls.MainSwitcher.ShowScreen(System.String name)
   at ArdupilotMega.MainV2.MenuFlightData_Click(System.Object sender, System.EventArgs e)
   at ArdupilotMega.MainV2.MainV2_Load(System.Object sender, System.EventArgs e)
   at System.Windows.Forms.Form.OnLoad(System.EventArgs e)
   at System.Windows.Forms.Form.OnLoadInternal(System.EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(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.Form.WndProc(Message ByRef m)
   at ArdupilotMega.MainV2.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.MapWindow(System.Windows.Forms.Hwnd hwnd, WindowType windows)
   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.Form.CreateHandle()
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
   at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
   at System.Windows.Forms.Control.set_Visible(Boolean value)
   at System.Windows.Forms.Application.RunLoop(Boolean Modal, System.Windows.Forms.ApplicationContext context)
   at System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationContext context)
   at System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm)
   at ArdupilotMega.Program.Main()

Views: 541

Reply to This

Replies to This Discussion

I've figured out some things through the good folks over at Ubuntu Forums, http://ubuntuforums.org. Because I'm using Ubuntu 12.04.2 LTS and my systems GPU is: 01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RS780M/RS780MN [Mobility Radeon HD 3200 Graphics]; they told me the following regarding mono and my version of Ubuntu:

"AMD/ATI stopped continuing development of the fglrx driver for all HD 4000 models and earlier. Those cards will still work with the legacy driver in the 12.04 and 12.04.1 repo. However, beginning with 12.04.2, changes in the kernel and the change from X Server 1.12 to 1.13 mean that the older driver, no longer updated, will not work. You need an HD 5000 or later series.

There are ways to get those older cards to work, but I recommend against them so strongly that I will not even bother to point them out. They effectively break your system using a kludge that is bound to cause problems with future updates and dependencies. As a matter of fact, I have already worked with two forum users for whom just that happened.

AMD/ATI caught us all off guard with this. This was not a great service to the Linux community -- particularly when there are new systems still on the shelves with some of those GPUs."

The entire thread discussing this can be found at:

http://ubuntuforums.org/showthread.php?t=2153027

Short of using a VM with windows, would there be another way to run MissionPlanner in Ubuntu?

I'm also going to start another thread to see if there are other ways to program ArduPilot Mega without using MissionPlanner...

Hi Mike,

Do you know if had had found a solution to your problem?

If so could you post what you exactly did? I am facing a similar problem with X11.

Thanks.
Shyam

Reply to Discussion

RSS

Groups

Season Two of the Trust Time Trial (T3) Contest 
A list of all T3 contests is here. The current round, the Vertical Horizontal one, is here

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service