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

Fails to find Intel Integrated GPU #509

Closed
sdfgeoff opened this issue Sep 18, 2020 · 2 comments
Closed

Fails to find Intel Integrated GPU #509

sdfgeoff opened this issue Sep 18, 2020 · 2 comments
Labels
A-Rendering Drawing game state to the screen P-Crash A sudden unexpected crash

Comments

@sdfgeoff
Copy link
Contributor

When running on my desktop (nvidia GPU), Bevy examples compile and run fine. However when running on my laptop (Intel integrated GPU), I see a message that it cannot find the GPU:

$ cargo run --example ui
    Finished dev [unoptimized + debuginfo] target(s) in 0.26s
     Running `target/debug/examples/ui`
thread 'main' panicked at 'Unable to find a GPU! Make sure you have installed required drivers!', crates/bevy_wgpu/src/wgpu_renderer.rs:28:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

It's worth noting that other applications run fine including ones that use the GPU such as games, CAD software etc.
I am not sure if this is an issue with Bevy or with wgpu. This issue is to see if anyone else has encountered this problem or if it is just me.


Relevant info

$ git log
commit 70ad6671dba9e7dc93e8a085ad8bb73904ca1fa5 (HEAD -> master, origin/master, origin/HEAD)
$ sudo lshw -C display
  *-display                 
       description: VGA compatible controller
       product: UHD Graphics 620 (Whiskey Lake)
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:148 memory:a0000000-a0ffffff memory:80000000-9fffffff ioport:2000(size=64) memory:c0000-dffff
$ lscpu
Architecture:                    x86_64

<< snip >>

Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           142
Model name:                      Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz

<< snip >>
@chemicstry
Copy link

Do you have vulkan compatible driver? Can you check the output of vulkaninfo?

@memoryruins memoryruins added A-Rendering Drawing game state to the screen P-Crash A sudden unexpected crash labels Sep 18, 2020
@sdfgeoff
Copy link
Contributor Author

@chemicstry You are completely correct, I did not have intel-vulkan package installed. Installing it solved the problem.
I've created a PR on the website to add a "troubleshooting section" with the solution.

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 P-Crash A sudden unexpected crash
Projects
None yet
Development

No branches or pull requests

3 participants