Skip to content

Iced 0.14.0 used dGPU instead of iGPU by default #3143

@Ayush1325

Description

@Ayush1325

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?

I have an application (bb-imager) using iced 0.13.1. I recently tried migrating it to 0.14.0. However, I started observing some visual glitches after the migration. Looking at the logs, it seems like 0.14 uses Nvidia dGPU while 0.13.1 was defaulting to iGPU.

Here are the logs from 0.13.1:

2025-12-12T06:03:33.337503Z  INFO iced_wgpu::window::compositor: Available adapters: [
    AdapterInfo {
        name: "AMD Radeon Graphics (RADV RENOIR)",
        vendor: 4098,
        device: 5686,
        device_type: IntegratedGpu,
        driver: "radv",
        driver_info: "Mesa 25.1.9",
        backend: Vulkan,
    },
    AdapterInfo {
        name: "NVIDIA GeForce GTX 1650 Ti (NVK TU117)",
        vendor: 4318,
        device: 8085,
        device_type: DiscreteGpu,
        driver: "NVK",
        driver_info: "Mesa 25.1.9",
        backend: Vulkan,
    },
    AdapterInfo {
        name: "llvmpipe (LLVM 20.1.8, 256 bits)",
        vendor: 65541,
        device: 0,
        device_type: Cpu,
        driver: "llvmpipe",
        driver_info: "Mesa 25.1.9 (LLVM 20.1.8)",
        backend: Vulkan,
    },
    AdapterInfo {
        name: "AMD Radeon Graphics (radeonsi, renoir, ACO, DRM 3.64, 6.17.10-300.fc43.x86_64)",
        vendor: 4098,
        device: 0,
        device_type: Other,
        driver: "",
        driver_info: "",
        backend: Gl,
    },
]
2025-12-12T06:03:33.347624Z  INFO wgpu_core::instance: Adapter Vulkan AdapterInfo { name: "AMD Radeon Graphics (RADV RENOIR)", vendor: 4098, device: 5686, device_type: IntegratedGpu, driver: "radv", driver_info: "Mesa 25.1.9", backend: Vulkan }
2025-12-12T06:03:33.347718Z  INFO iced_wgpu::window::compositor: Selected: AdapterInfo {
    name: "AMD Radeon Graphics (RADV RENOIR)",
    vendor: 4098,
    device: 5686,
    device_type: IntegratedGpu,
    driver: "radv",
    driver_info: "Mesa 25.1.9",
    backend: Vulkan,
}

Here are the outputs from 0.14:

2025-12-12T06:01:51.497144Z  INFO iced_wgpu::window::compositor: Available adapters: [
    AdapterInfo {
        name: "AMD Radeon Graphics (RADV RENOIR)",
        vendor: 4098,
        device: 5686,
        device_type: IntegratedGpu,
        driver: "radv",
        driver_info: "Mesa 25.1.9",
        backend: Vulkan,
    },
    AdapterInfo {
        name: "NVIDIA GeForce GTX 1650 Ti (NVK TU117)",
        vendor: 4318,
        device: 8085,
        device_type: DiscreteGpu,
        driver: "NVK",
        driver_info: "Mesa 25.1.9",
        backend: Vulkan,
    },
    AdapterInfo {
        name: "llvmpipe (LLVM 20.1.8, 256 bits)",
        vendor: 65541,
        device: 0,
        device_type: Cpu,
        driver: "llvmpipe",
        driver_info: "Mesa 25.1.9 (LLVM 20.1.8)",
        backend: Vulkan,
    },
    AdapterInfo {
        name: "AMD Radeon Graphics (radeonsi, renoir, ACO, DRM 3.64, 6.17.10-300.fc43.x86_64)",
        vendor: 4098,
        device: 0,
        device_type: Other,
        driver: "",
        driver_info: "4.6 (Core Profile) Mesa 25.1.9",
        backend: Gl,
    },
]
2025-12-12T06:01:51.497332Z  WARN wgpu_hal::gles::egl: Re-initializing Gles context due to Wayland window
2025-12-12T06:01:51.526082Z  INFO iced_wgpu::window::compositor: Selected: AdapterInfo {
    name: "NVIDIA GeForce GTX 1650 Ti (NVK TU117)",
    vendor: 4318,
    device: 8085,
    device_type: DiscreteGpu,
    driver: "NVK",
    driver_info: "Mesa 25.1.9",
    backend: Vulkan,
}

Here are my system details:
OS: Fedora 43 Sway Atomic
DE: Sway

What is the expected behavior?

I would expect most normal applications to run on iGPU in multi-gpu setups. At the very least, there should be a way to force iced or wgpu to prefer iGPU instead of dGPU by default.

Version

crates.io release

Operating System

Linux

Do you have any log output?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions