centos-7.9 GeForce-GTX-745 zink

一、Zink

Zink is an OpenGL implementation on top of Vulkan. Or to be a bit more specific,
Zink is a Mesa Gallium driver that leverages the existing OpenGL implementation in Mesa
to provide hardware accelerated OpenGL when only a Vulkan driver is available.

二、安装显卡驱动

参看:https://www.cnblogs.com/harrymore/p/10307769.html

三、安装Mesa

从mesa-19.3开始,其开始支持zink。这个版本只支持OpenGL-2.1的程序跑在Vulkan之上。现在最新的mesa-20.3.1应该支持到了OpenGL-3.3,因此选择安装mesa-20.3.1

在安装mesa的过程中,需要配置gallium的驱动支持zink,安装步骤参看:https://www.cnblogs.com/cngpus/p/14224882.html

四、运行

$ LIBGL_DRIVERS_PATH=/usr/lib64/dri/ MESA_LOADER_DRIVER_OVERRIDE=zink glxinfo | grep OpenGL

如果看到zink字样,代表成功。

posted @ 2021-01-03 11:08  专注于GPU的程序员  阅读(190)  评论(0编辑  收藏  举报