softgpu icon indicating copy to clipboard operation
softgpu copied to clipboard

Dgvoodoo2

Open AITUS95 opened this issue 2 years ago • 4 comments

Hi, I was wondering if it's possible to add dgvoodoo2 as a graphic wrapper option instead of WineD3D. Some games might work better using dgvoodoo2, so it would be nice to have it as an alternative choice.

AITUS95 avatar Sep 10 '23 07:09 AITUS95

dgvoodoo2 doesn't wrap to D3D9, only D3D11/12. It also only supports WDDM.

There is no source code available either, so it can't be done even if JHRobotics wanted to alter the code, which is not a trivial task.

Also, SoftGPU wraps everything to OpenGL, so IINM the driver probably is not capable of handling D3D at all.

eddmanx avatar Sep 10 '23 17:09 eddmanx

Also here it should be added that support for (hardware) D3D9 is under way. This was confirmed in #23.

And while dgvoodoo2 cannot be used with D3D9 it seems that dgvoodoo should be capable in doing this. The old variant is working with D3D7 and D3D9. And furthermore the source code of both dgVoodoo projects 1+2 is in the meantime available.

Whatever as already told in #25, Windows 98/Me only supported D3D9 so any higher version cannot be implemented for them. And also regarding Mesa there exist only a native D3D9 API implementation (in the form of Gallium Nine). Ergo any support for a higher D3D version makes no sense.

And as a final alternative the nGlide wrapper could be an option. It works fine in Wine and with Gallium Nine. I can confirm this for the original Rayman 2 game from 1999. :+1: (But it is currently unclear if nGlide is compliant with those super old Windows version like 98 and Me.)

lorn10 avatar Oct 01 '23 14:10 lorn10

And while dgvoodoo2 cannot be used with D3D9 it seems that dgvoodoo should be capable in doing this. The old variant is working with D3D7 and D3D9. And furthermore the source code of both dgVoodoo projects 1+2 is in the meantime available.

The OP is asking for an alternative to WineD3D, meaning he's looking for wrapping old D3D into D3D9. Dgvoodoo1 only wraps Glide into D3D. It's not an older version of 2; it's a different, abandoned wrapper.

Where is the source code for dgvoodoo2?

eddmanx avatar Oct 02 '23 22:10 eddmanx

Okay, I now understand. The OP wants to convert old D3D to newer D3D and not Glide to D3D.

Maybe someone is able to complete Dd7to9 with the help of dgvoodoo2?

Whatever, an "old to new" D3D wrapper would work almost sure also with Gallium Nine. If it would be supported at some point in SoftGPU.

lorn10 avatar Oct 03 '23 08:10 lorn10