{"id":83858,"date":"2022-10-01T14:23:55","date_gmt":"2022-10-01T14:23:55","guid":{"rendered":"https:\/\/harchi90.com\/zink-enables-opengl-threading-for-huge-perf-gains\/"},"modified":"2022-10-01T14:23:55","modified_gmt":"2022-10-01T14:23:55","slug":"zink-enables-opengl-threading-for-huge-perf-gains","status":"publish","type":"post","link":"https:\/\/harchi90.com\/zink-enables-opengl-threading-for-huge-perf-gains\/","title":{"rendered":"Zink Enables OpenGL Threading For “Huge Perf Gains”"},"content":{"rendered":"

We Need Your Support:<\/strong> This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 18+ years.<\/span> We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work to remove them ASAP. If you would like to view the site without ads while still supporting our work, please consider our ad-free Phoronix Premium<\/span>.<\/p>\n

\n
<\/div>\n

Recently the open-source AMD OpenGL driver “RadeonSI” enabled OpenGL threading by default for the “glthread” option that has long been opt-in on a per-game\/app basis. Along with that has been a number of glthread-related improvements to this code that punts executing OpenGL calls to a separate CPU thread. The Zink OpenGL-on-Vulkan driver has now unconditionally enabled OpenGL threading too.<\/p>\n

Mike Blumenkrantz who continues working aggressively on Zink under contract for Valve has enabled “glthread” by default. With Mesa 22.3, Zink is now enabling the glthread option by default for what Blumenkrantz describes as “huge perf gains.”\n<\/p>\n

Mike summed up the merge request as: “along with the changes to make it vroooooooooooooooooooooooooooom<\/em>”
\n<\/p>\n

<\/p>\n

In that merge request he noted the glthread support sped up the OpenGL-powered Half-Life 2 game by about 35%. This is on top of a number of other recent performance optimizations made to Zink for this generic OpenGL implementation built atop the Vulkan API.<\/p>\n

There is a lot to look forward to with Mesa 22.3 stable come December. Some fresh Zink benchmarks are on my TODO list giving its rapid progress recently.<\/p>\n<\/div>\n

.<\/p>\n","protected":false},"excerpt":{"rendered":"

We Need Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 18+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work to remove them ASAP. If …<\/p>\n

Zink Enables OpenGL Threading For “Huge Perf Gains”<\/span> Read More »<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[4],"tags":[1111,1110,1108,1107,1114,1112,1109,1113,1106,1117,1115,1116],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":92314,"url":"https:\/\/harchi90.com\/zink-could-prove-an-interesting-solution-for-evolving-opengl\/","url_meta":{"origin":83858,"position":0},"title":"Zink Could Prove An Interesting Solution For Evolving OpenGL","date":"October 10, 2022","format":false,"excerpt":"We Need Your Support: Did you know that you can get Phoronix Premium for under $4 per month? Try it today to view our site ad-free, multi-page articles on a single page, and more while the proceeds allow us to write more Linux hardware reviews. At the very least, please\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":51388,"url":"https:\/\/harchi90.com\/mesa-zink-improvements-for-opengl-on-vulkan-reportedly-make-it-faster-than-radeon-opengl\/","url_meta":{"origin":83858,"position":1},"title":"Mesa Zink Improvements For OpenGL-On-Vulkan Reportedly Make It Faster Than Radeon OpenGL","date":"August 20, 2022","format":false,"excerpt":"The latest Mesa 22.3-devel code for Zink's OpenGL on Vulkan implementation has hit an important milestone with the latest code refactoring: it looks like this OpenGL implementation atop the Vulkan API with the RADV driver is beginning to outpace AMD's RadeonSI Gallium3D driver providing native OpenGL support for Radeon GPUs.\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":77050,"url":"https:\/\/harchi90.com\/rust-written-apple-drm-linux-kernel-driver-renders-first-cube\/","url_meta":{"origin":83858,"position":2},"title":"Rust-Written Apple DRM Linux Kernel Driver Renders First Cube","date":"September 24, 2022","format":false,"excerpt":"The very early stage Direct Rendering Manager (DRM) driver being written in the Rust programming language to support the Apple M1\/M2 graphics processor achieved the milestone of being able to render a cube. Asahi Linux developer Asahi Lina who has been focusing on creating this Apple AGX DRM kernel driver\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":83557,"url":"https:\/\/harchi90.com\/apple-m1-linux-gpu-drm-driver-now-running-gnome-various-apps\/","url_meta":{"origin":83858,"position":3},"title":"Apple M1 Linux GPU DRM Driver Now Running GNOME, Various Apps","date":"October 1, 2022","format":false,"excerpt":"It was just yesterday that reverse-engineering, open-source driver developer Asahi Lina got the display output working and running Wayland's Weston. After a long day hacking away on this first Rust-written Direct Rendering Manager (DRM) driver, the GNOME desktop is even running off this Apple M1 graphics driver as well as\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":59257,"url":"https:\/\/harchi90.com\/intel-arc-graphics-a380-compelling-for-open-source-enthusiasts-developers-at-139-review\/","url_meta":{"origin":83858,"position":4},"title":"Intel Arc Graphics A380: Compelling For Open-Source Enthusiasts & Developers At ~$139 Review","date":"August 29, 2022","format":false,"excerpt":"Last week I outlined getting Intel Arc Graphics running on a open-source Linux graphics driver when using Linux 6.0 and later (along with a currently-experimental module option override) and then Mesa 22.2+. Now that I've had more days with the Intel Arc Graphics A380 as the company's budget discrete GPU,\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":84824,"url":"https:\/\/harchi90.com\/steam-on-linux-usage-receded-slightly-in-september\/","url_meta":{"origin":83858,"position":5},"title":"Steam On Linux Usage Receded Slightly In September","date":"October 2, 2022","format":false,"excerpt":"We Need Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 18+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"fifu_image_url":"https:\/\/www.phoronix.net\/image.php?id=2022&image=zink_glthread","_links":{"self":[{"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/posts\/83858"}],"collection":[{"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/comments?post=83858"}],"version-history":[{"count":0,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/posts\/83858\/revisions"}],"wp:attachment":[{"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/media?parent=83858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/categories?post=83858"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/tags?post=83858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}