提交 06b3683e 编写于 作者: S Simon Fels

Force host EGL on devices running with the nvidia driver

上级 64466fb2
......@@ -109,6 +109,13 @@ anbox::cmds::Run::Run(const BusFactory &bus_factory)
return EXIT_FAILURE;
}
// If we're running with the properietary nvidia driver we always
// use the host EGL driver as our translation doesn't work here.
if (fs::exists("/dev/nvidiactl")) {
INFO("Detected properietary nvidia driver; forcing use of the host EGL driver.");
gles_driver_ = graphics::GLRendererServer::Config::Driver::Host;
}
utils::ensure_paths({
SystemConfiguration::instance().socket_dir(),
SystemConfiguration::instance().input_device_dir(),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册