问题描述
我的笔记本电脑没有专用的GPU。我在具有集成GPU的this laptop上运行基本OS 5。当我尝试运行初学者的Bevy应用程序时,
use bevy::prelude::*;
fn main() {
App::build()
.add_default_plugins()
.run();
}
我收到以下错误-
thread 'main' panicked at 'Unable to find a GPU! Make sure you have installed required drivers!',/home/actuday/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_wgpu-0.1.3/src/wgpu_renderer.rs:22:23
glxinfo | grep "OpenGL"
包含该行
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.3.0-devel (git-98e866c 2020-09-03 bionic-oibaf-ppa)
和
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (KBL GT2)
我安装了vulkan,现在错误已替换为-
Running `target/debug/bevy_app`
WARNING: vallium/llvmpipe is not a conformant vulkan implementation,testing use only.
INTEL-MESA: warning: Performance support disabled,consider sysctl dev.i915.perf_stream_paranoid=0
thread 'main' panicked at 'Failed to acquire next swap chain texture!',/home/actuday/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_wgpu-0.1.3/src/renderer/wgpu_render_resource_context.rs:291:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)