如何解决如何在没有GPU的情况下使用默认插件运行Bevy应用程序?
我的笔记本电脑没有专用的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
我已经为我的GPU安装并升级了驱动程序。输出
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 举报,一经查实,本站将立刻删除。