Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39977 - games-fps/quakeforge ebuild compiles
Summary: games-fps/quakeforge ebuild compiles
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-31 07:36 UTC by Tamran Lengyel
Modified: 2004-02-03 16:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tamran Lengyel 2004-01-31 07:36:18 UTC
Added 'amd64' to keywords in the ebuild file.  Emerge gave no errors and the nq-xxx programs all seem to run as expected, however I can't seem to get sound to work.

If it helps, here is the full command line output for starting:
$ nq-glx -width 1024 -height 768 -ipv6
Host_Init
Added packfile /usr/share/games/quake-data/id1/pak0.pak (339 files)
Added packfile /usr/share/games/quake-data/id1/pak1.pak (85 files)
Playing registered version.
UDP (IPv4) Initialized
16.0 megabyte heap
VID: VidMode version: 2.2
GL_VERSION: 1.4.0 NVIDIA 44.99
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce4 Ti 4800 SE/AGP/SSE2/3DNOW!
GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_imaging GL_ARB_multisample GL_ARB_mul
titexture GL_ARB_point_parameters GL_ARB_shadow GL_ARB_texture_border_clamp GL_A
RB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_tex
ture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_t
ranspose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_
pos GL_S3_s3tc GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL
_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_draw_range_elements GL_E
XT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_paletted_textu
re GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_s
eparate_specular_color GL_EXT_shadow_funcs GL_EXT_shared_texture_palette GL_EXT_
stencil_wrap GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cub
e_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combin
e GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod G
L_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_vertex_array GL_HP_occlusion
_test GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_
NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_fog_distance GL_NV_li
ght_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packe
d_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_register_combine
rs GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_v
tc GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_NV_texture_shader GL_NV
_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_arr
ay_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NVX_ycrcb GL_SGIS_gene
rate_mipmap GL_SGIS_multitexture GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SG
IX_shadow 
Checking for multitexture: enabled, 4 TMUs.
Checking for 8-bit extension: disabled.
Video mode 1024x768 initialized.
Particles: 4096 maximum vertex elements.
Sprites: 4 maximum vertex elements.
Text: 4096 maximum vertex elements.

Sound Initialization
Could not mmap /dev/dsp: Invalid argument
Could not mmap /dev/dsp: Input/output error
S_Startup: S_O_Init failed.
Not loading CD due to no driver
JOY: Joystick not found.

Version 0.5.4 (build 1502)

<==> QuakeForge initialized<==>
Quake -- Version 1.09
couldn't exec autoexec.cfg
3 demo(s) in loop
Playing demo from demo1.dem.



Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
The game runs, but without sound

Expected Results:  
The game should run with sound

Portage 2.0.49-r21 (default-amd64-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.1-gentoo)
=================================================================
System uname: 2.6.1-gentoo x86_64 5
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.mirrors.p
air.com/ ftp://gentoo.noved.org/ http://mirror.tucdemonic.org/gentoo/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa amd64 apache2 apm avi berkdb bonobo crypt cups encode foomatic
db gdbm gif gpm gtk gtk2 gtkhtml guile imlib ipv6 jpeg libg++ libwww mikmod mmx 
motif mozilla mpeg multilib mysql ncurses nls oggvorbis opengl oss pam pdflib pe
rl png python quicktime readline sdl slang spell sse ssl tcpd truetype usb xml2 
xmms xv zlib"
Comment 1 Tamran Lengyel 2004-01-31 19:36:48 UTC
OK, I got it to work.

Make sure alsa is compiled into your kernel and the appropriate modules are loaded.  Add the following line to your /etc/conf.d/local.start file:

echo "nq-glx 0 0 direct" > /proc/asound/card0/pcm0p/oss

or, for any of the other executables:

echo "EXECUTABLE 0 0 direct" > /proc/asound/card0/pcm0p/oss

Now sound works.  I guess this fixes it.
Comment 2 Tamran Lengyel 2004-02-03 15:37:25 UTC
please add to stable on AMD64 systems
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-02-03 16:26:36 UTC
Done.