Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

Error on linux "org.lwjgl.LWJGLException: No modes available"

This is caused by lwjgl 2.xx not properly parsing odd xrandr display mode lines.  Example of accepted modeline "1920x1080" where as it would not accept  "1920x1080_60.00"

User end solution :

Create a compatible display mode using xrandr. First use "gtf" command to find correct modeline settings and edit as needed. Then using previously mentioned modeline use "xrandr -- newmode", "xrandr --addmode" and "xrandr --output" to create and use the mode.


Dev end solution:

Does not seem to be easily fixable without switching to lwjgl 3, since problem is probably rare individual use of user end solution would likely be optimal.

More info can be found at https://github.com/LWJGL/lwjgl/issues/112