From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 83E92158020 for ; Sat, 17 Dec 2022 19:53:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74391E092C; Sat, 17 Dec 2022 19:53:29 +0000 (UTC) Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 269DDE08C8 for ; Sat, 17 Dec 2022 19:53:29 +0000 (UTC) Received: by mail-pj1-x102f.google.com with SMTP id o1-20020a17090a678100b00219cf69e5f0so9322763pjj.2 for ; Sat, 17 Dec 2022 11:53:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:to:from:date:from:to:cc:subject:date:message-id :reply-to; bh=mQGQcIOZ7XGiURjukixHkZMCxGuwVEcF9H1jwZjjHMo=; b=HLBScpPo0mV8QYGSNC1x7gNOa2vu1fbGMyRs/hijl6oDfQxDLDfjavN9HxFzJ/kaYe oO5a9XWLvulXC/r+dHVHeWsEjEai7eVJqUJQCzBTYKiVLVutsF+ttP3tHRkQCDzx0ihV 6pjSewVrxqeOuoVxIABVb2Ub5zA8DIF++LOrXMEhZ3TzIOqdiHV3Ykk5EyZYnlBHR46g Qs9B7IN6kj0g5JJme5kCqseZo38oUpq8ByVHhLhUeHODEouccpY/3SDY5sy8LnhBgmcL iY0f/YRCgAy8RRgqhLz4jVWg2khBbygNR1slyM4fv8CJBc9lexcXjFTf4NZxIP7dmVtP g84A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mQGQcIOZ7XGiURjukixHkZMCxGuwVEcF9H1jwZjjHMo=; b=d0iTTlMyoY13i2VO9+POI3yNv/X003FYV/VN5qljB3UaDO74i0Qc6j/3pbho/nuGlW UfW64RGzLwHt4tpCkODthTlG+sfYBEepQzG3TsKpqd6RXjrpTMECJLzY3CPX29UbnLZW evUi5XjYfiHMyimQ+UzA37MSwnxISQUUheso09qSSt8ni7ClxDihKAD0SJjgXk/wU//P iO3771au1w9/kCY+IbuU/ONiqXzJWhh8/G7JP05RNJCkl2XHm5FTa5AjbPq07haM2G4J JS9JzpKmgDc/KyOXgqvVAFARLiR5jDYgK1Fmed7EGtGpb8YCMKGxJIBHyeXv6HcU4RP+ 1flg== X-Gm-Message-State: AFqh2krPUw+Q161EvsDq2HDs/QLYxNfZW+6k1HtQf2WhauTYGdDW/V+I 20WcXgw2Qd6X4zfcEocOSo4lnGDruBI= X-Google-Smtp-Source: AMrXdXtkiqvt12xgWEnpH2+TTqkmNm+JGbv77zg3BFTGEbnXJjX+JfrbW1QYQ92tSg7hSqtByg+3Kg== X-Received: by 2002:a17:902:d4c6:b0:191:a19:e768 with SMTP id o6-20020a170902d4c600b001910a19e768mr5737762plg.48.1671306807747; Sat, 17 Dec 2022 11:53:27 -0800 (PST) Received: from irondust.home ([104.246.155.40]) by smtp.gmail.com with ESMTPSA id a3-20020a170902710300b0016d773aae60sm3912845pll.19.2022.12.17.11.53.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Dec 2022 11:53:27 -0800 (PST) Date: Sat, 17 Dec 2022 11:53:26 -0800 From: Alan Ianson To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Gaming on gentoo Message-Id: <20221217115326.7866b81c19152c7e3eb53895@gmail.com> In-Reply-To: References: <20221212211735.7b27d72cb9494f2c60cd5a79@gmail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: cf91a3d1-f4cf-47f9-98c9-486f77aa9ddc X-Archives-Hash: 3b2588506e9832a26f06477da52c8c54 On Sat, 17 Dec 2022 18:46:57 +0000 Artur Tamm wrote: > 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 I disabled all the audio options in the makefile like this.. # Enable/Disable user directories support DO_USERDIRS=1 ### Enable/Disable SDL2 USE_SDL2=0 ### Enable/Disable codecs for streaming music support USE_CODEC_WAVE=0 USE_CODEC_FLAC=0 USE_CODEC_MP3=0 USE_CODEC_VORBIS=0 USE_CODEC_OPUS=0 # either xmp or mikmod (or modplug) USE_CODEC_MIKMOD=0 USE_CODEC_XMP=0 USE_CODEC_MODPLUG=0 USE_CODEC_UMX=0 .. and this is what I get when I run that quakespasm.. alan@irondust:~/quakespasm-0.95.1/Quake$ ./quakespasm -basedir /usr/share/games/quake Command line: ./quakespasm -basedir /usr/share/games/quake Found SDL version 1.2.16 Detected 2 CPUs. Initializing QuakeSpasm v0.95.1 Host_Init Playing registered version. Console initialized. UDP Initialized Server using protocol 666 (FitzQuake) Exe: 11:25:38 Dec 17 2022 256.0 megabyte heap Video mode 1920x1080x32 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_SWAP_CONTROL FOUND: EXT_texture_filter_anisotropic FOUND: ARB_texture_non_power_of_two FOUND: GLSL FOUND: glGenerateMipmap Sound Initialization Segmentation fault This is what I get when I run the quakespasm supplied by the project at sourceforge. alan@irondust:/usr/share/games/quake$ ./quakespasm Command line: ./quakespasm Found SDL version 1.2.16 Detected 2 CPUs. Initializing QuakeSpasm v0.95.1 Host_Init Playing registered version. Console initialized. UDP Initialized Server using protocol 666 (FitzQuake) Exe: 20:50:09 Nov 4 2022 256.0 megabyte heap Video mode 1920x1080x32 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_SWAP_CONTROL FOUND: EXT_texture_filter_anisotropic FOUND: ARB_texture_non_power_of_two FOUND: GLSL FOUND: glGenerateMipmap Sound Initialization SDL audio spec : 44100 Hz, 512 samples, 2 channels SDL audio driver: pulse, 32768 bytes buffer Audio: 16 bit, stereo, 44100 Hz SDL detected 1 CD-ROM drive CDAudio initialized (SDL, using /dev/cdrom) CDAudio_Init: No CD in drive Language initialization Couldn't load 'localization/loc_english.txt' from '/mnt/slack15.0/usr/share/games/quake' ========= Quake Initialized ========= execing quake.rc execing default.cfg execing config.cfg couldn't exec autoexec.cfg 3 demo(s) in loop Playing demo from demo1.dem. the Necropolis Using protocol 15 You got the shells You got the Grenade Launcher Couldn't write config.cfg. Shutting down SDL sound 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. I'll post whatever I find out.