
Modrinth · Minecraft mod
Prefer OpenGL
This Fabric client mod rewrites options.txt so the renderer preference is set to OpenGL.
Quick answer
Which Prefer OpenGL release should I use?
Prefer OpenGL fabric-26.2-v1.0.0 targets 26.2, 26.2-pre-1, 26.2-pre-2 with Fabric, Quilt. It must be installed on the client. Do not install it on the dedicated server. No extra mods listed for this file.
Where it goes
Is Prefer OpenGL required on the client, server, or both?
It must be installed on the client. Do not install it on the dedicated server.
This file is marked client-only.
What else does Prefer OpenGL fabric-26.2-v1.0.0 need?
fabric-26.2-v1.0.0. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Prefer OpenGL without breaking your instance.
Built for Prefer OpenGL fabric-26.2-v1.0.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use fabric-26.2-v1.0.0. It targets 26.2, 26.2-pre-1, 26.2-pre-2 with Fabric, Quilt; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
It must be installed on the client. Do not install it on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside fabric-26.2-v1.0.0. It opens that exact file at the source.
About this project
What does Prefer OpenGL add?
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_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.

Project description from Modrinth.
Pick your setup
Prefer OpenGL by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.4-snapshot-7
3 loader builds26.4-snapshot-6
3 loader builds26.4-snapshot-5
3 loader builds26.4-snapshot-4
3 loader builds26.4-snapshot-3
3 loader builds26.4-snapshot-2
3 loader builds26.4-snapshot-1
3 loader builds26.3-snapshot-10
3 loader builds26.3-snapshot-9
3 loader builds26.3-snapshot-8
3 loader builds26.3-snapshot-7
3 loader buildsShowing the newest 12 of 42 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Prefer OpenGL versions and loaders
fabric-26.2-v1.0.0
preferopengl-1.0.0.jar
25 Apr 2026
forge-26.2-v1.0.0
preferopengl-forge-1.0.0.jar
25 Apr 2026
Looking for an older file? The official Modrinth project page is in Resources.