Minecraft icon is blank on Wayland
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.
Steps to reproduce
- Have any linux distro that runs KDE Plasma with Wayland,
- Get a clean 1.21.5 instance with VulkanMod and Fabric Loader installed onto it,
- Start up the game,
- Icon should be blank.
Log files
The client logs can be found here.
Replicated on CachyOS running KDE Plasma 6.4.2. I'm gonna guess it will also occur on other Wayland DEs.
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).
mine is just wayland icon and not minecraft icon like it should be
kde neon 24 04, kernel 6.17.0-20-generic, kde plasma 6.6.3
@Kichura Since vulkanmod now runs under xwayland by default this is no longer an issue. So this can be closed now
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.
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-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.