Hello list,
I am a gentoo newbie. I have installed gentoo about a month ago and have been busy since in my free time getting it up and running.
I have a problem with quakespasm, it segfaults on startup.. this is what I get..
On Tue, 13 Dec 2022 12:12:19 +0000
Artur Tamm <artur.tamm.85@gmail.com> wrote:
Hi,
It seems that the game is a binary blob and requires some olderlibraries.
Have you installed some 32bit libraries. You can check what you need with 'ldd some_binary'. For 32bit libraries you might want to use 'abi_x86_32' for the needed libraries or enable it globlly in make.conf and then recompile everything.
I do have some 32bit games I'll be trying to run but I haven't looked at
that yet. This is a 64bit quakespasm (as far as I know).
This is what ldd has to say about quakespasm..
alan@irondust:~$ ldd /usr/bin/quakespasm
linux-vdso.so.1 (0x00007ffe7b188000)
libm.so.6 => /lib64/libm.so.6 (0x00007f7f78f90000)
libOpenGL.so.0 => /usr/lib64/libOpenGL.so.0 (0x00007f7f78f64000)
libvorbisfile.so.3 => /usr/lib64/libvorbisfile.so.3 (0x00007f7f78f5a000)
libvorbis.so.0 => /usr/lib64/libvorbis.so.0 (0x00007f7f78f2c000)
libogg.so.0 => /usr/lib64/libogg.so.0 (0x00007f7f78f21000)
libmad.so.0 => /usr/lib64/libmad.so.0 (0x00007f7f78efe000)
libSDL2-2.0.so.0 => /usr/lib64/libSDL2-2.0.so.0
(0x00007f7f78882000)
libc.so.6 => /lib64/libc.so.6 (0x00007f7f786b4000)
/lib64/ld-linux-x86-64.so.2 (0x00007f7f79085000)
libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 (0x00007f7f785fc000)
libasound.so.2 => /usr/lib64/libasound.so.2 (0x00007f7f7850f000)
libpulse.so.0 => /usr/lib64/libpulse.so.0 (0x00007f7f784b9000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f7f78377000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f7f78360000)
libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007f7f78353000)
libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007f7f7833f000)
libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007f7f78336000)
libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007f7f78329000)
libpulsecommon-16.1.so => /usr/lib64/pulseaudio/ libpulsecommon-16.1.so (0x00007f7f7829f000)
libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x00007f7f78252000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f7f78228000)
libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007f7f7821b000)
libsndfile.so.1 => /usr/lib64/libsndfile.so.1 (0x00007f7f781a5000)
libasyncns.so.0 => /usr/lib64/libasyncns.so.0 (0x00007f7f7819d000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f7f78198000)
libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f7f78190000)
libbsd.so.0 => /usr/lib64/libbsd.so.0 (0x00007f7f78179000)
libmd.so.0 => /usr/lib64/libmd.so.0 (0x00007f7f7816c000) alan@irondust:~$
Everything there looks good to me. I have since built darkplaces and have
a similar experience with that.
There must be some detail in the works that I am missing.
I appreciate your input.
I can test out quakespasm in the evening (for me) as I need to extract the pak file to test it (as it exitied while trying to load it).
On Mon, 12 Dec 2022 21:17:35 -0800
Alan Ianson <agianson@gmail.com> wrote:
Hello list,
I am a gentoo newbie. I have installed gentoo about a month ago and havebeen busy since in my free time getting it up and running.
I have a problem with quakespasm, it segfaults on startup.. this is whatI get..
Just as a follow up on my own post.. ;)
I ran valgrind against quakespasm and it says this..
alan@irondust:~$ valgrind -q /usr/bin/quakespasm
valgrind: Fatal error at startup: a function redirection
valgrind: which is mandatory for this platform-tool combination
valgrind: cannot be set up. Details of the redirection are:
valgrind:
valgrind: A must-be-redirected function
valgrind: whose name matches the pattern: strlen
valgrind: in an object with soname matching: ld-linux-x86-64.so.2 valgrind: was not found whilst processing
valgrind: symbols from the object with soname: ld-linux-x86-64.so.2 valgrind:
valgrind: Possible fixes: (1, short term): install glibc's debuginfo valgrind: package on this machine. (2, longer term): ask the packagers valgrind: for your Linux distribution to please in future ship a non- valgrind: stripped ld.so (or whatever the dynamic linker .so is called) valgrind: that exports the above-named function using the standard
valgrind: calling conventions for this platform. The package you need valgrind: to install for fix (1) is called
valgrind:
valgrind: On Debian, Ubuntu: libc6-dbg
valgrind: On SuSE, openSuSE, Fedora, RHEL: glibc-debuginfo
valgrind:
valgrind: Note that if you are debugging a 32 bit process on a
valgrind: 64 bit system, you will need a corresponding 32 bit debuginfo valgrind: package (e.g. libc6-dbg:i386).
valgrind:
valgrind: Cannot continue -- exiting now. Sorry.
I'm not exactly sure what the above says/means. Are there gentoo packages
I can install to get better info?
I'll keep at this and see what I can find. Any ideas/thoughts/help would
be welcome. :)
On Tue, 13 Dec 2022 15:32:38 +0200
Artur Tamm <artur.tamm.85@gmail.com> wrote:
did you try to compile quakespasm yourself?
Yes, I emerged 0.94.1 and also the git version (0.95.1) using the quakespasm-9999.ebuild. Both of those are from the gentoo guru repository.
I also built 0.95.1 myself from the tarball at the quakespasm sourceforge site but none of those will run for me here. I'm not sure why.
I can test out quakespasm in the evening (for me) as I need to extract the pak file to test it (as it exitied while trying to load it).
did you try to compile quakespasm yourself?
On Tue, 13 Dec 2022 12:28:18 +0000
Artur Tamm <artur.tamm.85@gmail.com> wrote:
I can test out quakespasm in the evening (for me) as I need to extractthe
pak file to test it (as it exitied while trying to load it).
I just built ironwail (https://github.com/andrei-drexler/ironwail) and
that runs fine here. Ironwail is a quakespasm fork, fairly recent I think.
Still, I like to get to the bottom of my issues with quakespasm and darkplaces if I can.
sourceforge tarball was a prebuilt binary (at least the one I downloaded).
I saw that the source code is here: https://github.com/sezero/quakespasm/tree/master/Quake
The default Makefile might need some editing for a successful compilation.
On Tue, 13 Dec 2022 13:49:54 +0000
Artur Tamm <artur.tamm.85@gmail.com> wrote:
sourceforge tarball was a prebuilt binary (at least the one Idownloaded).
The source is there too in a different directory.
I saw that the source code is here: https://github.com/sezero/quakespasm/tree/master/Quakecompilation.
The default Makefile might need some editing for a successful
I just grabbed the linux-64 archive from sourceforge. I have never run the prebuilt binaries before but I tried it just to see what would happen. The quakespasm-sdl2 segfaulted the same as my own build but the quakespasm (sdl
I suppose?) does run here.
So that is something! I can run their sdl quakespasm but not my own built here.
That is better than nothing but I'd still like to hear about your
experience. I'd be happy if I could build and run my own if I can figure
out what the issue is.
</div><div>ldd quakespasm_compiled <br> linux-vdso.so.1 (0x00007ffe3bd52000)<br> libm.so.6 => /lib64/libm.so.6 (0x00007f2cd37c0000)<br> libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f2cd373a000)<br> libvorbisfile.so.3 => /usr/lib64/libvorbisfile.so.3 (0x00007f2cd3730000)<br> libvorbis.so.0 => /usr/lib64/libvorbis.so.0 (0x00007f2cd3702000)<br> libogg.so.0 => /usr/lib64/libogg.so.0 (0x00007f2cd36f7000)<br> libmad.so.0 => /usr/lib64/libmad.so.0 (0x00007f2cd36d4000)<br> libSDL-
libGLX.so.0 => /usr/lib64/libGLX.so.0 (0x00007f2cd337f000)<br> libasound.so.2 => /usr/lib64/libasound.so.2 (0x00007f2cd328f000)<br> libdl.so.2 => /lib64/libdl.so.2 (0x00007f2cd328a000)<br> libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2cd3283000)<br> libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f2cd313f000)<br> libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f2cd3115000)<br> libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f2cd3110000)<br> libXdmcp.so.6 => /usr/lib64/
Hi,
I finally had the time to test quakespasm. I tried both the binary from the project as well as the version compiled by me from the project page on github. After copying the binary into quake folder (GoG version) and making symlinks to pak0.pak and pak1.pak (filesystem is case sensitive and the software cannot handle it). It worked fine.
Here is the ldd output (don't know if it helps)
On Thu, 15 Dec 2022 19:06:07 +0000
Laurence Perkins <lperkins@openeye.net> wrote:
Note that some programs will dynamically load libraries at runtime, inaddition to being linked against them at build time. These don’t necessarily show up in ldd. (Qt is horrible about this) Enabling core dumps or running under a debugger might shed some light on what’s going on. If that doesn’t work easily then check the project documentation to see if they have a special debugging workflow. Some game engines require a very specific debugging setup for the output to make any sense.
One thing I notice that is different about Artur's setup and mine is that pulseaudio doesn't show up in his ldd output.
I am just configuring a desktop without pulseaudio and see if that works
any better. I think pulseaudio is worthwhile but I'll try without it and
see how it goes.
Note that some programs will dynamically load libraries at runtime, in addition to being linked against them at build time. These don’t necessarily show up in ldd. (Qt is horrible about this) Enabling core dumps or running under a debugger mightshed some light on what’s going on. If that doesn’t work easily then check the project documentation to see if they have a special debugging workflow. Some game engines require a very specific debugging setup for the output to make any sense.
Thank u
On Fri, 16 Dec 2022 20:20:01 -0500
David Rosenbaum <rosenbaumd181@gmail.com> wrote:
Thank u
No problem.. :)
I have the same results without pulseaudio. Both quakespasm and darkplaces segfault on startup but ironwail runs ok.
I'm going to mess around here for a day or two without pulseaudio then put
it back and put gdb to work and see if I can get a better idea of what the problem is. The solution will probably be easy if I can figure out what the issue is.
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 16 Dec 2022 20:20:01 -0500<br>David Rosenbaum <<a href="mailto:rosenbaumd181@gmail.com" target="_blank" rel="noreferrer">rosenbaumd181@gmail.com</a>> wrote:<br>
I try to have a systemd and pulseaudio free setup ("religious" reasons).
When I need pulse I use apulse and otherwise everything else is compiled
with alsa flag.
I wonder if the issue is related to graphics drivers/libraries instead.
D remember having segfaults with some other
linux ports whirh were caused by a missing library which did not show up (I do not remember the name but something with ?t3c?) but I think it is now in mesa. .If you figure out what opengl features are being used we could
compare glxinfo outputs.
So, I tested quakespasm on an ryzen 7 apu (2700u) with vega gpu (thinkpad e485). I am using mesa drivers and a linux 6.0.8 kernel.
Hello list,
I am a gentoo newbie. I have installed gentoo about a month ago and have
been busy since in my free time getting it up and running.
I have a problem with quakespasm, it segfaults on startup.. this is what I get..
alan@irondust:/usr/share/games/quake$ quakespasm
Command line: quakespasm
Found SDL version 2.24.2
Detected 2 CPUs.
Initializing QuakeSpasm v0.95.1
Host_Init
Playing registered version.
Console initialized.
UDP Initialized
Server using protocol 666 (FitzQuake)
Exe: 20:46:02 Dec 12 2022
256.0 megabyte heap
Video mode 1920x1080x24 60Hz (24-bit z-buffer, 0x FSAA) initialized GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce GT 610/PCIe/SSE2
GL_VERSION: 4.6.0 NVIDIA 390.157
FOUND: ARB_vertex_buffer_object
FOUND: ARB_multitexture
GL_MAX_TEXTURE_UNITS: 4
FOUND: ARB_texture_env_combine
FOUND: ARB_texture_env_add
FOUND: SDL_GL_SetSwapInterval
FOUND: EXT_texture_filter_anisotropic
FOUND: ARB_texture_non_power_of_two
FOUND: GLSL
FOUND: glGenerateMipmap
Sound Initialization
Segmentation fault
alan@irondust:/usr/share/games/quake$
I get the above with version 0.95.1 (installed from guru using the git version) and from 0.94.1 also from guru.
I am not sure why it segfaults or what I can do about that. I have built
it with sdl and sdl2 and I get the same result.
I have run quakespasm on other distributions like debian, archlinux and slackware without issues so there may be something different about gentoo that I need to know about.
Any thoughts or ideas about how to get this working would be appreciated.
Dave
On Tue, Dec 13, 2022, 12:18 AM Alan Ianson <agianson@gmail.com> wrote:
Hello list,
I am a gentoo newbie. I have installed gentoo about a month ago and have
been busy since in my free time getting it up and running.
I have a problem with quakespasm, it segfaults on startup.. this is what
I get..
alan@irondust:/usr/share/games/quake$ quakespasm
Command line: quakespasm
Found SDL version 2.24.2
Detected 2 CPUs.
Initializing QuakeSpasm v0.95.1
Host_Init
Playing registered version.
Console initialized.
UDP Initialized
Server using protocol 666 (FitzQuake)
Exe: 20:46:02 Dec 12 2022
256.0 megabyte heap
Video mode 1920x1080x24 60Hz (24-bit z-buffer, 0x FSAA) initialized
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce GT 610/PCIe/SSE2
GL_VERSION: 4.6.0 NVIDIA 390.157
FOUND: ARB_vertex_buffer_object
FOUND: ARB_multitexture
GL_MAX_TEXTURE_UNITS: 4
FOUND: ARB_texture_env_combine
FOUND: ARB_texture_env_add
FOUND: SDL_GL_SetSwapInterval
FOUND: EXT_texture_filter_anisotropic
FOUND: ARB_texture_non_power_of_two
FOUND: GLSL
FOUND: glGenerateMipmap
Sound Initialization
Segmentation fault
alan@irondust:/usr/share/games/quake$
I get the above with version 0.95.1 (installed from guru using the git
version) and from 0.94.1 also from guru.
I am not sure why it segfaults or what I can do about that. I have built
it with sdl and sdl2 and I get the same result.
I have run quakespasm on other distributions like debian, archlinux and
slackware without issues so there may be something different about gentoo
that I need to know about.
Any thoughts or ideas about how to get this working would be appreciated.
execing default.cfg<br>execing config.cfg<br>execing autoexec.cfg<br>3 demo(s) in loop<br>Playing demo from demo1.dem.<br><br><br><br>the Necropolis<br>Using protocol 15<br>Couldn't find a cdrip for track 2<br>You got the shells<br>Couldn'twrite config.cfg.<br>Shutting down SDL sound</div><div>===<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 17 Dec 2022 at 16:54, David Rosenbaum <<a href="mailto:rosenbaumd181@gmail.com">rosenbaumd181@gmail.com</a>
Here is my output (start the game and exit from menu right away). It seems yours is failing at the audio initialisation stage. Could you try to
Dave
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 307 |
Nodes: | 16 (2 / 14) |
Uptime: | 67:08:33 |
Calls: | 6,915 |
Files: | 12,379 |
Messages: | 5,431,769 |