Shader glitches with Minecraft with Forge + Optifine
System information
- OS: Arch Linux
- GPU: AMD Radeon 6900XT
- Kernel version: 5.19.5-zen1-1-zen
- Mesa version: 22.1.7 (Problem occures since 22.1.5)
- Xserver version (if applicable): 1.21.1.4 (I am running on Wayland but MC is an X application)
- Desktop manager and compositor: GNOME & Mutter 42.4
Describe the issue
When playing Minecraft (I tried 1.19.2) using Optifine in conjunction with Forge causes every shader to glitch in some form or another after switching dimensions or worlds (Random blocks start to glow, leaves stop waving, torches start waving, grass being gray, wrong textures on some blocks etc.). This occures with Mesa 22.1.5 and newer, everything works fine on 22.1.4 and below. I also tried the newest Mesa from master (I just used the mesa-git
AUR package) but to no avail. Everything works fine with zink btw (also tried that)
Regression
Shaders used to not glitch out in random ways but do since 22.1.5
Log files as attachment
Screenshots/video files (if applicable)
Minecraft Shader Glitches Video (YouTube)
I am sorry for attaching it as a youtube video but I tried to upload the video to this issue for half an hour now (even compressed to a smaller size) and I am always getting a "Server Returned 0" error