ruffle-rs / ruffle

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

Error on https://uploads.ungrounded.net/ruffle_wrapper/ruffleembed.html #17906

Open waspennator opened 1 month ago

waspennator commented 1 month ago

Error Info

Error name: Error Error message: panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-22.1.0/src/backend/wgpu_core.rs:3411: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-22.1.0/src/backend/wgpu_core.rs:3411:5:
wgpu error: Validation Error

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

    at n.wbg.__wbg_new_796382978dfd4fb0 (https://uploads.ungrounded.net/ruffle_wrapper/lib/core.ruffle.eff553c567a7ead39869.js:1:83857)
    at ruffle_web.wasm.js_sys::Error::new::hfb561c222a4e70eb (wasm://wasm/ruffle_web.wasm-03212586:wasm-function[12740]:0x985756)
    at ruffle_web.wasm.core::ops::function::FnOnce::call_once{{vtable.shim}}::he535d08ebd1aba14 (wasm://wasm/ruffle_web.wasm-03212586:wasm-function[9796]:0x915500)
    at ruffle_web.wasm.std::panicking::rust_panic_with_hook::h33fe77d38d305ca3 (wasm://wasm/ruffle_web.wasm-03212586:wasm-function[6360]:0x805dca)
    at ruffle_web.wasm.core::panicking::panic_fmt::hde8b7aa66e2831e1 (wasm://wasm/ruffle_web.wasm-03212586:wasm-function[9515]:0x906186)
    at ruffle_web.wasm.core::ops::function::Fn::call::h76c12b2f57631e6d (wasm://wasm/ruffle_web.wasm-03212586:wasm-function[6589]:0x81f586)
    at ruffle_web.wasm.<T as wgpu::context::DynContext>::device_create_buffer::h383ef1bc4fdb9c2c (wasm://wasm/ruffle_web.wasm-03212586:wasm-function[7593]:0x872cf9)
    at ruffle_web.wasm.<wgpu::Device as wgpu::util::device::DeviceExt>::create_buffer_init::h5e8669d1867640c9 (wasm://wasm/ruffle_web.wasm-03212586:wasm-function[1908]:0x4cdb4c)
    at ruffle_web.wasm.ruffle_render_wgpu::buffer_builder::BufferBuilder::finish::ha61933c4ebc4fcbd (wasm://wasm/ruffle_web.wasm-03212586:wasm-function[7652]:0x8767c8)
    at ruffle_web.wasm.ruffle_render_wgpu::backend::WgpuRenderBackend<T>::register_shape_internal::hdea3a443e4ee078b (wasm://wasm/ruffle_web.wasm-03212586:wasm-function[1395]:0x3c697d)

Player Info

Allows script access: false Renderer: wgpu Adapter Backend: Gl Adapter Name: "Adreno (TM) 730" Adapter Device Type: IntegratedGpu Adapter Driver Name: "" Adapter Driver Info: "WebGL 2.0 (OpenGL ES 3.0 Chromium)" Enabled features: Features(FLOAT32_FILTERABLE | TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES) 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: 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: 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://uploads.ungrounded.net/ruffle_wrapper/ruffleembed.html?v=1.0.67&browsermode=mobile&props=%7B%22ruffle%22%3A%22%2Fruffle_wrapper%2Flib%2Fruffle.js%3F1726287286%22%2C%22public_path%22%3A%22%2Fruffle_wrapper%2Flib%2F%22%2C%22swf%22%3A%22https%3A%2F%2Fuploads.ungrounded.net%2F616000%2F616257_v129e_Normal_66Ach.swf%3F1366946267%22%2C%22vars%22%3A%7B%22ngio_session_id%22%3A%2257659491.8bcd8dfacb5e6649eb44f741c7bb4751f316fd796f1055%22%2C%22NewgroundsAPI_PublisherID%22%3A1%2C%22NewgroundsAPI_SandboxID%22%3A%2266e5bcffdcb6f%22%2C%22NewgroundsAPI_SessionID%22%3A%22cH79nD0js4GuMFbhomUz618def3c9d3bd3978094f2909af4993ee19629ecWmqV%22%2C%22NewgroundsAPI_UserName%22%3A%22waspennator%22%2C%22NewgroundsAPI_UserID%22%3A1692431%2C%22ng_username%22%3A%22waspennator%22%7D%2C%22width%22%3A700%2C%22height%22%3A480%2C%22icon%22%3A%22https%3A%2F%2Fpicon.ngfiles.com%2F616000%2Fflash_616257_card.webp%3Ff1725652454%22%2C%22warnOnUnsupportedContent%22%3Afalse%7D SWF URL: https://uploads.ungrounded.net/616000/616257_v129e_Normal_66Ach.swf?1366946267

Browser Info

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

Ruffle Info

Version: 0.1.0 Name: nightly 2024-09-14 Channel: nightly Built: 2024-09-14T00:05:30.925Z Commit: 7d1373368b0f0b327f69f5d8751a4c49d1e266f1 Is extension: false

Metadata

width: 700 height: 480 frameRate: 60 numFrames: 4 swfVersion: 12 backgroundColor: undefined isActionScript3: true uncompressedLength: 25129869

waspennator commented 1 month ago

https://www.newgrounds.com/portal/view/616257

I was testing this swf out here cause someone on the ng forums said they had trouble recruiting units after the first time and it softlocks after the first battle.

On my s22 it runs out of memory getting to around 25-27% loading.