ruffle-rs / ruffle-rs/ruffle

Error on https://www.comdotgame.com/play/fall-asleep-tsunade

Open
#19,085 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

error-report wgpu-oom
Dominant language
Rust
Stars
18.6k
Forks
1.1k
Avg merge
1d 4h
Merged PRs (30d)
110

Description

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 push.69.n.wbg.__wbg_new_70a2f23d1565c04c (https://echo.comdotgame.com/ruffle/core.ruffle.79e4d64d2dd56dfe0375.js:1:84140)
    at ruffle_web.wasm.js_sys::Error::new::h62febe54bd7e9ae0 (wasm://wasm/ruffle_web.wasm-032355ba:wasm-function[12773]:0x98be6f)
    at ruffle_web.wasm.core::ops::function::FnOnce::call_once{{vtable.shim}}::hac2832179070f120 (wasm://wasm/ruffle_web.wasm-032355ba:wasm-function[9813]:0x91d748)
    at ruffle_web.wasm.std::panicking::rust_panic_with_hook::h33fe77d38d305ca3 (wasm://wasm/ruffle_web.wasm-032355ba:wasm-function[6365]:0x814c73)
    at ruffle_web.wasm.core::panicking::panic_fmt::hde8b7aa66e2831e1 (wasm://wasm/ruffle_web.wasm-032355ba:wasm-function[9535]:0x90de80)
    at ruffle_web.wasm.core::ops::function::Fn::call::h335f41c96643213c (wasm://wasm/ruffle_web.wasm-032355ba:wasm-function[6587]:0x82dca2)
    at ruffle_web.wasm.<T as wgpu::context::DynContext>::device_create_buffer::h04a92ac4a17ed0c2 (wasm://wasm/ruffle_web.wasm-032355ba:wasm-function[7604]:0x8798f2)
    at ruffle_web.wasm.<wgpu::Device as wgpu::util::device::DeviceExt>::create_buffer_init::h013860294b3bb36f (wasm://wasm/ruffle_web.wasm-032355ba:wasm-function[1907]:0x4d9d29)
    at ruffle_web.wasm.core::cell::once::OnceCell<T>::try_init::h93b039daf4f53722 (wasm://wasm/ruffle_web.wasm-032355ba:wasm-function[5233]:0x7aee41)
    at ruffle_web.wasm.ruffle_render_wgpu::surface::Surface::draw_commands_and_copy_to::h378aedd01250b594 (wasm://wasm/ruffle_web.wasm-032355ba:wasm-function[2428]:0x59a98a)

Player Info

Allows script access: true
Renderer: wgpu
Adapter Backend: Gl
Adapter Name: "Mali-G57 MC2"
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: 16383, 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)
Player type: Object
SWF URL: https://comdotcdn.com/4x90xhl3k0/games/files/63448541c1dcb3a7f1d488699a9d9a41.swf
Param allowscriptaccess: always
Param bgcolor: ffffff
Param wmode: gpu
Param flashvars: id=2298744
Attribute 0: undefined
Attribute 1: undefined
Attribute 2: undefined
Attribute 3: undefined
Attribute 4: undefined
Attribute 5: undefined
Attribute 6: undefined

Page Info

Page URL: https://www.comdotgame.com/play/fall-asleep-tsunade
SWF URL: https://comdotcdn.com/4x90xhl3k0/games/files/63448541c1dcb3a7f1d488699a9d9a41.swf

Browser Info

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

Ruffle Info

Version: 0.1.0
Name: nightly 2024-11-03
Channel: nightly
Built: 2024-11-03T00:07:06.953Z
Commit: ff386d896abc69af24b62390bfe1d5358c688023
Is extension: false

Metadata

width: 640
height: 480
frameRate: 25
numFrames: 3
swfVersion: 7
backgroundColor: #FFFFFF
isActionScript3: false
uncompressedLength: 2476502

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the supplied SWF URL and reproduce the failure on the listed Mali-G57/WebGL 2.0 setup. Trace the wgpu_core.rs:3411 create_buffer validation error through Surface::draw_commands_and_copy_to and create_buffer_init. Done means the game no longer hits this out-of-memory error on the reported renderer.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.