Mesa Zink
by erlog from LinuxQuestions.org on (#5HZV5)
Hello everyone,
I am looking for help on using Mesas Zink driver, my question is, how do you use Zink?
From the source code I can see that when compiling it you get a libzink library, how do you use it to utilize the OpenGL on top of Vulkan? My use case is for Steam games that use OpenGL 3.3.
I am not afraid of compiling all of mesa for this purpose.
I am on Ubuntu 20.04 64-bit with an Nvidia GTX 1660 and proprietary driver 460.80.
I am actually trying to compile mesa, but I get the error:
Code:meson.build:1504:4: ERROR: Dependency "libdrm_intel" not found, tried pkgconfig and cmakeAnd when running
Code:pkg-config --modversion libdrm_intelI get:
Code:Package libdrm_intel was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_intel.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_intel' foundBut I do have libdrm at: Code:/usr/share/libdrmI also looked for libzink in the Ubuntu packages but can't seem to find it, it would make life easier that's for sure.
Any help is very appreciated


I am looking for help on using Mesas Zink driver, my question is, how do you use Zink?
From the source code I can see that when compiling it you get a libzink library, how do you use it to utilize the OpenGL on top of Vulkan? My use case is for Steam games that use OpenGL 3.3.
I am not afraid of compiling all of mesa for this purpose.
I am on Ubuntu 20.04 64-bit with an Nvidia GTX 1660 and proprietary driver 460.80.
I am actually trying to compile mesa, but I get the error:
Code:meson.build:1504:4: ERROR: Dependency "libdrm_intel" not found, tried pkgconfig and cmakeAnd when running
Code:pkg-config --modversion libdrm_intelI get:
Code:Package libdrm_intel was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_intel.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_intel' foundBut I do have libdrm at: Code:/usr/share/libdrmI also looked for libzink in the Ubuntu packages but can't seem to find it, it would make life easier that's for sure.
Any help is very appreciated