ruffle-rs / ruffle

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

Error on https://games.crazygames.com/en_US/papas-cheeseria/index.html #11836

Open Kaylamaynard opened 1 year ago

Kaylamaynard commented 1 year ago

Error Info

Error name: Error Error message: panicked at 'wgpu error: Validation Error

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

', /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.16.1/src/backend/direct.rs:3019:5 Error stack:

@https://files.crazygames.com/gameframe/ruffle/2023-06-12/core.ruffle.da99993935f2914b006e.js:1:51169
wasm-stub@[wasm code]
<?>.wasm-function[core::ops::function::FnOnce::call_once{{vtable.shim}}::h6e688eb6a0fffc1d]@[wasm code]
<?>.wasm-function[std::panicking::rust_panic_with_hook::h85b7f6628c291e12]@[wasm code]
<?>.wasm-function[core::panicking::panic_fmt::hf5c4cd929d4aaa9e]@[wasm code]
<?>.wasm-function[core::ops::function::Fn::call::h76155b1530b8ccba]@[wasm code]
<?>.wasm-function[wgpu::backend::direct::ErrorSinkRaw::handle_error::h2724b71433edab0c]@[wasm code]
<?>.wasm-function[<T as wgpu::context::DynContext>::device_create_buffer::haca9874bd60c9fc0]@[wasm code]
<?>.wasm-function[<wgpu::Device as wgpu::util::device::DeviceExt>::create_buffer_init::h2a8867bf97b663a7]@[wasm code]
<?>.wasm-function[core::cell::once::OnceCell<T>::get_or_try_init::h575450c343f86310]@[wasm code]
<?>.wasm-function[ruffle_render_wgpu::surface::Surface::draw_commands_to::h829ea0dbfd11ccf4]@[wasm code]
<?>.wasm-function[<ruffle_render_wgpu::backend::WgpuRenderBackend<T> as ruffle_render::backend::RenderBackend>::submit_frame::hdfbc690919ff3c9a]@[wasm code]
<?>.wasm-function[ruffle_web::Ruffle::tick::hf06adc16e2ae51d2]@[wasm code]
<?>.wasm-function[ruffle_web::Ruffle::new_internal::{{closure}}::{{closure}}::{{closure}}::hbfe9f46748f21f07]@[wasm code]
<?>.wasm-function[wasm_bindgen::convert::closures::invoke1_mut::hab6ed7c250fbce70]@[wasm code]
wasm-stub@[wasm code]
A@https://files.crazygames.com/gameframe/ruffle/2023-06-12/core.ruffle.da99993935f2914b006e.js:1:2832
f@https://files.crazygames.com/gameframe/ruffle/2023-06-12/core.ruffle.da99993935f2914b006e.js:1:2506

Player Info

Allows script access: false Renderer: wgpu Adapter Backend: Gl Adapter Name: "Apple GPU" Adapter Device Type: Other Adapter Driver Name: "" Adapter Driver Info: "" Enabled features: Features(TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES | PUSH_CONSTANTS) Available features: Features(TEXTURE_COMPRESSION_ETC2 | TEXTURE_COMPRESSION_ASTC | TEXTURE_COMPRESSION_ASTC_HDR | CLEAR_TEXTURE) 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: 640, 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: 16384, 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: 60, 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: 96 } Surface quality: high Surface samples: 4 Surface size: Extent3d { width: 550, height: 400, depth_or_array_layers: 1 }

Page Info

Page URL: https://games.crazygames.com/en_US/papas-cheeseria/index.html?forceIpad=1 SWF URL: https://files.crazygames.com/papas-cheeseria/3/game.swf

Browser Info

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15 Platform: MacIntel Has touch support: true

Ruffle Info

Version: 0.1.0 Name: nightly 2023-06-12 Channel: nightly Built: 2023-06-12T00:25:31.972Z Commit: da6e2a96bf93d00a06066b2c36fc3ec5ab437d43 Is extension: false

Metadata

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

Kaylamaynard commented 1 year ago

J

Sonikkustar commented 6 months ago

Not sure what triggered the initial issue, but the game seems to play fine on the latest build as well as on crazygames.

image

Tested on nightly-2023-12-19.