-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Is your issue REALLY a bug?
- My issue is indeed a bug!
- I am not crazy! I will not fill out this form just to ask a question or request a feature. Pinky promise.
Is there an existing issue for this?
- I have searched the existing issues.
Is this issue related to iced?
- My hardware is compatible and my graphics drivers are up-to-date.
What happened?
This issue was first reported to the halloy project squidowl/halloy#1220
I'm on a setup with 2 GPUs, one intel iGPU, and one NVIDIA dGPU. Ubuntu 25.04.
X and everything is supposed to run on the nvidia.
When starting Halloy, it crashes after selecting the wrong GPU. But the problem disappears if disable completely my intel GPU in the BIOS. I can confirm that it works correctly with either an intel or an nvidia GPU, but it fails when both are available in the machine.
% RUST_BACKTRACE=full ./target/debug/halloy
20:16:58.307:INFO -- halloy 2025.9 (026c9829) has started
20:16:58.307:INFO -- config dir: "/home/wla/.config/halloy"
20:16:58.307:INFO -- data dir: "/home/wla/.local/share/halloy"
20:16:58.312:INFO -- failed to load dashboard: No such file or directory (os error 2)
20:16:58.313:DEBUG -- set new filters to history manager, reset all cached channel flags.
20:16:58.392:INFO -- Settings {
present_mode: AutoVsync,
backends: Backends(
NOOP | VULKAN | GL | METAL | DX12 | BROWSER_WEBGPU,
),
default_font: Font {
family: Name(
"Iosevka Term",
),
weight: Normal,
stretch: Normal,
style: Normal,
},
default_text_size: Pixels(
13.0,
),
antialiasing: None,
}
20:16:58.440:INFO -- Available adapters: [
AdapterInfo {
name: "NVIDIA GeForce RTX [redacted]",
vendor: 4318,
device: 9989,
device_type: DiscreteGpu,
driver: "NVIDIA",
driver_info: "580.65.06",
backend: Vulkan,
},
AdapterInfo {
name: "Intel(R) Graphics (RKL GT1)",
vendor: 32902,
device: 19594,
device_type: IntegratedGpu,
driver: "Intel open-source Mesa driver",
driver_info: "Mesa 25.0.7-0ubuntu0.25.04.2",
backend: Vulkan,
},
AdapterInfo {
name: "llvmpipe (LLVM 20.1.2, 256 bits)",
vendor: 65541,
device: 0,
device_type: Cpu,
driver: "llvmpipe",
driver_info: "Mesa 25.0.7-0ubuntu0.25.04.2 (LLVM 20.1.2)",
backend: Vulkan,
},
AdapterInfo {
name: "NVIDIA GeForce RTX [redacted]/PCIe/SSE2",
vendor: 4318,
device: 0,
device_type: Other,
driver: "",
driver_info: "3.3.0 NVIDIA 580.65.06",
backend: Gl,
},
]
20:16:58.463:INFO -- Selected: AdapterInfo {
name: "Intel(R) Graphics (RKL GT1)",
vendor: 32902,
device: 19594,
device_type: IntegratedGpu,
driver: "Intel open-source Mesa driver",
driver_info: "Mesa 25.0.7-0ubuntu0.25.04.2",
backend: Vulkan,
}
20:16:58.463:INFO -- Available formats: Copied {
it: Iter(
[
Bgra8UnormSrgb,
Bgra8Unorm,
],
),
}
20:16:58.463:INFO -- Available alpha modes: [
Opaque,
Inherit,
]
20:16:58.463:INFO -- Selected format: Bgra8UnormSrgb with alpha mode: Auto
thread 'main' panicked at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/platform_impl/linux/x11/window.rs:655:37:
Failed to change window theme: XError { description: "BadMatch (invalid parameter attributes)", error_code: 8, request_code: 149, minor_code: 4 }
stack backtrace:
20:16:58.566:INFO -- [liberachat] connected
0: 0x5ad4947ab872 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
1: 0x5ad4947ab872 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
2: 0x5ad4947ab872 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9
3: 0x5ad4947ab872 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hdcfcb6d4c8489523
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26
4: 0x5ad4947dac73 - core::fmt::rt::Argument::fmt::h2c56b3114963061a
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76
5: 0x5ad4947dac73 - core::fmt::write::h8a494366950f23bb
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25
6: 0x5ad4947a69b3 - std::io::default_write_fmt::ha27fbccbc65eb6fa
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11
7: 0x5ad4947a69b3 - std::io::Write::write_fmt::h6556609fca33d0b1
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13
8: 0x5ad4947ab6c2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9
9: 0x5ad4947ad5d3 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27
10: 0x5ad4947ad3b5 - std::panicking::default_hook::h2c66fc99e962531d
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:327:9
11: 0x5ad4947adfe5 - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:833:13
12: 0x5ad4947add7a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13
13: 0x5ad4947abd79 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18
14: 0x5ad4947ada0d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5
15: 0x5ad4947d7ac0 - core::panicking::panic_fmt::h62f63d096dd276af
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14
16: 0x5ad4947d7fd6 - core::result::unwrap_failed::h95bc3f5a607b2c95
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1765:5
17: 0x5ad492dde09f - core::result::Result<T,E>::expect::hf71ef15eec72bcf5
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1119:23
18: 0x5ad492dde09f - winit::platform_impl::linux::x11::window::UnownedWindow::set_theme::ha9ca8c5eb0f0962e
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/platform_impl/linux/x11/window.rs:655:37
19: 0x5ad492dde09f - winit::platform_impl::linux::Window::set_theme::h19202ef68c1ecd4b
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/platform_impl/linux/mod.rs:612:62
20: 0x5ad492dde09f - winit::window::Window::set_theme::{{closure}}::h3d3f05907e06a710
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/window.rs:1372:52
21: 0x5ad492dde09f - winit::platform_impl::linux::Window::maybe_queue_on_main::h24785bd45e7ea3a3
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/platform_impl/linux/mod.rs:308:9
22: 0x5ad492dde09f - winit::window::Window::set_theme::he3e9bfef5a285af1
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/window.rs:1372:21
23: 0x5ad492dde09f - iced_winit::run_instance::{{closure}}::h882362a5e5e47293
at /home/wla/.cargo/git/checkouts/iced-464b13899d50a374/0cf89fb/winit/src/lib.rs:663:28
24: 0x5ad492de03a9 - iced_winit::run::Runner<Message,F>::process_event::h2a7e4d7d9ddcc34d
at /home/wla/.cargo/git/checkouts/iced-464b13899d50a374/0cf89fb/winit/src/lib.rs:294:51
25: 0x5ad492de1007 - iced_winit::run::Runner<Message,F>::process_event::h2a7e4d7d9ddcc34d
at /home/wla/.cargo/git/checkouts/iced-464b13899d50a374/0cf89fb/winit/src/lib.rs:420:38
26: 0x5ad492e1c3b7 - winit::event_loop::dispatch_event_for_app::h8c0f16b0f602020a
27: 0x5ad492e1c3b7 - winit::event_loop::EventLoop<T>::run_app::{{closure}}::h99b115b3aabaedf4
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/event_loop.rs:265:49
28: 0x5ad492e1c3b7 - core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut::h28b5543314a227fb
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:301:21
29: 0x5ad492b200d9 - core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut::h24a4d389e9f58e77
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:301:21
30: 0x5ad492b200d9 - winit::platform_impl::linux::x11::EventLoop<T>::single_iteration::hea9e0cbf4e0ecb2f
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/platform_impl/linux/x11/mod.rs:549:17
31: 0x5ad492b200d9 - winit::platform_impl::linux::x11::EventLoop<T>::poll_events_with_timeout::h451c19bed001e361
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/platform_impl/linux/x11/mod.rs:504:14
32: 0x5ad492b200d9 - winit::platform_impl::linux::x11::EventLoop<T>::pump_events::h9df0b73ac0393d7c
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/platform_impl/linux/x11/mod.rs:424:18
33: 0x5ad492b200d9 - winit::platform_impl::linux::x11::EventLoop<T>::run_on_demand::hd8c1c1987c159223
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/platform_impl/linux/x11/mod.rs:385:24
34: 0x5ad492ddfa0a - winit::platform_impl::linux::EventLoop<T>::run_on_demand::he641375acf426fb7
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/platform_impl/linux/mod.rs:819:61
35: 0x5ad492ddfa0a - winit::platform_impl::linux::EventLoop<T>::run::ha4653f179c934c09
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/platform_impl/linux/mod.rs:812:14
36: 0x5ad492ddfa0a - winit::event_loop::EventLoop<T>::run_app::h22e6813556e06056
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/event_loop.rs:265:25
37: 0x5ad492ddfa0a - iced_winit::run::hf625f4a7cd284d13
at /home/wla/.cargo/git/checkouts/iced-464b13899d50a374/0cf89fb/winit/src/lib.rs:457:28
38: 0x5ad493082e46 - iced::daemon::Daemon<P>::run::hb61eeac7cca1af5c
at /home/wla/.cargo/git/checkouts/iced-464b13899d50a374/0cf89fb/src/daemon.rs:138:12
39: 0x5ad493082e46 - halloy::main::hb12a17afe2f82753
at /home/wla/projects/halloy/src/main.rs:128:6
40: 0x5ad492a9d563 - core::ops::function::FnOnce::call_once::h6947df9325a3eaa8
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
41: 0x5ad492a9d563 - std::sys::backtrace::__rust_begin_short_backtrace::ha033914caa98d4dd
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18
42: 0x5ad49318a7fd - std::rt::lang_start::{{closure}}::h901cb59fe1e58c1f
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:206:18
43: 0x5ad49479d840 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h638295a043b40957
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:290:21
44: 0x5ad49479d840 - std::panicking::catch_unwind::do_call::hbd68098bdea1ca50
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
45: 0x5ad49479d840 - std::panicking::catch_unwind::h50591d85bf847c7c
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
46: 0x5ad49479d840 - std::panic::catch_unwind::h2487b4c4f2ae22c6
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
47: 0x5ad49479d840 - std::rt::lang_start_internal::{{closure}}::h61f0945cc6c9a811
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:175:24
48: 0x5ad49479d840 - std::panicking::catch_unwind::do_call::h34b9c3722acd6bd1
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
49: 0x5ad49479d840 - std::panicking::catch_unwind::hf9a822ea043fb0d6
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
50: 0x5ad49479d840 - std::panic::catch_unwind::h5b3cac802237ed89
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
51: 0x5ad49479d840 - std::rt::lang_start_internal::h34f9328d113fd60a
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:171:5
52: 0x5ad49308a68c - main
53: 0x7c560f02a578 - __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
54: 0x7c560f02a63b - __libc_start_main_impl
at ./csu/../csu/libc-start.c:360:3
55: 0x5ad4929fd325 - _start
56: 0x0 - <unknown>
After poking around I found out that disabling the antialiasing provokes the problem. So I reproduced the problem with one of the iced example:
% git diff
diff --git a/examples/todos/src/main.rs b/examples/todos/src/main.rs
index 6dee5b66..d7ef5b1f 100644
--- a/examples/todos/src/main.rs
+++ b/examples/todos/src/main.rs
@@ -26,6 +26,7 @@ fn application() -> Application<impl Program<Message = Message>> {
.title(Todos::title)
.font(Todos::ICON_FONT)
.window_size((500.0, 800.0))
+ .antialiasing(false)
.presets(presets())
}
% RUST_BACKTRACE=full cargo run --package todos
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s
Running `target/debug/todos`
2025-11-04T18:25:09.600782Z WARN winit::platform_impl::linux::x11::xdisplay: error setting XSETTINGS; Xft options won't reload automatically
2025-11-04T18:25:09.607516Z INFO iced_winit: System theme: Dark
2025-11-04T18:25:09.607775Z INFO iced_winit: Window attributes for id `Id(
1,
)`: WindowAttributes {
inner_size: Some(
Logical(
LogicalSize {
width: 500.0,
height: 800.0,
},
),
),
min_inner_size: None,
max_inner_size: None,
position: None,
resizable: true,
enabled_buttons: WindowButtons(
CLOSE | MINIMIZE | MAXIMIZE,
),
title: "Todos - Iced",
maximized: false,
visible: false,
transparent: false,
blur: false,
decorations: true,
window_icon: None,
preferred_theme: None,
resize_increments: None,
content_protected: false,
window_level: Normal,
active: true,
cursor: Icon(
Default,
),
parent_window: None,
fullscreen: None,
platform_specific: PlatformSpecificWindowAttributes {
name: Some(
ApplicationName {
general: "",
instance: "",
},
),
activation_token: None,
x11: X11WindowAttributes {
visual_id: None,
screen_id: None,
base_size: None,
override_redirect: false,
x11_window_types: [
Normal,
],
embed_window: None,
},
},
}
2025-11-04T18:25:09.607890Z INFO winit::platform_impl::linux::x11::window: Guessed window scale factor: 1.0833333333333333
2025-11-04T18:25:09.629565Z WARN wgpu_hal::vulkan::instance: Unable to find extension: VK_EXT_physical_device_drm
2025-11-04T18:25:09.657962Z INFO wgpu_hal::gles::egl: Using X11 platform
2025-11-04T18:25:09.665424Z WARN wgpu_hal::gles::egl: No config found!
2025-11-04T18:25:09.665440Z WARN wgpu_hal::gles::egl: EGL says it can present to the window but not natively
2025-11-04T18:25:09.675307Z INFO iced_wgpu::window::compositor: Settings {
present_mode: AutoVsync,
backends: Backends(
NOOP | 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,
}
2025-11-04T18:25:09.721897Z WARN wgpu_hal::gles::adapter: Max vertex attribute stride unknown. Assuming it is 2048
2025-11-04T18:25:09.722133Z INFO iced_wgpu::window::compositor: Available adapters: [
AdapterInfo {
name: "NVIDIA GeForce RTX 4070 Ti SUPER",
vendor: 4318,
device: 9989,
device_type: DiscreteGpu,
driver: "NVIDIA",
driver_info: "580.95.05",
backend: Vulkan,
},
AdapterInfo {
name: "Intel(R) Graphics (RKL GT1)",
vendor: 32902,
device: 19594,
device_type: IntegratedGpu,
driver: "Intel open-source Mesa driver",
driver_info: "Mesa 25.0.7-0ubuntu0.25.04.2",
backend: Vulkan,
},
AdapterInfo {
name: "llvmpipe (LLVM 20.1.2, 256 bits)",
vendor: 65541,
device: 0,
device_type: Cpu,
driver: "llvmpipe",
driver_info: "Mesa 25.0.7-0ubuntu0.25.04.2 (LLVM 20.1.2)",
backend: Vulkan,
},
AdapterInfo {
name: "NVIDIA GeForce RTX 4070 Ti SUPER/PCIe/SSE2",
vendor: 4318,
device: 0,
device_type: Other,
driver: "",
driver_info: "3.3.0 NVIDIA 580.95.05",
backend: Gl,
},
]
2025-11-04T18:25:09.740679Z WARN wgpu_hal::gles::adapter: Max vertex attribute stride unknown. Assuming it is 2048
2025-11-04T18:25:09.740831Z INFO iced_wgpu::window::compositor: Selected: AdapterInfo {
name: "Intel(R) Graphics (RKL GT1)",
vendor: 32902,
device: 19594,
device_type: IntegratedGpu,
driver: "Intel open-source Mesa driver",
driver_info: "Mesa 25.0.7-0ubuntu0.25.04.2",
backend: Vulkan,
}
2025-11-04T18:25:09.740945Z INFO iced_wgpu::window::compositor: Available formats: Copied {
it: Iter(
[
Bgra8UnormSrgb,
Bgra8Unorm,
],
),
}
2025-11-04T18:25:09.740961Z INFO iced_wgpu::window::compositor: Available alpha modes: [
Opaque,
Inherit,
]
2025-11-04T18:25:09.740979Z INFO iced_wgpu::window::compositor: Selected format: Bgra8Unorm with alpha mode: Auto
2025-11-04T18:25:09.806007Z ERROR winit::platform_impl::linux: X11 error: XError {
description: "BadMatch (invalid parameter attributes)",
error_code: 8,
request_code: 149,
minor_code: 4,
}
2025-11-04T18:25:09.806036Z ERROR winit::platform_impl::linux: X11 error: XError {
description: "BadMatch (invalid parameter attributes)",
error_code: 8,
request_code: 149,
minor_code: 4,
}
2025-11-04T18:25:09.806046Z ERROR winit::platform_impl::linux: X11 error: XError {
description: "BadMatch (invalid parameter attributes)",
error_code: 8,
request_code: 149,
minor_code: 4,
}
thread 'main' panicked at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/platform_impl/linux/x11/window.rs:655:37:
Failed to change window theme: XError { description: "BadMatch (invalid parameter attributes)", error_code: 8, request_code: 149, minor_code: 4 }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wla@sesshomaru ~/projects/iced
% RUST_BACKTRACE=full cargo run --package todos
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s
Running `target/debug/todos`
2025-11-04T18:25:45.011722Z WARN winit::platform_impl::linux::x11::xdisplay: error setting XSETTINGS; Xft options won't reload automatically
2025-11-04T18:25:45.018795Z INFO iced_winit: System theme: Dark
2025-11-04T18:25:45.019076Z INFO iced_winit: Window attributes for id `Id(
1,
)`: WindowAttributes {
inner_size: Some(
Logical(
LogicalSize {
width: 500.0,
height: 800.0,
},
),
),
min_inner_size: None,
max_inner_size: None,
position: None,
resizable: true,
enabled_buttons: WindowButtons(
CLOSE | MINIMIZE | MAXIMIZE,
),
title: "Todos - Iced",
maximized: false,
visible: false,
transparent: false,
blur: false,
decorations: true,
window_icon: None,
preferred_theme: None,
resize_increments: None,
content_protected: false,
window_level: Normal,
active: true,
cursor: Icon(
Default,
),
parent_window: None,
fullscreen: None,
platform_specific: PlatformSpecificWindowAttributes {
name: Some(
ApplicationName {
general: "",
instance: "",
},
),
activation_token: None,
x11: X11WindowAttributes {
visual_id: None,
screen_id: None,
base_size: None,
override_redirect: false,
x11_window_types: [
Normal,
],
embed_window: None,
},
},
}
2025-11-04T18:25:45.019200Z INFO winit::platform_impl::linux::x11::window: Guessed window scale factor: 1.0833333333333333
2025-11-04T18:25:45.041365Z WARN wgpu_hal::vulkan::instance: Unable to find extension: VK_EXT_physical_device_drm
2025-11-04T18:25:45.069778Z INFO wgpu_hal::gles::egl: Using X11 platform
2025-11-04T18:25:45.077093Z WARN wgpu_hal::gles::egl: No config found!
2025-11-04T18:25:45.077111Z WARN wgpu_hal::gles::egl: EGL says it can present to the window but not natively
2025-11-04T18:25:45.087664Z INFO iced_wgpu::window::compositor: Settings {
present_mode: AutoVsync,
backends: Backends(
NOOP | 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,
}
2025-11-04T18:25:45.130161Z WARN wgpu_hal::gles::adapter: Max vertex attribute stride unknown. Assuming it is 2048
2025-11-04T18:25:45.130373Z INFO iced_wgpu::window::compositor: Available adapters: [
AdapterInfo {
name: "NVIDIA GeForce RTX 4070 Ti SUPER",
vendor: 4318,
device: 9989,
device_type: DiscreteGpu,
driver: "NVIDIA",
driver_info: "580.95.05",
backend: Vulkan,
},
AdapterInfo {
name: "Intel(R) Graphics (RKL GT1)",
vendor: 32902,
device: 19594,
device_type: IntegratedGpu,
driver: "Intel open-source Mesa driver",
driver_info: "Mesa 25.0.7-0ubuntu0.25.04.2",
backend: Vulkan,
},
AdapterInfo {
name: "llvmpipe (LLVM 20.1.2, 256 bits)",
vendor: 65541,
device: 0,
device_type: Cpu,
driver: "llvmpipe",
driver_info: "Mesa 25.0.7-0ubuntu0.25.04.2 (LLVM 20.1.2)",
backend: Vulkan,
},
AdapterInfo {
name: "NVIDIA GeForce RTX 4070 Ti SUPER/PCIe/SSE2",
vendor: 4318,
device: 0,
device_type: Other,
driver: "",
driver_info: "3.3.0 NVIDIA 580.95.05",
backend: Gl,
},
]
2025-11-04T18:25:45.149152Z WARN wgpu_hal::gles::adapter: Max vertex attribute stride unknown. Assuming it is 2048
2025-11-04T18:25:45.149321Z INFO iced_wgpu::window::compositor: Selected: AdapterInfo {
name: "Intel(R) Graphics (RKL GT1)",
vendor: 32902,
device: 19594,
device_type: IntegratedGpu,
driver: "Intel open-source Mesa driver",
driver_info: "Mesa 25.0.7-0ubuntu0.25.04.2",
backend: Vulkan,
}
2025-11-04T18:25:45.149401Z INFO iced_wgpu::window::compositor: Available formats: Copied {
it: Iter(
[
Bgra8UnormSrgb,
Bgra8Unorm,
],
),
}
2025-11-04T18:25:45.149418Z INFO iced_wgpu::window::compositor: Available alpha modes: [
Opaque,
Inherit,
]
2025-11-04T18:25:45.149427Z INFO iced_wgpu::window::compositor: Selected format: Bgra8Unorm with alpha mode: Auto
2025-11-04T18:25:45.215082Z ERROR winit::platform_impl::linux: X11 error: XError {
description: "BadMatch (invalid parameter attributes)",
error_code: 8,
request_code: 149,
minor_code: 4,
}
2025-11-04T18:25:45.215111Z ERROR winit::platform_impl::linux: X11 error: XError {
description: "BadMatch (invalid parameter attributes)",
error_code: 8,
request_code: 149,
minor_code: 4,
}
2025-11-04T18:25:45.215137Z ERROR winit::platform_impl::linux: X11 error: XError {
description: "BadMatch (invalid parameter attributes)",
error_code: 8,
request_code: 149,
minor_code: 4,
}
thread 'main' panicked at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/platform_impl/linux/x11/window.rs:655:37:
Failed to change window theme: XError { description: "BadMatch (invalid parameter attributes)", error_code: 8, request_code: 149, minor_code: 4 }
stack backtrace:
0: 0x6495fa65e6d2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
1: 0x6495fa65e6d2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
2: 0x6495fa65e6d2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9
3: 0x6495fa65e6d2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hdcfcb6d4c8489523
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26
4: 0x6495fa68c3a3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76
5: 0x6495fa68c3a3 - core::fmt::write::h8a494366950f23bb
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25
6: 0x6495fa659613 - std::io::default_write_fmt::ha27fbccbc65eb6fa
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11
7: 0x6495fa659613 - std::io::Write::write_fmt::h6556609fca33d0b1
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13
8: 0x6495fa65e522 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9
9: 0x6495fa65f9d3 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27
10: 0x6495fa65f7b5 - std::panicking::default_hook::h2c66fc99e962531d
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:327:9
11: 0x6495fa6603e5 - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:833:13
12: 0x6495fa66017a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13
13: 0x6495fa65ebd9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18
14: 0x6495fa65fe0d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5
15: 0x6495fa6891c0 - core::panicking::panic_fmt::h62f63d096dd276af
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14
16: 0x6495fa6896d6 - core::result::unwrap_failed::h95bc3f5a607b2c95
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1765:5
17: 0x6495f901a16a - core::result::Result<T,E>::expect::hfef11a3c6b7a73ea
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1119:23
18: 0x6495f87f661a - winit::platform_impl::linux::x11::window::UnownedWindow::set_theme::hc791e1a49bc3482e
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/platform_impl/linux/x11/window.rs:655:37
19: 0x6495f88f8a6d - winit::platform_impl::linux::Window::set_theme::heb67cad0c03e7464
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/platform_impl/linux/mod.rs:612:62
20: 0x6495f8908b3f - winit::window::Window::set_theme::{{closure}}::h2a5e1b645e9a1fae
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/window.rs:1372:52
21: 0x6495f876ef0a - winit::platform_impl::linux::Window::maybe_queue_on_main::h0cea493154f5a968
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/platform_impl/linux/mod.rs:308:9
22: 0x6495f87d8ae8 - winit::window::Window::set_theme::h72ebcbfb7e9086c0
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/window.rs:1372:21
23: 0x6495f8986568 - iced_winit::run_instance::{{closure}}::h834c77d3e61de40c
at /home/wla/Projects/iced/winit/src/lib.rs:666:28
24: 0x6495f898e07d - iced_winit::run::Runner<Message,F>::process_event::ha81dd6a871114c4e
at /home/wla/Projects/iced/winit/src/lib.rs:292:51
25: 0x6495f898ecd5 - iced_winit::run::Runner<Message,F>::process_event::ha81dd6a871114c4e
at /home/wla/Projects/iced/winit/src/lib.rs:418:38
26: 0x6495f898f503 - <iced_winit::run::Runner<Message,F> as winit::application::ApplicationHandler<iced_runtime::Action<Message>>>::user_event::h7dd15fd0cfe5ef64
at /home/wla/Projects/iced/winit/src/lib.rs:240:18
27: 0x6495f89db388 - winit::event_loop::dispatch_event_for_app::habfa78ec2f56a447
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/event_loop.rs:644:40
28: 0x6495f89db388 - winit::event_loop::EventLoop<T>::run_app::{{closure}}::hb14231a60717cf5f
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/event_loop.rs:265:49
29: 0x6495f89db10f - core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut::hca1b2b605551ab14
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:301:21
30: 0x6495f88e7e51 - winit::platform_impl::linux::x11::EventLoop<T>::single_iteration::hf516dcdb103df010
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/platform_impl/linux/x11/mod.rs:549:17
31: 0x6495f88e5c26 - winit::platform_impl::linux::x11::EventLoop<T>::pump_events::h862d97222ae48db7
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/platform_impl/linux/x11/mod.rs:418:18
32: 0x6495f88e6577 - winit::platform_impl::linux::x11::EventLoop<T>::run_on_demand::h9d2c8db87ee92f0c
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/platform_impl/linux/x11/mod.rs:385:24
33: 0x6495f876e2d2 - winit::platform_impl::linux::EventLoop<T>::run_on_demand::hbdaf88ef29dabf42
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/platform_impl/linux/mod.rs:819:61
34: 0x6495f876eb5a - winit::platform_impl::linux::EventLoop<T>::run::h08386b9766ff56d9
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/platform_impl/linux/mod.rs:812:14
35: 0x6495f89db1e1 - winit::event_loop::EventLoop<T>::run_app::h6f55df37b5b7f02d
at /home/wla/.cargo/git/checkouts/winit-865c6d5afb3ec9c3/05b8ff1/src/event_loop.rs:265:25
36: 0x6495f898d916 - iced_winit::run::h5c41a394aaaf3735
at /home/wla/Projects/iced/winit/src/lib.rs:455:28
37: 0x6495f87a2868 - iced::application::Application<P>::run::h7b0edff99552fb5f
at /home/wla/Projects/iced/src/application.rs:214:12
38: 0x6495f87a863e - todos::main::h60035c19e16909fe
at /home/wla/Projects/iced/examples/todos/src/main.rs:20:19
39: 0x6495f889b082 - core::ops::function::FnOnce::call_once::hcc1bd0fb4095bec2
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
40: 0x6495f89fd455 - std::sys::backtrace::__rust_begin_short_backtrace::h8bba8ac8b37d39d3
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18
41: 0x6495f885d786 - std::rt::lang_start::{{closure}}::hd7cc40a86672972c
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:206:18
42: 0x6495fa650a80 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h638295a043b40957
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:290:21
43: 0x6495fa650a80 - std::panicking::catch_unwind::do_call::hbd68098bdea1ca50
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
44: 0x6495fa650a80 - std::panicking::catch_unwind::h50591d85bf847c7c
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
45: 0x6495fa650a80 - std::panic::catch_unwind::h2487b4c4f2ae22c6
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
46: 0x6495fa650a80 - std::rt::lang_start_internal::{{closure}}::h61f0945cc6c9a811
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:175:24
47: 0x6495fa650a80 - std::panicking::catch_unwind::do_call::h34b9c3722acd6bd1
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
48: 0x6495fa650a80 - std::panicking::catch_unwind::hf9a822ea043fb0d6
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
49: 0x6495fa650a80 - std::panic::catch_unwind::h5b3cac802237ed89
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
50: 0x6495fa650a80 - std::rt::lang_start_internal::h34f9328d113fd60a
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:171:5
51: 0x6495f885d767 - std::rt::lang_start::hc5420fe834b48234
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:205:5
52: 0x6495f87ac93e - main
53: 0x7b5bca82a578 - __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
54: 0x7b5bca82a63b - __libc_start_main_impl
at ./csu/../csu/libc-start.c:360:3
55: 0x6495f876bab5 - _start
56: 0x0 - <unknown>
What is the expected behavior?
Not crashing when antialising is disabled and the machine has 2 GPUs.
Version
master
Operating System
Linux
Do you have any log output?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working