You are not logged in.
i have mate installed using alsa.
i have my default card setup in ~/.asoundrc
defaults.pcm.card 1
defaults.pcm.device 0
defaults.ctl.card 1This works fine with 'aplay /some/wav/file' and 'mplayer /some/audio/file' and with vlc but with bit trip runner i get no sound with this output:
sound: available devices:
: OpenAL Soft (default)
sound: requested device ALSA Default
sound: failed to access device ALSA Default, will try default device OpenAL SoftI also don't get sound with darkplaces, minecraft and banshee skips every song (i don't use it often so that could be something else)
These problems just all of a sudden started happening this morning after my laptop crashed.
Any help would be appreciated
Last edited by BennyBolton (2012-09-30 20:48:10)
HP DV6 + Arch + Openbox
Offline
Ok so i checked openal settings and the file /etc/openal/alsoft.conf didn't exist so i created it and added driver=alsa and that fixed the problem in bit trip runner, minecraft and some other games but darkplaces still isn't playing audio.
The output is:
Game is DarkPlaces-Quake using base gamedir id1
DarkPlaces-Quake Linux 00:09:47 Jun 28 2011 - release
Playing registered version.
Skeletal animation uses SSE code path
DPSOFTRAST available (SSE2 instructions detected)
Failed to init SDL joystick subsystem:
execing quake.rc
execing default.cfg
execing config.cfg
couldn't exec autoexec.cfg
Client using an automatically assigned port
Client opened a socket on address 0.0.0.0:0
Playing demo demo1.dem.
Linked against SDL version 1.2.14
Using SDL library version 1.2.15
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: AMD Radeon 6600M and 6700M Series
GL_VERSION: 4.2.11762 Compatibility Profile Context
vid.support.arb_multisample 1
vid.mode.samples 0
vid.support.gl20shaders 1
Video Mode: fullscreen 1366x768x32x0.00hz
S_Startup: initializing sound output format: 48000Hz, 16 bit, 2 channels...
Wanted audio Specification:
Channels : 2
Format : 0x8010
Frequency : 48000
Samples : 2048
Obtained audio specification:
Channels : 2
Format : 0x8010
Frequency : 48000
Samples : 1024
Sound format: 48000Hz, 2 channels, 16 bits per sample
CDAudio_Init: No CD in player.
Can't get initial CD volume
CD Audio Initializedmy config.cfg file:
bind TAB "+showscores"
bind ENTER "+jump"
bind ESCAPE "togglemenu"
bind SPACE "+jump"
bind + "sizeup"
bind , "+moveleft"
bind - "sizedown"
bind . "+moveright"
bind / "impulse 10"
bind 0 "impulse 0"
bind 1 "impulse 1"
bind 2 "impulse 2"
bind 3 "impulse 3"
bind 4 "impulse 4"
bind 5 "impulse 5"
bind 6 "impulse 6"
bind 7 "impulse 7"
bind 8 "impulse 8"
bind 9 "impulse 225"
bind = "sizeup"
bind BACKSLASH "+mlook"
bind BACKQUOTE "toggleconsole"
bind a "+moveleft"
bind c "+movedown"
bind d "+moveright"
bind s "+back"
bind t "messagemode"
bind w "+forward"
bind z "+lookdown"
bind TILDE "toggleconsole"
bind UPARROW "+forward"
bind DOWNARROW "+back"
bind LEFTARROW "+left"
bind RIGHTARROW "+right"
bind ALT "+strafe"
bind CTRL "+attack"
bind SHIFT "+speed"
bind F1 "help"
bind F2 "menu_save"
bind F3 "menu_load"
bind F4 "menu_options"
bind F5 "menu_multiplayer"
bind F6 "echo Quicksaving...; wait; save quick"
bind F9 "echo Quickloading...; wait; load quick"
bind F10 "quit"
bind F11 "zoom_in"
bind F12 "screenshot"
bind INS "+klook"
bind DEL "+lookdown"
bind PGDN "+lookup"
bind END "centerview"
bind PAUSE "pause"
bind MOUSE1 "+attack"
bind MOUSE2 "+forward"
bind MOUSE3 "+mlook"
bind MWHEELUP "impulse 10"
bind MWHEELDOWN "impulse 12"
"_cl_color" "52"
"_cl_name" "Benny"
"cl_beams_instantaimhack" "1"
"cl_beams_lightatend" "1"
"cl_particles_quality" "4"
"cl_stainmaps" "1"
"crosshair" "2"
"r_bloom" "1"
"r_bloom_blur" "2"
"r_bloom_resolution" "576"
"r_hdr_range" "6"
"r_lerplightstyles" "1"
"r_lerpsprites" "1"
"r_lightningbeam_qmbtexture" "1"
"r_shadow_gloss" "2"
"r_wateralpha" "0.600000"
"sensitivity" "5"
"showfps" "1"
"v_contrast" "1.500000"
"vid_height" "768"
"vid_width" "1366"Also i can control the volume with media buttons but i have no clue what the volume control in the notification bar is changing. Can i set both these to just change default alsa, i have scripts which change my default alsa device when i plug to TV.
HP DV6 + Arch + Openbox
Offline
OK so i got darkplaces working by exporting SDL_AUDIODRIVER=alsa
I have a couple more issues with sound but not relevant with the title, ill find solutions for those elsewhere
HP DV6 + Arch + Openbox
Offline