Selaco
Bönstugan Dec 30, 2022 @ 3:28pm
Freezing entire system when starting on vulkan with linux
Hi, whenever i try starting the game on Vulkan my system freezes. I think i can see like the foreword and then the freeze happens. Tried OpenGL and that worked no problem, and i finished the demo (excellent game by the way, will purchase!)

My machine is running Manjaro, cpu 7700k, gpu 6800 xt.
KDE Plasma version 5.26, mesa 22.3, vulkan-radeon 22.3 kernel 6.1.
Forgot to mention Im on wayland, haven't tested X11.

Will happily provide anything else needed for troubleshooting.
Cheers
Last edited by Bönstugan; Dec 30, 2022 @ 4:44pm
< >
Showing 16-26 of 26 comments
MasterionX Mar 11, 2023 @ 6:34am 
Originally posted by Fix:
Under the "Device Groups" Chapter, if you're using RADV, it will say the name of your GPU and then just add "RADV" or something like "RADV POLARIS". If it doesn't say that , you're using AMDVLK (or AMDGPU-Pro, but for current purposes, that's close enough)

Device Groups:
==============
Group 0:
Properties:
physicalDevices: count = 1
AMD Unknown (RADV RENOIR) (ID: 0)
subsetAllocation = 0

Present Capabilities:
AMD Unknown (RADV RENOIR) (ID: 0):
Can present images from the following devices: count = 1
AMD Unknown (RADV RENOIR) (ID: 0)
Present modes: count = 1
DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR

Group 1:
Properties:
physicalDevices: count = 1
llvmpipe (LLVM 15.0.6, 256 bits) (ID: 0)
subsetAllocation = 0

Present Capabilities:
llvmpipe (LLVM 15.0.6, 256 bits) (ID: 0):
Can present images from the following devices: count = 1
llvmpipe (LLVM 15.0.6, 256 bits) (ID: 0)
Present modes: count = 1
DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR
Deiu Mar 13, 2023 @ 12:51pm 
Output from:

vulkaninfo --summary

========== VULKANINFO ========== Vulkan Instance Version: 1.3.239 Instance Extensions: count = 20 ------------------------------- VK_EXT_acquire_drm_display : extension revision 1 VK_EXT_acquire_xlib_display : extension revision 1 VK_EXT_debug_report : extension revision 10 VK_EXT_debug_utils : extension revision 2 VK_EXT_direct_mode_display : extension revision 1 VK_EXT_display_surface_counter : extension revision 1 VK_KHR_device_group_creation : extension revision 1 VK_KHR_display : extension revision 23 VK_KHR_external_fence_capabilities : extension revision 1 VK_KHR_external_memory_capabilities : extension revision 1 VK_KHR_external_semaphore_capabilities : extension revision 1 VK_KHR_get_display_properties2 : extension revision 1 VK_KHR_get_physical_device_properties2 : extension revision 2 VK_KHR_get_surface_capabilities2 : extension revision 1 VK_KHR_portability_enumeration : extension revision 1 VK_KHR_surface : extension revision 25 VK_KHR_surface_protected_capabilities : extension revision 1 VK_KHR_wayland_surface : extension revision 6 VK_KHR_xcb_surface : extension revision 6 VK_KHR_xlib_surface : extension revision 6 Instance Layers: count = 10 --------------------------- VK_LAYER_INTEL_nullhw INTEL NULL HW 1.1.73 version 1 VK_LAYER_LUNARG_gfxreconstruct GFXReconstruct Capture Layer Version 0.9.18-unknown 1.3.239 version 36882 VK_LAYER_MANGOHUD_overlay Vulkan Hud Overlay 1.3.0 version 1 VK_LAYER_MESA_device_select Linux device selection layer 1.3.211 version 1 VK_LAYER_MESA_overlay Mesa Overlay layer 1.3.211 version 1 VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer 1.3.207 version 1 VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer 1.3.207 version 1 VK_LAYER_VALVE_steam_overlay_32 Steam Overlay Layer 1.3.207 version 1 VK_LAYER_VALVE_steam_overlay_64 Steam Overlay Layer 1.3.207 version 1 VK_LAYER_VKBASALT_post_processing a post processing layer 1.3.223 version 1 Devices: ======== GPU0: apiVersion = 1.3.230 driverVersion = 22.3.6 vendorID = 0x1002 deviceID = 0x744c deviceType = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU deviceName = AMD Radeon Graphics (RADV GFX1100) driverID = DRIVER_ID_MESA_RADV driverName = radv driverInfo = Mesa 22.3.6 conformanceVersion = 1.3.0.0 deviceUUID = 00000000-0a00-0000-0000-000000000000 driverUUID = 414d442d-4d45-5341-2d44-525600000000 GPU1: apiVersion = 1.3.230 driverVersion = 0.0.1 vendorID = 0x10005 deviceID = 0x0000 deviceType = PHYSICAL_DEVICE_TYPE_CPU deviceName = llvmpipe (LLVM 15.0.7, 256 bits) driverID = DRIVER_ID_MESA_LLVMPIPE driverName = llvmpipe driverInfo = Mesa 22.3.6 (LLVM 15.0.7) conformanceVersion = 1.3.1.1 deviceUUID = 6d657361-3232-2e33-2e36-000000000000 driverUUID = 6c6c766d-7069-7065-5555-494400000000

