Toon posts:

[RH9] Tuxracer geen geluid.

Pagina: 1
Acties:

Verwijderd

Topicstarter
Het probleem is simpel, ik kan geen geluid krijgen onder tuxracer.
Ik heb SDL_mixer geinstalleerd.
Ook heb is ALSA geinstalleerd.(waardoor ik onder de Loki demos nu wel geluid heb, daarvoor niet)
In de config file staat geluid aan.
quote: /.../.tuxracer/options
Tux Racer 0.61 configuration file
#

# data_dir
#
# The location of the Tux Racer data files
#
set data_dir "/usr/share/tuxracer"

# fullscreen
#
# If true then the game will run in full-screen mode.
#
set fullscreen true

# x_resolution
#
# The horizontal size of the Tux Racer window
#
set x_resolution 1024

# y_resolution
#
# The vertical size of the Tux Racer window
#
set y_resolution 768

# bpp_mode
#
# Controls how many bits per pixel are used in the game.
# Valid values are:
#
# 0: Use current bpp setting of operating system
# 1: 16 bpp
# 2: 32 bpp
# Note that some cards (e.g., Voodoo1, Voodoo2, Voodoo3) only support
# 16 bits per pixel.
#
set bpp_mode 0

# capture_mouse
#
# If true, then the mouse will not be able to leave the
# Tux Racer window.
# If you lose keyboard focus while running Tux Racer, try setting
# this to true.
#
set capture_mouse false

# force_window_position
#
# If true, then the Tux Racer window will automatically be
# placed at (0,0)
#
set force_window_position false

# quit_key
#
# Key binding for quitting a race
#
set quit_key "q escape"

# turn_left_key
#
# Key binding for turning left
#
set turn_left_key "j left"

# turn_right_key
#
# Key binding for turning right
#
set turn_right_key "l right"

# trick_modifier_key
#
# Key binding for doing tricks
#
set trick_modifier_key "d"

# brake_key
#
# Key binding for braking
#
set brake_key "k space down"

# paddle_key
#
# Key binding for paddling (on the ground) and flapping (in the air)
#
set paddle_key "i up"

# jump_key
#
# Key binding for jumping
#
set jump_key "e"

# reset_key
#
# Key binding for resetting the player position
#
set reset_key "backspace"

# follow_view_key
#
# Key binding for the "Follow" camera mode
#
set follow_view_key "1"

# behind_view_key
#
# Key binding for the "Behind" camera mode
#
set behind_view_key "2"

# above_view_key
#
# Key binding for the "Above" camera mode
#
set above_view_key "3"

# view_mode
#
# Default view mode. Possible values are
#
# 0: Behind
# 1: Follow
# 2: Above
#
set view_mode 1

# screenshot_key
#
# Key binding for taking a screenshot
#
set screenshot_key "="

# pause_key
#
# Key binding for pausing the game
#
set pause_key "p"

# joystick_paddle_button
#
# Joystick button for paddling (numbering starts at 0).
# Set to -1 to disable.
#
set joystick_paddle_button 0

# joystick_brake_button
#
# Joystick button for braking (numbering starts at 0).
# Set to -1 to disable.
#
set joystick_brake_button 2

# joystick_jump_button
#
# Joystick button for jumping (numbering starts at 0)
#
set joystick_jump_button 3

# joystick_trick_button
#
# Joystick button for doing tricks (numbering starts at 0)
#
set joystick_trick_button 1

# joystick_continue_button
#
# Joystick button for moving past intro, paused, and
# game over screens (numbering starts at 0)
#
set joystick_continue_button 0

# joystick_x_axis
#
# Joystick axis to use for turning (numbering starts at 0)
#
set joystick_x_axis 0

# joystick_y_axis
#
# Joystick axis to use for paddling/braking (numbering starts at 0)
#
set joystick_y_axis 1

# no_audio
#
# If True, then audio in the game is completely disabled.
#
set no_audio false

# sound_enabled
#
# Use this to turn sound effects on and off.
#
set sound_enabled true

# music_enabled
#
# Use this to turn music on and off.
#
set music_enabled true

# sound_volume
#
# This controls the sound volume (valid range is 0-127).
#
set sound_volume 127

# music_volume
#
# This controls the music volume (valid range is 0-127).
#
set music_volume 64

# audio_freq_mode
#
# The controls the frequency of the audio. Valid values are:
#
# 0: 11025 Hz
# 1: 22050 Hz
# 2: 44100 Hz
#
set audio_freq_mode 1

# audio_format_mode
#
# This controls the number of bits per sample for the audio.
# Valid values are:
#
# 0: 8 bits
# 1: 16 bits
#
set audio_format_mode 0

# audio_stereo
#
# Audio will be played in stereo of true, and mono if false
#
set audio_stereo true

