ruffle-rs / ruffle

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

Error on https://www.gameflare.com/embed/jacksmith/ #17372

Closed SuMing-top closed 3 months ago

SuMing-top commented 3 months ago

Error Info

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

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

    at n.wbg.__wbg_new_28c511d9baebfa89 (https://www.gameflare.com/emulators/ruffle/core.ruffle.d28f63e7e837ec29c866.js:1:79747)
    at ruffle_web.wasm.js_sys::Error::new::ha367eb220e837752 (wasm://wasm/ruffle_web.wasm-0334a866:wasm-function[12819]:0x9d7315)
    at ruffle_web.wasm.core::ops::function::FnOnce::call_once{{vtable.shim}}::he6ee5e281ad7064e (wasm://wasm/ruffle_web.wasm-0334a866:wasm-function[9866]:0x96dbbc)
    at ruffle_web.wasm.std::panicking::rust_panic_with_hook::h844c7fdc9e749b51 (wasm://wasm/ruffle_web.wasm-0334a866:wasm-function[6495]:0x860636)
    at ruffle_web.wasm.core::panicking::panic_fmt::h8d7e2d43cfcec163 (wasm://wasm/ruffle_web.wasm-0334a866:wasm-function[10262]:0x9988e3)
    at ruffle_web.wasm.core::ops::function::Fn::call::h4093cddbc1668698 (wasm://wasm/ruffle_web.wasm-0334a866:wasm-function[6781]:0x87af41)
    at ruffle_web.wasm.<T as wgpu::context::DynContext>::device_create_buffer::h1284b7af4a0f6ebe (wasm://wasm/ruffle_web.wasm-0334a866:wasm-function[7654]:0x8bcc3e)
    at ruffle_web.wasm.<wgpu::Device as wgpu::util::device::DeviceExt>::create_buffer_init::h8cce691c05d2dde6 (wasm://wasm/ruffle_web.wasm-0334a866:wasm-function[1899]:0x507dee)
    at ruffle_web.wasm.ruffle_render_wgpu::surface::target::CommandTarget::new::hbeb83923af8958cf (wasm://wasm/ruffle_web.wasm-0334a866:wasm-function[1148]:0x3477d4)
    at ruffle_web.wasm.ruffle_render_wgpu::surface::Surface::draw_commands::hea73e11ccfb9af0a (wasm://wasm/ruffle_web.wasm-0334a866:wasm-function[878]:0x1cb2ff)

AVM2 stack:

    at flash.display::BitmapData/flash::display::BitmapData::draw()
    at swordGame.models::Soldier/spriteSheetBlit()

Player Info

Allows script access: false Renderer: wgpu Adapter Backend: Gl Adapter Name: "ANGLE (Intel, Intel(R) Iris(R) Xe Graphics (0x00009A49) Direct3D11 vs_5_0 ps_5_0, D3D11)" Adapter Device Type: IntegratedGpu Adapter Driver Name: "WebGL 2.0 (OpenGL ES" Adapter Driver Info: "3.0 Chromium)" Enabled features: Features(TEXTURE_COMPRESSION_BC | FLOAT32_FILTERABLE | TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES | SHADER_UNUSED_VERTEX_OUTPUT) Available features: Features(DEPTH32FLOAT_STENCIL8 | 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_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://www.gameflare.com/embed/jacksmith/ SWF URL: https://data.gameflare.com/games/3054/iOdVF4I6Kwnblp.swf

Browser Info

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

Ruffle Info

Version: 0.1.0 Name: nightly 2024-08-03 Channel: nightly Built: 2024-08-03T00:05:20.391Z Commit: 815bc3bcd77c3cbf279cf7bff1f1be63447c3664 Is extension: false

Metadata

width: 640 height: 480 frameRate: 30 numFrames: 2 swfVersion: 10 backgroundColor: #000000 isActionScript3: true uncompressedLength: 6578963

torokati44 commented 3 months ago

Exact duplicate of https://github.com/ruffle-rs/ruffle/issues/17354.