Skip to content

Bevy 3D graphics show blank #15499

@collin80

Description

@collin80

Bevy version

05d2013 (absolute bleeding edge as of now)

[Optional] Relevant system information

cargo 1.81.0 (2dbb1af80 2024-08-20)

Fedora 40 (all packages up to date 28-Sept-2024)

Finished `release` profile [optimized] target(s) in 0.13s
 Running `target/release/examples/atmospheric_fog`

2024-09-28T16:13:33.980419Z INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux 40 Fedora Linux", kernel: "6.10.11-200.fc40.x86_64", cpu: "13th Gen Intel(R) Core(TM) i7-13700HX", core_count: "16", memory: "31.0 GiB" }
2024-09-28T16:13:35.725884Z INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 4070 Laptop GPU", vendor: 4318, device: 10336, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "555.58.02", backend: Vulkan }
2024-09-28T16:13:35.909710Z INFO bevy_winit::system: Creating new window "App" (0v1#4294967296)
2024-09-28T16:13:35.909803Z INFO winit::platform_impl::linux::x11::window: Guessed window scale factor: 1.5
2024-09-28T16:13:36.017914Z WARN bevy_render::view::window: Couldn't get swap chain texture. This often happens with the NVIDIA drivers on Linux. It can be safely ignored.

What you did

Compiled and tried to run atmospheric_fog demo. I have also tried breakout (also same problem) and combine-racers game (they compiled it and released as binary)

What went wrong

  • what were you expecting?

Graphical output

  • what actually happened?

It flashes the actual 3d output for a single frame then goes dead gray forever. Breakout does the same thing. Combine-racers doesn't seem to ever get all the way through init but doesn't crash either

I suspect it has to do with the nVidia drivers on linux. However, I have tried other 3D games on this machine (in F40 just like I'm using here) and they work fine. I have also played a number of games on Steam and they work fine too. It seems to be entirely a Bevy problem. Or, perhaps something upstream.

EDIT: I know someone will comment that I shouldn't test on the bleeding edge version and complain. Well, 0.14.2 also does the exact same thing.

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 configurationsO-LinuxSpecific to the Linux desktop operating systemS-Needs-InvestigationThis issue requires detective work to figure out what's going wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions