3

Hi. Minecraft has only been running with my integrated GPU (Intel UHD Graphics 360), so I got Minecraft to use my external GPU (NVIDIA GeForce RTX 2060) by going to settings and setting C:\Program Files (x86)\Minecraft Launcher\runtime\jre-x64\bin\javaw.exe to my "High Performance GPU".

Screenshot: The problem is that when I try to run Minecraft it crashes with Error: java.lang.RuntimeException: GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT.

As far as I can tell I have the latest drivers and updates. It would be very helpful if someone could help me out. I am running Minecraft: Java Edition 1.15.2.

Crash Report

Details:

Operating System: Windows 10.0.18363

Processor: Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz

Memory: 32GB

External GPU Driver: NVIDIA GeForce Game Ready Driver 442.19

  • GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT is related to incomplete textures. Have you tried reinstalling Minecraft or disabling any texture pack you may be using? – Nolonar Feb 23 at 21:49
  • @Nolonar I'm not using any custom texture pack, just the ones that come with the game. Also what do you mean about reinstalling Minecraft? – SethTheTechWiz Feb 23 at 21:56
  • It's possible the game's textures are damaged. Reinstalling Minecraft could solve this problem. – Nolonar Feb 23 at 22:24
  • 1
    Are you sure you reinstalled Minecraft and not just the launcher? – Corsaka Feb 24 at 9:38
  • 1
    Xilefian (a Mojang developer) had a similar problem very recently; a recent upgrade of Microsoft's drivers for graphics cards removed support for some old OpenGL feature Minecraft depends on. Make sure to install the driver from Nvidia site. – SF. Feb 24 at 10:40
1

What you're encountering is quite weird, as other commenters have said it seems to imply a corrupt texture in the game. (Did you manage to pinpoint when exactly it crashes? Maybe when you look at a specific object in the game?)

Anyways, when dealing with issues of this sort, the answer generally lies in updating this and reinstalling that. (Worst case scenario even reinstalling windows).

So let me walk you through that.

Step 1: Reinstall Minecarft

1. Navigate to your Application Data Folder: %AppData%
2. Double Click the .minecraft folder
3. Copy out the saves folder to a different location
4. Go back one directory (to where you can see .minecraft)
5. Drag the .minecraft folder into the trash
6. Start the Minecraft.exe file to re-download Minecraft
7. Close Minecraft when you reach the title screen
8. Copy the saves folder back into the new .minecraft folder. You can safely overwrite any data that's currently in this folder

Then try running the game again on your nvidia card, see if it still crashes.

Step 2: Update things...

If that didn't do the trick, you need to make sure your drivers and Java are both up to date as well.

For your Nvidia drivers, right click your desktop, go to 'Nvidia Control Panel', in there go to 'System Information' (bottom left corner). There you can see your current driver version. (First item under 'details').

Now go to one of Nvidia's driver pages

In there select the appropriate graphics card/os combination, and hit search to find the latest graphics driver.

For Java, you can go to this page:

And download the latest Java JRE and JDK (these will not be the same version!), also for JRE make sure you get both the 32-bit(i586) and 64-bit(x64) versions.

Now you can try running minecraft again, if it didn't work after a full reinstall, it should hopefully work by now.

Step 3: Fully reinstall your graphic drivers.

If things still aren't working, try doing a full reinstall of your Nvidia drivers, this can get a bit technical so here's a guide for how to do this.

CLEAN PREVIOUS TRACES

  1. Uninstall any previous drivers through (Add Or Remove Programs).
  2. Go to (My Computer > Local Disc > Program files) and delete the "NVIDIA Corporation" folder.
  3. Go to (My Comptuer > Local Disc > WINDOWS), then press "CTRL+F" and search for "NV". Delete all the files that start with "NV" or look like they have relevence to Nvidia.
  4. Download the latest Nvidia driver from the Nvidia website.
  5. Go to (Start > Run > "services.msc"). This will bring up all the services running. Make sure all the services related to drivers are enabled.
  6. Complete a registry scan (This will remove any keys that were related with Nvidia, and it could also boost your PC's performance). Ccleaner (A free registry cleaner) - http://www.piriform.com/ccleaner/download/standard

THE FOLLOWING STEPS WILL NOT ALLOW ACCESS TO THE INTERNET, SAVE THIS TEXT TO REFER TO.

  1. Reboot your computer using safemode by hitting F8 repetably. 2.Go to (My Computer > Local Disc > WINDOWS), then press "CTRL+F" and search for "NV". Delete all the files that start with "NV" or look like they have relevence to Nvidia. (Yes it is the same as step 2 but sometimes the files reduplicate).

DRIVER INSTALLATION

  1. Open the Nvidia Driver that you downloaded and let it extract the files and folders.
  2. Accept the licence agreement.
  3. Select "CUSTOM".
  4. Install what you need but preferably just the graphics driver so there's less chance of error.
  5. Make sure "Clean installation" is checked.
  6. Let the installation begin!

Now try minecraft yet again.

Step 4: Defragment your hard drive/partition

Maybe the cause of your problem is fragmentation of your hard drive/partition (unlikely if you're on an SSD). To defrag your hard drive go to This Pc>Right Click on Local Disk (C:)> Properties> Tools> Optimize

This of course assumes minecraft is installed on your C:\ Drive.

After this, repeat step 1 and try again. There is however a small chance your hard drive might be failing rather than just being sligthly fragmented so download a program (any program that can do it) to check your hard drive health via SMART. (I suggest CrystaldiskInfo)

Step 5: Turn to mods

If it still isn't working, and you're still getting the same error allowing us to assume that you have corrupted textures, then I guess the final option just has to be to download a texture pack to override that corrupted texture (kudos if you can pinpoint the exact texture; then maybe you won't need an entire texture pack).

There are a lot of places where you can get texture packs for minecraft, and I don't feel comfortable recommending any of them because all of them somehow manage to look shady, maybe with the exception of curseforge. Since you like the vanilla textures so much, maybe you would be well served with a texture pack that tries to improve upon the vanilla textures rather than replace them, a great example and personal favorite of mine is called "Default 3D" which creates the illusion of depth (probably using normalmaps...) on the textures.

Here's how to install a texture pack.

  1. Download a texture pack. Most texture packs are in ZIP file format, but as long as it has the necessary files (pack.txt), Minecraft recognizes a folder as a texture pack. In-depth instructions on obtaining the files to make custom texture packs are located at Tutorials/Custom texture packs. However this is not necessary, as of snapshot 12w23a, for as long as pack.txt exists, it is recognized as a texture pack.
  2. Run Minecraft. If Minecraft is already running, make sure to leave the world.
  3. Click Texture Packs in Options.
  4. Click Open Texture Pack Folder; this opens the folder where Minecraft stores all texture packs. If nothing happens, the folder must be found manually. Depending on the operating system it is located at:
    • Windows XP and above: %appdata%.minecraft\texturepacks .
    • GNU/Linux: ~/.minecraft/texturepacks (this folder may be hidden in the Home folder).
    • macOS: ~/Library/Application Support/minecraft/texturepacks (this folder may be hidden).
  5. Minecraft does not have to be closed when placing the texture pack in the opened folder.
  6. In a few seconds the texture pack appears in Minecraft. Select it and click "Done". The texture pack is now applied. If Minecraft did not update, simply exit and reopen the texture packs screen.

If even now after following all the above steps and even trying to replace the problematic textures with a texture pack still hasn't solved the problem, then I'm finally out of ideas.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.