minecraft-wayland icon indicating copy to clipboard operation
minecraft-wayland copied to clipboard

Patch issues and GLFW issues

Open furretgd1 opened this issue 11 months ago • 3 comments

Issues

Basically Patch 0004 doesn't work due to an undefined reference as desired is no longer a valid variable in my tested version of GLFW 3.3.9 on Gentoo. Which creates an undefined reference with chooseEGLConfig()

[16/106] /usr/bin/x86_64-pc-linux-gnu-gcc -D_GLFW_USE_CONFIG_H -Dglfw_EXPORTS -I/var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9/include -I/var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9/src -I/var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9_build-abi_x86_64.amd64/src  -march=raptorlake -O2 -pipe -std=gnu99 -fPIC -Wall -fvisibility=hidden -Wdeclaration-after-statement -MD -MT src/CMakeFiles/glfw.dir/egl_context.c.o -MF src/CMakeFiles/glfw.dir/egl_context.c.o.d -o src/CMakeFiles/glfw.dir/egl_context.c.o -c /var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9/src/egl_context.c
FAILED: src/CMakeFiles/glfw.dir/egl_context.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -D_GLFW_USE_CONFIG_H -Dglfw_EXPORTS -I/var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9/include -I/var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9/src -I/var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9_build-abi_x86_64.amd64/src  -march=raptorlake -O2 -pipe -std=gnu99 -fPIC -Wall -fvisibility=hidden -Wdeclaration-after-statement -MD -MT src/CMakeFiles/glfw.dir/egl_context.c.o -MF src/CMakeFiles/glfw.dir/egl_context.c.o.d -o src/CMakeFiles/glfw.dir/egl_context.c.o -c /var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9/src/egl_context.c
/var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9/src/egl_context.c: In function ‘chooseEGLConfig’:
/var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9/src/egl_context.c:197:34: error: ‘desired’ undeclared (first use in this function)
  197 |         if (u->alphaBits > 0 && !desired->transparent) {
      |                                  ^~~~~~~
/var/tmp/portage/media-libs/glfw-3.3.9/work/glfw-3.3.9/src/egl_context.c:197:34: note: each undeclared identifier is reported only once for each function it appears in

The second issue is related more so to the guide. It unfortunately doesn't provide me with a usable instance giving me the following error with versions < 1.19.x (my tested version being 1.18.2). As it's the latest version I can test without the 1.19 patch.

Screenshot_20240310_153700

I am currently using LWJGL 3.2.2, had this same issue on Arch Linux as well with glfw-wayland, could this possibly be a hardware issue as I am using Nvidia? Or issue with Desktop Environment as I am currently running KDE Plasma 5.27.10.

Any more information can be provided if need be.

furretgd1 avatar Mar 10 '24 04:03 furretgd1

Can confirm for me, I'm on Xwayland and just installed it. Playing Minecraft on native Wayland is so much better because it gets rid of the game flickering under load, and it closing with a 0x7 SIGBUS error. The only way to play the game on Wayland without the patch is through VulkanMod, so I'd love to have it actually work

4194304 avatar Mar 16 '24 01:03 4194304

I get the same issue. Used to work before idk.

SolDev69 avatar Mar 16 '24 21:03 SolDev69

Update: apparently its an nvidia driver issue

SolDev69 avatar Mar 16 '24 22:03 SolDev69