Skip to content

Garbage/Uninitialized content is displayed at startup before read display #374

@felixf4xu

Description

@felixf4xu

Hi,

When I run cargo run -p wgpu_texture --release, I found that there is a bug at the startup time of the example project

20260317_152805_1.mp4

from video time 00:00 to 00:03 (or stopwarth time 05:49.976 -> 05:50.319), the blitz windows is displayed but its content is displaying some garbage / or uninitialized content (the content is actually from my second monitor), and that display will continue for about 400ms. (from the stopwatch page's counter)

I think this is a bug, the expected behavior should be, the window is displayed, at the duration when wgpu is not ready, it should display white/black or theme color when set / or splash picture if implemented.

The bug is recorded on Ubuntu 24.04.

When I do the same test on Windows, the Window content is white during wpgu initialization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions