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

Vulkan backend #3

Open
DarioSamo opened this issue Apr 9, 2021 · 7 comments
Open

Vulkan backend #3

DarioSamo opened this issue Apr 9, 2021 · 7 comments
Labels
help wanted Extra attention is needed

Comments

@DarioSamo
Copy link
Owner

DarioSamo commented Apr 9, 2021

This will require significant work, but since it's already behind an abstraction layer, we could just create different objects for each type of RT64 structure with the implementation for Vulkan, since the code in the existing classes in pretty much 99% the D3D12 API.

@DarioSamo DarioSamo added the help wanted Extra attention is needed label Apr 9, 2021
@bs2kbs2k
Copy link

bs2kbs2k commented May 6, 2021

Maybe you can use dxvk to adapt the existing D3D12 code to Vulkan?
Edit: dxvk doesn't do D3D12; you can try vkd3d maybe?

@DarioSamo
Copy link
Owner Author

We'd need to check whether vkd3d supports the DXR functionality as well, but it's not a bad idea for a start.

@DarioSamo
Copy link
Owner Author

This might be a good abstraction in the future to use for this.

https://github.com/NVIDIAGameWorks/nvrhi

@mmarsalko
Copy link

As of version 2.5, vkd3d supports DXR 1.0 (described as feature-complete)

https://github.com/HansKristian-Work/vkd3d-proton/releases/tag/v2.5

@DarioSamo
Copy link
Owner Author

As of version 2.5, vkd3d supports DXR 1.0 (described as feature-complete)

https://github.com/HansKristian-Work/vkd3d-proton/releases/tag/v2.5

Has anyone verified if it's compatible?

I still think a native port would be better since there's really no hard reason to stick to D3D12 IMO, but I'd be interested to see if the existing work can run on it.

@WryOpussum
Copy link

WryOpussum commented Apr 23, 2022

As of version 2.5, vkd3d supports DXR 1.0 (described as feature-complete)
https://github.com/HansKristian-Work/vkd3d-proton/releases/tag/v2.5

Has anyone verified if it's compatible?

I still think a native port would be better since there's really no hard reason to stick to D3D12 IMO, but I'd be interested to see if the existing work can run on it.

It does not work. dxr in vk3d and proton is very experimental. I tried to do it by compiling it on a vm and then running it via wine in linux. It launched and did not spit out any errors but was on a black screen. Same thing with your rt64 test application. EDIT: also happens with a quake 2 rtx exe. But quake 2 rtx linux version runs fine.

@DarioSamo
Copy link
Owner Author

DarioSamo commented Apr 23, 2022

It does not work. dxr in vk3d and proton is very experimental. I tried to do it by compiling it on a vm and then running it via wine in linux. It launched and did not spit out any errors but was on a black screen. Same thing with your rt64 test application. EDIT: also happens with a quake 2 rtx exe. But quake 2 rtx linux version runs fine.

If you're interested in providing more feedback about that, there's this issue in vkd3d-proton where another user has attempted to run sm64rt.

HansKristian-Work/vkd3d-proton#1041

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants