Summary: | Sound doesn't work using alsa and snd_intel8x0 with error message of "analog subsections not ready", unreliable DMA position | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jacob Martin <foontala> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED CANTFIX | ||
Severity: | major | CC: | foontala |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jacob Martin
2010-11-30 05:19:09 UTC
More information: optimator ~ # aplay -l **** List of PLAYBACK Hardware Devices **** card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: CK804 [NVidia CK804], device 2: Intel ICH - IEC958 [NVidia CK804 - IEC958] Subdevices: 1/1 Subdevice #0: subdevice #0 optimator ~ # aplay -L null Discard all samples (playback) or generate zero samples (capture) default:CARD=CK804 NVidia CK804, NVidia CK804 Default Audio Device front:CARD=CK804,DEV=0 NVidia CK804, NVidia CK804 Front speakers surround40:CARD=CK804,DEV=0 NVidia CK804, NVidia CK804 4.0 Surround output to Front and Rear speakers surround41:CARD=CK804,DEV=0 NVidia CK804, NVidia CK804 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=CK804,DEV=0 NVidia CK804, NVidia CK804 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=CK804,DEV=0 NVidia CK804, NVidia CK804 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=CK804,DEV=0 NVidia CK804, NVidia CK804 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=CK804,DEV=0 NVidia CK804, NVidia CK804 - IEC958 IEC958 (S/PDIF) Digital Audio Output optimator ~ # cat /proc/asound/ CK804/ card0/ cards devices modules oss/ pcm seq/ timers version optimator ~ # cat /proc/asound/cads cat: /proc/asound/cads: No such file or directory optimator ~ # cat /proc/asound/cards 0 [CK804 ]: NFORCE - NVidia CK804 NVidia CK804 with AD1981B at irq 22 optimator ~ # cat /proc/asound/devices 2: : timer 3: [ 0- 2]: digital audio playback 4: [ 0- 1]: digital audio capture 5: [ 0- 0]: digital audio playback 6: [ 0- 0]: digital audio capture 7: [ 0] : control 8: : sequencer optimator ~ # cat /proc/asound/modules 0 snd_intel8x0 optimator ~ # cat /proc/asound/oss/ devices sndstat optimator ~ # cat /proc/asound/oss/devices 0: [0- 0]: mixer 1: : sequencer 3: [0- 0]: digital audio 4: [0- 0]: digital audio 8: : sequencer 12: [0- 1]: digital audio optimator ~ # cat /proc/asound/CK804/ codec97#0/ id intel8x0 oss_mixer pcm0c/ pcm0p/ pcm1c/ pcm2p/ optimator ~ # cat /proc/asound/CK804/intel8x0 Intel8x0 Global control : 0x00000002 Global status : 0x00700100 AC'97 codecs ready : primary optimator ~ # cat /proc/asound/CK804/oss_mixer VOLUME "Master" 0 BASS "" 0 TREBLE "" 0 SYNTH "" 0 PCM "PCM" 0 SPEAKER "" 0 LINE "Line" 0 MIC "Mic" 0 CD "CD" 0 IMIX "" 0 ALTPCM "" 0 RECLEV "" 0 IGAIN "Capture" 0 OGAIN "" 0 LINE1 "Aux" 0 LINE2 "" 0 LINE3 "" 0 DIGITAL1 "IEC958" 0 DIGITAL2 "" 0 DIGITAL3 "" 0 PHONEIN "Phone" 0 PHONEOUT "Master Mono" 0 VIDEO "Video" 0 RADIO "" 0 MONITOR "" 0 optimator ~ # alsamixer optimator ~ # cat /proc/asound/card card0/ cards optimator ~ # cat /proc/asound/card0/ codec97#0/ id intel8x0 oss_mixer pcm0c/ pcm0p/ pcm1c/ pcm2p/ optimator ~ # cat /proc/asound/card0/oss_mixer VOLUME "Master" 0 BASS "" 0 TREBLE "" 0 SYNTH "" 0 PCM "PCM" 0 SPEAKER "" 0 LINE "Line" 0 MIC "Mic" 0 CD "CD" 0 IMIX "" 0 ALTPCM "" 0 RECLEV "" 0 IGAIN "Capture" 0 OGAIN "" 0 LINE1 "Aux" 0 LINE2 "" 0 LINE3 "" 0 DIGITAL1 "IEC958" 0 DIGITAL2 "" 0 DIGITAL3 "" 0 PHONEIN "Phone" 0 PHONEOUT "Master Mono" 0 VIDEO "Video" 0 RADIO "" 0 MONITOR "" 0 optimator ~ # cat /var/lib/alsa/asound.state state.CK804 { control.1 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Master Playback Switch' value.0 true value.1 true } control.2 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -4650 comment.dbmax 0 iface MIXER name 'Master Playback Volume' value.0 27 value.1 27 } control.5 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Master Mono Playback Switch' value true } control.6 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 31' comment.dbmin -4650 comment.dbmax 0 iface MIXER name 'Master Mono Playback Volume' value 27 } control.7 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Phone Playback Switch' value false } control.8 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 31' comment.dbmin -3450 comment.dbmax 1200 iface MIXER name 'Phone Playback Volume' value 0 } control.9 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Mic Playback Switch' value false } control.10 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 31' comment.dbmin -3450 comment.dbmax 1200 iface MIXER name 'Mic Playback Volume' value 0 } control.11 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Mic Boost (+20dB)' value false } control.12 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Line Playback Switch' value.0 false value.1 false } control.13 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -3450 comment.dbmax 1200 iface MIXER name 'Line Playback Volume' value.0 0 value.1 0 } control.14 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'CD Playback Switch' value.0 false value.1 false } control.15 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -3450 comment.dbmax 1200 iface MIXER name 'CD Playback Volume' value.0 0 value.1 0 } control.16 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Aux Playback Switch' value.0 false value.1 false } control.17 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -3450 comment.dbmax 1200 iface MIXER name 'Aux Playback Volume' value.0 0 value.1 0 } control.18 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'PCM Playback Switch' value.0 true value.1 true } control.19 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -3450 comment.dbmax 1200 iface MIXER name 'PCM Playback Volume' value.0 27 value.1 27 } control.20 { comment.access 'read write' comment.type ENUMERATED comment.count 2 comment.item.0 Mic comment.item.1 CD comment.item.2 Video comment.item.3 Aux comment.item.4 Line comment.item.5 Mix comment.item.6 'Mix Mono' comment.item.7 Phone iface MIXER name 'Capture Source' value.0 Mic value.1 Mic } control.21 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Capture Switch' value.0 true value.1 true } control.22 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 15' comment.dbmin 0 comment.dbmax 2250 iface MIXER name 'Capture Volume' value.0 0 value.1 0 } control.23 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 Mix comment.item.1 Mic iface MIXER name 'Mono Output Select' value Mix } control.24 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 Mic1 comment.item.1 Mic2 iface MIXER name 'Mic Select' value Mic1 } control.25 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Con Mask' value '0fff000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.26 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Pro Mask' value cf00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 } control.27 { comment.access 'read write' comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Default' value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.28 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 Playback Switch' value false } control.29 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 3' iface MIXER name 'IEC958 Playback AC97-SPSA' value 1 } control.30 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 AC-Link comment.item.1 'A/D Converter' iface MIXER name 'IEC958 Playback Source' value 'A/D Converter' } control.31 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Stereo Mic' value false } control.32 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Headphone Jack Sense' value false } control.33 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Line Jack Sense' value false } control.34 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'External Amplifier' value false } } Not sure what's up with the zero values for volumes in /proc/asound/card0/oss_mixer, because when I go into alsamixer, I have unmuted and raised volumes for Master, Master Mono, PCM, and muted Line jack sense, headphones, stereo mic, and External Amplifier. I don't think it is a volume issue because when I try to play any file, the system just locks up and won't play the file. (need hard ^C's to get out of madplay, mplayer, etc). I've also tried mplayer with -ao alsa, and -ao oss. Both with the same result. More information about modules: optimator Classical $ lsmod |grep snd snd_intel8x0 24034 3 snd_ac97_codec 99435 1 snd_intel8x0 ac97_bus 1078 1 snd_ac97_codec snd_seq_oss 22940 0 snd_seq_midi_event 4684 1 snd_seq_oss snd_seq 40701 4 snd_seq_oss,snd_seq_midi_event snd_seq_device 4533 2 snd_seq_oss,snd_seq snd_pcm_oss 31651 0 snd_mixer_oss 12315 1 snd_pcm_oss snd_pcm 60739 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss snd_timer 15653 2 snd_seq,snd_pcm snd 44706 15 snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer soundcore 4607 1 snd snd_page_alloc 6001 2 snd_intel8x0,snd_pcm Last but not least, here's the alsa.conf. Thanks for any help! optimator ~ # cat /etc/modprobe.d/alsa.conf # Alsa kernel modules' configuration file. # ALSA portion # OSS/Free portion ## ## IMPORTANT: ## You need to customise this section for your specific sound card(s) ## and then run `update-modules' command. ## Read alsa-driver's INSTALL file in /usr/share/doc for more info. ## ## ALSA portion ## alias snd-card-0 snd-interwave ## alias snd-card-1 snd-ens1371 ## OSS/Free portion ## alias sound-slot-0 snd-card-0 ## alias sound-slot-1 snd-card-1 ## # OSS/Free portion - card #1 ## OSS/Free portion - card #2 ## alias sound-service-1-0 snd-mixer-oss ## alias sound-service-1-3 snd-pcm-oss ## alias sound-service-1-12 snd-pcm-oss alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss # Set this to the correct number of cards. # --- BEGIN: Generated by ALSACONF, do not edit. --- # --- ALSACONF version 1.0.23 --- alias snd-card-0 snd-intel8x0 alias sound-slot-0 snd-intel8x0 # --- END: Generated by ALSACONF, do not edit. --- Here is the verbose output while trying to use mplayer to play an mp3 as root: It just hangs on the last line... optimator Classical # mplayer -v Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3 MPlayer SVN-r29796-4.4.4 (C) 2000-2009 MPlayer Team CPU vendor name: AuthenticAMD max cpuid level: 1 CPU: Dual Core AMD Opteron(tm) Processor 275 (Family: 15, Model: 33, Stepping: 2) extended cpuid-level: 24 extended cache-info: 67141952 Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0 Compiled with runtime CPU detection. get_path('codecs.conf') -> '/root/.mplayer/codecs.conf' Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory Using built-in default codecs.conf. Configuration: --cc=x86_64-pc-linux-gnu-gcc --host-cc=x86_64-pc-linux-gnu-gcc --prefix=/usr --confdir=/etc/mplayer --datadir=/usr/share/mplayer --libdir=/usr/lib64 --enable-network --disable-arts --disable-fribidi --enable-bl --disable-ftp --disable-lirc --disable-lircc --disable-apple-ir --disable-libnut --disable-svga --disable-svgalib_helper --disable-joystick --disable-cdparanoia --charset=UTF-8 --disable-tv-bsdbt848 --disable-ivtv --disable-pvr --disable-tv-v4l2 --disable-tv-teletext --disable-radio-v4l2 --disable-radio-bsdbt848 --disable-liba52 --disable-musepack --disable-libopencore_amrnb --disable-libopencore_amrwb --xanimcodecsdir=/usr/lib/xanim/mods --disable-libbs2b --disable-pnm --disable-tga --realcodecsdir=/usr/lib64/codecs --disable-md5sum --disable-aa --disable-fbdev --disable-caca --disable-zr --disable-gui --disable-dga1 --disable-dga2 --disable-dxr3 --disable-ggi --enable-menu --disable-vdpau --disable-vidix --disable-vidix-pcidb --disable-xvmc --disable-3dfx --disable-tdfxvid --disable-tdfxfb --disable-esd --disable-jack --disable-openal --disable-pulse --enable-runtime-cpudetection CommandLine: '-v' 'Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3' init_freetype Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay get_path('fonts') -> '/root/.mplayer/fonts' Using nanosleep() timing get_path('input.conf') -> '/root/.mplayer/input.conf' Can't open input config file /root/.mplayer/input.conf: No such file or directory Parsing input config file /etc/mplayer/input.conf Input config file /etc/mplayer/input.conf parsed: 90 binds get_path('Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3.conf') -> '/root/.mplayer/Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3.conf' Playing Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3. get_path('sub/') -> '/root/.mplayer/sub/' [file] File size is 61384619 bytes STREAM: [file] Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3 STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) LAVF_check: MPEG audio layer 2/3 Checking for YUV4MPEG2 ASF_check: not ASF guid! Checking for REAL Checking for SMJPEG Searching demuxer type for filename Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3 ext: .mp3 Trying demuxer 17 based on filename extension ==> Found audio stream: 0 demux_audio: seeking from 0x3A8A72E to start pos 0x0 demux_audio: audio data 0x0 - 0x3A8A7AB Audio only file format detected. get_path('sub/') -> '/root/.mplayer/sub/' ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer. mp3lib: using SSE optimized decore! MP3lib: init layer2&3 finished, tables done MPEG 1.0, Layer III, 44100 Hz 320 kbit Joint-Stereo, BPF: 1044 Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0 AUDIO: 44100 Hz, 2 ch, s16le, 320.0 kbit/22.68% (ratio: 40000->176400) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??... [libaf] Adding filter dummy [dummy] Was reinitialized: 44100Hz/2ch/s16le [dummy] Was reinitialized: 44100Hz/2ch/s16le Trying every known audio driver... ao2: 44100 Hz 2 chans s16le audio_setup: using '/dev/dsp' dsp device audio_setup: using '/dev/mixer' mixer device audio_setup: using 'pcm' mixer device [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy alsa-init: requested format: 44100 Hz, 2 channels, 9 alsa-init: using ALSA 1.0.23 alsa-init: setup for 1/2 channel(s) alsa-init: using device default alsa-init: pcm opened in blocking mode alsa-init: got buffersize=65536 alsa-init: got period size 1024 alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) AO: Description: ALSA-0.9.x-1.x audio output AO: Author: Alex Beregszaszi, Zsolt Barat <joy@streamminister.de> AO: Comment: under developement Building audio filter chain for 44100Hz/2ch/s16le -> 48000Hz/2ch/s16le... [dummy] Was reinitialized: 44100Hz/2ch/s16le [libaf] Adding filter lavcresample [dummy] Was reinitialized: 48000Hz/2ch/s16le [dummy] Was reinitialized: 48000Hz/2ch/s16le Video: no video Freeing 0 unused video chunks. Starting playback... [libaf] Reallocating memory in module lavcresample, old len = 0, new len = 67714 Increasing filtered audio buffer size from 0 to 67672 A: 0.0 (00.0) of 1534.0 (25:34.0) ??,?% Sorry for all the background data, Comment #4 had a spurious error because chromium was hogging the sound card (must be some OSS/ALSA multi sound thread problem?). Here's the new output with no resource contention: optimator Classical # mplayer -v Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3 MPlayer SVN-r29796-4.4.4 (C) 2000-2009 MPlayer Team CPU vendor name: AuthenticAMD max cpuid level: 1 CPU: Dual Core AMD Opteron(tm) Processor 275 (Family: 15, Model: 33, Stepping: 2) extended cpuid-level: 24 extended cache-info: 67141952 Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0 Compiled with runtime CPU detection. get_path('codecs.conf') -> '/root/.mplayer/codecs.conf' Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory Using built-in default codecs.conf. Configuration: --cc=x86_64-pc-linux-gnu-gcc --host-cc=x86_64-pc-linux-gnu-gcc --prefix=/usr --confdir=/etc/mplayer --datadir=/usr/share/mplayer --libdir=/usr/lib64 --enable-network --disable-arts --disable-fribidi --enable-bl --disable-ftp --disable-lirc --disable-lircc --disable-apple-ir --disable-libnut --disable-svga --disable-svgalib_helper --disable-joystick --disable-cdparanoia --charset=UTF-8 --disable-tv-bsdbt848 --disable-ivtv --disable-pvr --disable-tv-v4l2 --disable-tv-teletext --disable-radio-v4l2 --disable-radio-bsdbt848 --disable-liba52 --disable-musepack --disable-libopencore_amrnb --disable-libopencore_amrwb --xanimcodecsdir=/usr/lib/xanim/mods --disable-libbs2b --disable-pnm --disable-tga --realcodecsdir=/usr/lib64/codecs --disable-md5sum --disable-aa --disable-fbdev --disable-caca --disable-zr --disable-gui --disable-dga1 --disable-dga2 --disable-dxr3 --disable-ggi --enable-menu --disable-vdpau --disable-vidix --disable-vidix-pcidb --disable-xvmc --disable-3dfx --disable-tdfxvid --disable-tdfxfb --disable-esd --disable-jack --disable-openal --disable-pulse --enable-runtime-cpudetection CommandLine: '-v' 'Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3' init_freetype Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay get_path('fonts') -> '/root/.mplayer/fonts' Using nanosleep() timing get_path('input.conf') -> '/root/.mplayer/input.conf' Can't open input config file /root/.mplayer/input.conf: No such file or directory Parsing input config file /etc/mplayer/input.conf Input config file /etc/mplayer/input.conf parsed: 90 binds get_path('Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3.conf') -> '/root/.mplayer/Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3.conf' Playing Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3. get_path('sub/') -> '/root/.mplayer/sub/' [file] File size is 61384619 bytes STREAM: [file] Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3 STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) LAVF_check: MPEG audio layer 2/3 Checking for YUV4MPEG2 ASF_check: not ASF guid! Checking for REAL Checking for SMJPEG Searching demuxer type for filename Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3 ext: .mp3 Trying demuxer 17 based on filename extension ==> Found audio stream: 0 demux_audio: seeking from 0x3A8A72E to start pos 0x0 demux_audio: audio data 0x0 - 0x3A8A7AB Audio only file format detected. get_path('sub/') -> '/root/.mplayer/sub/' ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer. mp3lib: using SSE optimized decore! MP3lib: init layer2&3 finished, tables done MPEG 1.0, Layer III, 44100 Hz 320 kbit Joint-Stereo, BPF: 1044 Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0 AUDIO: 44100 Hz, 2 ch, s16le, 320.0 kbit/22.68% (ratio: 40000->176400) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??... [libaf] Adding filter dummy [dummy] Was reinitialized: 44100Hz/2ch/s16le [dummy] Was reinitialized: 44100Hz/2ch/s16le Trying every known audio driver... ao2: 44100 Hz 2 chans s16le audio_setup: using '/dev/dsp' dsp device audio_setup: using '/dev/mixer' mixer device audio_setup: using 'pcm' mixer device audio_setup: sample format: s16le (requested: s16le) audio_setup: using 2 channels (requested: 2) audio_setup: using 44100 Hz samplerate (requested: 44100) audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536 AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) AO: Description: OSS/ioctl audio output AO: Author: A'rpi Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le... [dummy] Was reinitialized: 44100Hz/2ch/s16le [dummy] Was reinitialized: 44100Hz/2ch/s16le Video: no video Freeing 0 unused video chunks. Starting playback... Increasing filtered audio buffer size from 0 to 65536 A: 0.0 (00.0) of 1534.0 (25:34.0) ??,?% MPlayer interrupted by signal 2 in module: play_audio MPlayer interrupted by signal 2 in module: play_audio ^C^C^C^C^Coptimator Classical # Same effect when using "mplayer -ao alsa -v..." optimator Classical # mplayer -ao alsa -v Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3 MPlayer SVN-r29796-4.4.4 (C) 2000-2009 MPlayer Team CPU vendor name: AuthenticAMD max cpuid level: 1 CPU: Dual Core AMD Opteron(tm) Processor 275 (Family: 15, Model: 33, Stepping: 2) extended cpuid-level: 24 extended cache-info: 67141952 Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0 Compiled with runtime CPU detection. get_path('codecs.conf') -> '/root/.mplayer/codecs.conf' Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory Using built-in default codecs.conf. Configuration: --cc=x86_64-pc-linux-gnu-gcc --host-cc=x86_64-pc-linux-gnu-gcc --prefix=/usr --confdir=/etc/mplayer --datadir=/usr/share/mplayer --libdir=/usr/lib64 --enable-network --disable-arts --disable-fribidi --enable-bl --disable-ftp --disable-lirc --disable-lircc --disable-apple-ir --disable-libnut --disable-svga --disable-svgalib_helper --disable-joystick --disable-cdparanoia --charset=UTF-8 --disable-tv-bsdbt848 --disable-ivtv --disable-pvr --disable-tv-v4l2 --disable-tv-teletext --disable-radio-v4l2 --disable-radio-bsdbt848 --disable-liba52 --disable-musepack --disable-libopencore_amrnb --disable-libopencore_amrwb --xanimcodecsdir=/usr/lib/xanim/mods --disable-libbs2b --disable-pnm --disable-tga --realcodecsdir=/usr/lib64/codecs --disable-md5sum --disable-aa --disable-fbdev --disable-caca --disable-zr --disable-gui --disable-dga1 --disable-dga2 --disable-dxr3 --disable-ggi --enable-menu --disable-vdpau --disable-vidix --disable-vidix-pcidb --disable-xvmc --disable-3dfx --disable-tdfxvid --disable-tdfxfb --disable-esd --disable-jack --disable-openal --disable-pulse --enable-runtime-cpudetection CommandLine: '-ao' 'alsa' '-v' 'Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3' init_freetype Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay get_path('fonts') -> '/root/.mplayer/fonts' Using nanosleep() timing get_path('input.conf') -> '/root/.mplayer/input.conf' Can't open input config file /root/.mplayer/input.conf: No such file or directory Parsing input config file /etc/mplayer/input.conf Input config file /etc/mplayer/input.conf parsed: 90 binds get_path('Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3.conf') -> '/root/.mplayer/Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3.conf' Playing Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3. get_path('sub/') -> '/root/.mplayer/sub/' [file] File size is 61384619 bytes STREAM: [file] Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3 STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) LAVF_check: MPEG audio layer 2/3 Checking for YUV4MPEG2 ASF_check: not ASF guid! Checking for REAL Checking for SMJPEG Searching demuxer type for filename Ludwig_van_Beethoven_-_Complete_Symphonies_Disc_5_-_04_-_Symphony_No_9_in_D_Minor_Op_125_Choral_Presto-Allegro.mp3 ext: .mp3 Trying demuxer 17 based on filename extension ==> Found audio stream: 0 demux_audio: seeking from 0x3A8A72E to start pos 0x0 demux_audio: audio data 0x0 - 0x3A8A7AB Audio only file format detected. get_path('sub/') -> '/root/.mplayer/sub/' ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer. mp3lib: using SSE optimized decore! MP3lib: init layer2&3 finished, tables done MPEG 1.0, Layer III, 44100 Hz 320 kbit Joint-Stereo, BPF: 1044 Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0 AUDIO: 44100 Hz, 2 ch, s16le, 320.0 kbit/22.68% (ratio: 40000->176400) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??... [libaf] Adding filter dummy [dummy] Was reinitialized: 44100Hz/2ch/s16le [dummy] Was reinitialized: 44100Hz/2ch/s16le Trying preferred audio driver 'alsa', options '[none]' alsa-init: requested format: 44100 Hz, 2 channels, 9 alsa-init: using ALSA 1.0.23 alsa-init: setup for 1/2 channel(s) alsa-init: using device default alsa-init: pcm opened in blocking mode alsa-init: got buffersize=65536 alsa-init: got period size 1024 alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) AO: Description: ALSA-0.9.x-1.x audio output AO: Author: Alex Beregszaszi, Zsolt Barat <joy@streamminister.de> AO: Comment: under developement Building audio filter chain for 44100Hz/2ch/s16le -> 48000Hz/2ch/s16le... [dummy] Was reinitialized: 44100Hz/2ch/s16le [libaf] Adding filter lavcresample [dummy] Was reinitialized: 48000Hz/2ch/s16le [dummy] Was reinitialized: 48000Hz/2ch/s16le Video: no video Freeing 0 unused video chunks. Starting playback... [libaf] Reallocating memory in module lavcresample, old len = 0, new len = 67714 Increasing filtered audio buffer size from 0 to 67672 A: 0.0 (00.0) of 1534.0 (25:34.0) ??,?% MPlayer interrupted by signal 2 in module: play_audio MPlayer interrupted by signal 2 in module: play_audio Ok, so this is weird. I've rebooted now, and now the sound works. I did remove +oss from use flags and did some recompiling with emerge --newuse world. Then I rebooted. I can't explain it, but the errors on loading the module are no longer there. I'll leave the bug open for now, but something is definitely fishy. Here are the last 1000 packages I installed. The ones after the last Sync are recompiled without oss. Was oss the culprit? optimator Classical $ sudo tail -n 1000 /var/log/emerge.log |grep completed 1290979036: ::: completed emerge (6 of 52) net-wireless/bluez-4.75 to / 1290979178: ::: completed emerge (7 of 52) dev-tex/luatex-0.63.0 to / 1290981036: ::: completed emerge (1 of 63) x11-libs/cairo-1.8.10 to / 1290981199: ::: completed emerge (2 of 63) dev-libs/libgweather-2.30.2 to / 1290981244: ::: completed emerge (3 of 63) gnome-base/gnome-desktop-2.30.2 to / 1290981268: ::: completed emerge (4 of 63) app-text/gtkspell-2.0.16 to / 1290981302: ::: completed emerge (5 of 63) dev-libs/rasqal-0.9.19 to / 1290981403: ::: completed emerge (6 of 63) gnome-base/gnome-keyring-2.30.3 to / 1290981466: ::: completed emerge (7 of 63) gnome-extra/gtkhtml-3.30.2 to / 1290981514: ::: completed emerge (8 of 63) media-gfx/gtkimageview-1.6.4 to / 1290981549: ::: completed emerge (9 of 63) media-libs/libiec61883-1.1.0 to / 1290981577: ::: completed emerge (10 of 63) sys-libs/libavc1394-0.5.3 to / 1290981610: ::: completed emerge (11 of 63) app-text/aiksaurus-1.2.1 to / 1290987377: ::: completed emerge (1 of 51) media-libs/libdvdplay-1.0.1 to / 1290987388: ::: completed emerge (2 of 51) media-video/dvdbackup-0.1.1-r2 to / 1290987408: ::: completed emerge (3 of 51) media-gfx/xloadimage-4.1-r10 to / 1290987437: ::: completed emerge (4 of 51) media-plugins/gst-plugins-mad-0.10.13 to / 1290987472: ::: completed emerge (5 of 51) dev-db/libdbi-drivers-0.8.3 to / 1290987612: ::: completed emerge (6 of 51) net-libs/libwww-5.4.0-r7 to / 1290987646: ::: completed emerge (7 of 51) x11-libs/libnotify-0.4.5 to / 1290987683: ::: completed emerge (8 of 51) media-gfx/xsane-0.996 to / 1290987769: ::: completed emerge (9 of 51) dev-libs/redland-1.0.10-r2 to / 1290987884: ::: completed emerge (10 of 51) dev-libs/cyrus-sasl-2.1.23-r1 to / 1290988478: ::: completed emerge (1 of 40) kde-base/arts-3.5.10 to / 1290988508: ::: completed emerge (2 of 40) media-libs/libprojectm-1.2.0 to / 1290988650: ::: completed emerge (3 of 40) gnome-base/gnome-settings-daemon-2.30.2-r1 to / 1290988704: ::: completed emerge (4 of 40) x11-libs/libgksu-2.0.12-r1 to / 1290988793: ::: completed emerge (5 of 40) x11-libs/pango-1.28.1 to / 1290988823: ::: completed emerge (6 of 40) dev-dotnet/libgdiplus-2.6.7-r1 to / 1290988860: ::: completed emerge (7 of 40) gnome-base/libgnomecanvas-2.30.1 to / 1290988917: ::: completed emerge (8 of 40) net-analyzer/rrdtool-1.3.8 to / 1290988958: ::: completed emerge (9 of 40) x11-misc/notification-daemon-0.4.0-r1 to / 1290989254: ::: completed emerge (1 of 30) gnome-extra/libgda-4.1.4-r1 to / 1290989502: ::: completed emerge (2 of 30) app-office/dia-0.97.1 to / 1290989549: ::: completed emerge (3 of 30) net-libs/libproxy-0.2.3-r3 to / 1290989828: ::: completed emerge (4 of 30) gnome-extra/evolution-data-server-2.30.2 to / 1290989872: ::: completed emerge (5 of 30) gnome-base/gnome-mount-0.8-r1 to / 1290990033: ::: completed emerge (6 of 30) app-text/evince-2.30.3 to / 1290992971: ::: completed emerge (1 of 23) app-office/abiword-2.8.6 to / 1290993132: ::: completed emerge (2 of 23) gnome-base/gnome-panel-2.30.2 to / 1290995241: ::: completed emerge (3 of 23) mail-client/thunderbird-3.1.6 to / 1290995417: ::: completed emerge (4 of 23) x11-plugins/enigmail-1.1.2-r2 to / 1290995649: ::: completed emerge (5 of 23) media-gfx/imagemagick-6.6.5.6 to / 1290995669: ::: completed emerge (6 of 23) media-video/dvdauthor-0.6.14 to / 1290996326: ::: completed emerge (7 of 23) media-gfx/inkscape-0.48.0 to / 1290996389: ::: completed emerge (8 of 23) media-libs/libsdl-1.2.13-r1 to / 1290996441: ::: completed emerge (9 of 23) media-libs/smpeg-0.4.4-r9 to / 1290996461: ::: completed emerge (10 of 23) media-libs/sdl-image-1.2.10-r1 to / 1290996481: ::: completed emerge (11 of 23) media-libs/sdl-mixer-1.2.11-r1 to / 1290996510: ::: completed emerge (12 of 23) media-sound/mpg123-1.12.1 to / 1290996951: ::: completed emerge (13 of 23) media-video/avidemux-2.5.1_p5428 to / 1290997085: ::: completed emerge (14 of 23) media-libs/xine-lib-1.1.18.1 to / 1290997168: ::: completed emerge (15 of 23) media-libs/libquicktime-1.1.5 to / 1290997218: ::: completed emerge (16 of 23) media-sound/sox-14.3.0 to / 1290997389: ::: completed emerge (17 of 23) media-video/mplayer-1.0_rc4_p20091026-r1 to / 1290997419: ::: completed emerge (18 of 23) media-libs/sdl-sound-1.0.3 to / 1290997515: ::: completed emerge (19 of 23) media-video/mjpegtools-1.9.0-r1 to / 1290997591: ::: completed emerge (20 of 23) media-video/kino-1.3.3 to / 1290998783: ::: completed emerge (1 of 2) sci-mathematics/octave-3.2.4-r1 to / 1291049152: === Sync completed with rsync://88.198.83.250/gentoo-portage 1291050899: ::: completed emerge (1 of 46) dev-lang/perl-5.12.2-r4 to / 1291050959: ::: completed emerge (2 of 46) sys-devel/libtool-2.4-r1 to / 1291051045: ::: completed emerge (3 of 46) dev-libs/soprano-2.5.2 to / 1291051130: ::: completed emerge (4 of 46) sci-visualization/gnuplot-4.4.2 to / 1291051151: ::: completed emerge (5 of 46) sys-apps/attr-2.4.44 to / 1291086941: ::: completed emerge (1 of 1) x11-drivers/nvidia-drivers-260.19.21 to / 1291087506: ::: completed emerge (1 of 1) media-sound/alsa-utils-1.0.23-r1 to / 1291088350: ::: completed emerge (1 of 5) media-libs/jpeg-6b-r9 to / 1291088414: ::: completed emerge (2 of 5) media-libs/alsa-lib-1.0.23 to / 1291088460: ::: completed emerge (3 of 5) media-sound/madplay-0.15.2b-r1 to / 1291088636: ::: completed emerge (4 of 5) media-video/mplayer-1.0_rc4_p20091026-r1 to / 1291088668: ::: completed emerge (5 of 5) media-sound/alsa-utils-1.0.23-r1 to / 1291088779: ::: completed emerge (1 of 10) media-libs/jpeg-6b-r9 to / 1291088808: ::: completed emerge (2 of 10) media-sound/mpg123-1.12.1 to / 1291088865: ::: completed emerge (3 of 10) media-libs/flac-1.2.1-r3 to / 1291088904: ::: completed emerge (4 of 10) gnome-extra/gconf-editor-2.30.0 to / 1291089056: ::: completed emerge (1 of 5) media-libs/mesa-7.8.2 to / 1291089507: ::: completed emerge (2 of 5) media-video/avidemux-2.5.1_p5428 to / 1291089634: ::: completed emerge (3 of 5) media-plugins/audacious-plugins-2.4.0 to / 1291089748: ::: completed emerge (4 of 5) media-video/transcode-1.1.5-r2 to / 1291089888: ::: completed emerge (5 of 5) app-editors/kile-2.1_beta4 to / 1291090330: ::: completed emerge (1 of 1) media-libs/libsdl-1.2.13-r1 to / 1291097107: === Sync completed with rsync://134.68.240.58/gentoo-portage 1291101370: ::: completed emerge (1 of 8) media-libs/jpeg-6b-r9 to / 1291102692: ::: completed emerge (1 of 6) media-libs/libsdl-1.2.13-r1 to / 1291102722: ::: completed emerge (2 of 6) media-sound/mpg123-1.12.1 to / 1291103169: ::: completed emerge (3 of 6) media-video/avidemux-2.5.1_p5428 to / 1291103292: ::: completed emerge (4 of 6) media-plugins/audacious-plugins-2.4.0 to / 1291103474: ::: completed emerge (5 of 6) media-video/mplayer-1.0_rc4_p20091026-r1 to / 1291103595: ::: completed emerge (6 of 6) media-video/transcode-1.1.5-r2 to / 1291103877: ::: completed emerge (1 of 1) sys-libs/libavc1394-0.5.3 to There was a problem and it solved itself. You cannot now figure out what caused the problem and the information you need to figure it out is already lost. I'm getting the error again. Perhaps it is a random event, but I'll try to reboot and see if it remains broken. No apps can play sound (even the progress bar does not move), even though volume levels are adjusted properly and unmuted in alsamixer and alsa loads with no errors. Jan 19 22:40:47 localhost su[6706]: Successful su for root by martin Jan 19 22:40:47 localhost su[6706]: + /dev/pts/3 martin:root Jan 19 22:40:47 localhost su[6706]: pam_unix(su:session): session opened for user root by martin(uid=1000) Jan 19 22:41:28 localhost kernel: Intel ICH 0000:00:04.0: PCI INT A disabled Jan 19 22:41:30 localhost kernel: Intel ICH 0000:00:04.0: PCI INT A -> Link[LACI] -> GSI 22 (level, high) -> IRQ 22 Jan 19 22:41:30 localhost kernel: Intel ICH 0000:00:04.0: setting latency timer to 64 Jan 19 22:41:30 localhost kernel: intel8x0_measure_ac97_clock: measured 50798 usecs (64 samples) Jan 19 22:41:30 localhost kernel: intel8x0: measured clock 1259 rejected Jan 19 22:41:31 localhost kernel: intel8x0: measure - unreliable DMA position.. Jan 19 22:41:31 localhost kernel: intel8x0: measure - unreliable DMA position.. Jan 19 22:41:31 localhost kernel: intel8x0: clocking to 48000 Rebooted once, same problem as before. Rebooted again, problem went away, DMA position messages missing from boot log. Interrupt 22 is shared by sata_nv, NVidia CK804 I just had to reboot 5 times. On the fifth time, the module was loaded properly and I receive the following messages (when sound works): ACPI: PCI Interrupt Link [LACI] enabled at IRQ 22 Intel ICH 0000:00:04.0: PCI INT A -> Link[LACI] -> GSI 22 (level, high) -> IRQ 22 Intel ICH 0000:00:04.0: setting latency timer to 64 Four out of five times it didn't work and instead fails with: Jan 25 10:28:43 localhost kernel: ACPI: PCI Interrupt Link [LACI] enabled at IRQ 22 Jan 25 10:28:43 localhost kernel: Intel ICH 0000:00:04.0: PCI INT A -> Link[LACI] -> GSI 22 (level, high) -> IRQ 22 Jan 25 10:28:43 localhost kernel: Intel ICH 0000:00:04.0: setting latency timer to 64 Jan 25 10:28:43 localhost kernel: nvidia: module license 'NVIDIA' taints kernel. Jan 25 10:28:43 localhost kernel: Disabling lock debugging due to kernel taint Jan 25 10:28:43 localhost kernel: usb 2-3: new low speed USB device using ohci_hcd and address 3 Jan 25 10:28:43 localhost kernel: input: Dynex 5-Button Wired Optical Mouse as /devices/pci0000:00/0000:00:02.0/usb2/2-3/2-3:1.0/input/input4 Jan 25 10:28:43 localhost kernel: generic-usb 0003:0461:4D42.0003: input: USB HID v1.11 Mouse [Dynex 5-Button Wired Optical Mouse] on usb-0000:00:02.0-3/input0 Jan 25 10:28:43 localhost kernel: intel8x0_measure_ac97_clock: measured 50792 usecs (2496 samples) Jan 25 10:28:43 localhost kernel: intel8x0: clocking to 46885 Jan 25 10:28:43 localhost kernel: nvidia 0000:02:00.0: PCI INT A -> Link[LNK3] -> GSI 19 (level, high) -> IRQ 19 Jan 25 10:28:43 localhost kernel: nvidia 0000:02:00.0: setting latency timer to 64 Jan 25 10:28:43 localhost kernel: vgaarb: device changed decodes: PCI:0000:02:00.0,olddecodes=io+mem,decodes=none:owns=io+mem |