ruffle-rs / ruffle-rs/ruffle

Error on https://uploads.ungrounded.net/ruffle_wrapper/ruffleembed.html

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

Nobody has claimed this yet.

error-report render-wgpu
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-23.0.1/src/backend/wgpu_core.rs:1102:18:
wgpu error: Validation Error

Caused by:
In Device::create_render_pipeline
Internal error in ShaderStages(VERTEX) shader:

Error stack:

Error: panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-23.0.1/src/backend/wgpu_core.rs:1102:18:
wgpu error: Validation Error

Caused by:
  In Device::create_render_pipeline
    Internal error in ShaderStages(VERTEX) shader: 


    at n.wbg.__wbg_new_6799ef630abee97c (https://uploads.ungrounded.net/ruffle_wrapper/lib/core.ruffle.e7c0892726fd7a2eb55c.js:1:57598)
    at ruffle_web.wasm.js_sys::Error::new::heb462701c44fe90a (wasm://wasm/ruffle_web.wasm-031a8682:wasm-function[12838]:0x988b5b)
    at ruffle_web.wasm.core::ops::function::FnOnce::call_once{{vtable.shim}}::h4d932a7f3750c764 (wasm://wasm/ruffle_web.wasm-031a8682:wasm-function[9790]:0x9056ff)
    at ruffle_web.wasm.std::panicking::rust_panic_with_hook::h33fe77d38d305ca3 (wasm://wasm/ruffle_web.wasm-031a8682:wasm-function[6434]:0x82b774)
    at ruffle_web.wasm.core::panicking::panic_fmt::hde8b7aa66e2831e1 (wasm://wasm/ruffle_web.wasm-031a8682:wasm-function[9510]:0x8fe982)
    at ruffle_web.wasm.wgpu::backend::wgpu_core::ContextWgpuCore::handle_error_inner::h309a93c072ea15ea (wasm://wasm/ruffle_web.wasm-031a8682:wasm-function[2646]:0x5c6e47)
    at ruffle_web.wasm.<T as wgpu::context::DynContext>::device_create_render_pipeline::h061cd22cde64aa2d (wasm://wasm/ruffle_web.wasm-031a8682:wasm-function[8719]:0x8dc112)
    at ruffle_web.wasm.wgpu::api::device::Device::create_render_pipeline::he9e5341a2c2b0f24 (wasm://wasm/ruffle_web.wasm-031a8682:wasm-function[7673]:0x88d46f)
    at ruffle_web.wasm.ruffle_render_wgpu::utils::run_copy_pipeline::heaaac2b4a7a8a8b3 (wasm://wasm/ruffle_web.wasm-031a8682:wasm-function[2399]:0x57ba6d)
    at ruffle_web.wasm.ruffle_render_wgpu::surface::Surface::draw_commands_and_copy_to::haa8bec228124c369 (wasm://wasm/ruffle_web.wasm-031a8682:wasm-function[2356]:0x56b9f3)

Player Info

Allows script access: false

Page Info

Page URL: https://uploads.ungrounded.net/ruffle_wrapper/ruffleembed.html?v=1.0.67&browsermode=default&props=%7B%22ruffle%22%3A%22%2Fruffle_wrapper%2Flib%2Fruffle.js%3F1735362928%22%2C%22public_path%22%3A%22%2Fruffle_wrapper%2Flib%2F%22%2C%22swf%22%3A%22https%3A%2F%2Fuploads.ungrounded.net%2F522000%2F522276_TuperTarioTros.swf%3F1722165492%22%2C%22vars%22%3A%7B%22NewgroundsAPI_PublisherID%22%3A1%2C%22NewgroundsAPI_SandboxID%22%3A%22676f97290b018%22%2C%22NewgroundsAPI_SessionID%22%3A%22%22%2C%22NewgroundsAPI_UserName%22%3A%22%26lt%3Bdeleted%26gt%3B%22%2C%22NewgroundsAPI_UserID%22%3A0%2C%22ng_username%22%3A%22%26lt%3Bdeleted%26gt%3B%22%7D%2C%22width%22%3A640%2C%22height%22%3A480%2C%22icon%22%3A%22https%3A%2F%2Fpicon.ngfiles.com%2F522000%2Fflash_522276_card.png%3Ff1646693035%22%2C%22warnOnUnsupportedContent%22%3Afalse%7D

Browser Info

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

Ruffle Info

Version: 0.1.0
Name: nightly 2024-12-28
Channel: nightly
Built: 2024-12-28T00:06:20.128Z
Commit: 333cebeac5aa14848c9ed6933d41e3446915833d
Is extension: false

Metadata

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 by reproducing the failure at the reported ruffleembed.html URL with the TuperTarioTros.swf file on Linux x86_64 and Chrome 131. Trace the wgpu create_render_pipeline failure through ruffle_render_wgpu::utils::run_copy_pipeline and the reported shader-stage validation error; done means the game loads without this panic.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, wasm
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.