News for hackers. Stuff that matters.
Re:Cracking Windows Open: Porting RADV to Win32 by userbinator on Wednesday July 29, 2026 @02:09AM (#49093939)
Developing our own KMD is not really an option

Why not? Fully open-source Windows GPU drivers would be great. Incidentally, this sort of "glue code" is probably something LLM assistance could help greatly with much of the grunt work.

(E.g. there is already a generic framebuffer driver for Win3x/9x: https://news.ycombinator.com/item?id=47646363 but one of the ideas I have --- which anyone else with the time is more than welcome to attempt --- is to port the existing open-source Linux drivers for AMD/NVIDIA/Intel to early Windows versions that never even had closed-source drivers available, giving them full 2D/3D acceleration. Theoretically, something as crazy as CUDA on Windows 95 is possible, and perhaps some vibecoding can turn that into reality. After all, as I write this comment, https://news.ycombinator.com/item?id=49089814 is on the main page.)

Re:Cracking Windows Open: Porting RADV to Win32 by ZiiS on Wednesday July 29, 2026 @03:43AM (#49094513)
For Windows 3x/9x the common term was VxD, KMD strongly implies an NT derived OS.
Re:Cracking Windows Open: Porting RADV to Win32 by pjmlp on Wednesday July 29, 2026 @03:45AM (#49094523)
Not only that, Windows NT driver model already changed at least twice since Windows XP, on Vista and Windows 10.
Re:Cracking Windows Open: Porting RADV to Win32 by pjmlp on Wednesday July 29, 2026 @03:44AM (#49094516)
Certainly OpenGL and DirectX acceleration was a thing in Windows 9x, kind of missing the point.
Re:Cracking Windows Open: Porting RADV to Win32 by nananana9 on Wednesday July 29, 2026 @05:48AM (#49095285)
Videocards of the era only did exclusive fullscreen - you could not for example use OpenGL to render your windowed application's UI, that was all software.
Re:Cracking Windows Open: Porting RADV to Win32 by pjmlp on Wednesday July 29, 2026 @06:04AM (#49095398)
My graduation thesis was porting a particle visualisation engine from NeXTSTEP into Windows 9x.
Re:Cracking Windows Open: Porting RADV to Win32 by kg on Wednesday July 29, 2026 @10:50AM (#49098295)
I don't think this is true? I remember successfully using OpenGL and Direct3D acceleration in windowed mode on 9x devices.

Are you thinking of the add-on 3D accelerator cards that did VGA pass-through from your 2D accelerator? It might've been true for them...

Re:Cracking Windows Open: Porting RADV to Win32 by LoganDark on Wednesday July 29, 2026 @03:17AM (#49094339)
You can't really develop a kernel-mode driver nowadays without being an incredibly large OEM. Otherwise, you won't be accepted by any anti-cheat.
Re:Cracking Windows Open: Porting RADV to Win32 by Maakuth on Wednesday July 29, 2026 @03:24AM (#49094387)
An anti-cheat app would probably be quite surprised to find it's running on Windows 95 anyway.
Re:Cracking Windows Open: Porting RADV to Win32 by ChocolateGod on Wednesday July 29, 2026 @03:30AM (#49094418)
Wireguard...
Re:Cracking Windows Open: Porting RADV to Win32 by grim_io on Wednesday July 29, 2026 @04:01AM (#49094621)
Wireguard is blessed by Microsoft, who sign their drivers.
Re:Cracking Windows Open: Porting RADV to Win32 by not_a9 on Wednesday July 29, 2026 @05:53AM (#49095321)
Sandboxie/WinFSP/KVM guest drivers for Windows are open source too

I’m sure there are more open source examples. A newer one is https://github.com/namazso/PawnIO/tree/master I guess?

Re:Cracking Windows Open: Porting RADV to Win32 by Almondsetat on Wednesday July 29, 2026 @05:11AM (#49095031)
So we should throw away the possibility entirely just because of a few videogames? That doesn't sound reasonable at all, considering most videogames don't have anti cheats and GPUs can be used for way more stuff than playing.
Re:Cracking Windows Open: Porting RADV to Win32 by userbinator on Wednesday July 29, 2026 @08:40PM (#49104875)
Exactly, being able to use a local LLM or other generative AI on a machine running Win95 would itself be sufficiently entertaining.
Re:Cracking Windows Open: Porting RADV to Win32 by not_a9 on Wednesday July 29, 2026 @05:41AM (#49095234)
If anti-cheats actively whitelisted drivers playing competitive video games would be impossible for people using any rarer HW/utilities. Vulnerable drivers are generally blacklisted when found.

Getting your driver signed seems like a pain these days, yeah

Re:Cracking Windows Open: Porting RADV to Win32 by inigyou on Wednesday July 29, 2026 @07:53AM (#49096284)
Yes this is how they work. You use a mainstream GPU or no game for you!
Re:Cracking Windows Open: Porting RADV to Win32 by not_a9 on Wednesday July 29, 2026 @08:34AM (#49096670)
Throw a lawn dart at the contents of https://vx-underground.org/Archive/Driver%20Collection/Bulk%... all drivers download, load the resulting driver and try to get into Fortnite or something. It'll probably get in fine assuming driver isn't Unknowncheats superstar already
Re:Cracking Windows Open: Porting RADV to Win32 by nananana9 on Wednesday July 29, 2026 @05:44AM (#49095252)
I'm inclined to believe this is exactly what happens, given that both Bluetooth and my printer stopped working the last time I tried playing a Riot game.

Also got a BSOD in vgk.sys, and it left a bunch of junk in my EFI partition after I uninstalled it. Fun times.

Re:Cracking Windows Open: Porting RADV to Win32 by LoganDark on Wednesday July 29, 2026 @06:01AM (#49095375)
Maybe drivers are treated differently, but I remember having to update Windows 11 to play ARC Raiders because my specific version was old enough that system files did not pass their whitelist check. It told me which system file failed the check - I don't remember which it was exactly, but it definitely wasn't one that'd ever been modified, just one that wasn't recent enough it seems, at least going off of how updating fixed it.
Re:Cracking Windows Open: Porting RADV to Win32 by MayeulC on Wednesday July 29, 2026 @05:29AM (#49095158)
I almost wrote the same comment — the first part, anyways.

In theory, it should be feasible to provide a "shim" to bridge the API gap between Linux and Windows internal APIs. The catch here is that Linux is a moving target.

AMDGPU (the Linux kernel module) has its roots in a shared Linux/Windows codebase from AMD, so hopefully it didn't get _too_ tightly integrated (I know some parts got integrated, IIRC it used to ship its own i2c driver).

Re:Cracking Windows Open: Porting RADV to Win32 by AshamedCaptain on Wednesday July 29, 2026 @06:39AM (#49095662)
I am quite sure AMD is already using a fork of the Linux amdgpu KMD for their proprietary driver on Windows (which in part explains why a project like this can even be done)

Porting Linux drivers to anywhere is generally hard. It either makes your kernel very Linux-like (and lots of manpower to translate the abstractions), or forces you to put Linux on it. There are bazillions of projects to put recent Intel drivers on 9x and none suceeded, for example.

Plus my recent observation that for Haiku it was easier to port the out-of-tree nvidia driver and fork Mesa, than it was to port the Linux amdgpu one.

Re:Cracking Windows Open: Porting RADV to Win32 by atq2119 on Wednesday July 29, 2026 @11:11AM (#49098569)
In order to have a useful Windows desktop, you need a DX12 driver.

So, in order to write their own KMD, they'd either have to also write their own DX12 driver, which they probably have no interest in, or reverse engineer the existing AMD KMD interface to the point where they can reimplement it basically completely so that AMD's proprietary DX12 driver runs on it.

I doubt they're saying it's impossible, it's more of a pick your battles situation.

Re:Cracking Windows Open: Porting RADV to Win32 by happymellon on Wednesday July 29, 2026 @11:37AM (#49098910)
> in order to write their own KMD, they'd either have to also write their own DX12 driver

You mean Vulkan driver. We can run DX12 on Vulkan.

Re:Cracking Windows Open: Porting RADV to Win32 by atq2119 on Thursday July 30, 2026 @09:49AM (#49110009)
Do you mean on Linux in a Wine/Proton context? That's different, so yes, I did mean DX12 driver.

Again, not impossible, just picking your battles.