ruffle-rs / ruffle

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

Error on https://www.gameflare.com/embed/jumping-finn/ #12879

Open LETSGOBAI opened 1 year ago

LETSGOBAI commented 1 year ago

Error Info

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

Caused by: In CommandEncoder::copy_texture_to_buffer Copy error Copy of X 0..4200 would end up overrunning the bounds of the Source texture of X size 4096

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

Error: panicked at 'wgpu error: Validation Error

Caused by:
    In CommandEncoder::copy_texture_to_buffer
    Copy error
    Copy of X 0..4200 would end up overrunning the bounds of the Source texture of X size 4096

', /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.16.3/src/backend/direct.rs:3019:5
    at V.n.wbg.__wbg_new_d258248ed531ff54 (https://www.gameflare.com/emulators/ruffle/core.ruffle.52959e9e910c5b80cc5c.js:1:51553)
    at core::ops::function::FnOnce::call_once{{vtable.shim}}::h47c86d7a777c7d0f (wasm://wasm/02fe6f02:wasm-function[9238]:0x8f741a)
    at std::panicking::rust_panic_with_hook::h6df5db7ad9f65dc8 (wasm://wasm/02fe6f02:wasm-function[6053]:0x7f74f7)
    at core::panicking::panic_fmt::h2d3c5586175098d9 (wasm://wasm/02fe6f02:wasm-function[9081]:0x8f2dd4)
    at core::ops::function::Fn::call::h02c044f30db86e49 (wasm://wasm/02fe6f02:wasm-function[6752]:0x83b2bf)
    at wgpu::backend::direct::ErrorSinkRaw::handle_error::h400c9dc3b8bd0ad1 (wasm://wasm/02fe6f02:wasm-function[4834]:0x75bd1c)
    at wgpu::backend::direct::Context::handle_error::h406aa4beb0f6c9bb (wasm://wasm/02fe6f02:wasm-function[2582]:0x5c85de)
    at <T as wgpu::context::DynContext>::command_encoder_copy_texture_to_buffer::hdb52b5097e281d87 (wasm://wasm/02fe6f02:wasm-function[6638]:0x830ef9)
    at wgpu::CommandEncoder::copy_texture_to_buffer::h71bc9bce92eaf019 (wasm://wasm/02fe6f02:wasm-function[5668]:0x7dae37)
    at <ruffle_render_wgpu::QueueSyncHandle as ruffle_render::bitmap::SyncHandle>::retrieve_offscreen_texture::h93de902fb926093d (wasm://wasm/02fe6f02:wasm-function[1652]:0x4878dc)

AVM2 stack:

    at flash.display::BitmapData/flash::display::BitmapData::copyPixels()
    at currentGame.gameObjects::Level/update()
    at currentGame.states::StateGame/update()
    at ilmare.StateLib::StateManager/update()
    at Main/update()
    at flash.events::EventDispatcher/flash::events::EventDispatcher::dispatchEvent()
    at flash.utils::Timer/onUpdate()

Player Info

Allows script access: false Renderer: wgpu Adapter Backend: Gl Adapter Name: "ANGLE (Intel Open Source Technology Center, Mesa DRI Intel(R) UHD Graphics 600 (GLK 2), OpenGL ES 3.2)" Adapter Device Type: IntegratedGpu Adapter Driver Name: "" Adapter Driver Info: "" Enabled features: Features(TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES | PUSH_CONSTANTS) Available features: Features(TEXTURE_COMPRESSION_BC | TEXTURE_COMPRESSION_ETC2 | TEXTURE_COMPRESSION_ASTC | TEXTURE_COMPRESSION_ASTC_HDR | CLEAR_TEXTURE) Current limits: Limits { max_texture_dimension_1d: 4096, max_texture_dimension_2d: 4096, max_texture_dimension_3d: 1024, 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://www.gameflare.com/embed/jumping-finn/ SWF URL: https://data.gameflare.com/games/2155/qaRPSQPjAMW1aX.swf

Browser Info

User Agent: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Platform: Linux x86_64 Has touch support: false

Ruffle Info

Version: 0.1.0 Name: nightly 2023-08-14 Channel: nightly Built: 2023-08-14T00:19:51.507Z Commit: 56b97e7b40ea40061d0844ac4d691d0e07ac4c05 Is extension: false

Metadata

width: 600 height: 400 frameRate: 30 numFrames: 2 swfVersion: 10 backgroundColor: undefined isActionScript3: true uncompressedLength: 7452286

n0samu commented 1 year ago

Hi, unfortunately Ruffle has a problem that prevents it from playing games like this on your computer. This will be difficult to fix, but for now you can play the game using a different emulator called WAFlash: https://vidkidz.tistory.com/5307