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

Cannot open at all on manjaro #178

Open
Tintouin opened this issue Jun 19, 2024 · 11 comments
Open

Cannot open at all on manjaro #178

Tintouin opened this issue Jun 19, 2024 · 11 comments

Comments

@Tintouin
Copy link

I get this error that I didn't understood even after looking on internet.

Looking for config.json in '/home/User'... [FFT] MAL context initialized, backend is 'PulseAudio' Open STUB [GLFW] Version String: 3.3.3 X11 GLX EGL OSMesa clock_gettime evdev OpenGL 4.1 (the minimum requirement) is not available: GLX: Failed to create context: GLXBadFBConfig [GLFW] Window creation failed Renderer::Open failed

I replaced my username by "User"

@PoroCYon
Copy link
Contributor

what desktop environment or window manager do you use?

@Tintouin
Copy link
Author

I use KDE Plasma (Kwin+plasma 6.0.5)

@PoroCYon
Copy link
Contributor

Hm, I don't have any KDE 6 installs anywhere. Machines at work still run KDE 5 (the only ones I have access to that use KDE at all) so I'll wait until they get an update.

As a sidenote, did you specify -DBONZOMATIC_USE_SYSTEM_GLFW=On (and maybe -DBONZOMATIC_USE_SYSTEM_GLEW=On as well) when invoking CMake? Because maybe the vendored GLFW in the repository itself is getting a bit out of date.

@Tintouin
Copy link
Author

I installed it with Pamac and seeing the makefile it doesn't seem to include those options, I'll certainly install i3 or XFCE as well to try.

On another topic, any tips for a beginner ? Like what should I focus on to have a few shaders that are creative

@PoroCYon
Copy link
Contributor

PoroCYon commented Jun 21, 2024

"pamac"? do you mean pacman? From upstream arch repos? Manjaro-specific repos? AUR?

EDIT: looks like there's no Manjaro-specific packages, so I'm CC'ing @xyproto (bonzomatic arch package maintainer) so he can fix the arch packages to use the system-wide GLFW and GLEW packages.

@xyproto
Copy link

xyproto commented Jun 21, 2024

Arch Linux is not Manjaro, and Manjaro is not supported by Arch Linux maintainers. For future issues with how the Arch Linux Bonzomatic package is packaged, please file an issue at gitlab.archlinux.org.

Nevertheless, I want to improve the Bonzomatic package, so thanks for bringing this to my attention. 👍

When I build and update the Bonzomatic package with -D BONZOMATIC_USE_SYSTEM_GLFW=on and -D BONZOMATIC_USE_SYSTEM_GLEW=on, the program does not run and I get:

[GLFW] Version String: 3.4.0 Wayland X11 GLX Null EGL OSMesa monotonic shared
[GLFW] Using GLEW 2.2.0
[GLFW] OpenGL Version 4.6 (Core Profile) Mesa 24.1.1-arch1.1, GLSL 4.60
[GLFW] Requested framebuffer size: 1920 x 1080
[GLFW] Obtained framebuffer size: 1920 x 1080
[...]
No valid last shader found, falling back to default...

It works without those two options here.

This is with Sway + glfw 3.4 + glew 2.2.0 on Linux 6.9.5.

@PoroCYon
Copy link
Contributor

When I build and update the Bonzomatic package with -D BONZOMATIC_USE_SYSTEM_GLFW=on and -D BONZOMATIC_USE_SYSTEM_GLEW=on, the program does not run and I get:

[GLFW] Version String: 3.4.0 Wayland X11 GLX Null EGL OSMesa monotonic shared
[GLFW] Using GLEW 2.2.0
[GLFW] OpenGL Version 4.6 (Core Profile) Mesa 24.1.1-arch1.1, GLSL 4.60
[GLFW] Requested framebuffer size: 1920 x 1080
[GLFW] Obtained framebuffer size: 1920 x 1080
[...]
No valid last shader found, falling back to default...

This isn't showing an error message at all, unless you maybe removed it accidentally? (No valid last shader found, falling back to default... is no cause for concern). I built 46bc4e7 both with vendored GLFW and GLEW, and with system ones, and they both worked. That's swaywm 1.9, glfw 3.3.8, glew 2.2.0, linux 6.9.5, on Void Linux.

@xyproto
Copy link

xyproto commented Jun 22, 2024

When I tested it (bonzomatic + system glfw + system glew) under Sway / Wayland, there was no error message, in combination with no window appearing at all. I was also upgrading all packages on my system, so I need to test this again.

When I now tested it (bonzomatic + system glfw + system glew) under Xfce4 / X11 it works, so I updated the package.

It might also work on Manjaro.

@Tintouin
Copy link
Author

Tintouin commented Jun 22, 2024

"pamac"? do you mean pacman? From upstream arch repos? Manjaro-specific repos? AUR?

Pamac is like yay but with verb commands like apt, I was testing on the graphical interface provided by Manjaro, but I prefer yay on CLI.

It might also work on Manjaro.

Excellent ! I may be asking a stupid question but, how can I try ? I tried compiling from git, installing from AUR and directly from pacman and none worked, the issue stayed the same.

@xyproto
Copy link

xyproto commented Jun 22, 2024

@Tintouin Manjaro and Arch are diffent distros. Manjaro is based on Arch but has had some issues in the past that ended with Arch Linux maintainers specifically not supporting issues related to Manjaro. Best of luck, though.

If there is an issue with how Bonzomatic is packaged on Arch Linux I will happily look into it, though.

@Tintouin
Copy link
Author

@Tintouin Manjaro and Arch are diffent distros. Manjaro is based on Arch but has had some issues in the past that ended with Arch Linux maintainers specifically not supporting issues related to Manjaro. Best of luck, though.

If there is an issue with how Bonzomatic is packaged on Arch Linux I will happily look into it, though.

I know that, but given the origin of the problem, the error message etc... I thought it wasn't a problem with manjaro but with KDE plasma, I'll try to replicate the problem on arch.

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

No branches or pull requests

4 participants