VulkanMod icon indicating copy to clipboard operation
VulkanMod copied to clipboard

Minecraft icon is blank on Wayland

Open Kichura opened this issue 1 year ago • 7 comments

Describe the bug

When playing Minecraft 1.21.5 with VulkanMod 0.5.6 active, The Minecraft icon appears blank while the system is on wayland. Image

Steps to reproduce

  1. Have any linux distro that runs KDE Plasma with Wayland,
  2. Get a clean 1.21.5 instance with VulkanMod and Fabric Loader installed onto it,
  3. Start up the game,
  4. Icon should be blank.

Log files

The client logs can be found here.

Kichura avatar Jul 01 '25 18:07 Kichura

Replicated on CachyOS running KDE Plasma 6.4.2. I'm gonna guess it will also occur on other Wayland DEs.

retcinder avatar Jul 03 '25 15:07 retcinder

Looked into it, I believe its caused by this code but this cannot be changed due to a dependency on this glfw PR.

GLFW appears to be having maintainership issues so this may end up not being changed for a while (or ever).

retcinder avatar Jul 03 '25 15:07 retcinder

mine is just wayland icon and not minecraft icon like it should be

Image

kde neon 24 04, kernel 6.17.0-20-generic, kde plasma 6.6.3

Kurizek27 avatar Apr 10 '26 23:04 Kurizek27

@Kichura Since vulkanmod now runs under xwayland by default this is no longer an issue. So this can be closed now

Versatile-One avatar Jun 02 '26 17:06 Versatile-One

Versatile-V1:

@Kichura Since vulkanmod now runs under xwayland by default this is no longer an issue. So this can be closed now

No? I would agree if VulkanMod was an X11/XWayland only but Wayland is still an option that is available. Closing the issue is not the correct decision, given Wayland is still accessible.

retcinder avatar Jun 02 '26 23:06 retcinder

Versatile-V1:

@Kichura Since vulkanmod now runs under xwayland by default this is no longer an issue. So this can be closed now

No? I would agree if VulkanMod was an X11/XWayland only but Wayland is still an option that is available. Closing the issue is not the correct decision, given Wayland is still accessible.

But it's not a vulkanmod issue. It's a glfw/ Wayland issue. That's why vanilla mc uses xWayland. Wayland is there just so if you want to use it you can but at your own risk. It's experimental but collateral didn't know Wayland has these issues until I told him recently. That's why xWayland is implemented now. I guess the only thing collateral can do is mention in the tooltip that Wayland is experimental and will have bugs.

Versatile-One avatar Jun 03 '26 03:06 Versatile-One

Versatile-V1:

@Kichura Since vulkanmod now runs under xwayland by default this is no longer an issue. So this can be closed now

No? I would agree if VulkanMod was an X11/XWayland only but Wayland is still an option that is available. Closing the issue is not the correct decision, given Wayland is still accessible.

But it's not a vulkanmod issue. It's a glfw/ Wayland issue. That's why vanilla mc uses xWayland. Wayland is there just so if you want to use it you can but at your own risk. It's experimental but collateral didn't know Wayland has these issues until I told him recently. That's why xWayland is implemented now. I guess the only thing collateral can do is mention in the tooltip that Wayland is experimental and will have bugs.

It's a glfw/ Wayland issue

No, it's a GLFW issue on its own. Someone has already made a PR adding support for it (open since Feb 2025 btw) but GLFW moves incredibly slowly for little to no reason. glfw/ Wayland implies equal blame despite Wayland already having the means to show the right icon (SDL3 can do it under Wayland just fine).

Plus, I don't see your reasoning. This is a problem and while it is an upstream issue, it is still an issue affecting this project and as a result, I don't agree that it should be closed.

retcinder avatar Jun 04 '26 09:06 retcinder