Code Monkey home page Code Monkey logo

Comments (6)

nerocui avatar nerocui commented on September 23, 2024

Getting the same error here as well.

from iced.

kjetilkjeka avatar kjetilkjeka commented on September 23, 2024

Ran into the same problem.

Selected: AdapterInfo {
    name: "NVIDIA GeForce GTX 980/PCIe/SSE2",
    vendor: 4318,
    device: 0,
    device_type: Other,
    driver: "",
    driver_info: "",
    backend: Gl,
} 
Caused by:
    In Device::create_render_pipeline
      note: label = `iced_wgpu.quad.gradient.pipeline`
    Error matching ShaderStages(VERTEX) shader requirements against the pipeline
    Shader uses 37 inter-stage components above the limit of 31

Might be unrelated, but It seems like it's something wrong with the detected adapter as well. Nvidia-smi lists this, which is correct:

|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 3060 ...    Off | 00000000:01:00.0 Off |                  N/A |
| N/A   51C    P0              29W /  65W |   1311MiB /  6144MiB |      8%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

from iced.

StT191 avatar StT191 commented on September 23, 2024

Same here

from iced.

PieKing1215 avatar PieKing1215 commented on September 23, 2024

Getting the same error trying to upgrade a project from 0.10 to 0.12
I'm still able to reproduce with tour example on latest master (c76a9eb) after doing the fix with web_sys_unstable_apis in .cargo/config.toml

I get this error on Firefox but on Chrome/Edge it just hangs after printing the Settings struct
(also this is on win 10)

Console output
Settings {
    present_mode: AutoVsync,
    internal_backend: Backends(
        VULKAN | GL | METAL | DX12 | BROWSER_WEBGPU,
    ),
    default_font: Font {
        family: SansSerif,
        weight: Normal,
        stretch: Normal,
        style: Normal,
    },
    default_text_size: Pixels(
        16.0,
    ),
    antialiasing: None,
}

WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER.

Adapter Gl AdapterInfo { name: "ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0)", vendor: 4318, device: 0, device_type: Other, driver: "", driver_info: "", backend: Gl }

Selected: AdapterInfo {
    name: "ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0)",
    vendor: 4318,
    device: 0,
    device_type: Other,
    driver: "",
    driver_info: "",
    backend: Gl,
}

Available formats: Copied {
    it: Iter(
        [
            Rgba8UnormSrgb,
            Rgba8Unorm,
            Rgba16Float,
        ],
    ),
}

Available alpha modes: [
    Opaque,
]

Selected format: Rgba8UnormSrgb with alpha mode: Auto

Device::create_render_pipeline error: Error matching ShaderStages(VERTEX) shader requirements against the pipeline

Handling wgpu errors as fatal by default

panicked at ****\.cargo\registry\src\index.crates.io-6f17d22bba15001f\wgpu-0.19.1\src\backend\wgpu_core.rs:3009:5:
wgpu error: Validation Error

Caused by:
    In Device::create_render_pipeline
      note: label = `iced_wgpu.quad.gradient.pipeline`
    Error matching ShaderStages(VERTEX) shader requirements against the pipeline
    Shader uses 37 inter-stage components above the limit of 31



Stack:

