Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wgpu_hal::gles::egl: EGL 'eglCreateSyncKHR' code 0x3004: EGL_BAD_ATTRIBUTE #17494

Open
lomirus opened this issue Jan 22, 2025 · 0 comments
Open
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Investigation This issue requires detective work to figure out what's going wrong

Comments

@lomirus
Copy link
Contributor

lomirus commented Jan 22, 2025

Bevy version

0.15.1

[Optional] Relevant system information

SystemInfo {
  os: "Linux 41 Fedora Linux",
  kernel: "6.12.9-200.fc41.x86_64",
  cpu: "AMD Ryzen 5 7500F 6-Core Processor",
  core_count: "6",
  memory: "30.9 GiB"
}

What you did

use bevy::prelude::*;

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .run();
}

What went wrong

There was an error message:

2025-01-22T18:58:24.894083Z ERROR wgpu_hal::gles::egl: EGL 'eglCreateSyncKHR' code 0x3004: EGL_BAD_ATTRIBUTE error: In eglCreateSyncKHR: EGL_SYNC_NATIVE_FENCE_FD_ANDROID specified valid fd butEGL_SYNC_STATUS is also being set
    
2025-01-22T18:58:24.948945Z  INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 4070 SUPER", vendor: 4318, device: 10115, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "565.77", backend: Vulkan }
2025-01-22T18:58:25.109799Z  INFO bevy_winit::system: Creating new window "App" (0v1#4294967296)
2025-01-22T18:58:25.109840Z  INFO winit::platform_impl::linux::x11::window: Guessed window scale factor: 2

Additional information

I am not sure if I remembered correctly: that I didn't notice such an error message before I installed the nvidia driver.

And it's weird that this error message only appears on debug mode. When running the game in release mode, there would be no this error message.

@lomirus lomirus added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Jan 22, 2025
@BenjaminBrienen BenjaminBrienen added A-Rendering Drawing game state to the screen S-Needs-Investigation This issue requires detective work to figure out what's going wrong D-Straightforward Simple bug fixes and API improvements, docs, test and examples and removed S-Needs-Triage This issue needs to be labelled labels Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Investigation This issue requires detective work to figure out what's going wrong
Projects
None yet
Development

No branches or pull requests

2 participants