Skip to content

Black rectangles instead of images when using the wgpu GLES backend #2180

@blazra

Description

@blazra

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?

image

You get black rectangles instead of images if the wgpu GLES backend is used.

Reproduced under Linux with:

  • Apple M1 Pro (asahi) - GLES is the default, because there is no Vulkan driver yet
  • Intel Xe - by setting WGPU_BACKEND=gl
  • AMD Radeon Vega - by setting WGPU_BACKEND=gl

I have tracked it to this wgpu issue: gfx-rs/wgpu#1614

I have tried this gfx-rs/wgpu#4665 (comment) workaround - forcing the Atlas to start with 2 layers - and it fixes the issue (at least for the sake of confirming that it's this specific wgpu problem).

Probably the same issues:

What is the expected behavior?

The images are shown the same way as with other backends.

Version

master

Operating System

Linux

Do you have any log output?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwgpu

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions