Hello, this is my first post. I have a problem where LWJGL keeps throwing an LWJGLException and crashing, I think it may be a bug:
org.lwjgl.LWJGLException: Failed to set display mode (-2).
I'll explain when this happens.
I have a Toshiba laptop (Windows 7 64-bit) that has 24 display modes, all are 60hz frequency and 1366x768 is the maximum resolution. When I plug my laptop to my Sony Bravia TV using HDMI LWJGL says now I have 72 display modes; I have more frequencies: 24hz, 25hz, 30hz, 59hz and 60hz, and I have more resolutions, up to 1920x1080.
Now, if my desktop display mode is '1366x768 60hz' and I use LWJGL to change it to '1920x1080 30hz' it crashes. If my desktop display mode is '1920x1080 30hz' and I change it to '1920x1080 59hz' it crashes. However, it doesn't crash if I change a 60hz display mode to a 25hz and viceversa.
The odd thing is, I have another computer with a monitor that supports 60hz, 72hz and 75hz frequencies. Changing from one to the other doesn't crash at all. I only get crashes when changing display modes with different frequencies using the Sony TV.
Is this a bug?
Thanks for your time.