mojira.dev
MC-307569

Texture corruption after suspending and resuming the system on Linux with the Vulkan rendering backend

Description:

Textures become corrupted (random pixels and black areas) after suspend and resume on linux with an nvidia gpu. 

Steps to reproduce:

  1. Ensure Vulkan is being used.

  2. Go to a Minecraft world.

  3. Suspend the system.

  4. Resume the system.

  5. 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). Also, blocks get thin black lines around them (especially noticeable in Desert.png)

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

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

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media][media][media][media]

TheLinuxSeal

(Unassigned)

Plausible

Platform G

Low

Rendering

26.2 Snapshot 3, 26.2 Snapshot 7, 26.2, 26.3 Snapshot 7

Retrieved