Gentoo Archives: gentoo-user

From: Alan Ianson <agianson@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Gaming on gentoo
Date: Sat, 17 Dec 2022 19:53:34
Message-Id: 20221217115326.7866b81c19152c7e3eb53895@gmail.com
In Reply to: Re: [gentoo-user] Gaming on gentoo by Artur Tamm
1 On Sat, 17 Dec 2022 18:46:57 +0000
2 Artur Tamm <artur.tamm.85@×××××.com> wrote:
3
4 > Here is my output (start the game and exit from menu right away). It seems
5 > yours is failing at the audio initialisation stage. Could you try to
6
7 I disabled all the audio options in the makefile like this..
8
9 # Enable/Disable user directories support
10 DO_USERDIRS=1
11
12 ### Enable/Disable SDL2
13 USE_SDL2=0
14
15 ### Enable/Disable codecs for streaming music support
16 USE_CODEC_WAVE=0
17 USE_CODEC_FLAC=0
18 USE_CODEC_MP3=0
19 USE_CODEC_VORBIS=0
20 USE_CODEC_OPUS=0
21 # either xmp or mikmod (or modplug)
22 USE_CODEC_MIKMOD=0
23 USE_CODEC_XMP=0
24 USE_CODEC_MODPLUG=0
25 USE_CODEC_UMX=0
26
27 .. and this is what I get when I run that quakespasm..
28
29 alan@irondust:~/quakespasm-0.95.1/Quake$ ./quakespasm -basedir /usr/share/games/quake
30 Command line: ./quakespasm -basedir /usr/share/games/quake
31 Found SDL version 1.2.16
32 Detected 2 CPUs.
33 Initializing QuakeSpasm v0.95.1
34 Host_Init
35 Playing registered version.
36 Console initialized.
37 UDP Initialized
38 Server using protocol 666 (FitzQuake)
39 Exe: 11:25:38 Dec 17 2022
40 256.0 megabyte heap
41 Video mode 1920x1080x32 60Hz (24-bit z-buffer, 0x FSAA) initialized
42 GL_VENDOR: NVIDIA Corporation
43 GL_RENDERER: GeForce GT 610/PCIe/SSE2
44 GL_VERSION: 4.6.0 NVIDIA 390.157
45 FOUND: ARB_vertex_buffer_object
46 FOUND: ARB_multitexture
47 GL_MAX_TEXTURE_UNITS: 4
48 FOUND: ARB_texture_env_combine
49 FOUND: ARB_texture_env_add
50 FOUND: SDL_GL_SWAP_CONTROL
51 FOUND: EXT_texture_filter_anisotropic
52 FOUND: ARB_texture_non_power_of_two
53 FOUND: GLSL
54 FOUND: glGenerateMipmap
55
56 Sound Initialization
57 Segmentation fault
58
59 This is what I get when I run the quakespasm supplied by the project at sourceforge.
60
61 alan@irondust:/usr/share/games/quake$ ./quakespasm
62 Command line: ./quakespasm
63 Found SDL version 1.2.16
64 Detected 2 CPUs.
65 Initializing QuakeSpasm v0.95.1
66 Host_Init
67 Playing registered version.
68 Console initialized.
69 UDP Initialized
70 Server using protocol 666 (FitzQuake)
71 Exe: 20:50:09 Nov 4 2022
72 256.0 megabyte heap
73 Video mode 1920x1080x32 60Hz (24-bit z-buffer, 0x FSAA) initialized
74 GL_VENDOR: NVIDIA Corporation
75 GL_RENDERER: GeForce GT 610/PCIe/SSE2
76 GL_VERSION: 4.6.0 NVIDIA 390.157
77 FOUND: ARB_vertex_buffer_object
78 FOUND: ARB_multitexture
79 GL_MAX_TEXTURE_UNITS: 4
80 FOUND: ARB_texture_env_combine
81 FOUND: ARB_texture_env_add
82 FOUND: SDL_GL_SWAP_CONTROL
83 FOUND: EXT_texture_filter_anisotropic
84 FOUND: ARB_texture_non_power_of_two
85 FOUND: GLSL
86 FOUND: glGenerateMipmap
87
88 Sound Initialization
89 SDL audio spec : 44100 Hz, 512 samples, 2 channels
90 SDL audio driver: pulse, 32768 bytes buffer
91 Audio: 16 bit, stereo, 44100 Hz
92 SDL detected 1 CD-ROM drive
93 CDAudio initialized (SDL, using /dev/cdrom)
94 CDAudio_Init: No CD in drive
95
96 Language initialization
97 Couldn't load 'localization/loc_english.txt'
98 from '/mnt/slack15.0/usr/share/games/quake'
99
100 ========= Quake Initialized =========
101
102 execing quake.rc
103 execing default.cfg
104 execing config.cfg
105 couldn't exec autoexec.cfg
106 3 demo(s) in loop
107 Playing demo from demo1.dem.
108
109
110
111 the Necropolis
112 Using protocol 15
113 You got the shells
114 You got the Grenade Launcher
115 Couldn't write config.cfg.
116 Shutting down SDL sound
117
118 The above is the quakespasm executible from the project at sf.net running sdl, it seems to run fine. The quakespasm-sdl2 from sourceforge also segfaults at the same point as my own build. It is a mystery why that happens. I am going to get a debug version together soonish and run it through gdb and hopefully that will provide an answer. I haven't use gdb in a very long time so I need to read up on that and get back up to speed. The gentoo website has a page that explains that, so that'll help.
119
120 I'll post whatever I find out.