Also, as launch options one could add:

RADV_DEBUG=noibs VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay %command%

For a nice graph with the GPU device used & driver and frametimes.
Fix Mar 14, 2023 @ 1:01am 
Alright, so here's a question for anyone currently using RADV:
Are you willing to install and try AMDVLK? The issue seems to not occur with AMDVLK, but it has not been tested on a lot of devices and distros, quite yet.
Deiu Mar 14, 2023 @ 2:24am 
Hi Fix,

Tested with amdvlk_2023.Q1.2_amd64.deb and with

VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay AMD_VULKAN_ICD=AMDVLK ./RunSelaco_Vulkan.sh

VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay AMD_VULKAN_ICD=AMDVLK vulkaninfo --summary WARNING: [Loader Message] Code 0 : env var 'VK_INSTANCE_LAYERS' defined and adding layers "VK_LAYER_MESA_overlay" WARNING: [Loader Message] Code 0 : env var 'VK_INSTANCE_LAYERS' defined and adding layers "VK_LAYER_MESA_overlay" ========== VULKANINFO ========== Vulkan Instance Version: 1.3.239 Instance Extensions: count = 20 ------------------------------- VK_EXT_acquire_drm_display : extension revision 1 VK_EXT_acquire_xlib_display : extension revision 1 VK_EXT_debug_report : extension revision 10 VK_EXT_debug_utils : extension revision 2 VK_EXT_direct_mode_display : extension revision 1 VK_EXT_display_surface_counter : extension revision 1 VK_KHR_device_group_creation : extension revision 1 VK_KHR_display : extension revision 23 VK_KHR_external_fence_capabilities : extension revision 1 VK_KHR_external_memory_capabilities : extension revision 1 VK_KHR_external_semaphore_capabilities : extension revision 1 VK_KHR_get_display_properties2 : extension revision 1 VK_KHR_get_physical_device_properties2 : extension revision 2 VK_KHR_get_surface_capabilities2 : extension revision 1 VK_KHR_portability_enumeration : extension revision 1 VK_KHR_surface : extension revision 25 VK_KHR_surface_protected_capabilities : extension revision 1 VK_KHR_wayland_surface : extension revision 6 VK_KHR_xcb_surface : extension revision 6 VK_KHR_xlib_surface : extension revision 6 Instance Layers: count = 11 --------------------------- VK_LAYER_AMD_switchable_graphics_64 AMD switchable graphics layer 1.3.240 version 1 VK_LAYER_INTEL_nullhw INTEL NULL HW 1.1.73 version 1 VK_LAYER_LUNARG_gfxreconstruct GFXReconstruct Capture Layer Version 0.9.18-unknown 1.3.239 version 36882 VK_LAYER_MANGOHUD_overlay Vulkan Hud Overlay 1.3.0 version 1 VK_LAYER_MESA_device_select Linux device selection layer 1.3.211 version 1 VK_LAYER_MESA_overlay Mesa Overlay layer 1.3.211 version 1 VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer 1.3.207 version 1 VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer 1.3.207 version 1 VK_LAYER_VALVE_steam_overlay_32 Steam Overlay Layer 1.3.207 version 1 VK_LAYER_VALVE_steam_overlay_64 Steam Overlay Layer 1.3.207 version 1 VK_LAYER_VKBASALT_post_processing a post processing layer 1.3.223 version 1 Devices: ======== GPU0: apiVersion = 1.3.240 driverVersion = 2.0.255 vendorID = 0x1002 deviceID = 0x744c deviceType = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU deviceName = AMD Radeon Graphics driverID = DRIVER_ID_AMD_OPEN_SOURCE driverName = AMD open-source driver driverInfo = 2023.Q1.2 (LLPC) conformanceVersion = 1.3.0.0 deviceUUID = 00000000-0a00-0000-0000-000000000000 driverUUID = 414d442d-4c49-4e55-582d-445256000000