__wbg_get_imports/imports.wbg.__wbg_new_abda76e883ba8a5f@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1.js:372:21
console_error_panic_hook::Error::new::h3b221605139ed6d8@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[44542]:0x1712246
console_error_panic_hook::hook_impl::h9e505c1fde804d33@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[12111]:0x11103b9
console_error_panic_hook::hook::h5a5f7e279f141a09@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[57812]:0x17f6c89
core::ops::function::Fn::call::hd6c956c64f2fd313@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[52106]:0x17a2ab9
std::panicking::rust_panic_with_hook::hbf46ef0245cc9589@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[22889]:0x141af50
std::panicking::begin_panic_handler::{{closure}}::hc07db454214d2c87@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[29522]:0x1553a34
std::sys_common::backtrace::__rust_end_short_backtrace::hf9e2f055fb5ef672@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[67534]:0x1858456
rust_begin_unwind@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[44436]:0x170fe80
core::panicking::panic_fmt::h14c85a61aa3d538e@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[57445]:0x17f2044
wgpu::backend::wgpu_core::default_error_handler::hc8c3a8ea23297f58@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[11280]:0x10bb5bd
core::ops::function::Fn::call::haaf62ac190d757ab@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[27684]:0x1505843
<alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hc02ddb769d02e1bc@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[25191]:0x1491c0c
wgpu::backend::wgpu_core::ErrorSinkRaw::handle_error::h684f6c0d9862c160@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[4120]:0xc3ce55
wgpu::backend::wgpu_core::ContextWgpuCore::handle_error::ha67d806bef54a5c1@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[1892]:0x8fd169
<wgpu::backend::wgpu_core::ContextWgpuCore as wgpu::context::Context>::device_create_render_pipeline::h49e424a74df0146d@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[1016]:0x5fb2e4
<T as wgpu::context::DynContext>::device_create_render_pipeline::hc477fd564a0ae151@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[22804]:0x1416401
wgpu::Device::create_render_pipeline::h88fb5731c0e6d8d6@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[17194]:0x12b5f1b
iced_wgpu::quad::gradient::Pipeline::new::hbb6f5d59cabbc781@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[763]:0x42ea94
iced_wgpu::quad::Pipeline::new::hed8beb7db5765eef@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[2483]:0xa226bf
iced_wgpu::backend::Backend::new::h0fa22c9f2cda88f7@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[4538]:0xca5f64
iced_wgpu::window::compositor::Compositor::create_backend::h2d6e313c4ae9715f@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[16236]:0x126e3ac
<iced_wgpu::window::compositor::Compositor as iced_graphics::compositor::Compositor>::create_renderer::h5eb7d32d2d1c8e42@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[23911]:0x145154d
<iced_renderer::compositor::Compositor as iced_graphics::compositor::Compositor>::create_renderer::h7f38a12a55f98bea@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[21373]:0x13c5ee2
iced_winit::application::run::hc32dffd312bec687@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[812]:0x498e3d
iced::application::Application::run::hf31bcfc55d163b97@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[5215]:0xd3f262
iced::sandbox::Sandbox::run::h287601b7412a6c45@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[67082]:0x1856f98
tour::main::h894915eb49f86e2a@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[30349]:0x157559c
core::ops::function::FnOnce::call_once::h110f0ac88eb3dcd8@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[56525]:0x17e5a83
std::sys_common::backtrace::__rust_begin_short_backtrace::hf6d4d442a322354d@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[33745]:0x15ee304
std::rt::lang_start::{{closure}}::h6b4a4e104f15ecba@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[31253]:0x1597a96
std::rt::lang_start_internal::h20a8087e5817ee7c@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[17648]:0x12d6504
std::rt::lang_start::heb5d9b81ceb93e79@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[33733]:0x15edcdc
main@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[65191]:0x184ad8f
@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:wasm-function[67060]:0x1856e9d
__wbg_finalize_init@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1.js:2464:10
__wbg_init@http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1.js:2500:12


tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1.js:366:21
Uncaught (in promise) RuntimeError: unreachable executed
    __wbg_finalize_init http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1.js:2464
    __wbg_init http://127.0.0.1:8080/tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1.js:2500
tour-58cf7f8cc129cbd9aa56540acfc358a52504a99e2e355d96a6d304c21bec56a9dd116af4f0bdf145309e1ad9afdec9e1_bg.wasm:25527858:1

from iced.

skutcher avatar skutcher commented on September 23, 2024

its working now on firefox but on chrome the whole page is not loaded and i got just a white screen with 0.12.1 and no output on the console at all

from iced.

bluezheng avatar bluezheng commented on September 23, 2024

tried counter example, same issue with chrome (version 125.0.6422.77), not display, but works with safari

from iced.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.