# audio_buffer_size
#
# [EXPERT] Controls the size of the audio buffer.
# Increase the buffer size if you experience choppy audio
# (at the cost of greater audio latency)
#
set audio_buffer_size 512

# display_fps
#
# Set this to true to display the current framerate in Hz.
#
set display_fps false

# course_detail_level
#
# [EXPERT] This controls how accurately the course terrain is
# rendered. A high value results in greater accuracy at the cost of
# performance, and vice versa. This value can be decreased and
# increased in 10% increments at runtime using the F9 and F10 keys.
# To better see the effect, activate wireframe mode using the F11
# key (this is a toggle).
#
set course_detail_level 75

# forward_clip_distance
#
# Controls how far ahead of the camera the course
# is rendered. Larger values mean that more of the course is
# rendered, resulting in slower performance. Decreasing this
# value is an effective way to improve framerates.
#
set forward_clip_distance 75

# backward_clip_distance
#
# [EXPERT] Some objects aren't yet clipped to the view frustum,
# so this value is used to control how far up the course these
# objects are drawn.
#
set backward_clip_distance 10

# tree_detail_distance
#
# [EXPERT] Controls the distance at which trees are drawn with
# two rectangles instead of one.
#
set tree_detail_distance 20

# terrain_blending
#
# Controls the blending of the terrain textures. Setting this
# to false will help improve performance.
#
set terrain_blending true

# perfect_terrain_blending
#
# [EXPERT] If true, then terrain triangles with three different
# terrain types at the vertices will be blended correctly
# (instead of using a faster but imperfect approximation).
#
set perfect_terrain_blending false

# terrain_envmap
#
# If true, then the ice will be drawn with an "environment map",
# which gives the ice a shiny appearance. Setting this to false
# will help improve performance.
#
set terrain_envmap true

# disable_fog
#
# If true, then fog will be turned off. Some Linux drivers for the
# ATI Rage128 seem to have a bug in their fog implementation which
# makes the screen nearly pure white when racing; if you experience
# this problem then set this variable to true.
#
set disable_fog false

# draw_tux_shadow
#
# Set this to true to display Tux's shadow. Note that this is a
# hack and is quite expensive in terms of framerate.
# [EXPERT] This looks better if your card has a stencil buffer;
# if compiling use the --enable-stencil-buffer configure option
# to enable the use of the stencil buffer
#
set draw_tux_shadow false

# tux_sphere_divisions
#
# [EXPERT] Higher values result in a more finely subdivided mesh
# for Tux, and vice versa. If you're experiencing low framerates,
# try lowering this value.
#
set tux_sphere_divisions 6

# tux_shadow_sphere_divisions
#
# [EXPERT] The level of subdivision of Tux's shadow.
#
set tux_shadow_sphere_divisions 3

# draw_particles
#
# Controls the drawing of snow particles that are kicked up as Tux
# turns and brakes. Setting this to false should help improve
# performance.
#
set draw_particles true

# track_marks
#
# If true, then the players will leave track marks in the snow.
#
set track_marks true

# ui_snow
#
# If true, then the ui screens will have falling snow.
#
set ui_snow true

# nice_fog
#
# [EXPERT] If true, then the GL_NICEST hint will be used when
# rendering fog. On some cards, setting this to false may improve
# performance.
#
set nice_fog true

# use_cva
#
# [EXPERT] If true, then compiled vertex arrays will be used when
# drawing the terrain. Whether or not this helps performance
# is driver- and card-dependent.
#
set use_cva true

# cva_hack
#
# Some card/driver combinations render the terrrain incorrectly
# when using compiled vertex arrays. This activates a hack
# to work around that problem.
#
set cva_hack true

# use_sphere_display_list
#
# [EXPERT] Mesa 3.1 sometimes renders Tux strangely when display
# lists are used. Setting this to false should solve the problem
# at the cost of a few Hz.
#
set use_sphere_display_list true

# do_intro_animation
#
# If false, then the introductory animation sequence will be skipped.
#
set do_intro_animation true

# mipmap_type
#
# [EXPERT] Allows you to control which type of texture
# interpolation/mipmapping is used when rendering textures. The
# values correspond to the following OpenGL settings:
#
# 0: GL_NEAREST
# 1: GL_LINEAR
# 2: GL_NEAREST_MIPMAP_NEAREST
# 3: GL_LINEAR_MIPMAP_NEAREST
# 4: GL_NEAREST_MIPMAP_LINEAR
# 5: GL_LINEAR_MIPMAP_LINEAR
#
# On some cards, you may be able to improve performance by
# decreasing this number, at the cost of lower image quality.
#
set mipmap_type 3

# ode_solver
#
# Selects the ODE (ordinary differential equation) solver.
# Possible values are:
#
# 0: Modified Euler (fastest but least accurate)
# 1: Runge-Kutta (2,3)
# 2: Runge-Kutta (4,5) (slowest but most accurate)
#
set ode_solver 1

