Don't want to see articles from a certain category? When logged in, go to your User Settings and adjust your feed in the Content Preferences section where you can block tags!
We do often include affiliate links to earn us some pennies. See more here.

d9vk, from developer Joshua Ashton who works for both CodeWeavers and the game developer Puny Human, is a new personal project aimed at running Direct3D 9 over Vulkan.

If the name isn't familiar, Ashton was also working on the DXUP project which had an aim of getting D3D9 and D3D10 over to D3D11 to use with DXVK. However, when speaking to Ashton earlier, they told me they decided to go with forking DXVK as they wanted to make use of different parts of DXVK that could be reused, rather than reinventing the whole wheel again.

Obviously it's very early days for the project, so in terms of goals, Ashton told me they're going to be working through getting "clear and present working, then some basic shaders with some geometry and then games".

Interesting to see more and more projects like this appear, it's pretty exciting as the more games we can get working on Linux (and performing well) the better.

You can find it here on GitHub.

Article taken from GamingOnLinux.com.
Tags: Vulkan, Wine
29 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly checked on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
The comments on this article are closed.
33 comments
Page: 1/2»
  Go to:

hardpenguin Mar 1, 2019
Meanwhile I am here with a couple of niche games using D3D8 that are currently crashing in Wine :S:
Shmerl Mar 1, 2019
Looks interesting, though the effort of implementing D3D9 itself is a lot bigger than implementing D3D11.
legluondunet Mar 1, 2019
Quoting: hardpenguinMeanwhile I am here with a couple of niche games using D3D8 that are currently crashing in Wine :S:

For games using directx < 9 that does not work well with Wine, I use DxWnd. This soft works very well with wine, I regurlary use it with wine when a game crashes (old directx version) or to put game fullscreen in a wine window.
Works well for this games with wine:
Motoracer 1 et 2
Virtua Fighter
Syberia
Starwars episode 1 Racer
Splinter Cell


Last edited by legluondunet on 2 March 2019 at 6:03 pm UTC
qptain Nemo Mar 1, 2019
Quoting: hardpenguinMeanwhile I am here with a couple of niche games using D3D8 that are currently crashing in Wine :S:
What are your games?

I'm still waiting for an obscure DX10 game Corpse of Discovery to render correctly which it still doesn't in Wine or DXK in spite of the recent successes.
torbido Mar 1, 2019
Quoting: hardpenguinMeanwhile I am here with a couple of niche games using D3D8 that are currently crashing in Wine :S:

You can use Dgvoodoo2 for DX8 games, and Dgvoodoo2 WIP57 for DX9 games. It translate DirectX calls from any version to DX10 or DX11, then DXVK will translate them to Vulkan.

http://www.dege.freeweb.hu/


Last edited by torbido on 1 March 2019 at 3:28 pm UTC
torbido Mar 1, 2019
Quoting: legluondunet
Quoting: hardpenguinMeanwhile I am here with a couple of niche games using D3D8 that are currently crashing in Wine :S:

For games using directx < 9 that does not work well with Wine, I'm using DxWnd. This soft works very well with wine, I regurlary use it with wine when a game crashes (old directx version) or to put game fullscreen in a wine window.
Works well for this games with wine:
Motoracer 1 et 2
Virtua Fighter
Syberia
Starwars episode 1 Racer
Splinter Cell

I use Dgvoodoo2 WIP57 >>> http://www.dege.freeweb.hu/ which translate older DirectX versions to DX10 or DX11. That could help running older games that don't run well on Wine.


Last edited by torbido on 1 March 2019 at 3:44 pm UTC
mrdeathjr Mar 1, 2019
Quoting: legluondunet
Quoting: hardpenguinMeanwhile I am here with a couple of niche games using D3D8 that are currently crashing in Wine :S:

For games using directx < 9 that does not work well with Wine, I'm using DxWnd. This soft works very well with wine, I regurlary use it with wine when a game crashes (old directx version) or to put game fullscreen in a wine window.
Works well for this games with wine:
Motoracer 1 et 2
Virtua Fighter
Syberia
Starwars episode 1 Racer
Splinter Cell

Joshua Aston said this on phoronix

QuoteSome do!

Don't worry, d9vk will support d3d8 too once I get the ball rolling

Very interesting project

^_^
massatt212 Mar 1, 2019
Quoting: torbido
Quoting: legluondunet
Quoting: hardpenguinMeanwhile I am here with a couple of niche games using D3D8 that are currently crashing in Wine :S:

For games using directx < 9 that does not work well with Wine, I'm using DxWnd. This soft works very well with wine, I regurlary use it with wine when a game crashes (old directx version) or to put game fullscreen in a wine window.
Works well for this games with wine:
Motoracer 1 et 2
Virtua Fighter
Syberia
Starwars episode 1 Racer
Splinter Cell

I use Dgvoodoo2 WIP57 >>> http://www.dege.freeweb.hu/ which translate older DirectX versions to DX10 or DX11. That could help running older games that don't run well on Wine.

Can you make a small guide with files to download, i really wanna test Ultimate Marvel vs Capcom 3
torbido Mar 1, 2019
Quoting: massatt212
Quoting: torbido
Quoting: legluondunet
Quoting: hardpenguinMeanwhile I am here with a couple of niche games using D3D8 that are currently crashing in Wine :S:

For games using directx < 9 that does not work well with Wine, I'm using DxWnd. This soft works very well with wine, I regurlary use it with wine when a game crashes (old directx version) or to put game fullscreen in a wine window.
Works well for this games with wine:
Motoracer 1 et 2
Virtua Fighter
Syberia
Starwars episode 1 Racer
Splinter Cell

I use Dgvoodoo2 WIP57 >>> http://www.dege.freeweb.hu/ which translate older DirectX versions to DX10 or DX11. That could help running older games that don't run well on Wine.

Can you make a small guide with files to download, i really wanna test Ultimate Marvel vs Capcom 3

Copy the contents of ms folder to the folder of the game then copy dgVoodooCpl.exe and open it, press on .\ button to get the location of the game, then go to the directx tab and untick dgvoodoo watermark, and press ok, then open the game from the terminal with DXVK_HUD=fps wine ./game.exe


Last edited by torbido on 1 March 2019 at 5:07 pm UTC
massatt212 Mar 1, 2019
Quoting: torbido
Quoting: massatt212
Quoting: torbido
Quoting: legluondunet
Quoting: hardpenguinMeanwhile I am here with a couple of niche games using D3D8 that are currently crashing in Wine :S:

For games using directx < 9 that does not work well with Wine, I'm using DxWnd. This soft works very well with wine, I regurlary use it with wine when a game crashes (old directx version) or to put game fullscreen in a wine window.
Works well for this games with wine:
Motoracer 1 et 2
Virtua Fighter
Syberia
Starwars episode 1 Racer
Splinter Cell

I use Dgvoodoo2 WIP57 >>> http://www.dege.freeweb.hu/ which translate older DirectX versions to DX10 or DX11. That could help running older games that don't run well on Wine.

Can you make a small guide with files to download, i really wanna test Ultimate Marvel vs Capcom 3

Copy the contents of ms folder to the folder of the game then copy dgVoodooCpl.exe and open it, press on .\ button to get the location of the game, then go to the directx tab and untick dgvoodoo watermark, and press ok, then open the game from the terminal with DXVK_HUD=fps wine ./game.exe

it doesnt work with 64bit games on dx9 which is ultimate marvel vs capcom 3


Last edited by massatt212 on 1 March 2019 at 7:08 pm UTC
kokoko3k Mar 1, 2019
Quoting: Guest
Quoting: torbido
Quoting: hardpenguinMeanwhile I am here with a couple of niche games using D3D8 that are currently crashing in Wine :S:

You can use Dgvoodoo2 for DX8 games, and Dgvoodoo2 WIP57 for DX9 games. It translate DirectX calls from any version to DX10 or DX11, then DXVK will translate them to Vulkan.

http://www.dege.freeweb.hu/

As far as I know it is not open source, so it doesn't sound like an interesting approach to me!
But you're still interested in playing closed source software (games), right?
Sounds weird to me.
kokoko3k Mar 1, 2019
Quoting: torbidoI use Dgvoodoo2 WIP57 >>> http://www.dege.freeweb.hu/ which translate older DirectX versions to DX10 or DX11. That could help running older games that don't run well on Wine.
What about the performance? Do you know how much overhead is to be expected?
fenevadkan Mar 1, 2019
And somebody also asked DX versions are not backward compatibles?
But beyond that even if they are not , why is there so many separate dxvk project? Why is not there a single project for all DX versions?
YoRHa-2B Mar 1, 2019
Quoting: kokoko3kWhat about the performance? Do you know how much overhead is to be expected?
Slower than wined3d, and *much* slower than Nine. Shouldn't really come as a surprise, although dgvoodoo's overheads might be a bit higher than necessary.

QuoteAnd somebody also asked DX versions are not backward compatibles?
No, they aren't, although D3D8 and 9 are quite similar to each other, just as 10 and 11 are quite similar.


