Modrinth · Fabric, Forge, Quilt · Client mod

Prefer OpenGL

Prefer OpenGL is a client-side mod. Install it on your computer; the server does not need it.

This Fabric client mod rewrites options.txt so the renderer preference is set to OpenGL.

Downloads
8.2K
Author
MaxJubayerYT
Loader
Fabric, Forge, Quilt
Minecraft
26.2 – 26.3
Updated
–

Screenshots

What Prefer OpenGL looks like

Images: Prefer OpenGL on Modrinth, published by the project team.

Setup

Install Prefer OpenGL on your client

Client-side mods only run on your computer. More server RAM does not change their performance.

  1. 01

    Install the loader locally

    Install Fabric or Forge or Quilt for your Minecraft version in your launcher.

  2. 02

    Download the file

    Download the Prefer OpenGL file for your loader and your exact Minecraft version, for example 26w14a.

  3. 03

    Add it to the mods folder

    Put the .jar file in your local .minecraft/mods folder and remove older duplicates.

  4. 04

    Launch

    Launch Minecraft with the loader profile. Nothing needs to change on the server.

On the server
Not needed
On the client
Required
Loader
Fabric, Forge, Quilt
Minecraft
26w14a, 26.4-snapshot-7, 26.4-snapshot-6 +39 more
License
LicenseRef-All-Rights-Reserved

Releases

Published releases

Pick the file that matches your server’s loader and Minecraft version. The server and players need the same release.

Prefer OpenGL · Modrinth
Original description by the project author

Prefer OpenGL

This project includes loader-specific entrypoints for:

  • Fabric
  • Quilt
  • Forge
  • NeoForge (in development)

All variants call the same shared logic to force an OpenGL renderer preference by editing options.txt.

Shared behavior

On client startup, each loader entrypoint ensures one of these keys is set to OpenGL:

  • graphicsApiPreference:prefer_opengl
  • graphicsApi:prefer_opengl (legacy fallback)

If neither exists, it appends graphicsApiPreference:prefer_opengl.

code block

Important note!

This mod fixes crash on Amethyst Launcher (and other mobile java launchers) which does have vulkan but doesn't have some librarys. So, Minecraft switchs to Vulkan API and crashes. More ever what this mod does is it forces OpenGL as the renderer API. And if you're device supports Vulkan API please don't use this mod first try if Vulkan works or not.

Amethyst launcher

FAQ

Prefer OpenGL questions

Question not listed? Ask our team.

Does Prefer OpenGL need to be installed on the Minecraft server?

No. Modrinth marks Prefer OpenGL as unsupported on the server side. Install it only in your local mods folder. Your server can stay unchanged unless the project page lists an additional dependency.

Which version and loader does Prefer OpenGL require?

Use a file for Fabric, Forge, Quilt and your exact Minecraft version. Supported versions include 26w14a, 26.4-snapshot-7, 26.4-snapshot-6. Files for different loaders are not interchangeable.

Prefer OpenGL is not working – what should I check?

First check the Minecraft version, loader version and required dependencies. Because the mod is client-side, more server RAM will not fix it.

Looking for mods for your own server?

The catalog lists mods that run on Minecraft servers.

Browse all mods