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


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_openglgraphicsApi:prefer_opengl(legacy fallback)
If neither exists, it appends graphicsApiPreference:prefer_opengl.

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.

Available Versions
How to Install Prefer OpenGL on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (26.2-pre-1).
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
Minecraft Versions
26.2-pre-1, 26.2-snapshot-8, 26.2-snapshot-7 (+5 more)
Server-side
✗ UnsupportedRecommended 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.
Similar Mods
Rent Modded Server
Install Prefer OpenGL with just one click on your server.