Minecraft Java is switching from OpenGL to Vulkan

gamingonlinux.com

242 points by tuananh 11 hours ago


HelloUsername - an hour ago

Why not move comments to source? https://news.ycombinator.com/item?id=47061529

PaulKeeble - 11 hours ago

I hope this reduces the CPU overhead a bit on the main thread with some time. Quite a few games that ported from DX11 to 12 and openGL to Vulkan didn't just gain performance from the API swap it required taking advantage of the new higher parallel draw call capabilities. #

The main thread is often the limiting factor in minecraft. Minecraft just can't go as fast as the GPU could render the scene and even with quite a lot of shaders things are CPU bottlenecked. Hopefully this changes with time as modding minecraft could certainly do with a bit more CPU time free.

quailfarmer - 5 hours ago

Damn, this will break Minecraft on my original machine, an Acer C720 Chromebook modded to run Linux. The Intel HD4400 iGPU doesn’t support Vulcan!

I always appreciated that MC would run on virtually any hardware, especially as a kid without access to anything nice.

cyber_kinetist - 11 hours ago

Not a bad choice... since Minecraft Java edition only supports desktops, they don't have to deal with the abysmal Vulkan drivers on mobile.

Though I thought a company large as Microsoft would have the resources to build a cross-platform RHI with the most stable API available for each platform (DX12 for Windows and Metal for macOS)...

jsheard - 11 hours ago

Who would have thought that Microsoft would end up getting cosier with Khronos standards than Apple. This is after they adopted SPIR-V both as a target in their shader compiler and as an ingest format in DirectX, smoothing over interop with Vulkan in both directions.

hastily3114 - 3 hours ago

Why are they even maintaining two versions of the same game?

notenlish - 9 hours ago

I hope Vibrant Visuals comes to Minecraft Java Edition quickly, it's a shame you need mods to have shaders on Java.

pjmlp - 3 hours ago

I bet they will lose most of the mods, as I don't see many wanting to learn Vulkan only to port their mods.

They better make use of Zink/Angle or similar approaches.

MBCook - 9 hours ago

I wasn’t aware Java had Vulkan bindings. So this is JNI I’m guessing?

This makes sense. I guess I’m a bit surprised they were still OpenGL anywhere.

I never really got into Minecraft though, so I can’t pretend I know much about its current state. I didn’t even realize there was a non-Java version for desktops.

charcircuit - 11 hours ago

I hope they have a solution to the notorious Vulkan shader compilation lag spikes.

wps - 9 hours ago

This is great news. I was super disappointed when Rainbow Six Siege dropped the Vulkan version of their game. They cited the support burden as the reason they dropped it, as nearly every game in the studio defaulted to DX11/12. For at least two years after that they received non-stop complaints of frame stutters on DX12. I do not know if the situation has gotten much better since then.

Slightly off-topic too, but I would love for Minecraft Java Edition to have a safer and more robust modding API. For the past decade modding efforts have mostly just been patching on top of a reverse engineering mod framework which exposes some of the game to mods. Factorio is practically the Platonic Ideal in this regard with its Lua sandboxing and restricted API. This is a huge security and stability issue, but Microsoft have no real incentive to fix it.

henning - 7 hours ago

> For the macOS side of things, they'll use a translation layer since Apple don't support Vulkan directly (they made their own API with Metal)

Where does it say that? Why not use MoltenVK?

throwaway27447 - 11 hours ago

I'm frankly shocked microsoft has a java implementation. I thought they were the type of organization to pretend it didn't exist!

codingbot3000 - 4 hours ago

Microsoft seems to be doing anything they can to get rid of Minecraft Java users having bought a Mojang license in the past. Either they are conspiring against their users, or they just don't care.

The dubious Mojang account migration. Their lack of support for kids who got their accounts phished recently. Migrating to Vulkan breaking old hardware.

Sad story, but it was to be expected MS bought Mojang.