This error occurs on Minecraft 1.7.10, 1.8.9, and 1.12.2, and is characterized by org.lwjgl.LWJGLException: Failed to set display mode (-2) appearing in your crash log. This is only known to cause issues for players with NVIDIA GPUs who are attempting to go into fullscreen mode, or launch with fullscreen enabled.


Below, we've provided instructions on how to fix this crash by modifying your NVIDIA GPU settings. Not all monitors/GPUs support this, in which case you will have to change your resolution or disable launching in fullscreen.


Solution 1: Changing NVIDIA settings

This is the best way to solve the problem. Please attempt this before any of the solutions below.


Step 1: Open the NVIDIA control panel

  1. Press the Windows key to open Search.
  2. Type in "NVIDIA Control Panel", then press Enter.


Step 2: Enable extra resolutions

  1. Go to the "Display" section on the left sidebar.
  2. Click "Change Resolution" under the "Display" section.
  3. Under "2. Change the resolution.", click the "Customize" button.
    1. If "Customize" is greyed out / cannot be clicked, your monitor doesn't support custom resolutions. Please move on to solution 2 below.
  4. Check the "Enable resolutions not exposed by the display" checkbox.
  5. Click "OK" to apply the changes.


Step 3: Restart your PC and relaunch

  1. Restart your computer.
  2. Open the Lunar Client launcher and launch the game.


Solution 2: Change launch resolution

This is a known workaround to avoid the problem, by changing the resolution your game launches at to one supported by your monitor/GPU. Please only attempt this if you're unable to fix the problem with solution 1.


Step 1: Open the NVIDIA control panel

  1. Press the Windows key to open Search.
  2. Type in "NVIDIA Control Panel", then press Enter.


Step 2: Determine supported resolutions

  1. Go to the "Display" section on the left sidebar.
  2. Look at the resolutions listed under "2. Choose the resolution".


Step 3: Change Lunar Client resolution

  1. Open the Lunar Client launcher.
  2. Click "Settings" at the bottom of the left sidebar.
  3. Scroll down to "Game Resolution".
  4. Modify your resolution to be one of the ones that was listed in the NVIDIA Control Panel in step 2.


Step 4: Launch Lunar Client

  1. Open the Lunar Client launcher and launch the game.


Solution 3: Disable launching in fullscreen

This is a known workaround to avoid the problem, by disabling launching in fullscreen. Please only attempt this if you're unable to fix the problem with solutions 1 or 2.


Step 1: Disable fullscreen in the Lunar Client launcher

  1. Open the Lunar Client launcher.
  2. Click "Settings" at the bottom of the left sidebar.
  3. Scroll down to "Game Resolution".
  4. Uncheck "Launch in Fullscreen?"


Step 2: Disable fullscreen in-game

  1. Press the Windows Key + R
  2. Type in %appdata%/.minecraft
  3. Find and open optionsLC.txt
  4. Find fullscreen and set it from true to false
  5. Click CTRL + S to save your changes


Step 3: Launch Lunar Client

  1. Open the Lunar Client launcher and launch the game.