mojira.dev

RuVl

Assigned

No issues.

Reported

No issues.

Comments

Confirming this on Linux with the 26.3 release (please add 26.3 to affected versions).

Same exception and stack trace as the attached reports:
java.lang.IllegalStateException: GPU timeout attempting to acquire next frame
TOP_OF_PIPE = END_RENDER_PASS GUI after blur
BOTTOM_OF_PIPE = END_RENDER_PASS GUI after blur
at com.mojang.renderpearl.backend.vulkan.VulkanGpuSurface.acquireNextTexture(VulkanGpuSurface.java:271)
at com.mojang.renderpearl.frontend.FrontendGpuSurface.acquireNextTexture(FrontendGpuSurface.java:71)
at net.minecraft.client.Minecraft.renderFrame(Minecraft.java:1330)

System:

  • Arch Linux, kernel 7.2.8, Fabric (Sodium, Lithium; also happens in the main menu, no world loaded)

  • AMD Ryzen 5 5600H with integrated Radeon Vega (Cezanne), Mesa RADV 26.2.3

  • Wayland compositor (niri), game window running through XWayland (VK_KHR_xlib_surface), fullscreen, VSync on

Steps:

  1. Leave the game running (here: on the title screen).

  2. Close the laptop lid -> screen locks, system enters s2idle.

  3. Resume.

The game crashes about 2 seconds after resume. At that moment the window is not visible (lock screen on top), and during suspend/resume the compositor briefly loses DRM master because of a VT switch, so the surface cannot present for a few seconds.

So this is not specific to Windows or to the proprietary AMD driver: it also happens on Mesa RADV on Linux. It looks like vkAcquireNextImageKHR hits its timeout while the surface temporarily cannot present, and the game treats that timeout as fatal instead of waiting or recreating the swapchain. MC-310118 (hidden window, 0x0 swapchain) was fixed, but an occluded and non-minimized window after sleep still crashes.