ruffle-rs / ruffle

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

Error on https://jsfiddle.net/zwxnp8qv/ #18032

Open coder0107git opened 1 week ago

coder0107git commented 1 week ago

Error Info

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

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

    at J.n.wbg.__wbg_new_28c511d9baebfa89 (https://cdn.jsdelivr.net/npm/@ruffle-rs/ruffle@0.1.0-nightly.2024.5.10/core.ruffle.f1e84e97f60d9d063348.js:1:74263)
    at ruffle_web.wasm.js_sys::Error::new::h2234a378a3d95323 (wasm://wasm/ruffle_web.wasm-03a26ca2:wasm-function[14082]:0xb144ee)
    at ruffle_web.wasm.core::ops::function::FnOnce::call_once{{vtable.shim}}::h14ffa3c2df79f491 (wasm://wasm/ruffle_web.wasm-03a26ca2:wasm-function[11610]:0xabfb6f)
    at ruffle_web.wasm.std::panicking::rust_panic_with_hook::h32c80a64fe4de396 (wasm://wasm/ruffle_web.wasm-03a26ca2:wasm-function[7037]:0x97f75e)
    at ruffle_web.wasm.core::panicking::panic_fmt::hc7427f902a13f1a9 (wasm://wasm/ruffle_web.wasm-03a26ca2:wasm-function[11312]:0xab7f8b)
    at ruffle_web.wasm.core::ops::function::Fn::call::hfb0cb430d804d9c5 (wasm://wasm/ruffle_web.wasm-03a26ca2:wasm-function[8050]:0x9c69be)
    at ruffle_web.wasm.wgpu::backend::wgpu_core::ErrorSinkRaw::handle_error::h861274014bceef00 (wasm://wasm/ruffle_web.wasm-03a26ca2:wasm-function[5953]:0x91f2ed)
    at ruffle_web.wasm.<T as wgpu::context::DynContext>::device_create_buffer::h392964c4716dd2ff (wasm://wasm/ruffle_web.wasm-03a26ca2:wasm-function[8237]:0x9da21d)
    at ruffle_web.wasm.<wgpu::Device as wgpu::util::device::DeviceExt>::create_buffer_init::h9468fba3f872ae11 (wasm://wasm/ruffle_web.wasm-03a26ca2:wasm-function[2041]:0x58d732)
    at ruffle_web.wasm.core::cell::once::OnceCell<T>::get_or_try_init::outlined_call::hbece9886ba9c10ae (wasm://wasm/ruffle_web.wasm-03a26ca2:wasm-function[6684]:0x966ebd)

Player Info

Allows script access: false Renderer: wgpu Adapter Backend: Gl Adapter Name: "ANGLE (Intel, Intel(R) UHD Graphics 605 (0x00003184) Direct3D11 vs_5_0 ps_5_0, D3D11)" Adapter Device Type: IntegratedGpu Adapter Driver Name: "" Adapter Driver Info: "" Enabled features: Features(FLOAT32_FILTERABLE | TEXTURE_COMPRESSION_BC | TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES | SHADER_UNUSED_VERTEX_OUTPUT) Available features: Features(PUSH_CONSTANTS | CLEAR_TEXTURE | MULTIVIEW) 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: 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: 256, min_storage_buffer_offset_alignment: 256, max_inter_stage_shader_components: 120, 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: high Surface samples: 4 Surface size: (550, 400, 1)

Page Info

Page URL: https://jsfiddle.net/zwxnp8qv/ SWF URL: https://cdn.jsdelivr.net/gh/codingfun1072/swf-files@ee8ab25/RIDDLE%20SCHOOL.swf

Browser Info

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Platform: Win32 Has touch support: false

Ruffle Info

Version: 0.1.0 Name: nightly 2024-05-10 Channel: nightly Built: 2024-05-10T00:05:55.188Z Commit: 8eaede1c2cbbab1555b8ac71ad8b46401b0b232a Is extension: false

Metadata

width: 550 height: 400 frameRate: 24 numFrames: 19 swfVersion: 7 backgroundColor: #FFFFFF isActionScript3: false uncompressedLength: 752480

coder0107git commented 1 week ago

I left it running on the main menu for a while in the background and when I came back to the tab the above error is what I was greeted with.

coder0107git commented 1 week ago

Since this is running on a nightly version from a few months ago I don't know if this issue even still happens.