Last edited by YoRHa-2B on 1 March 2019 at 9:37 pm UTC
Purple Library Guy Mar 1, 2019
Quoting: kokoko3k
Quoting: Guest
Quoting: torbido
Quoting: hardpenguinMeanwhile I am here with a couple of niche games using D3D8 that are currently crashing in Wine :S:

You can use Dgvoodoo2 for DX8 games, and Dgvoodoo2 WIP57 for DX9 games. It translate DirectX calls from any version to DX10 or DX11, then DXVK will translate them to Vulkan.

http://www.dege.freeweb.hu/

As far as I know it is not open source, so it doesn't sound like an interesting approach to me!
But you're still interested in playing closed source software (games), right?
Sounds weird to me.
It would be nice if there were a model workable at large scale for production of open source games, as there is for various other forms of software. Due to various things about the nature of computer games, there isn't. And there isn't likely to be unless we somehow end up with some sort of tax-funded pseudo-crowdfunding model for the production of various creative "goods", or something like that. So in shorthand, widespread open source games, not gonna happen. They're too ephemeral, too limited in breadth of use, require too much and too many kinds of non-coding assets.

However, open source is viable for technology platforms on which games run, whether it's OSes, graphics drivers, DXVK-type-things, or even game engines (or portals, like Itch). These things last longer and are used by many games (and often other things that aren't even games) and don't require art assets and music and voice actors and stuff.

So realistically, any Free Software fan, in the context of games, needs to push open source gaming infrastructure first, and the anticapitalist revolution that would allow actual open source games to dominate maybe second.
mylka Mar 2, 2019
i dont get it. whats wrong with opengl in this case?
for dx9->vulkan you need a VULKAN graphics card... obviously
vulkan cards are much newer than the latest dx9 game with the best graphics (outlast, dark souls 2)
so these cards can easily translate dx9 to opengl with 100+ fps

https://en.everybodywiki.com/List_of_games_with_DirectX_9_support
some of them have linux support and i dont see any dx9 only game, which needs vulkan to perform better

for me it doesnt make any sense. why doesnt he spend his time with sth more useful?
like: dx12->vulkan
jens Mar 2, 2019
  • Supporter
Very cool and promising effort. I'm glad Josh decided to go the DXVK way!
mylka Mar 2, 2019
Quoting: Guest
Quoting: mylkai dont get it. whats wrong with opengl in this case?
for dx9->vulkan you need a VULKAN graphics card... obviously
vulkan cards are much newer than the latest dx9 game with the best graphics (outlast, dark souls 2)
so these cards can easily translate dx9 to opengl with 100+ fps

https://en.everybodywiki.com/List_of_games_with_DirectX_9_support
some of them have linux support and i dont see any dx9 only game, which needs vulkan to perform better

for me it doesnt make any sense. why doesnt he spend his time with sth more useful?
like: dx12->vulkan

There are plenty of DX9 games out there, using a Vulkan based driver would offer many advantages in the future like reduced maintenance for driver development, at one point maybe only Vulkan is required and nothing else. This could be very important especially for new graphic cards without a mature Vulkan driver. OpenGL divers are a complex beast, just look at how long AMD needed develop and improve them to reach the actual level. Our look at Wine, their D3D9 performance is still not the best after so many years. Vulkan attracted a lot of talented developers and I'm really grateful for their work (RADV, DXVK, Zink, DXUP, MoltenVK, ...)! DX12 is a niche, not sure if there are DX12 only games. If there would be, then you can check the status of Wine's VKD3D, so even that would be covered. So yes, D9VK is really useful! Even if it wouldn't at the moment for some, it doesn't mean lot of other people think differently already now

and again............ VULKAN graphics cards are powerful enough to translate every dx9 only game to OPENGL with 100+ FPS. so whats your point on performance? how many FPS do you need to play dark souls 2?

DX12 is NOT a niche. last 2 tomb raider, hitman, DXMD, rust, warhammer, battlefield, metro, etc
DX12 ONLY is a niche...

anyways... DX12 ist the future.... raytracing
no one uses DX9 nowadays
playing old games is a niche. there are a few evergreens, but there are also so many new games you want to play

imho it is more useful, to invest in the future, than having 120FPS on dark souls 2
This can help a lot with games like Alan Wake.
legluondunet Mar 2, 2019
Quoting: torbidoI use Dgvoodoo2 WIP57 >>> http://www.dege.freeweb.hu/ which translate older DirectX versions to DX10 or DX11. That could help running older games that don't run well on Wine.

DgVoodoo 2 works recently well when you use Wine with DXVK, I use it to play Starship Titanic in fullscreen with Wine.
But it's not open source and it has less options than DxWnd.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.