{"id":22977,"date":"2022-07-23T04:45:39","date_gmt":"2022-07-23T04:45:39","guid":{"rendered":"https:\/\/harchi90.com\/intels-open-source-vulkan-driver-for-ray-tracing-gets-like-a-100x-improvement\/"},"modified":"2022-07-23T04:45:39","modified_gmt":"2022-07-23T04:45:39","slug":"intels-open-source-vulkan-driver-for-ray-tracing-gets-like-a-100x-improvement","status":"publish","type":"post","link":"https:\/\/harchi90.com\/intels-open-source-vulkan-driver-for-ray-tracing-gets-like-a-100x-improvement\/","title":{"rendered":"Intel’s Open-Source Vulkan Driver For Ray-Tracing Gets “Like A 100x Improvement”"},"content":{"rendered":"
\n
<\/div>\n

Intel’s Linux graphics driver developers continue to be very busy polishing the DG2\/Alchemist graphics card support for forthcoming Intel Arc Graphics hardware… Merged today to the open-source Intel Mesa Vulkan driver was a ray-tracing focused fix that yields “like a 100x (not joking) improvement.” Even more of a kicker? The change is one line of code for the massive improvement.<\/p>\n

Longtime Intel Linux graphics driver engineer Lionel Landwerlin had opened this merge request today after discovering this massive optimization. That MR in turn has already landed in Mesa 22.2. The description for this Intel Vulkan RT code change is simply, “Like a 100x (not joking) improvement.<\/strong>”\n<\/p>\n

So what’s going on here? The Intel ANV change is to ensure the scratch memory for Vulkan ray-tracing use gets allocated to local memory, aka the local device memory for the DG2\/Alchemist discrete graphics cards.\n<\/p>\n

To now the device allocation for this RT scratch memory didn’t have any allocation flags set and so presumably was getting allocated back to general system memory. Now with the “ANV_BO_ALLOC_LOCAL_MEM” flag set, it will ensure that scratch memory buffers are residing on memory local to the Intel GPU.
\n<\/p>\n

<\/p>\n

It’s a simple oversight from when that code was originally written but means a massive performance improvement due to that lapse. At least it was caught now and prior to Intel Arc Graphics appearing with the masses. With Mesa 22.2 due to be branched in the coming days, Mesa 22.2 with this RT fix\/optimization and plenty of other open-source Intel Linux graphics driver improvements will be out as stable around the end of August.<\/p>\n

Intel has been working on their Vulkan ray-tracing support going back to late 2020 in preparation for Xe HPG introducing hardware RT capabilities.<\/p>\n<\/div>\n

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

Intel’s Linux graphics driver developers continue to be very busy polishing the DG2\/Alchemist graphics card support for forthcoming Intel Arc Graphics hardware… Merged today to the open-source Intel Mesa Vulkan driver was a ray-tracing focused fix that yields “like a 100x (not joking) improvement.” Even more of a kicker? The change is one line of …<\/p>\n

Intel’s Open-Source Vulkan Driver For Ray-Tracing Gets “Like A 100x Improvement”<\/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":23624,"url":"https:\/\/harchi90.com\/intels-open-source-vulkan-driver-reportedly-gets-a-100x-performance-increase-in-raytracing\/","url_meta":{"origin":22977,"position":0},"title":"Intel’s Open-Source Vulkan Driver Reportedly Gets A “100x” Performance Increase In Raytracing","date":"July 23, 2022","format":false,"excerpt":"Phoronix reports that the Intel Linux graphics driver, which continually sees updates to prepare for the newest Arc Alchemist GPUs, has recently merged with the Intel Mesa Vulkan driver for the open-source platform. The merge is to assist with a fix for the issues the company was receiving with raytracing\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cdn.wccftech.com\/wp-content\/uploads\/2022\/07\/image.webp?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":31643,"url":"https:\/\/harchi90.com\/linux-5-19-released-linus-torvalds-released-it-from-an-apple-silicon-macbook\/","url_meta":{"origin":22977,"position":1},"title":"Linux 5.19 Released – Linus Torvalds Released It From An Apple Silicon MacBook","date":"August 1, 2022","format":false,"excerpt":"Linus Torvalds just released Linux 5.19 as stable for the newest version of the Linux kernel. He also mentioned this is the first time he released the new Linux kernel from an ARM64 laptop in the form of an Apple MacBook running an AArch64 Apple M1 SoC. Linux 5.19 brings\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":25101,"url":"https:\/\/harchi90.com\/amd-radv-gets-nvidia-mesh-shader-extensions-in-preparation-for-vulkan-mesh-shader-support\/","url_meta":{"origin":22977,"position":2},"title":"AMD RADV Gets NVIDIA Mesh Shader Extensions In Preparation For Vulkan Mesh Shader Support","date":"July 25, 2022","format":false,"excerpt":"The AMD Radeon Vulkan driver or RADV placed within the Mesa Project's upcoming 22.2 build has received further mesh shader support, reports Phoronix. The support, which is based on an experimental NVIDIA NV_mesh_shader extension and is in the process of preparations that will allow the shader to offer the same\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":33086,"url":"https:\/\/harchi90.com\/linux-6-0-has-some-big-scheduler-changes-including-improved-numa-balancing-for-amd-zen\/","url_meta":{"origin":22977,"position":3},"title":"Linux 6.0 Has Some Big Scheduler Changes, Including Improved NUMA Balancing For AMD Zen","date":"August 2, 2022","format":false,"excerpt":"Ingo Molnar today submitted the main set of kernel scheduler updates for the in-development Linux 6.0 (nee 5.20). The scheduler updates contain some notable changes that will be interesting to benchmark in the days ahead. First up, there is improved NUMA balancing on AMD Zen systems for affine workloads. That\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":8488,"url":"https:\/\/harchi90.com\/windows-11-vs-linux-performance-for-intel-core-i9-12900k-in-mid-2022\/","url_meta":{"origin":22977,"position":4},"title":"Windows 11 vs. Linux Performance For Intel Core i9 12900K In Mid-2022","date":"July 8, 2022","format":false,"excerpt":"Last year when the Intel Core i9 12900K \"Alder Lake\" processor launched, Windows 11 was outperforming Linux to much surprise in general but explainable due to some late Linux kernel patches around Intel's hybrid architecture. Back in February I looked at the situation again and Linux started outrunning Windows 11\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":13713,"url":"https:\/\/harchi90.com\/benchmarking-the-linux-mitigated-performance-for-retbleed-its-painful\/","url_meta":{"origin":22977,"position":5},"title":"Benchmarking The Linux Mitigated Performance For Retbleed: It’s Painful","date":"July 14, 2022","format":false,"excerpt":"Yesterday Retbleed was made public as a new speculative execution attack exploiting return instructions. While the \"good\" news is Retbleed only impacts prior generations of AMD and Intel processors, the bad news is the mitigated performance impact on Linux is quite severe. Since yesterday I have been benchmarking the newly-merged\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=intel_rt_100x","_links":{"self":[{"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/posts\/22977"}],"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=22977"}],"version-history":[{"count":0,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/posts\/22977\/revisions"}],"wp:attachment":[{"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/media?parent=22977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/categories?post=22977"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/tags?post=22977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}