Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruffle Crashes trying to run a game on Wayland #15213

Closed
Doomsdayrs opened this issue Feb 14, 2024 · 1 comment · Fixed by #15535
Closed

Ruffle Crashes trying to run a game on Wayland #15213

Doomsdayrs opened this issue Feb 14, 2024 · 1 comment · Fixed by #15535
Labels
A-desktop Area: Desktop Application bug Something isn't working panic Hit a panic

Comments

@Doomsdayrs
Copy link
Contributor

Doomsdayrs commented Feb 14, 2024

Describe what you were doing

  1. Select Balloons Tower Defense
    image
  2. Click Start
  3. Notice Error
    image

What does the crash message say?

panicked at desktop/src/player.rs:158:22:
Couldn't create ui backend: Couldn't get platform clipboard

Caused by:
    Unknown error while interacting with the clipboard: Display parsing error

Stack backtrace:
   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
stack backtrace:
   0:     0x55c079bca4b6 - <unknown>
   1:     0x55c079bfb5f0 - <unknown>
   2:     0x55c079bc648f - <unknown>
   3:     0x55c079bca294 - <unknown>
   4:     0x55c079bcbd77 - <unknown>
   5:     0x55c079bcbad9 - <unknown>
   6:     0x55c0789df1b1 - <unknown>
   7:     0x55c079bcc396 - <unknown>
   8:     0x55c079bcc0e2 - <unknown>
   9:     0x55c079bca9b6 - <unknown>
  10:     0x55c079bcbe40 - <unknown>
  11:     0x55c07897b7f5 - <unknown>
  12:     0x55c07897bd43 - <unknown>
  13:     0x55c0789bf7c3 - <unknown>
  14:     0x55c078a8f0c3 - <unknown>
  15:     0x55c078a7ebbd - <unknown>
  16:     0x55c0789f7323 - <unknown>
  17:     0x55c0789f9bbb - <unknown>
  18:     0x55c078a8b826 - <unknown>

Info

Ruffle Version

0.1.0-nightly (555fcfa 2024-02-12)

Affected platform

Desktop app

Operating system

Fedora 39

Additional information

Display Manager

Wayland

Render Info

Renderer: wgpu
Adapter Backend: Vulkan
Adapter Name: "AMD Radeon Graphics (RADV NAVI22)"
Adapter Device Type: DiscreteGpu
Adapter Driver Name: "radv"
Adapter Driver Info: "Mesa 23.3.0 (git-1fbdd37d4c)"
Enabled features: Features(FLOAT32_FILTERABLE | TEXTURE_COMPRESSION_BC | TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES | SHADER_UNUSED_VERTEX_OUTPUT)
Available features: Features(DEPTH_CLIP_CONTROL | TIMESTAMP_QUERY | INDIRECT_FIRST_INSTANCE | SHADER_F16 | BGRA8UNORM_STORAGE | RG11B10UFLOAT_RENDERABLE | DEPTH32FLOAT_STENCIL8 | TEXTURE_FORMAT_16BIT_NORM | PIPELINE_STATISTICS_QUERY | TIMESTAMP_QUERY_INSIDE_PASSES | MAPPABLE_PRIMARY_BUFFERS | TEXTURE_BINDING_ARRAY | BUFFER_BINDING_ARRAY | STORAGE_RESOURCE_BINDING_ARRAY | SAMPLED_TEXTURE_AND_STORAGE_BUFFER_ARRAY_NON_UNIFORM_INDEXING | UNIFORM_BUFFER_AND_STORAGE_TEXTURE_ARRAY_NON_UNIFORM_INDEXING | PARTIALLY_BOUND_BINDING_ARRAY | MULTI_DRAW_INDIRECT | MULTI_DRAW_INDIRECT_COUNT | PUSH_CONSTANTS | ADDRESS_MODE_CLAMP_TO_ZERO | ADDRESS_MODE_CLAMP_TO_BORDER | POLYGON_MODE_LINE | POLYGON_MODE_POINT | CONSERVATIVE_RASTERIZATION | VERTEX_WRITABLE_STORAGE | CLEAR_TEXTURE | SPIRV_SHADER_PASSTHROUGH | MULTIVIEW | TEXTURE_FORMAT_NV12 | RAY_TRACING_ACCELERATION_STRUCTURE | RAY_QUERY | SHADER_F64 | SHADER_I16 | SHADER_PRIMITIVE_INDEX | DUAL_SOURCE_BLENDING)
Current limits: Limits { max_texture_dimension_1d: 16384, max_texture_dimension_2d: 16384, max_texture_dimension_3d: 2048, max_texture_array_layers: 256, max_bind_groups: 4, max_bindings_per_bind_group: 1000, max_dynamic_uniform_buffers_per_pipeline_layout: 8, max_dynamic_storage_buffers_per_pipeline_layout: 0, max_sampled_textures_per_shader_stage: 16, max_samplers_per_shader_stage: 16, max_storage_buffers_per_shader_stage: 0, max_storage_textures_per_shader_stage: 0, max_uniform_buffers_per_shader_stage: 11, max_uniform_buffer_binding_size: 2147483648, max_storage_buffer_binding_size: 0, max_vertex_buffers: 8, max_buffer_size: 268435456, max_vertex_attributes: 16, max_vertex_buffer_array_stride: 255, min_uniform_buffer_offset_alignment: 32, min_storage_buffer_offset_alignment: 32, max_inter_stage_shader_components: 31, max_compute_workgroup_storage_size: 0, max_compute_invocations_per_workgroup: 0, max_compute_workgroup_size_x: 0, max_compute_workgroup_size_y: 0, max_compute_workgroup_size_z: 0, max_compute_workgroups_per_dimension: 0, max_push_constant_size: 0, max_non_sampler_bindings: 1000000 }
Surface quality: low
Surface samples: 1
Surface size: (800, 600, 1)

Extra

It seems #14362 did not fully solve this

@Doomsdayrs Doomsdayrs added bug Something isn't working panic Hit a panic labels Feb 14, 2024
@Doomsdayrs Doomsdayrs mentioned this issue Feb 14, 2024
5 tasks
Doomsdayrs added a commit to Doomsdayrs/flathub that referenced this issue Feb 14, 2024
This reverts commit 058f063.

It seems that I did not fully test out the changes made by,
 ruffle-rs/ruffle#14362

Upstream report:
 ruffle-rs/ruffle#15213
@Lord-McSweeney Lord-McSweeney added the A-desktop Area: Desktop Application label Feb 14, 2024
@Doomsdayrs
Copy link
Contributor Author

Purrfect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-desktop Area: Desktop Application bug Something isn't working panic Hit a panic
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants