NHacker Next
login
▲Triton: DirectX 11 Driver for QEMUblog.getutm.app
162 points by electricant 17 hours ago | 30 comments
Loading comments...
equinumerous 4 hours ago [-]
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 2 hours ago [-]
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 11 hours ago [-]
That’s like (at least) third GPU-related project named Triton
NBJack 1 hours ago [-]
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.
cl3misch 10 hours ago [-]
I was expecting DirectX in triton-lang https://github.com/triton-lang/triton
whatever1 7 hours ago [-]
Nobody named theirs Deuteron? (Sorry could not resist)
zer0zzz 2 hours ago [-]
I seriously considered this name for a triton related project. Well there’s helion (metas autotuning dsl) at least.
jamesu 12 hours ago [-]
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...
conradev 11 hours ago [-]
People are working on it!

https://github.com/steelbrain/reims-vgpu

https://github.com/steelbrain/metal2vulkan

cactusplant7374 11 hours ago [-]
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.
rufo 10 hours ago [-]
Ooh, is this public anywhere? Definitely an area of interest of mine :)
cactusplant7374 10 hours ago [-]
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.
anonymousiam 12 hours ago [-]
Also covered here: https://www.phoronix.com/news/Triton-DirectX-11-QEMU-Driver
thehias 11 hours ago [-]
why always only DX11, why not DX12? Parallels and VMWARE can also do only DX11??
tyfon 10 hours ago [-]
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 6 hours ago [-]
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.

aseipp 4 hours ago [-]
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.

izacus 5 hours ago [-]
There's that small thing of DirectX 12 predating Vulkan (and massively predating the useful Vulkan specs).
Squarex 10 hours ago [-]
DX12 is much more complex to implement. Very different API.
iberator 14 hours ago [-]
[flagged]
cassepipe 13 hours ago [-]
I have never heard anyone diss qemu before. Care to elaborate?
asveikau 13 hours ago [-]
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.
sph 13 hours ago [-]
It’s called trolling. You’re not supposed to feed the troll.
asveikau 12 hours ago [-]
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 8 hours ago [-]
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 13 hours ago [-]
Maybe this is one of those topics to let an army of agents get loose.

Nothing to lose and a lot to gain.

truncate 13 hours ago [-]
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 13 hours ago [-]
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 12 hours ago [-]
> 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 12 hours ago [-]
Energy consumption and CO2 emission it causes is a pretty big lose
compiler-devel 8 hours ago [-]
This argument, while totally valid, will never halt the build out of data centers nor hamper the development of AI.