HGL
harsh-harlequin

Unreal 4 Game Crash in Game Mode with VK_ERROR_OUT_OF_HOST_MEMORY (Steam Deck)

Game is Horizon Chase 2 from EGS. I can run the game in desktop mode fine but in game mode it crashes with lowlevelfatalerror Here's the log https://0x0.st/8F96.log
4 Replies
afraid-scarlet
afraid-scarlet2mo ago
not sure if there's much you can do if the game runs out of memory you could try using GE-Proton instead of Proton Experimental maybe
harsh-harlequin
harsh-harlequinOP5w ago
Got the same crash with GE-Proton Strangely this game used to work well in game mode before I updated steamos to 3.7 stable some months ago Forgot to mention, other Unreal games works fine for me if I add them directly as non-steam game + proton experimental, but for some reason all non-steam launchers have this similar problem on my deck From what I've scoured of similar bug reports, it seems it has to do with either regression with umu version I'm using or my steam deck's shader precaching option is disabled. Will try to reenable shader precaching when I get to boot my deck later today Update: I always had shader precache enabled
CommandMC
CommandMC5w ago
The shader cache download option being disabled is no longer an issue. I fail to see how umu could influence anything regarding VRAM Could you send in another game log? The above one is expired (they're only valid for 1 day)
harsh-harlequin
harsh-harlequinOP3w ago
https://0x0.st/8Fl9.log
[Gamescope WSI] Creating swapchain for xid: 0x1a00035 - oldSwapchain: (nil) - provided minImageCount: 4 - minImageCount: 4 - format: VK_FORMAT_R8G8B8A8_UNORM - colorspace: VK_COLOR_SPACE_SRGB_NONLINEAR_KHR - flip: true
[Gamescope WSI] Created swapchain for xid: 0x1a00035 swapchain: 0x7f91d40b2ea0 - imageCount: 4
info: Presenter: Got VK_ERROR_OUT_OF_DATE_KHR, recreating swapchain
[Gamescope WSI] Destroying swapchain: 0x7f91d40b2ea0
[Gamescope WSI] Destroyed swapchain: 0x7f91d40b2ea0
err: Presenter: Failed to query surface formats: VK_ERROR_SURFACE_LOST_KHR
[Gamescope WSI] Creating Gamescope surface: xid: 0x1a00040
[Gamescope WSI] Failed to get Wayland objects
01e8:err:vulkan:X11DRV_vulkan_surface_create Failed to create Xlib surface
err: Presenter: Failed to create Vulkan surface: VK_ERROR_OUT_OF_HOST_MEMORY
[Gamescope WSI] Creating Gamescope surface: xid: 0x1a00041
[Gamescope WSI] Failed to get Wayland objects
01e8:err:vulkan:X11DRV_vulkan_surface_create Failed to create Xlib surface
err: Presenter: Failed to create Vulkan surface: VK_ERROR_OUT_OF_HOST_MEMORY
[Gamescope WSI] Creating Gamescope surface: xid: 0x1a00046
[Gamescope WSI] Failed to get Wayland objects
[Gamescope WSI] Creating swapchain for xid: 0x1a00035 - oldSwapchain: (nil) - provided minImageCount: 4 - minImageCount: 4 - format: VK_FORMAT_R8G8B8A8_UNORM - colorspace: VK_COLOR_SPACE_SRGB_NONLINEAR_KHR - flip: true
[Gamescope WSI] Created swapchain for xid: 0x1a00035 swapchain: 0x7f91d40b2ea0 - imageCount: 4
info: Presenter: Got VK_ERROR_OUT_OF_DATE_KHR, recreating swapchain
[Gamescope WSI] Destroying swapchain: 0x7f91d40b2ea0
[Gamescope WSI] Destroyed swapchain: 0x7f91d40b2ea0
err: Presenter: Failed to query surface formats: VK_ERROR_SURFACE_LOST_KHR
[Gamescope WSI] Creating Gamescope surface: xid: 0x1a00040
[Gamescope WSI] Failed to get Wayland objects
01e8:err:vulkan:X11DRV_vulkan_surface_create Failed to create Xlib surface
err: Presenter: Failed to create Vulkan surface: VK_ERROR_OUT_OF_HOST_MEMORY
[Gamescope WSI] Creating Gamescope surface: xid: 0x1a00041
[Gamescope WSI] Failed to get Wayland objects
01e8:err:vulkan:X11DRV_vulkan_surface_create Failed to create Xlib surface
err: Presenter: Failed to create Vulkan surface: VK_ERROR_OUT_OF_HOST_MEMORY
[Gamescope WSI] Creating Gamescope surface: xid: 0x1a00046
[Gamescope WSI] Failed to get Wayland objects
Here's from a different game (X-Morph Defense) with identincal error message. It doesn't crash right away but the game runs in black screen (audio and input are still present). From what I gather the log seems to vomit gamescope error with the familiar VK_ERROR_OUT_OF_HOST_MEMORY message Figured the fix courtesy of the other thread, I have to remove ALL gamescope installed by flatpak to get all these games back working on game mode. Marked as solved

Did you find this page helpful?