halloy
halloy copied to clipboard
Wgpu Error on Linux aarch64/ARM64
Hello devs, I installed the app via Flathub on Debian Trixie (Gnome, Wayland) on Raspberry Pi 5 (16k pages), Mesa 25.0.2-1. When I try to launch the app, I get this message:
❯ RUST_BACKTRACE=full flatpak run org.squidowl.halloy
thread 'main' panicked at /run/build/halloy/cargo/vendor/wgpu-24.0.1/src/backend/wgpu_core.rs:3432:18:
wgpu error: Validation Error
Caused by:
In Surface::configure
Not enough memory left.
stack backtrace:
0: 0x555625beef9c - <unknown>
1: 0x555625c1acb8 - <unknown>
2: 0x555625be9d54 - <unknown>
3: 0x555625beee50 - <unknown>
4: 0x555625beff3c - <unknown>
5: 0x555625befd40 - <unknown>
6: 0x555625bf06c0 - <unknown>
7: 0x555625bf0450 - <unknown>
8: 0x555625bef4a8 - <unknown>
9: 0x555625bf0110 - <unknown>
10: 0x5556244d2414 - <unknown>
11: 0x555624485f48 - <unknown>
12: 0x555625014ab4 - <unknown>
13: 0x555625030030 - <unknown>
14: 0x555624e3d8ac - <unknown>
15: 0x5556246dd91c - <unknown>
16: 0x55562468fa50 - <unknown>
17: 0x555624694d84 - <unknown>
18: 0x555624695630 - <unknown>
19: 0x55562458cc04 - <unknown>
20: 0x5556246cf614 - <unknown>
21: 0x55562469362c - <unknown>
22: 0x55562489176c - <unknown>
23: 0x555624807240 - <unknown>
24: 0x555624908cd8 - <unknown>
25: 0x555625be121c - <unknown>
26: 0x555624895834 - <unknown>
27: 0x7ffefe4b61d4 - <unknown>
28: 0x7ffefe4b62b8 - __libc_start_main
29: 0x5556244d2b70 - <unknown>
30: 0x0 - <unknown>
What do you think is the cause of this issue? Thank you.
I have not tested Halloy on a RPI, but from the error message it seems like there's not enough memory?
Have you tried running "tour" example from iced repo? Curious if that works.
I am not sure, it's the first time I heard about iced.
I cloned https://github.com/iced-rs/iced then run cargo run --package tour. It launched a window with "next" and "back" buttons , and here the full logs of it:
cargo run --package tour
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s
Running `target/debug/tour`
2025-03-30T18:20:32.776708Z INFO iced_winit::program: Window attributes for id `Id(
1,
)`: WindowAttributes {
inner_size: Some(
Logical(
LogicalSize {
width: 1024.0,
height: 768.0,
},
),
),
min_inner_size: None,
max_inner_size: None,
position: None,
resizable: true,
enabled_buttons: WindowButtons(
CLOSE | MINIMIZE | MAXIMIZE,
),
title: "Welcome - 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,
},
},
}
MESA: error: DRM_IOCTL_VIRTGPU_GET_CAPS failed with Bad file descriptor
MESA: error: DRM_IOCTL_VIRTGPU_CONTEXT_INIT failed with Bad file descriptor, continuing without context...
MESA: error: DRM_VIRTGPU_RESOURCE_CREATE_BLOB failed with Bad file descriptor
MESA: error: Failed to create virtgpu AddressSpaceStream
MESA: error: DRM_VIRTGPU_RESOURCE_CREATE_BLOB failed with Bad file descriptor
MESA: error: Failed to create virtgpu AddressSpaceStream
MESA: error: DRM_VIRTGPU_RESOURCE_CREATE_BLOB failed with Bad file descriptor
MESA: error: Failed to create virtgpu AddressSpaceStream
MESA: error: DRM_VIRTGPU_RESOURCE_CREATE_BLOB failed with Bad file descriptor
MESA: error: Failed to create virtgpu AddressSpaceStream
MESA: error: DRM_VIRTGPU_RESOURCE_CREATE_BLOB failed with Bad file descriptor
MESA: error: Failed to create virtgpu AddressSpaceStream
MESA: error: DRM_VIRTGPU_RESOURCE_CREATE_BLOB failed with Bad file descriptor
MESA: error: Failed to create virtgpu AddressSpaceStream
MESA: error: DRM_VIRTGPU_RESOURCE_CREATE_BLOB failed with Bad file descriptor
MESA: error: Failed to create virtgpu AddressSpaceStream
2025-03-30T18:20:32.867541Z INFO wgpu_hal::gles::egl: Using Wayland platform
2025-03-30T18:20:32.875402Z INFO iced_wgpu::window::compositor: Settings {
present_mode: AutoVsync,
backends: 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,
}
2025-03-30T18:20:32.880610Z INFO iced_wgpu::window::compositor: Available adapters: [
AdapterInfo {
name: "V3D 7.1.7.0",
vendor: 5348,
device: 1433410611,
device_type: IntegratedGpu,
driver: "V3DV Mesa",
driver_info: "Mesa 25.0.2-2",
backend: Vulkan,
},
AdapterInfo {
name: "llvmpipe (LLVM 19.1.7, 128 bits)",
vendor: 65541,
device: 0,
device_type: Cpu,
driver: "llvmpipe",
driver_info: "Mesa 25.0.2-2 (LLVM 19.1.7)",
backend: Vulkan,
},
AdapterInfo {
name: "llvmpipe (LLVM 19.1.7, 128 bits)",
vendor: 65541,
device: 0,
device_type: Cpu,
driver: "llvmpipe",
driver_info: "Mesa 25.0.1 (git-7eeb641892) (LLVM 19.1.7)",
backend: Vulkan,
},
]
2025-03-30T18:20:32.888067Z INFO iced_wgpu::window::compositor: Selected: AdapterInfo {
name: "V3D 7.1.7.0",
vendor: 5348,
device: 1433410611,
device_type: IntegratedGpu,
driver: "V3DV Mesa",
driver_info: "Mesa 25.0.2-2",
backend: Vulkan,
}
2025-03-30T18:20:32.888970Z INFO iced_wgpu::window::compositor: Available formats: Copied {
it: Iter(
[
Bgra8UnormSrgb,
Rgba8UnormSrgb,
Bgra8Unorm,
Rgba8Unorm,
],
),
}
2025-03-30T18:20:32.889046Z INFO iced_wgpu::window::compositor: Available alpha modes: [
Opaque,
PreMultiplied,
]
2025-03-30T18:20:32.889082Z INFO iced_wgpu::window::compositor: Selected format: Bgra8UnormSrgb with alpha mode: PreMultiplied