-
Notifications
You must be signed in to change notification settings - Fork 230
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
Instant segfault after building on Linux #769
Comments
Do you have a backtrace of the crash, preferably with a debug binary ( maybe Can you reproduce the crash with In the guix configure file change libmad to mpg123 or libmpg123 or call meson with the option Line 6 in 55e111e
|
Here's a backtrace:
note: I'm not sure how to "load" in the debug symbols for libvulkan_radeon.so, help would be appreciated if it's necessary. I've found that Building with mpg123 instead of libmad has no effect. |
this looks like a bug in the radeon driver. I can´t reproduce with Intel TigerLake-LP GT2 ( i7-1165G7 ) (mesa 23.3.4 / mesa 23.3.2 ) and with the nouveau Nvidia driver ( TU106M ) (Mesa 23.3.2 ). I don´t have an AMD GPU with Vulkan support available for testing. Mesa 23.3.2 and 23.3.3 seems to have some issues, any chance to try with Mesa 23.3.1 or 23.2.8? Flatpak has also not yet updated mesa to a newer version than 23.3.1.
|
You can test the compiled binary with mesa's software renderer llvmpipe like this: you need to locate the json file on your system first.
|
I was able to get the game to start using
|
That's very odd. Does the appimage https://github.com/Novum/vkQuake/releases/tag/1.32.0 also crash with lvp? |
Unfortunately I was unable to get the appimage to run:
|
libvulkan is packaged in the AppImage. Maybe it was not able to find your mesa libs? It's possible to extract the content with --appimage-extract or mount with --appimage-mount and ls, cp the binary's default search path for libs is
so you need to first cd to squashfs-root/usr/bin or set LD_LIBRARY_PATH to /squashfs-root/usr/lib/ This binary does work here with Mesa 24.3.2 lvp! I suspect that your Mesa versions are buggy, perhaps compiled with to aggressive compiler otimizations. here is a binary compiled on ubuntu22.04 with only sound for WAV enabled. This binary does work witk mesa's lvp on Fedora41
required libraries are:
|
So, I was able to get the executable you sent to "find" my system's libraries(according to ldd), but I still get the same error :(.
Guix uses a central repository to compile binary packages it calls "substitutes", falling back to locally-compiled packages which should match, bit-for-bit. Therefore, if a library is buggy for one package, it should be buggy for other packages, too, maybe? Here's guix' package definition for mesa, and for sdl2, maybe the flags, etc. used to compile them matter here. |
LOW EFFORT BUG REPORTS WILL BE CLOSED
Describe the bug
While packaging the latest release for Guix, I ran into an issue where when compiling and running vkquake, the program instantly segfaults as it loads the first demo.
To Reproduce
Expected behavior
Quake loads up and displays the first demo without issue.
Screenshots
No screenshots, but I do have the program output:
Desktop (please complete the following information):
Mod
No mods.
Additional context
There's a good chance this issue is caused by the compilation environment, and also a good change that it's caused by some assumption in the compilation process. Though it would help if someone else tried compiling on guix themselves, it would also help alot even if someone more familiar with the code could interpret the debug/error messages. I see the errors, I just don't know what they really mean.
The text was updated successfully, but these errors were encountered: