bevyengine / bevyengine/bevy

Bevy 3D graphics show blank

Open
#15,499 3 comments 0 reactions 0 assignees View on GitHub
A-Rendering C-Bug C-Machine-Specific O-Linux S-Needs-Investigation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version

05d20139aa7659bf09435a963a71247e52796c2c (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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.