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

VulkanMod #338

Open
Madis0 opened this issue May 19, 2022 · 19 comments
Open

VulkanMod #338

Madis0 opened this issue May 19, 2022 · 19 comments
Labels
mod New Fabric mod to include replace Replaces an existing mod WIP Mods that are experimental and will not be included until considered "stable enough"

Comments

@Madis0
Copy link
Member

Madis0 commented May 19, 2022

Mod name

VulkanMod

Curseforge link

https://www.curseforge.com/minecraft/mc-mods/vulkanmod

Other links

https://modrinth.com/mod/vulkanmod
https://github.com/xCollateral/VulkanMod

What it does

Renderer rewrite for better performance

Why should it be in the modpack

#219 and maybe gives better performance

Why shouldn't it be in the modpack

WIP, OF shader support plans unknown

Categories

Performance optimization

Additional details

See also: #312

@Madis0 Madis0 added mod New Fabric mod to include WIP Mods that are experimental and will not be included until considered "stable enough" labels May 19, 2022
@supsm
Copy link

supsm commented May 19, 2022

It seems to be quite a hassle for mac users to install, so I don't know if it would help much with #219. I guess the cons are sort of like canvas, iris and sodium extra will need to be yeeted. I highly doubt iris will work for a few reasons:

  1. VulkanMod replaces the renderer, which Iris also does; iirc iris needed to specifically have compatibility with sodium
  2. VulkanMod uses vulkan to do rendering, iris targets opengl. It would be quite a hefty task to port all of that to vulkan, including changing compilation target of glsl shaders to spir-v (for vulkan)

@HyperSoop
Copy link
Contributor

It is worse than sodium, it is less compatible than sodium, it's not even in a stable state.

@HyperSoop
Copy link
Contributor

It seems to be quite a hassle for mac users to install, so I don't know if it would help much with #219. I guess the cons are sort of like canvas, iris and sodium extra will need to be yeeted. I highly doubt iris will work for a few reasons:

  1. VulkanMod replaces the renderer, which Iris also does; iirc iris needed to specifically have compatibility with sodium
  2. VulkanMod uses vulkan to do rendering, iris targets opengl. It would be quite a hefty task to port all of that to vulkan, including changing compilation target of glsl shaders to spir-v (for vulkan)

Is iris a rendering mod?...

@Madis0
Copy link
Member Author

Madis0 commented May 30, 2022

It is worse than sodium, it is less compatible than sodium, it's not even in a stable state.

Doesn't matter what it is now, it is just being tracked as a potential alternative.

@osfanbuff63
Copy link
Member

A plus to using Vulkan is that they might be able to implement DLSS/FSR and, more importantly, ray tracing - which sorta makes OF shaders unnecessary. Or both options, for those people using an iGPU and/or a GPU that doesn't support it (Nvidia RTX 20-series and up, AMD RX 6000-series and up, potentially Intel Arc whenever it shows up).

@B055-Man
Copy link

Vulkanmod was added to Modrinth

@maximumpower55
Copy link

It seems to be quite a hassle for mac users to install, so I don't know if it would help much with #219. I guess the cons are sort of like canvas, iris and sodium extra will need to be yeeted. I highly doubt iris will work for a few reasons:

  1. VulkanMod replaces the renderer, which Iris also does; iirc iris needed to specifically have compatibility with sodium
  2. VulkanMod uses vulkan to do rendering, iris targets opengl. It would be quite a hefty task to port all of that to vulkan, including changing compilation target of glsl shaders to spir-v (for vulkan)

Iris does not replace the renderer it injects into specific parts of the world renderer and game renderer and then we mixin into parts of sodium for compatibility

@Madis0 Madis0 added the replace Replaces an existing mod label Jul 14, 2022
@Kichura
Copy link
Member

Kichura commented Oct 20, 2022

*VulkanMod is also very annoying to support due to many devices ending up suffering from it such as crashes, glitches and more which are at this time far worse than Sodium's limitations themselves are.

@nsde
Copy link
Contributor

nsde commented Nov 24, 2022

I'm doing a benchmark (if I don't forget it lmao). More info on our Discord.

@Madis0
Copy link
Member Author

Madis0 commented Mar 8, 2023

IMS, the main dev of Iris and maintainer of Sodium said the following, context added by me:

[...]
Madis0: what's Sodium's relation with Vulkan [a graphics API] overall
IMS: on the latest build [of Sodium], via Zink [a graphics library], it’s amazing
IMS: almost native performance [on Pojav Launcher - mobile devices]
Madis0: so Sodium uses Vulkan [the API] as much as [VulkanMod] does?
IMS: it’s not native [implementation of the] Vulkan [API]
Madis0: oh okay
IMS: VulkanMod has integral issues I don’t really want to get into
IMS: the rundown is a full Vulkan port is hard work with little gain
Madis0: right
IMS: Vulkan is not the magic bandaid for your problems
IMS: As far as I’m concerned, Pojav will be the biggest use VulkanMod will ever get
IMS: it doesn’t solve any other real problems
[...]

Source (via)

@leonpano2006
Copy link

on my jetson xavier nx with vulkan mod and some optize mod my fps can reach 100FPS on 1.19.4
but with oringal Fabulously Optimized it is only about 0~30FPS only and mostly are on 10FPS

@nsde
Copy link
Contributor

nsde commented May 24, 2023

Thanks for sharing your experience, Leon!

@nsde
Copy link
Contributor

nsde commented May 24, 2023

Sadly, it still doesn't support some popular mods:

  • Iris Shaders (support will probably take quite a while or might not happen at all)
  • Sodium (I don't know if that's an issue, to be honest. I mean, as long as it's well-customizable, it doesn't matter which mod is used for performance, right?)
  • Immersive Portals
  • Xaero's Mods
  • AppleSkin
  • Blur
  • Better Advancements & Advancements Enlarger
  • Dark Loading Screen
  • Distant Horizons
  • Essentials Mod
  • Physics Mod
  • Twilight Forest
  • ToolTip

@Kichura
Copy link
Member

Kichura commented May 24, 2023

Sadly, it still doesn't support some popular mods:

* Iris Shaders (support will probably take quite a while or might not happen at all)

* Sodium (I don't know if that's an issue, to be honest. I mean, as long as it's well-customizable, it doesn't matter which mod is used for performance, right?)

* Immersive Portals

* Xaero's Mods

* AppleSkin

* Blur

* Better Advancements  & Advancements Enlarger

* Dark Loading Screen

* Distant Horizons

* Essentials Mod

* Physics Mod

* Twilight Forest

* ToolTip

Sodium and Iris by default isn't designed to work with VulkanMod as both of them make use of OpenGL instead, wonder if there are mods that do the same thing?

@leonpano2006
Copy link

But this mod is good to fix issue with OpenGL driver (like amdgpu on windows)

@4194304
Copy link

4194304 commented May 30, 2023

I tested VulkanMod with normal gameplay and it yielded a much better framerate than Fabulously Optimized from only one mod. It sure has lots of potential but sadly it isn't in the state where it can magically map OpenGL calls to Vulkan. Hopefully people would be able to port mods such as Continuity (which crashed with VulkanMod), Iris (probably never), and Colormatic (which hasn't even been updated to 1.19.4 yet). Because of those reasons it probably isn't suitable for Fabulously Optimized.

@nyabinary
Copy link

Any update on this?

@Madis0
Copy link
Member Author

Madis0 commented May 11, 2024

The mod is still in a very experimental state.

@crueter
Copy link

crueter commented Dec 13, 2024

There is an alternative modpack similar to this that contains VulkanMod. It's still ridiculously unstable and drops frames like nobody's business.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mod New Fabric mod to include replace Replaces an existing mod WIP Mods that are experimental and will not be included until considered "stable enough"
Projects
None yet
Development

No branches or pull requests