ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.79k stars 822 forks source link

Error on https://ruffle.rs/demo/ #16451

Closed Lavender1059 closed 4 months ago

Lavender1059 commented 6 months ago

Error Info

Error name: Error Error message: panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.20.0/src/backend/wgpu_core.rs:2996:5: wgpu error: Validation Error

Caused by: In Device::create_buffer Not enough memory left.

Error stack:

Error: panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.20.0/src/backend/wgpu_core.rs:2996:5:
wgpu error: Validation Error

Caused by:
    In Device::create_buffer
    Not enough memory left.

    at Q.n.wbg.__wbg_new_28c511d9baebfa89 (https://ruffle.rs/demo/assets/ruffle_web-wasm_extensions-CgnryCn9.js:2:72856)
    at ruffle_web.wasm.js_sys::Error::new::h69c04334b4f73f11 (wasm://wasm/ruffle_web.wasm-0337b1c2:wasm-function[12747]:0x9f5d61)
    at ruffle_web.wasm.core::ops::function::FnOnce::call_once{{vtable.shim}}::h939f3a1887cd9d5d (wasm://wasm/ruffle_web.wasm-0337b1c2:wasm-function[10507]:0x9afc0e)
    at ruffle_web.wasm.std::panicking::rust_panic_with_hook::h32c80a64fe4de396 (wasm://wasm/ruffle_web.wasm-0337b1c2:wasm-function[6527]:0x876451)
    at ruffle_web.wasm.core::panicking::panic_fmt::hc7427f902a13f1a9 (wasm://wasm/ruffle_web.wasm-0337b1c2:wasm-function[10256]:0x9a8a96)
    at ruffle_web.wasm.core::ops::function::Fn::call::h4189ec14fc51b2a7 (wasm://wasm/ruffle_web.wasm-0337b1c2:wasm-function[7485]:0x8babd0)
    at ruffle_web.wasm.<T as wgpu::context::DynContext>::device_create_buffer::h772ff11146c58c62 (wasm://wasm/ruffle_web.wasm-0337b1c2:wasm-function[7665]:0x8ce894)
    at ruffle_web.wasm.<wgpu::Device as wgpu::util::device::DeviceExt>::create_buffer_init::hf465d1c02c43e9c1 (wasm://wasm/ruffle_web.wasm-0337b1c2:wasm-function[1917]:0x4e38da)
    at ruffle_web.wasm.ruffle_render_wgpu::buffer_builder::BufferBuilder::finish::hcf85feda49ec81ca (wasm://wasm/ruffle_web.wasm-0337b1c2:wasm-function[7772]:0x8d4923)
    at ruffle_web.wasm.<ruffle_render_wgpu::backend::WgpuRenderBackend<T> as ruffle_render::backend::RenderBackend>::register_shape::hb613a4a8bef6b540 (wasm://wasm/ruffle_web.wasm-0337b1c2:wasm-function[1185]:0x333bed)

Player Info

Allows script access: false Renderer: wgpu Adapter Backend: Gl Adapter Name: "ANGLE (ARM, Mali-G76 MC4, OpenGL ES 3.2)" Adapter Device Type: IntegratedGpu Adapter Driver Name: "WebGL 2.0 (OpenGL ES" Adapter Driver Info: "3.0 Chromium)" Enabled features: Features(TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES | SHADER_UNUSED_VERTEX_OUTPUT) Available features: Features(DEPTH32FLOAT_STENCIL8 | TEXTURE_COMPRESSION_ETC2 | TEXTURE_COMPRESSION_ASTC | TEXTURE_COMPRESSION_ASTC_HDR | PUSH_CONSTANTS | CLEAR_TEXTURE) Current limits: Limits { max_texture_dimension_1d: 4096, max_texture_dimension_2d: 4096, max_texture_dimension_3d: 4096, 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: 65536, 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: 256, max_inter_stage_shader_components: 124, max_color_attachments: 8, max_color_attachment_bytes_per_sample: 32, 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, min_subgroup_size: 0, max_subgroup_size: 0, max_push_constant_size: 0, max_non_sampler_bindings: 1000000 } Surface quality: high Surface samples: 4 Surface size: (550, 400, 1)

Page Info

Page URL: https://ruffle.rs/demo/#

Browser Info

User Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Platform: Linux armv81 Has touch support: true

Ruffle Info

Version: 0.1.0 Name: nightly 2024-05-25 Channel: nightly Built: 2024-05-25T00:05:19.834Z Commit: aefe56a8b61aa99716406382bbb425e23e83a751 Is extension: false

Metadata

width: 750 height: 480 frameRate: 60 numFrames: 301 swfVersion: 10 backgroundColor: undefined isActionScript3: true uncompressedLength: 2668419

Dinnerbone commented 4 months ago

Duplicate of #16413