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

glxgears works but bevy cant find my gpu #4199

Closed
lizelive opened this issue Mar 13, 2022 · 1 comment
Closed

glxgears works but bevy cant find my gpu #4199

lizelive opened this issue Mar 13, 2022 · 1 comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior O-Linux Specific to the Linux desktop operating system

Comments

@lizelive
Copy link

Bevy version

0.6
The release number or commit hash of the version you're using.

Operating system & version

Ubuntu 20.04 in docker .devcontainer https://github.com/lizelive/try-bevy/tree/main/.devcontainer
Nvida gpu

What you did

install docker + nvida container toolkit
install remote
clone

What you expected to happen

if glxgears works cargo run should work

What actually happened

thread 'main' panicked at 'Unable to find a GPU! Make sure you have installed required drivers!', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/bevy_render-0.6.1/src/renderer/mod.rs:74:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Additional information

  • used bevy_game_template with no changes
  • wgpu works
  • this .devcontainers are really popular and save ton of money
  • allows going back to old project and have just work
vscode ➜ /workspaces/try-bevy (main ✗) $ glxinfo -B
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 10240 MB
    Total available memory: 10240 MB
    Currently available dedicated video memory: 8451 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 3080/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 510.47.03
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 510.47.03
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 510.47.03
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
@lizelive lizelive added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Mar 13, 2022
@alice-i-cecile alice-i-cecile added A-Rendering Drawing game state to the screen O-Linux Specific to the Linux desktop operating system and removed S-Needs-Triage This issue needs to be labelled labels Mar 13, 2022
@mockersf
Copy link
Member

closing to centralise in #3191

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 O-Linux Specific to the Linux desktop operating system
Projects
None yet
Development

No branches or pull requests

3 participants