Live data from Hacker News

Triton: DirectX 11 Driver for QEMU

blog.getutm.app

31–40 of 51 posts

Re: Triton: DirectX 11 Driver for QEMU

#31
post #16

That’s like (at least) third GPU-related project named Triton

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.

Re: Triton: DirectX 11 Driver for QEMU

#33

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.

Your options there are DOSBox-X, DOSBox Pure Unleashed, Winebox, WineD3D, DxWnd, DGVoodoo2 and my personal favourite, which is more in line with what you are talking about, SoftGPU.

SoftGPU is a DX capable driver for Win9x that runs on VMware and VirtualBox.

Re: Triton: DirectX 11 Driver for QEMU

#34
post #20

Earlier quoted context omitted.

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.

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.

They look similar because both D3D12 and Vulkan have been 'influenced' by Mantle (Vulkan more strongly than D3D12 though).

Vulkan was released after both Metal and D3D12 btw.

Re: Triton: DirectX 11 Driver for QEMU

#35
post #17

why always only DX11, why not DX12? Parallels and VMWARE can also do only DX11??

D3D11 is the by far most used 3D API on Windows (there are thousands of D3D11 games versus hundreds of D3D12 and much fewer Vulkan games), and most games don't actually have better performance with D3D12 or Vulkan anyway. So from a pragmatic 'bang for the buck' point of view, D3D11 both for the frontend and backend makes the most sense.

Re: Triton: DirectX 11 Driver for QEMU

#36
post #17

why always only DX11, why not DX12? Parallels and VMWARE can also do only DX11??

D3D11 is the by far most used 3D API on Windows (there are thousands of D3D11 games versus hundreds of D3D12 and much fewer Vulkan games), and most games don't actually have better performance with D3D12 or Vulkan anyway. So from a pragmatic 'bang for the buck' point of view, D3D11 both for the frontend and backend makes the most sense.

A pretty healthy proportion of games also shipped a DX11 renderer alongside their DX12 one, since the addressable audience of DX12 was pretty lousy for a long time

Re: Triton: DirectX 11 Driver for QEMU

#37

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.

DX3-7 is now well supported with D7VK (fork of DXVK).

Likely such games will work better under Wine rather than modern Windows.

Re: Triton: DirectX 11 Driver for QEMU

#38
post #13

Maybe this is one of those topics to let an army of agents get loose. Nothing to lose and a lot to gain.

Energy consumption and CO2 emission it causes is a pretty big lose

That CO2 will be emitted either way. We can choose though what % goes to funny cat videos and porn or useful open source code.

Re: Triton: DirectX 11 Driver for QEMU

#39
Reminds me of VirGL [1] and Venus [2], which I think do something similar for OpenGL and Vulkan.

I use this with Baguette/Crostini on ChromeOS to get some light gaming done. Works very well [3].

[1]: https://docs.mesa3d.org/drivers/virgl.html

[2]: https://docs.mesa3d.org/drivers/venus.html

[3]: For Baguette, the Crostini-replacement, one needs to do a minor amount of tweaking to get 3D acceleration to work well (https://www.reddit.com/r/Crostini/comments/1sftdu1/comment/o...).

Re: Triton: DirectX 11 Driver for QEMU

#40

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.

You'll get best compatibility for 20+ year Windows gaming using either

A) qemu with a XP/Vista guest and a older dedicated nvidia gpu pass thru.

B) Fully software using 86box/pcem but performance will suffer.

Post reply on HN