Triton: DirectX 11 Driver for QEMU
157 points - yesterday at 1:33 PM
Sourceequinumerous
today at 2:47 AM
Nice, I've been waiting for something like this for years. Meanwhile the gaming scene on linux has been getting better slowly thanks to Valve and friends... but being able to boot into a Windows VM with graphics acceleration was previously a pain on Linux machines that only have a single discrete GPU - I'd wonder whether a solution like this would work with VirtualBox, or only on QEMU.
paulryanrogers
today at 3:55 AM
Does this mean DX1-10 are also supported? I've been struggling to play some DX3-7 games because of VirtualBox and VMware limitations and Win10+ backward compatibility gaps.
Article is quite long and technical, so it wasn't clear to me. That said, still great to hear Windows guests are getting some attention, especially from a long lived project that's proven it's not going anywhere.
mutkach
yesterday at 7:27 PM
That’s like (at least) third GPU-related project named Triton
Let's not forget the now defunct line of Trident graphics cards, dating back to the early 90s. Phonetically I thought they were talking about a driver for it.
whatever1
yesterday at 11:18 PM
Nobody named theirs Deuteron? (Sorry could not resist)
I seriously considered this name for a triton related project. Well there’s helion (metas autotuning dsl) at least.
jamesu
yesterday at 6:51 PM
Pretty cool to finally have a decent open 3d solution for windows vms. Now if only someone made an opengl driver for older intel macosx vms...
cactusplant7374
yesterday at 7:06 PM
Not exactly what you are looking for... but I am working on a 32 bit intel mac emulator. OpenGL support is pretty far along at this point.
Ooh, is this public anywhere? Definitely an area of interest of mine :)
cactusplant7374
yesterday at 8:13 PM
Not yet. I'm working on getting a release out by the end of the year. It won't be open source but there will be a free trial.
thehias
yesterday at 7:38 PM
why always only DX11, why not DX12?
Parallels and VMWARE can also do only DX11??
tyfon
yesterday at 7:55 PM
DX11 is much more high level while DX12 implements direct control over the GPU. 12 is much more like vulkan.
I guess since this is emulating the device instead of just passing the commands to vulkan it is easier to do DX11, but I could be wrong about this particular implementation.
bellowsgulch
today at 12:35 AM
DirectX 12 isn't just much more like Vulkan, it's so shockingly similar, it's basically Vulkan. It's jarring when you read it for the first time because you ask yourself why it even exists, but a second later, you realize it's so Microsoft can own their own graphics interface, too.
I could be remembering this incorrectly, but that's the impression I remember.
DX12 was over 2 years old by the time Vulkan was released. People in the industry also use DirectX extensively and have for decades (Vulkan is fairly marginal in comparison); many modern graphics API features (mesh shaders, ray tracing) were designed and developed in DirectX, as Microsoft worked with closely with ISVs on these features before they spread to wider audiences and published specifications.
Honestly if you are creating games, with the rise of Proton and vkd3d, there is seemingly less need to target Vulkan today than ever before. Just target x86_64 Windows with DirectX11 or DirectX12 and you will even get Linux support (and some day, probably macOS) "for free". That's just for games, though.
There's that small thing of DirectX 12 predating Vulkan (and massively predating the useful Vulkan specs).
Squarex
yesterday at 7:55 PM
DX12 is much more complex to implement. Very different API.
iberator
yesterday at 4:50 PM
[flagged]
cassepipe
yesterday at 5:02 PM
I have never heard anyone diss qemu before. Care to elaborate?
asveikau
yesterday at 5:35 PM
The other thing is that qemu is so many things. It can be a CPU emulator, a full system emulator, and a frontend to a virtualization engine. And all of this for so many different systems. It's kind of remarkable that all of this is called by the same name.
It’s called trolling. You’re not supposed to feed the troll.
asveikau
yesterday at 5:57 PM
You never know what's going on in the mind of another person, they could have something going on that makes them feel negatively about qemu. We can project our stress into all kinds of strange places.
cassepipe
yesterday at 9:55 PM
I don't think someone expressing a unsubstantiated negative opinion is akin to trolling
I would define trolling as a low-effort/sloppy attempt at a counterargumentation whose sole point is to ragebait you into looking unhinged in your response so that we can make fun of you
ramshanker
yesterday at 5:06 PM
Maybe this is one of those topics to let an army of agents get loose.
Nothing to lose and a lot to gain.
truncate
yesterday at 5:31 PM
This is also one of things that needs to be well optimized to be any useful. Army of agents may get an implementation, but not sure it will be actually useful, and I'm also not sure if optimizing that implementation is going to be easier than more well paced use of LLM where person actually understands what code is being generated.
wrobelda
yesterday at 5:51 PM
You seem to contradict yourself. Army of agents doesn't mean the person doing that doesn't understand the code. And optimization is required no matter whether the bulk of the code is written by hand or by the machine. LLMs definitely make things actually doable where previously they were nearly impossible.
acedTrex
yesterday at 6:46 PM
> Army of agents doesn't mean the person doing that doesn't understand the code
This is quite literally, objectively what it means lol. No human will ever seen it.
croes
yesterday at 6:53 PM
Energy consumption and CO2 emission it causes is a pretty big lose
compiler-devel
yesterday at 10:25 PM
This argument, while totally valid, will never halt the build out of data centers nor hamper the development of AI.