# fov
#
# [EXPERT] Sets the camera field-of-view
#
set fov 60

# debug
#
# [EXPERT] Controls the Tux Racer debugging modes
#
set debug ""

# warning_level
#
# [EXPERT] Controls the Tux Racer warning messages
#
set warning_level 100

# write_diagnostic_log
#
# If true, then a file called diagnostic_log.txt will be generated
# which you should attach to any bug reports you make.
# To generate the file, set this variable to "true", and
# then run the game so that you reproduce the bug, if possible.
#
set write_diagnostic_log false

  • The Jester
  • Registratie: Januari 2000
  • Laatst online: 26-11-2024

The Jester

The fool escaped from paradise

Heb je onder andere applicaties wel geluid ??
Kijk ook even welke modules er geladen zijn (lsmod). Wellicht heb je ALSA nodig. If so: compile!
Anders kun je proberen om je sound-module even te unloaden (rmmod) en dat op te starten. Dat kan wel eens helpen.

Suck-6

As you grow up and leave the playground where you kissed your prince and found your frog...


Verwijderd

Topicstarter
Ik heb geluid onder ¨gewone¨ X applicaties, waaronder xmms. Ook heb ik geluid onder een aantal Loki demos. Ik had al gezegd dat ik ALSA heb.
quote: lsmod
[root@localhost root]# lsmod
Module Size Used by Tainted: P
euphrates2 38656 2
snd-pcm-oss 44932 0 (autoclean)
snd-mixer-oss 16376 0 (autoclean) [snd-pcm-oss]
snd-emu10k1 82036 0 (autoclean)
snd-util-mem 3096 0 (autoclean) [snd-emu10k1]
snd-rawmidi 18528 0 (autoclean) [snd-emu10k1]
snd-pcm 84544 0 (autoclean) [snd-pcm-oss snd-emu10k1]
snd-page-alloc 8372 0 (autoclean) [snd-emu10k1 snd-pcm]
snd-timer 19720 0 (autoclean) [snd-pcm]
snd-seq-device 6268 0 (autoclean) [snd-emu10k1 snd-rawmidi]
snd-ac97-codec 46472 0 (autoclean) [snd-emu10k1]
snd-hwdep 6976 0 (autoclean) [snd-emu10k1]
snd 44388 0 (autoclean) [snd-pcm-oss snd-mixer-oss snd-emu10k1 snd-util-mem snd-rawmidi snd-pcm snd-timer snd-seq-device snd-ac97-codec snd-hwdep]
soundcore 6276 6 (autoclean) [snd]
agpgart 46752 3 (autoclean)
nvidia 1672480 10 (autoclean)
parport_pc 18756 1 (autoclean)
lp 8868 0 (autoclean)
parport 36480 1 (autoclean) [parport_pc lp]
autofs 12948 0 (autoclean) (unused)
ipt_REJECT 3896 6 (autoclean)
iptable_filter 2380 1 (autoclean)
ip_tables 14648 2 [ipt_REJECT iptable_filter]
sg 35980 0 (autoclean)
sr_mod 17912 0 (autoclean)
ide-scsi 11984 0
scsi_mod 106200 3 [sg sr_mod ide-scsi]
ide-cd 35196 0
cdrom 33472 0 [sr_mod ide-cd]
nls_iso8859-1 3484 2 (autoclean)
ntfs 59008 2 (autoclean)
keybdev 2880 0 (unused)
mousedev 5428 1
hid 21700 0 (unused)
input 5792 0 [keybdev mousedev hid]
usb-uhci 25868 0 (unused)
usbcore 77696 1 [euphrates2 hid usb-uhci]
ext3 69984 2
jbd 51220 2 [ext3]

  • imdos
  • Registratie: Maart 2000
  • Laatst online: 04-05 14:00

imdos

I use FreeNAS and Ubuntu

Heb je het zelf gecompiled of een rpm gedownload :?
Wat geeft een
code:
1
ldd /plek/van/tuxracer

pvoutput. Waarom makkelijk doen, als het ook moeilijk kan! Every solution has a new problem


Verwijderd

Topicstarter
Tux racer rpm(stond op cd)
ALSA ook rpms(apt-get)

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[root@localhost root]# ldd /usr/bin/tuxracer
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4002b000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40034000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4004b000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x4012b000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40133000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40141000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40157000)
        libdl.so.2 => /lib/libdl.so.2 (0x401a9000)
        libtcl8.3.so => /usr/lib/libtcl8.3.so (0x401ad000)
        libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x40238000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x402b0000)
        libGL.so.1 => /usr/lib/tls/libGL.so.1 (0x402be000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0x40327000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x403a4000)
        libm.so.6 => /lib/tls/libm.so.6 (0x40457000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4047a000)
        libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libGLcore.so.1 => /usr/lib/tls/libGLcore.so.1 (0x40482000)