The game starts and works normally as far as I see here.

Distro: Debian GNU/Linux bookworm/sid
Kernel: 6.2.5-x64v3-xanmod1
Libdrm-amdgpu: 2.4.114-1
kefir Mar 19, 2023 @ 11:24pm 
After the last stable update from valve Steam os 3.4.6 for Steam deck, in which they added a new mesa 23.1 driver, the game stopped working in vulkan mode.
Fix Jul 3, 2023 @ 6:02am 
We have a bunch of these threads, so hi, there. Has the recent demo update fixed this for you?
Squiddy Jul 5, 2023 @ 9:15am 
I'm seeing it entirely freeze on the main menu with both OpenGL and Vulkan on Steam Deck with the Native build, just seems entirely broken now in the new demo.

Can hear the music still going, but visually entirely frozen. It seems to happen as soon as I press a button, or move a joystick, until I do that you can see it's working. But as soon as you give input when you have the options list like new campaign, load game etc it freezes.

I tried then on my desktop Linux (Fedora KDE), tried loading with Vulkan and it instantly died with this error:
*** Fatal Error ***
Non-existent physical address (signal 7)
Address: 0x7f0c6c05aa18

System: Linux fedora 6.3.8-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 15 02:15:40 UTC 2023 x86_64 GNU/Linux

Selaco-DemoV2 version v0.33-beta1-461-g83d88b771 (83d88b7712bd337f15fd365571d7d5741868eba7)
Command line: ./Selaco.x86_64 -config selaco-demov2-liam.ini +vid_preferbackend 1
Wad 0: gzdoom.pk3
Wad 1: SELACO.ipk3

Current map: TITLEMAP

viewx = -1944.000000
viewy = 377.000000
viewz = 112.000000
viewangle = 90.000000

Executing: gdb --quiet --batch --command=gdb-respfile-n11CLE
Nexxtic  [developer] Jul 5, 2023 @ 9:34am 
Originally posted by Squiddy:
I'm seeing it entirely freeze on the main menu with both OpenGL and Vulkan on Steam Deck with the Native build, just seems entirely broken now in the new demo.

Can hear the music still going, but visually entirely frozen. It seems to happen as soon as I press a button, or move a joystick, until I do that you can see it's working. But as soon as you give input when you have the options list like new campaign, load game etc it freezes.

I tried then on my desktop Linux (Fedora KDE), tried loading with Vulkan and it instantly died with this error:
*** Fatal Error ***
Non-existent physical address (signal 7)
Address: 0x7f0c6c05aa18

System: Linux fedora 6.3.8-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 15 02:15:40 UTC 2023 x86_64 GNU/Linux

Selaco-DemoV2 version v0.33-beta1-461-g83d88b771 (83d88b7712bd337f15fd365571d7d5741868eba7)
Command line: ./Selaco.x86_64 -config selaco-demov2-liam.ini +vid_preferbackend 1
Wad 0: gzdoom.pk3
Wad 1: SELACO.ipk3

Current map: TITLEMAP

viewx = -1944.000000
viewy = 377.000000
viewz = 112.000000
viewangle = 90.000000

Executing: gdb --quiet --batch --command=gdb-respfile-n11CLE

OpenGL has been fully untouched and should not be causing issues.

Try removing the entire Selaco folder and redownloading the demo
Squiddy Jul 5, 2023 @ 9:45am 
This was a fresh install. To test I just uninstalled again, went into the filesystem and the selaco-demov2-deck.ini and a .bak files still exists. So folder removed, installed again on Steam Deck and...it works.

So it's Valve's uninstall leaving files, but still...why would Selaco crash with those?
Nexxtic  [developer] Jul 5, 2023 @ 10:24am 
Glad it's fixed. We've heard this problem before and it's an odd one..

Thankfully this wont matter for the full game since it uses it's own file directory and files. Still a weird one though!
Bönstugan Jul 6, 2023 @ 9:28am 
Hi!
Just tried the demo again, on vulkan mode... And it works! Flawlessly!

Hurrah! Thank you dear Selaco devs!
< >
Showing 16-26 of 26 comments
Per page: 1530 50