Prefer OpenGL

Prefer OpenGL

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

by
291 Downloads
fabricforgeutility
Rent Server with this Mod

Screenshots

code block
Amethyst launcher.

About this Mod

Prefer OpenGL

This project includes loader-specific entrypoints for:

  • Fabric
  • Quilt (in development)
  • 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-1fabric
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-1forge
April 25, 2026

How to Install Prefer OpenGL on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.2-pre-1).

3

Install Mod

Open the mod browser in the dashboard and search for "Prefer OpenGL". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricforge

Minecraft Versions

26.2-pre-1, 26.2-snapshot-8, 26.2-snapshot-7 (+5 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Prefer OpenGL server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.2-pre-1). You can switch loaders with one click in the panel.

Is Prefer OpenGL compatible with fabric and forge?

Prefer OpenGL officially supports fabric, forge for Minecraft 26.2-pre-1, 26.2-snapshot-8, 26.2-snapshot-7. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Prefer OpenGL – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Prefer OpenGL consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Prefer OpenGL with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

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

Supported Versions

26.2-pre-126.2-snapshot-826.2-snapshot-726.2-snapshot-626.2-snapshot-526.2-snapshot-426.2-snapshot-326.2-snapshot-2