News: 0001457794

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Intel Vulkan Driver Wires Up Image Compression Control For VKD3D-Proton

([Intel] 5 Hours Ago VK_EXT_image_compression_control)


In addition to [1]Vulkan explicit sync under X11 , another merge request hitting Mesa 24.1 overnight that's worth mentioning is the open-source Intel "ANV" Vulkan driver now supporting VK_EXT_image_compression_control.

VK_EXT_image_compression_control is the nearly year-old Vulkan extension that enables fixed-rate image compression and the ability to control it. Per the [2]Khronos Registry :

"This extension enables fixed-rate image compression and adds the ability to control when this kind of compression can be applied. Many implementations support some form of framebuffer compression. This is typically transparent to applications as lossless compression schemes are used. With fixed-rate compression, the compression is done at a defined bitrate. Such compression algorithms generally produce results that are visually lossless, but the results are typically not bit-exact when compared to a non-compressed result. The implementation may not be able to use the requested compression rate in all cases. This extension adds a query that can be used to determine the compression scheme and rate that was applied to an image."

In the [3]Mesa merge request it's noted that Intel worked on this extension in collaborating with Valve's Hans-Kristian Arntzen. The commit notes that VKD3D-Proton is interested in this extension.

For now though [4]the code is limiting VK_EXT_image_compression_control support to VKD3D/VKD3D-Proton. Intel's Lionel Landwerlin noted:

"Limited to vkd3d right now, there are specific use cases there.

We don't want any app to disable compression, it should be mostly transparent and we better be aware of potential bugs."

VKD3D-Proton allows using the VK_EXT_image_compression_control extension to allow for more fine-grained workarounds for otherwise broken games. The Intel Vulkan driver support for VK_EXT_image_compression_control will be in this quarter's Mesa 24.1 release.



[1] https://www.phoronix.com/news/Mesa-24.1-X11-Explicit-Sync

[2] https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_image_compression_control.html

[3] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28632

[4] https://cgit.freedesktop.org/mesa/mesa/commit/?id=c94cd1235f436098d3b0a27ad5d13b9d3ac830c3



phoronix

Take time to reflect on all the things you have, not as a result of your
merit or hard work or because God or chance or the efforts of other people
have given them to you.