I am getting following error when running AgOpenGPS Applcation

root@imx6ull9x9evk:~# mono AgOpenGPS/AgOpenGPS/Application/AgOpenGPS.exe
X does not support your locale
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: aspect
at OpenTK.Matrix4.CreatePerspectiveFieldOfView (System.Single fovy, System.Single aspect, System.Single zNear, System.Single zFar, OpenTK.Matrix4& result) [0x00028] in <42e0bc733f354a278eb2a33f1b3c196e>:0
at OpenTK.Matrix4.CreatePerspectiveFieldOfView (System.Single fovy, System.Single aspect, System.Single zNear, System.Single zFar) [0x00000] in <42e0bc733f354a278eb2a33f1b3c196e>:0
at AgOpenGPS.FormGPS.oglMain_Resize (System.Object sender, System.EventArgs e) [0x0005a] in <07e2dd15d4a94ef5a7c0740d898e28ae>:0
at System.Windows.Forms.Control.OnResizeInternal (System.EventArgs e) [0x00025] in <2c6d049fa1fe47379ee190e28b8d6059>:0
at System.Windows.Forms.Control.OnResize (System.EventArgs e) [0x00000] in <2c6d049fa1fe47379ee190e28b8d6059>:0
at OpenTK.GLControl.OnResize (System.EventArgs e) [0x0004c] in :0
at System.Windows.Forms.Control.OnSizeChanged (System.EventArgs e) [0x00006] in <2c6d049fa1fe47379ee190e28b8d6059>:0
at System.Windows.Forms.Control.UpdateBounds (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Int32 clientWidth, System.Int32 clientHeight) [0x000ce] in <2c6d049fa1fe47379ee190e28b8d6059>:0
at System.Windows.Forms.Control.UpdateBounds () [0x00029] in <2c6d049fa1fe47379ee190e28b8d6059>:0
at System.Windows.Forms.Control.WmWindowPosChanged (System.Windows.Forms.Message& m) [0x00000] in <2c6d049fa1fe47379ee190e28b8d6059>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x0019c] in <2c6d049fa1fe47379ee190e28b8d6059>:0
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <2c6d049fa1fe47379ee190e28b8d6059>:0
at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00027] in <2c6d049fa1fe47379ee190e28b8d6059>:0
at System.Windows.Forms.UserControl.WndProc (System.Windows.Forms.Message& m) [0x00025] in <2c6d049fa1fe47379ee190e28b8d6059>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <2c6d049fa1fe47379ee190e28b8d6059>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0000b] in <2c6d049fa1fe47379ee190e28b8d6059>:0
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00085] in <2c6d049fa1fe47379ee190e28b8d6059>:0

Can you say what you were doing at the time? Has it been working for a while and just failed? After restart, did it work ok?

+Which version? Compiled yourself? Tried in WINE mono? Monitor setup maybe? (resizing related?)

1 Like

It looks like he is trying to run in mono, AgOpenGps does only run under windows, as far as I know.

Yup, Windoze is a bit of a must. There is a discussion on Linux and Mono

I was getting error in X11 so i changed DISTRO from x11 to xwayland and i am able to run the Application via mono,
what is the minimum window resolution needed for the application

1024x768 but 1366x768 is a lot more useable

Suppose i want to run this application in 800 X 480 resolution what changes need to be done, is it possible to run the application in 800 X 480 resolution

Can you send me the link where this discussion is going on

tldr- WINE with real dotnet runtime

Can we reduce the application to 800X480

no, that is too small