-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Milestone
Description
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?
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:
- PNG Image is not displayed in example "tour" #1898
- https://discord.com/channels/628993209984614400/1188197273339973662
- https://discourse.iced.rs/t/images-arent-properly-loading/84
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
Reactions are currently unavailable
