-
-
Notifications
You must be signed in to change notification settings - Fork 972
Open
Labels
A-webArea: Web & ExtensionsArea: Web & ExtensionsbugSomething isn't workingSomething isn't workingrender-wgpuIssues relating to the wgpu rendererIssues relating to the wgpu rendererstage3dwebgpuIssues with the the WebGPU wgpu backendIssues with the the WebGPU wgpu backend
Description
Describe the bug
With Ruffle's WebGPU renderer enabled in Chrome, the main menu screen of Project Alnilam works for a few seconds, but then Chrome's GPU process crashes and the entire browser window goes blank for a few seconds (until the process restarts):
GPU connection lost
Uncaught RangeError: Failed to execute 'createBuffer' on 'GPUDevice': createBuffer failed, size is too large for the implementation when mappedAtCreation == true
at imports.wbg.__wbg_createBuffer_04daf0bfc4769a62 (339.js:2454:37)
at <T as wgpu::context::DynContext>::device_create_buffer::h7d41835ba2bb1140 (036c7a8a:0x8b58f8)
at <wgpu::Device as wgpu::util::device::DeviceExt>::create_buffer_init::h41cb3e9940d5a9bc (036c7a8a:0x537079)
at ruffle_render_wgpu::surface::target::CommandTarget::new::hbe3fe42594749750 (036c7a8a:0x290c86)
at ruffle_render_wgpu::surface::Surface::draw_commands::h767c2f4264cddbcd (036c7a8a:0x1f8097)
at <ruffle_render_wgpu::backend::WgpuRenderBackend<T> as ruffle_render::backend::RenderBackend>::submit_frame::h6f416386f74b4b05 (036c7a8a:0x2473c3)
at ruffle_web::Ruffle::tick::hfaf4d009e756f116 (036c7a8a:0x2f6158)
at ruffle_web::Ruffle::new_internal::{{closure}}::{{closure}}::{{closure}}::h249fbc1c56de64f7 (036c7a8a:0xa8996c)
at wasm_bindgen::convert::closures::invoke1_mut::h4fd247b9517b150f (036c7a8a:0xa638ba)
at __wbg_adapter_57 (339.js:319:10)
And of course, this also crashes Ruffle.
Tested with the Chrome extension built from #14682, in its SWF player page.
Expected behavior
The game should not crash.
Content Location
Affected platform
Browser's extension
Operating system
Windows 10
Browser
Chromium 120
Additional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-webArea: Web & ExtensionsArea: Web & ExtensionsbugSomething isn't workingSomething isn't workingrender-wgpuIssues relating to the wgpu rendererIssues relating to the wgpu rendererstage3dwebgpuIssues with the the WebGPU wgpu backendIssues with the the WebGPU wgpu backend