You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
When I try this on,
$ git clone https://github.com/iced-rs/iced.git
$ cd iced/
$ cd examples/
$ rustup update stable
$ cargo run --package tour
2024-08-14T04:18:06.236810Z WARN wgpu_core::instance: Missing downlevel flags: DownlevelFlags(SURFACE_VIEW_FORMATS)
The underlying API or device in use does not support enough features to be a fully compliant implementation of WebGPU. A subset of the features can still be used. If
you are running this program on native and not in a browser and wish to limit the features you use to the supported subset, call Adapter::downlevel_properties or Device::downlevel_properties to get a listing of the features the current platform supports.
2024-08-14T04:18:06.237432Z WARN wgpu_core::instance: DownlevelCapabilities {
flags: DownlevelFlags(
COMPUTE_SHADERS | FRAGMENT_WRITABLE_STORAGE | INDIRECT_EXECUTION | BASE_VERTEX | READ_ONLY_DEPTH_STENCIL | NON_POWER_OF_TWO_MIPMAPPED_TEXTURES | CUBE_ARRAY_TEXTURES | COMPARISON_SAMPLERS | INDEPENDENT_BLEND | VERTEX_STORAGE | ANISOTROPIC_FILTERING | FRAGMENT_STORAGE | MULTISAMPLED_SHADING | DEPTH_TEXTURE_AND_BUFFER_COPIES
| WEBGPU_TEXTURE_FORMAT_SUPPORT | BUFFER_BINDINGS_NOT_16_BYTE_ALIGNED | UNRESTRICTED_INDEX_BUFFER | FULL_DRAW_INDEX_UINT32 | DEPTH_BIAS_CLAMP | VIEW_FORMATS | UNRESTRICTED_EXTERNAL_TEXTURE_COPIES | NONBLOCKING_QUERY_RESOLVE | VERTEX_AND_INSTANCE_INDEX_RESPECTS_RESPECTIVE_FIRST_VALUE_IN_INDIRECT_DRAW,
),
limits: DownlevelLimits,
shader_model: Sm5,
}
error: process didn't exit successfully: C:\Users\username\\iced\target\debug\tour.exe (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)
Segmentation fault
The Environment is Window10 and Visual Code.
The last one (cargo run --package tour) did make an error. Before that, all compiled well.
What is the expected behavior?
Version
crates.io release
Operating System
Windows
Do you have any log output?
2024-08-14T04:18:05.965129Z WARN wgpu_hal::vulkan::instance: Unable to find extension: VK_EXT_debug_utils
2024-08-14T04:18:05.965638Z WARN wgpu_hal::vulkan::instance: Unable to find extension: VK_EXT_swapchain_colorspace
2024-08-14T04:18:05.966742Z WARN wgpu_hal::vulkan::instance: InstanceFlags::VALIDATION requested, but unable to find layer: VK_LAYER_KHRONOS_validation
2024-08-14T04:18:05.976395Z INFO wgpu_hal::vulkan::instance: Debug utils not enabled: debug_utils_user_data not passed to Instance::from_raw
2024-08-14T04:18:06.118640Z 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,
}
2024-08-14T04:18:06.121742Z INFO wgpu_core::instance: Adapter Vulkan AdapterInfo { name: "Intel(R) HD Graphics 620", vendor: 32902, device: 22806, device_type: IntegratedGpu, driver: "?", driver_info: "?", backend: Vulkan }
2024-08-14T04:18:06.167225Z INFO wgpu_core::instance: Adapter Dx12 AdapterInfo { name: "Intel(R) HD Graphics 620", vendor: 32902, device: 22806, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Dx12 }
2024-08-14T04:18:06.167828Z INFO wgpu_core::instance: Adapter Dx12 AdapterInfo { name: "Microsoft Basic Render Driver", vendor: 5140, device: 140, device_type: Cpu,
driver: "", driver_info: "", backend: Dx12 }
2024-08-14T04:18:06.168519Z INFO wgpu_core::instance: Adapter Gl AdapterInfo { name: "Intel(R) HD Graphics 620", vendor: 32902, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Gl }
2024-08-14T04:18:06.182313Z INFO iced_wgpu::window::compositor: Available adapters: [
AdapterInfo {
name: "Intel(R) HD Graphics 620",
vendor: 32902,
device: 22806,
device_type: IntegratedGpu,
driver: "?",
driver_info: "?",
backend: Vulkan,
},
AdapterInfo {
name: "Intel(R) HD Graphics 620",
vendor: 32902,
device: 22806,
device_type: IntegratedGpu,
driver: "",
driver_info: "",
backend: Dx12,
},
AdapterInfo {
name: "Microsoft Basic Render Driver",
vendor: 5140,
device: 140,
device_type: Cpu,
driver: "",
driver_info: "",
backend: Dx12,
},
AdapterInfo {
name: "Intel(R) HD Graphics 620",
vendor: 32902,
device: 0,
device_type: IntegratedGpu,
driver: "",
driver_info: "",
backend: Gl,
},
]
2024-08-14T04:18:06.232674Z INFO wgpu_core::instance: Adapter Vulkan AdapterInfo { name: "Intel(R) HD Graphics 620", vendor: 32902, device: 22806, device_type: IntegratedGpu, driver: "?", driver_info: "?", backend: Vulkan }
2024-08-14T04:18:06.233371Z INFO iced_wgpu::window::compositor: Selected: AdapterInfo {
name: "Intel(R) HD Graphics 620",
vendor: 32902,
device: 22806,
device_type: IntegratedGpu,
driver: "?",
driver_info: "?",
backend: Vulkan,
}
2024-08-14T04:18:06.234593Z INFO iced_wgpu::window::compositor: Available formats: Copied {
it: Iter(
[
Rgba8UnormSrgb,
Bgra8UnormSrgb,
Rgba8Unorm,
Bgra8Unorm,
],
),
}
2024-08-14T04:18:06.235781Z INFO iced_wgpu::window::compositor: Available alpha modes: [
Opaque,
Inherit,
]
2024-08-14T04:18:06.236430Z INFO iced_wgpu::window::compositor: Selected format: Rgba8UnormSrgb with alpha mode: Auto
2024-08-14T04:18:06.236810Z WARN wgpu_core::instance: Missing downlevel flags: DownlevelFlags(SURFACE_VIEW_FORMATS)
The underlying API or device in use does not support enough features to be a fully compliant implementation of WebGPU. A subset of the features can still be used. If
you are running this program on native and not in a browser and wish to limit the features you use to the supported subset, call Adapter::downlevel_properties or Device::downlevel_properties to get a listing of the features the current platform supports.
2024-08-14T04:18:06.237432Z WARN wgpu_core::instance: DownlevelCapabilities {
flags: DownlevelFlags(
COMPUTE_SHADERS | FRAGMENT_WRITABLE_STORAGE | INDIRECT_EXECUTION | BASE_VERTEX | READ_ONLY_DEPTH_STENCIL | NON_POWER_OF_TWO_MIPMAPPED_TEXTURES | CUBE_ARRAY_TEXTURES | COMPARISON_SAMPLERS | INDEPENDENT_BLEND | VERTEX_STORAGE | ANISOTROPIC_FILTERING | FRAGMENT_STORAGE | MULTISAMPLED_SHADING | DEPTH_TEXTURE_AND_BUFFER_COPIES
| WEBGPU_TEXTURE_FORMAT_SUPPORT | BUFFER_BINDINGS_NOT_16_BYTE_ALIGNED | UNRESTRICTED_INDEX_BUFFER | FULL_DRAW_INDEX_UINT32 | DEPTH_BIAS_CLAMP | VIEW_FORMATS | UNRESTRICTED_EXTERNAL_TEXTURE_COPIES | NONBLOCKING_QUERY_RESOLVE | VERTEX_AND_INSTANCE_INDEX_RESPECTS_RESPECTIVE_FIRST_VALUE_IN_INDIRECT_DRAW,
),
limits: DownlevelLimits,
shader_model: Sm5,
}
error: process didn't exit successfully: `C:\Users\sure\Desktop\iced\target\debug\tour.exe` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)Segmentation fault
The text was updated successfully, but these errors were encountered:
I believe this is the same WGPU init bug that plagues many older drivers / integrated graphics. The issue is that WGPU initializes all of the devices in order to pick the most optimal (So you can run into issues like this). This should be forwarded to WGPU team.
Is your issue REALLY a bug?
Is there an existing issue for this?
Is this issue related to iced?
What happened?
When I try this on,
The Environment is Window10 and Visual Code. The last one (cargo run --package tour) did make an error. Before that, all compiled well.
What is the expected behavior?
Version
crates.io release
Operating System
Windows
Do you have any log output?
The text was updated successfully, but these errors were encountered: