Prefer OpenGL

Prefer OpenGL

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

by
1.8K Downloads
fabricforgequiltutility
Configure a Compatible Minecraft Server

Screenshots

code block
Amethyst launcher.

About this Mod

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

Available Versions

fabric-26.2-v1.0.0release
MC 26.2-snapshot-2, 26.2-snapshot-3, 26.2-snapshot-4, 26.2-snapshot-5, 26.2-snapshot-6, 26.2-snapshot-7, 26.2-snapshot-8, 26.2-pre-1, 26.2-pre-2, 26.2-pre-3, 26.2-pre-4, 26.2-pre-5, 26.2-pre-6, 26.2-rc-1, 26.2-rc-2, 26.2, 26.3-snapshot-1, 26.3-snapshot-2, 26.3-snapshot-3, 26.3-snapshot-4, 26.3-snapshot-5, 26.3-snapshot-6, 26.3-snapshot-7, 26.3-snapshot-8, 26.3-snapshot-9fabric, quilt
April 25, 2026
forge-26.2-v1.0.0release
MC 26.2-snapshot-2, 26.2-snapshot-3, 26.2-snapshot-4, 26.2-snapshot-5, 26.2-snapshot-6, 26.2-snapshot-7, 26.2-snapshot-8, 26.2-pre-1, 26.2-pre-2, 26.2-pre-3, 26.2-pre-4, 26.2-pre-5, 26.2-pre-6, 26.2-rc-1, 26.2-rc-2, 26.2, 26.3-snapshot-1, 26.3-snapshot-2, 26.3-snapshot-3, 26.3-snapshot-4, 26.3-snapshot-5, 26.3-snapshot-6, 26.3-snapshot-7, 26.3-snapshot-8, 26.3-snapshot-9forge
April 25, 2026

How to Install Prefer OpenGL on Your Client

1

Install the Mod Loader Locally

Install fabric for your local Minecraft version.

2

Download the Matching File

Choose the Prefer OpenGL file for fabric and Minecraft 26.3-snapshot-9.

3

Install Mod

Place the .jar file in your local .minecraft/mods folder and restart Minecraft. No server-side installation is required.

Compatibility

Mod Loaders

fabricforgequilt

Minecraft Versions

26.3-snapshot-9, 26.3-snapshot-8, 26.3-snapshot-7 (+22 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

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 Minecraft mods folder. Your server can remain unchanged unless the mod 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 26.3-snapshot-9, 26.3-snapshot-8, 26.3-snapshot-7. 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. Put the .jar file in your local .minecraft/mods folder and remove older duplicates. Because this mod is client-side, adding server RAM will not fix it.

Minecraft Server for Your Group

Prefer OpenGL stays on your client. Host a compatible world for your group.

Recommended RAM
4 GBfrom €5.2/mo
Minimum 3 GB | per 8 players
Create Server Now
Client Compatibility Guide
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-All-Rights-Reserved
Server-side
Unsupported

Supported Versions

26.3-snapshot-926.3-snapshot-826.3-snapshot-726.3-snapshot-626.3-snapshot-526.3-snapshot-426.3-snapshot-326.3-snapshot-226.3-snapshot-126.2+15 more