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 version #138

Closed
Martinligabue opened this issue Jan 19, 2024 · 10 comments
Closed

Vulkan version #138

Martinligabue opened this issue Jan 19, 2024 · 10 comments

Comments

@Martinligabue
Copy link

After reading #41 and #52, I see that Minecraft's default use of OpenGL is the main issue.
However, I have tested https://github.com/xCollateral/VulkanMod and it worked perfectly. By combining this mod with the other one, we could potentially solve the problem. Moreover, creating a Vulkan version of the mod would increase its compatibility, enabling it to support Intel and AMD systems in addition to Nvidia.
Do you think there's a chance of it working?

@ayushthoren
Copy link

But this mod uses OpenGL features to function... how would that be transferred over to Vulkan?

@Martinligabue
Copy link
Author

that's what I'm asking, is it feasible?

@KingRocco21
Copy link

Ask in the discord, cortex is more active there

@Ivanmatthew
Copy link

Ivanmatthew commented Jan 20, 2024

But this mod uses OpenGL features to function... how would that be transferred over to Vulkan?

I have read that Vulkan also has support for mesh shading, which is the technology utilized by Nvidium with OpenGL.
It is most definitely possible to make a Vulkan port.

https://www.khronos.org/blog/mesh-shading-for-vulkan
https://developer.nvidia.com/blog/using-mesh-shaders-for-professional-graphics/

@Eeveelution
Copy link

making it available for vulkan would also solve the nvidia only issue, as VK_EXT_mesh_shader is available on most modern GPUs

@ferriarnus
Copy link
Contributor

Yes, but nvidium also depends on sodium. So for a vulkan version, someone also needs to rewrite sodium to use vulkan. Or rewrite vulkanmod to use a sodium-like pipeline, neither I see happening soon due to the amount of work this would be with little payoff.

@Splarkszter
Copy link

Splarkszter commented Jan 21, 2024

making it available for vulkan would also solve the nvidia only issue, as VK_EXT_mesh_shader is available on most modern GPUs

Only RDNA2 and up (6000 series and up) have hardware support for Mesh Shaders.

But yeah, it would be pretty cool since AMD is the current price/performance king.

@Andarwinux
Copy link

EXT_mesh_shader does not performance as well as NV_mesh_shader , in addition, the mesh shader may have performance issues on RDNA2.

@Esensats
Copy link

Yes, but nvidium also depends on sodium. So for a vulkan version, someone also needs to rewrite sodium to use vulkan. Or rewrite vulkanmod to use a sodium-like pipeline, neither I see happening soon due to the amount of work this would be with little payoff.

Does VulkanMod have a "sodium-like pipeline"? I mean, is it possible to, let's say, fork it and make it utilize mesh shaders to achieve results similar to Nvidium? How feasible is it?

@KarmaMarazu KarmaMarazu closed this as not planned Won't fix, can't repro, duplicate, stale Jul 14, 2024
@RokeJulianLockhart
Copy link

GPUOpen-Drivers/AMD-Gfx-Drivers#4 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests