Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue running typing-maniac.swf #18234

Open
jrversteegh opened this issue Oct 10, 2024 · 2 comments
Open

Issue running typing-maniac.swf #18234

jrversteegh opened this issue Oct 10, 2024 · 2 comments
Labels
bug Something isn't working panic Hit a panic

Comments

@jrversteegh
Copy link

Describe what you were doing

Trying to run typing maniac (old facebook game) and got error.type.zip

What does the crash message say?

panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-core-22.1.0/src/device/queue.rs:299:22:
called Result::unwrap() on an Err value: OutOfMemory

Ruffle Version

0.1.0-nightly (66a909d 2024-10-09)

Affected platform

Desktop app

Operating system

Linux Mint 22.0.0 (wilma) [64-bit]

Additional information

No response

@jrversteegh jrversteegh added bug Something isn't working panic Hit a panic labels Oct 10, 2024
@jrversteegh
Copy link
Author

This error occurs even when running without parameter so has nothing to do with the flash file, but with amdgpu interaction it looks like:

2024-10-10T20:42:42.051488Z INFO ruffle_desktop::gui::controller: Using preferred backend Vulkan
radv/amdgpu: Failed to allocate a buffer:
radv/amdgpu: size : 0 bytes
radv/amdgpu: alignment : 0 bytes
radv/amdgpu: domains : 4
radv/amdgpu: Failed to allocate a buffer:
radv/amdgpu: size : 0 bytes
radv/amdgpu: alignment : 0 bytes
radv/amdgpu: domains : 4
thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-core-22.1.0/src/device/queue.rs:299:22:
called Result::unwrap() on an Err value: OutOfMemory
stack backtrace:
0: 0x587f06c79205 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h1b9dad2a88e955ff
1: 0x587f06ca755b - core::fmt::write::h4b5a1270214bc4a7
2: 0x587f06c747df - std::io::Write::write_fmt::hd04af345a50c312d
3: 0x587f06c7a741 - std::panicking::default_hook::{{closure}}::h96ab15e9936be7ed
4: 0x587f06c7a41c - std::panicking::default_hook::h3cacb9c27561ad33
5: 0x587f05866be1 - ruffle_desktop::init::{{closure}}::h48897d5c450ac19e
6: 0x587f06c7afdf - std::panicking::rust_panic_with_hook::hfe205f6954b2c97b
7: 0x587f06c7ac07 - std::panicking::begin_panic_handler::{{closure}}::h6cb44b3a50f28c44
8: 0x587f06c796c9 - std::sys::backtrace::__rust_end_short_backtrace::hf1c1f2a92799bb0e
9: 0x587f06c7a894 - rust_begin_unwind
10: 0x587f056fff03 - core::panicking::panic_fmt::h3d8fc78294164da7
11: 0x587f057003d6 - core::result::unwrap_failed::hfa79a499befff387
12: 0x587f0690d70b - wgpu_core::device::resource::Device::new::he598b2b22a773260
13: 0x587f0681e307 - wgpu_core::instance::Adapter::create_device_and_queue::he1ae56793b229920
14: 0x587f068dffc2 - wgpu_core::instance::::adapter_request_device::h279e13ace7e32707
Aborted (core dumped)

@adrian17
Copy link
Collaborator

FYI, I ran your SWF and I think it won't work anyway, as it's trying to load some SWF from an URL that no longer works?

That said, it's still a weird error you got.
Can you send us your vulkaninfo --summary? I'll probably pass them to wgpu library folks as it feels like an issue on their side, this happens on early graphics initialization on their side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working panic Hit a panic
Projects
None yet
Development

No branches or pull requests

2 participants