kaifello's picture

X11XrandrDisplayDevice on Xming ---> Argument is out of range.

Project:The Open Toolkit library
Version:0.9.9-2b
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for OpenTK.Graphics.DisplayDevice ---> System.TypeInitializationException: An exception was thrown by the type initializer for OpenTK.Platform.X11.X11XrandrDisplayDevice ---> System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
at System.Collections.Generic.List`1[OpenTK.Graphics.DisplayResolution].get_Item (Int32 index) [0x00000]
at OpenTK.Platform.X11.X11XrandrDisplayDevice..cctor () [0x00000]
--- End of inner exception stack trace ---
at OpenTK.Platform.X11.X11Factory.CreateDisplayDeviceDriver () [0x00000]
at OpenTK.Platform.Factory.CreateDisplayDeviceDriver () [0x00000]
at OpenTK.Graphics.DisplayDevice..cctor () [0x00000]
--- End of inner exception stack trace ---
at OpenTK.Graphics.GraphicsMode.get_Default () [0x00000]
at OpenTK.GLControl..ctor () [0x00000]
at (wrapper remoting-invoke-with-check) OpenTK.GLControl:.ctor ()
at OpenGLDemo.MainForm.InitializeComponent () [0x0000b] in /home/kaif/opengl_demo2/MainForm.Designer.cs:32
at OpenGLDemo.MainForm..ctor () [0x00026] in /home/kaif/opengl_demo2/MainForm.cs:28
at (wrapper remoting-invoke-with-check) OpenGLDemo.MainForm:.ctor ()
at OpenGLDemo.Program.Main () [0x0000b] in /home/kaif/opengl_demo2/Program.cs:19

$ xrandr
Screen 0: minimum 1680 x 1050, current 1680 x 1050, maximum 1680 x 1050
default connected 1680x1050+0+0 0mm x 0mm
1680x1050 0.0*

What's wrong?


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kaifello's picture

#11

Thank you! It work)

the Fiddler's picture

#12

Version:0.9.x-dev» 0.9.9-2b
Status:fixed» closed

Closing issues fixed in 0.9.9-2.