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

Patch issues and GLFW issues #61

Open
furretgd1 opened this issue Mar 10, 2024 · 3 comments
Open

Patch issues and GLFW issues #61

furretgd1 opened this issue Mar 10, 2024 · 3 comments

Comments

@furretgd1
Copy link

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.

@4194304
Copy link

4194304 commented Mar 16, 2024

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

@SolDev69
Copy link

SolDev69 commented Mar 16, 2024

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

@SolDev69
Copy link

Update: apparently its an nvidia driver issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants