News: 0001621006

  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)

Microsoft's DXGKRNL Driver Updated For Linux - Many Changes After Four Years

([Microsoft] 99 Minutes Ago DirectX Kernel Driver)


Well, here's an unexpected surprise... A new version of the Linux kernel patches for [1]DXGKRNL were posted today for that DirectX kernel driver that began a few years ago for supporting Windows Subsystem For Linux (WSL) use-cases. This comes four years to the month after the prior version was posted and without much excitement for getting it into the mainline Linux kernel.

DXGKRNL was developed by Microsoft as [2]the kernel driver for DirectX graphics adapters to expose to Linux for WSL2 usage. Right from the start there was [3]little appetite for getting this Microsoft driver upstreamed into the Linux kernel especially with the only benefit being closed-source usage within the Microsoft Windows host confines.

Back in 2022 [4]they reworked their DXGKRNL driver and back in March 2022 was [5]their v3 driver patches . Hitting the Linux kernel mailing list today is now the fourth iteration of the patches.

With the v4 patches, there is now support for compute-only adapter. The compute-only adapter support will be useful for AI / machine learning accelerators within the WSL2 world. There is also DMA fence / sync file integration, new Direct3D functions exposed, pin-user-pages for DMA-accessible memory, and synchronization and memory fixes. Plus various code clean-ups, bug fixes, and other changes.

The Microsoft DXGKRNL v4 patches are now out for review on the [6]Linux kernel mailing list while waiting to see what the upstream Linux kernel stakeholders think of this latest patch activity.



[1] https://www.phoronix.com/search/DXGKRNL

[2] https://www.phoronix.com/news/Microsoft-DX12-WSL2

[3] https://www.phoronix.com/news/Microsoft-DXGKRNL-Uphill-Battle

[4] https://www.phoronix.com/news/Microsoft-DXGKRNL-2022

[5] https://www.phoronix.com/news/Microsoft-DXGKRNL-v3-Linux

[6] https://lore.kernel.org/lkml/20260319202509.63802-1-eric.curtin@docker.com/



What they say: What they mean:

A major technological breakthrough... Back to the drawing board.
Developed after years of research Discovered by pure accident.
Project behind original schedule due We're working on something else.
to unforeseen difficulties
Designs are within allowable limits We made it, stretching a point or two.
Customer satisfaction is believed So far behind schedule that they'll be
assured grateful for anything at all.
Close project coordination We're gonna spread the blame, campers!
Test results were extremely gratifying It works, and boy, were we surprised!
The design will be finalized... We haven't started yet, but we've got
to say something.
The entire concept has been rejected The guy who designed it quit.
We're moving forward with a fresh We hired three new guys, and they're
approach kicking it around.
A number of different approaches... We don't know where we're going, but
we're moving.
Preliminary operational tests are Blew up when we turned it on.
inconclusive
Modifications are underway We're starting over.