Skip to content

Examples flicker on Windows #20584

@gbegerow

Description

@gbegerow

Bevy version and features

0.17 / d95313b

Relevant system information

SystemInfo { os: "Windows 11 Enterprise", kernel: "26100", cpu: "AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics", core_count: "8", memory: "59.7 GiB" } 
AdapterInfo { name: "AMD Radeon(TM) 780M", vendor: 4098, device: 5567, device_type: IntegratedGpu, driver: "AMD proprietary driver", driver_info: "24.10.30.10 (LLPC)", backend: Vulkan }

What you did

Running several / most of samples on windows using cargo run -r --sample <sample_name>

What went wrong

Got some unexpected flickering. Mostly in 2D but some 3D samples also show that flicker. Seems like z-fighting (What should be fighting in mesh2d sample?) or transparency glitches. Most notably order_independent_transparency does only flicker with OIT off.

Flicker does not occur if the samples where compiled for the web. This might be specific to Windows, maybe even to my Gfx driver. I don't think I have the tools to debug this at the moment but feel free to contact me here or on Discord.

Did not complete all samples yet, here is a list of the flickering samples so far:

  • move_sprite
  • mesh2d (mesh2d_manual flackert nicht)
  • mesh2d_arcs
  • mesh2d_vertex_color_texture
  • custom_gltf_vertex_attribute
  • sprite
  • sprite_scale
  • sprite_flipping
  • sprite_tile
  • sprite_slice
  • text2d
  • tilemap_chunk
  • transparency_2d
  • mesh2d_alpha_mode
  • mesh2d_repeated_texture
  • 3d_scene
  • lines
  • order_independent_transparency (Only with OIT off!)
  • orthographic
  • parenting (different?)
  • render_to_texture
  • skybox (Maybe differnt due to skipping Formats)
  • texture
  • vertex_colors
  • animated_transform
  • asset_settings
  • asset_decompression
  • custom_asset_reader

Additional information

Video of mesh2d flickering:
https://github.com/user-attachments/assets/59f0c606-5bd9-4313-bfe3-6c6511f6eed0

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorC-Machine-SpecificThis bug is isolated to specific hardware or driver configurationsS-Needs-ReproductionNeeds an up-to-date or minimal reproduction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions