Description:
Textures become corrupted (random pixels and black areas) after suspend and resume on linux with an nvidia gpu.
Steps to reproduce:
Ensure Vulkan is being used.
Go to a Minecraft world.
Suspend the system.
Resume the system.
Textures are corrupted.
Result:
Textures (blocks and ui, but not entities for some reason) get random pixels and black rectangles all over them. (see screenshots).
Expected:
Textures do not become corrupted.
Notes:
Only happens with Vulkan, not OpenGL.
Can be fixed by reloading textures (F3+T).
Only happens when nvidia-drm.modeset=1, and doesn’t happen when nvidia-drm.modeset=0.
Reproduced in:
OS: Arch Linux (linux 6.19.11-arch1-1)
GPU: Laptop Nvidia 4050 Gpu. (also have an Amd 740M IGPU, but it is not used for minecraft.)
GPU Driver: Nvidia 595.58.03
DE: KDE Plasma on Wayland
VERSION: 26.2-snapshot-1 to 26.2-snapshot-3
Environment
OS: Arch Linux (linux 6.19.11-arch1-1) GPU: Laptop Nvidia 4050 Gpu. (also have an Amd 740M IGPU, but it is not used for minecraft.) GPU Driver: Nvidia 595.58.03 DE: KDE Plasma on Wayland
Thank you for helping us improve Minecraft! We saved your files: