Skip to content

Game hitches when clicking with mouse #19347

@RylanYancey

Description

@RylanYancey

Bevy version

0.16.0

Relevant system information

  • Linux (Ubuntu 24.10)
  • Kernel: 6.11.0-26-generic
  • Display Server: X11
  • CPU: AMD Ryzen 5 7640U
  • RAM: 32GB DDR5

Adapters tested:

  • Radeon 760M APU
  • NVIDIA RTX 4060 (External enclosure)

What you did

When I click on the screen with any mouse button, the app hitches for about 1/4 of a second.

Compilation settings

[profile.dev]
opt-level = 1

[profile.dev.package."*"]
opt-level = 3

Additional information

  • This occurs regardless of which mouse button was clicked, including middle, left, and right.
  • Occurs on any mouse, even my laptops' trackpad.
  • Occurs on "dev" and "release" modes.
  • Occurs in ALL bevy projects on this system.

I'm seeing alot of this as well, but it seems to be related to issues with Nvidia on X11. Not sure if related.

2025-05-23T17:11:01.140895Z  WARN bevy_render::view::window: Couldn't get swap chain texture after configuring. Cause: 'The underlying surface has changed, and therefore the swap chain must be updated'
2025-05-23T17:11:01.244833Z  WARN bevy_render::view::window: Couldn't get swap chain texture after configuring. Cause: 'The underlying surface has changed, and therefore the swap chain must be updated'

Let me know what other information I can provide, or if you think its a non-bevy issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-BugAn unexpected or incorrect behaviorS-Needs-TriageThis issue needs to be labelled

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions