Selaco
No longer able to startup the game under wayland.
Starting with the new EA Update 1 patch the game no longer startup with
SDL_VIDEODRIVER=wayland
This was working in the original EA build.

The error message is:
Could not initialize SDL video: wayland not available

Workaround is to use
SDL_VIDEODRIVER=x11

Was this intentional?
Viimeisin muokkaaja on airman506; 4.6.2024 klo 6.10
< >
Näytetään 1-6 / 6 kommentista
I should probably add that the game seemingly runs great under wayland. I at least didn't have any noticeable issues 3-4 hours in.

The game also plays well under x11. So it's not the end of the world.
Hey there!
Could you provide some more info about your PC and Distro?

The update didn't change anything with the executable, so this is strange to see.
The game has a Beta branch on steam called "early_access_launch_version", which is, as the name suggests, the EA launch version, does setting SDL driver to Wayland still work there?
Sure no problem. I just tried the "early_access_launch_version" branch again, and it works with "SDL_VIDEODRIVER=wayland" as before. I am running Arch Linux and the desktop environment is sway. GPU is an AMD Vega 64. I'll attach some hopefully useful logs below.

"vulkaninfo --summary":
Devices: ======== GPU0: apiVersion = 1.3.278 driverVersion = 24.1.0 vendorID = 0x1002 deviceID = 0x687f deviceType = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU deviceName = AMD Radeon RX Vega (RADV VEGA10) driverID = DRIVER_ID_MESA_RADV driverName = radv driverInfo = Mesa 24.1.0-arch1.1 conformanceVersion = 1.2.7.1 deviceUUID = 00000000-0c00-0000-0000-000000000000 driverUUID = 414d442d-4d45-5341-2d44-525600000000

This is the (partial) log file for the EA launch build:
Log started: 2024-06-04 22:55:55 Selaco-EA version v0.33-beta1-624-gc41e6fdd9 M_LoadDefaults: Load system defaults. Read: ÜąCĂ›KW = ÂşCĂ›KW Read: ĚşCĂ›KW = ,»CĂ›KW Read: Œ»CĂ›KW = α=Ă›KW Read: ÜĽCĂ›KW = ½CĂ›KW Read: ,½CĂ›KW = Œ½CĂ›KW Read: ¬½CĂ›KW = ľCĂ›KW IWAD: W_Init: Init WADfiles. Finding Mods... Checking Steam Workshop mods... adding /media/daniel/data/SteamLibrary/steamapps/common/Selaco/gzdoom.pk3, 358 lumps adding ./Selaco.ipk3, 37213 lumps S_Init: Setting up sound. I_InitSound: Initializing OpenAL Opened device Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo EFX enabled No GENMIDI lump found. OPL playback not available. Sound Startup: 12.27ms Music "orb" not found Warning: CVAR queryiwad_key could not be found for setdefault Warning: CVAR joy_dinput could not be found for setdefault g_statdb is write protected. Loaded Strings: 24.11ms I_Init: Setting up machine state. CPU speed: 3693 MHz CPU Vendor ID: AuthenticAMD Name: AMD Ryzen 7 2700X Eight-Core Processor Family 23 (23), Model 8, Stepping 2 Features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 F16C FMA3 BMI1 BMI2 HyperThreading V_Init: allocate screen. Using video driver wayland VK Graphics Queue: 0000574BDC9271B0 VK Present Queue: 0000574BDCAE9C00 VK Upload Queue 0: 0000574BDCAE9E90 VK Upload Queue 1: 0000574BDCAEA120 Vulkan device: AMD Radeon RX Vega (RADV VEGA10) Vulkan device type: discrete gpu Vulkan version: 1.3.278 (api) 24.1.0 (driver) Vulkan extensions: VK_KHR_8bit_storage VK_KHR_16bit_storage VK_KHR_bind_memory2 VK_KHR_buffer_device_address VK_KHR_calibrated_timestamps VK_KHR_copy_commands2 VK_KHR_create_renderpass2 VK_KHR_dedicated_allocation VK_KHR_deferred_host_operations VK_KHR_depth_stencil_resolve VK_KHR_descriptor_update_template VK_KHR_device_group VK_KHR_draw_indirect_count VK_KHR_driver_properties VK_KHR_dynamic_rendering VK_KHR_external_fence VK_KHR_external_fence_fd VK_KHR_external_memory VK_KHR_external_memory_fd VK_KHR_external_semaphore VK_KHR_external_semaphore_fd VK_KHR_format_feature_flags2 VK_KHR_get_memory_requirements2 VK_KHR_global_priority VK_KHR_image_format_list VK_KHR_imageless_framebuffer VK_KHR_incremental_present VK_KHR_index_type_uint8 VK_KHR_line_rasterization VK_KHR_load_store_op_none VK_KHR_maintenance1 VK_KHR_maintenance2 VK_KHR_maintenance3 VK_KHR_maintenance4 VK_KHR_maintenance5 VK_KHR_maintenance6 VK_KHR_map_memory2 VK_KHR_multiview VK_KHR_pipeline_executable_properties VK_KHR_pipeline_library VK_KHR_present_id VK_KHR_present_wait VK_KHR_push_descriptor VK_KHR_relaxed_block_layout VK_KHR_sampler_mirror_clamp_to_edge VK_KHR_sampler_ycbcr_conversion VK_KHR_separate_depth_stencil_layouts VK_KHR_shader_atomic_int64 VK_KHR_shader_clock VK_KHR_shader_draw_parameters VK_KHR_shader_expect_assume VK_KHR_shader_float16_int8 VK_KHR_shader_float_controls VK_KHR_shader_integer_dot_product VK_KHR_shader_maximal_reconvergence VK_KHR_shader_non_semantic_info VK_KHR_shader_quad_control VK_KHR_shader_subgroup_extended_types VK_KHR_shader_subgroup_rotate VK_KHR_shader_subgroup_uniform_control_flow VK_KHR_shader_terminate_invocation VK_KHR_spirv_1_4 VK_KHR_storage_buffer_storage_class VK_KHR_swapchain VK_KHR_swapchain_mutable_format VK_KHR_synchronization2 VK_KHR_timeline_semaphore VK_KHR_uniform_buffer_standard_layout VK_KHR_variable_pointers VK_KHR_vertex_attribute_divisor VK_KHR_vulkan_memory_model VK_KHR_workgroup_memory_explicit_layout VK_KHR_zero_initialize_workgroup_memory VK_EXT_4444_formats VK_EXT_attachment_feedback_loop_dynamic_state VK_EXT_attachment_feedback_loop_layout VK_EXT_buffer_device_address VK_EXT_calibrated_timestamps VK_EXT_color_write_enable VK_EXT_conditional_rendering VK_EXT_conservative_rasterization VK_EXT_custom_border_color VK_EXT_depth_bias_control VK_EXT_depth_clamp_zero_one VK_EXT_depth_clip_control VK_EXT_depth_clip_enable VK_EXT_depth_range_unrestricted VK_EXT_descriptor_buffer VK_EXT_descriptor_indexing VK_EXT_device_address_binding_report VK_EXT_device_fault VK_EXT_discard_rectangles VK_EXT_display_control VK_EXT_dynamic_rendering_unused_attachments VK_EXT_extended_dynamic_state VK_EXT_extended_dynamic_state2 VK_EXT_extended_dynamic_state3 VK_EXT_external_memory_acquire_unmodified VK_EXT_external_memory_dma_buf VK_EXT_external_memory_host VK_EXT_fragment_shader_interlock VK_EXT_global_priority VK_EXT_global_priority_query VK_EXT_graphics_pipeline_library VK_EXT_host_query_reset VK_EXT_image_2d_view_of_3d VK_EXT_image_compression_control VK_EXT_image_drm_format_modifier VK_EXT_image_robustness VK_EXT_image_view_min_lod VK_EXT_index_type_uint8 VK_EXT_inline_uniform_block VK_EXT_line_rasterization VK_EXT_load_store_op_none VK_EXT_map_memory_placed VK_EXT_memory_budget VK_EXT_memory_priority VK_EXT_multi_draw VK_EXT_mutable_descriptor_type VK_EXT_nested_command_buffer VK_EXT_non_seamless_cube_map VK_EXT_pci_bus_info VK_EXT_physical_device_drm VK_EXT_pipeline_creation_cache_control VK_EXT_pipeline_creation_feedback VK_EXT_pipeline_robustness VK_EXT_primitive_topology_list_restart VK_EXT_primitives_generated_query VK_EXT_private_data VK_EXT_provoking_vertex VK_EXT_queue_family_foreign VK_EXT_robustness2 VK_EXT_sample_locations VK_EXT_sampler_filter_minmax VK_EXT_scalar_block_layout VK_EXT_separate_stencil_usage VK_EXT_shader_atomic_float VK_EXT_shader_atomic_float2 VK_EXT_shader_demote_to_helper_invocation VK_EXT_shader_image_atomic_int64 VK_EXT_shader_module_identifier VK_EXT_shader_object VK_EXT_shader_stencil_export VK_EXT_shader_subgroup_ballot VK_EXT_shader_subgroup_vote VK_EXT_shader_viewport_index_layer VK_EXT_subgroup_size_control VK_EXT_swapchain_maintenance1 VK_EXT_texel_buffer_alignment VK_EXT_tooling_info VK_EXT_transform_feedback VK_EXT_vertex_attribute_divisor VK_EXT_vertex_input_dynamic_state VK_EXT_ycbcr_image_arrays VK_AMD_buffer_marker VK_AMD_device_coherent_memory VK_AMD_draw_indirect_count VK_AMD_gcn_shader VK_AMD_gpu_shader_half_float VK_AMD_gpu_shader_int16 VK_AMD_memory_overallocation_behavior VK_AMD_mixed_attachment_samples VK_AMD_rasterization_order VK_AMD_shader_ballot VK_AMD_shader_core_properties VK_AMD_shader_core_properties2 VK_AMD_shader_early_and_late_fragment_tests VK_AMD_shader_explicit_vertex_parameter VK_AMD_shader_fragment_mask VK_AMD_shader_image_load_store_lod VK_AMD_shader_trinary_minmax VK_AMD_texture_gather_bias_lod VK_GOOGLE_decorate_string VK_GOOGLE_hlsl_functionality1 VK_GOOGLE_user_type VK_INTEL_shader_integer_functions2 VK_NV_compute_shader_derivatives VK_VALVE_mutable_descriptor_type Max. texture size: 16384 Max. uniform buffer range: -1 Min. uniform buffer offset alignment: 4 Graphics Queue Family: #0 Present Queue Family: #1 Upload Queue Family: #1 Upload Queue Supports Graphics: No Resolution: 640 x 480 Vsync changed to: 0 Vsync changed to: 0 ST_Init: Init startup screen. ...

This is the (entire) log file for the EA update build:
Log started: 2024-06-04 22:58:38 Selaco-EA version v0.33-beta1-624-gc41e6fdd9 M_LoadDefaults: Load system defaults. Read: ¬;¬Ȗ_ = Ü;¬Ȗ_ Read: œ<¬Ȗ_ = ü<¬Ȗ_ Read: \=¬Ȗ_ = Œ+¦Ȗ_ Read: ,>¬Ȗ_ = Œ>¬Ȗ_ Read: ¬>¬Ȗ_ = ?¬Ȗ_ Read: ,?¬Ȗ_ = Œ?¬Ȗ_ IWAD: W_Init: Init WADfiles. Finding Mods... Checking Steam Workshop mods... adding /media/daniel/data/SteamLibrary/steamapps/common/Selaco/gzdoom.pk3, 358 lumps adding ./Selaco.ipk3, 37213 lumps S_Init: Setting up sound. I_InitSound: Initializing OpenAL Opened device Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo EFX enabled No GENMIDI lump found. OPL playback not available. Sound Startup: 14.60ms Music "orb" not found Warning: CVAR queryiwad_key could not be found for setdefault Warning: CVAR joy_dinput could not be found for setdefault g_statdb is write protected. Loaded Strings: 25.98ms I_Init: Setting up machine state. CPU speed: 3693 MHz CPU Vendor ID: AuthenticAMD Name: AMD Ryzen 7 2700X Eight-Core Processor Family 23 (23), Model 8, Stepping 2 Features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 F16C FMA3 BMI1 BMI2 HyperThreading V_Init: allocate screen. **** DIED WITH FATAL ERROR: Could not initialize SDL video: wayland not available

Hope that helps.
Did a little bit more testing...

An alternative workaround is to preload my system SDL2 instead of the one bundled:
LD_PRELOAD="/usr/lib/libSDL2-2.0.so.0" %command%

I wonder if the issue is as simple as the SDL2 bundled with the new EA update being compiled without wayland support enabled?
Okay, figured out what changed:

In RunSelaco.sh the LD_LIBRARY_PATH was changed to include $PWD. As a result the EA update build is now using the SDL2 bundled with Selaco.

On the launch build the system SDL2 was being used instead.

It would be nice if the bundled SDL2 had wayland support enabled. But the workaround is to LD_PRELOAD your own.
Cockatrice  [kehittäjä] 5.6.2024 klo 6.56 
We are going to be updating our version of SDL2 when possible, thanks for the update!
< >
Näytetään 1-6 / 6 kommentista
Sivua kohden: 1530 50