Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DXVK and Vkd3d as winetricks packages #999

Closed
j3ky opened this issue May 25, 2018 · 23 comments
Closed

DXVK and Vkd3d as winetricks packages #999

j3ky opened this issue May 25, 2018 · 23 comments
Labels
download Bugs with an available download enhancement Request for an enhancement help wanted Bugs that other contributors (or new ones) are requested to help with

Comments

@j3ky
Copy link

j3ky commented May 25, 2018

I've been wondering,

It would be great winetricks being able to install both projects latest binaries as we do with VulkanSD, Steam...

A feature to install/update to their latest binaries would add even more attention to winetricks project!

Thanks!

@austin987
Copy link
Contributor

austin987 commented May 25, 2018

Those are native binaries / custom wine forks, not win32/64 packages. That is outside the scope of winetricks.

@qwertychouskie
Copy link
Contributor

At least DXVK and VK9 are built as DLLs to be put into the wine prefix, don't know about VKD3D though.

@austin987
Copy link
Contributor

I've never used them, so perhaps I'm wrong. Are they not native elf binaries? Or are they win32/64 binaries?

@qwertychouskie
Copy link
Contributor

DXVK is distributed as d3d11.dll and dxgi.dll files with 32-bit and 64-bit versions in the package (https://github.com/doitsujin/dxvk/releases/download/v0.51/dxvk-0.51.tar.gz). VK9 is also distributed as a d3d9.dll and some supporting files (https://github.com/disks86/VK9/releases). In fact, VK9 is developed primarily on Windows. Also some people have used DXVK in Windows.

@austin987 austin987 reopened this May 25, 2018
@austin987
Copy link
Contributor

I see, thanks for the info.

@bobwya
Copy link
Contributor

bobwya commented May 25, 2018

@austin987

DXVK has frequent releases, with pre-built PE 32-bit and PE+ 64-bit binary dll's. DXVK hooks into Wine / Wine Staging by providing alternative dxgi.dll and d3d11.dll files, that can be enabled using standard Wine DLL overrides. DXVK provides setup shell scripts to do this automatically. Under the hood DXVK leverages Wine-Vulkan to do the system Vulkan calls.

The impact of DXVK on some DX11 titles is nothing short of phenomenal! E.g. Grand Theft Auto V is nearly on parity with native Windows.

@shmerl
Copy link

shmerl commented May 27, 2018

This is a good fit for winetricks indeed. You can find dxvk releases here. Using the dll requires Wine built with Vulkan support enabled.

@austin987 austin987 added enhancement Request for an enhancement help wanted Bugs that other contributors (or new ones) are requested to help with download Bugs with an available download labels May 28, 2018
@SveSop
Copy link
Contributor

SveSop commented May 29, 2018

I think DXVK and VK9 is primary candidates for a winetricks package.

VKD3D afaik is a wine-build-include thing.. Atleast seemingly if you have vkd3d headers/libraries installed, wine checks for this when doing configure. Now.. if i could only figure out how to actually build the vkd3d lib :)

@bobwya
Copy link
Contributor

bobwya commented May 29, 2018

@SveSop

There's official Gentoo package for this now... See: wine overlay : vkd3d-1.0.ebuild

Though I'm still not sure what you can actually do with a D3D12 translation layer...??
Aren't most D3D12 games UWP applications?

I don't think a winetricks verb is useful for this library... It'll probably go in the distribution official repositories - since it is the Wine D3D12 translation layer (there won't be one leveraging OpenGL).

@mihawk90
Copy link

Aren't most D3D12 games UWP applications?

nah, there are quite some DX12 games that aren't UWP:
https://en.wikipedia.org/wiki/List_of_games_with_DirectX_12_support

Just a few I know aren't UWP would be Rise of the Tomb Raider, Battlefront I/II, Division, Hitman, Ashes, Deus Ex, BF1, Civ VI. Also Metro Exodus and Battle for Azeroth are probably not going to be UWP.

Then again none of those are DX12 exclusive, only support. All the DX12 exclusives on that list are basically XBONE ports.

It'll be some time until we see actual DX12 games that are built on it from the ground up since engines pretty much need to be rewritten for it, and some studios already said they might as well use Vulkan at that point.

@bobwya bobwya mentioned this issue Jun 6, 2018
@bobwya
Copy link
Contributor

bobwya commented Jun 6, 2018

I've taken a look at the VK9 project. Currently it's a bit of an unholy mess to package in winetricks. Apart from the 10,000,000 supporting files (wtf??) You can tell the Developer is working on Windows, as he's releasing the binaries in a zip-file, with rampant case-sensitivity issues for Wine (e.g. D3d9.dll - wtf). I tried firing it up - nothing happened... So I'll have to re-visit this another day...

@bobwya
Copy link
Contributor

bobwya commented Jun 9, 2018

@austin987

I'd suggest closing this issue...

VK9 distributes pre-built binaries - but the project is a bit of mess compared to DXVK (too many helper files required, file case issues, etc.) Never mind that I can't even get the pre-built binaries to do anything anyway...

DXUP has somewhat limited usefulness (IMHO). But I guess a combined DXUP + DXVK verb could be contemplated in the future (as they are very inter-dependent).

DXVK has a winetricks verb now.

Vkd3d is released as a source tarball in order for downstream Linux distributions to build it, as binary packages (or provide build scripts for it). There is nothing for winetricks to do here...

@gverm
Copy link
Contributor

gverm commented Jun 9, 2018

@bobwya Sorry for the off-topic, but just wanted to let you know that the file case issues were resolved in: https://github.com/disks86/VK9/commit/19658d69c750e367e6650b93356eb8314aac6684

@qwertychouskie
Copy link
Contributor

DXUP should probably be a part of the DXVK verb IMO.

@j3ky j3ky closed this as completed Jun 10, 2018
@j3ky j3ky reopened this Jun 10, 2018
@mihawk90
Copy link

Also, just read this:

https://www.winehq.org/news/2018052501

Does this mean vkd3d will be part of core wine?

@shmerl
Copy link

shmerl commented Jun 10, 2018

Yes, as long as wine is configured to be built with it.

@mihawk90
Copy link

Meaning that a winetrick for it would be also unnecessary, correct?

@shmerl
Copy link

shmerl commented Jun 10, 2018

Yes.

@shmerl
Copy link

shmerl commented Jun 28, 2018

May be there can be an option to always pull the latest version instead of hardcoding it? It would remove the need to update winetricks itself all the time new dxvk comes out.

@austin987
Copy link
Contributor

Dxvk would have to provide a staple URL for that

@shmerl
Copy link

shmerl commented Jun 28, 2018

Sure, I can open a dxvk issue about that.

@shmerl
Copy link

shmerl commented Jul 4, 2018

dxvk now provides latest release version in:

https://raw.githubusercontent.com/doitsujin/dxvk/master/RELEASE

So you can get that and calculate <version> to download:

https://github.com/doitsujin/dxvk/releases/download/v<version>/dxvk-<version>.tar.gz

@austin987
Copy link
Contributor

Cool, thanks @shmerl. I've added that here:
c423a85

I'm going to close this. Other/follow up issues should be filed as new bugs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
download Bugs with an available download enhancement Request for an enhancement help wanted Bugs that other contributors (or new ones) are requested to help with
Projects
None yet
Development

No branches or pull requests

8 participants