From: Jeff W. <je...@cy...> - 2007-07-11 19:04:02
|
Please help, I'm at my wits end. I have a Fujitsu laptop with Gentoo Linux installed and everything except Xine seems to work correctly. Xine appears to compile, install and function just fine but it does not produce any sound. Neither through the built-in speakers or through the headphone jack. I've administered Linux machines since 1991 so I generally think I know what I'm doing but maybe I missed something stupid? Some hardware information: laptop: Fujitsu P7010 I'm using the snd_intel8x0 kernel driver. lspci reports this: 00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03) 00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03) snd_intel8x0 is probably right because all other sound applications seem to work just fine. xine was working around a year ago on this laptop but I don't use it often and I have reinstalled the entire OS and applications since then. I don't know what is configured differently now. $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 0: Intel ICH [Intel 82801DB-ICH4] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 4: Intel ICH - IEC958 [Intel 82801DB-ICH4 - IEC958] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Modem [Intel 82801DB-ICH4 Modem], device 0: Intel ICH - Modem [Intel 82801DB-ICH4 Modem - Modem] Subdevices: 1/1 Subdevice #0: subdevice #0 (IEC958 seems odd because I seem to only have analog jacks on the laptop and I thought IEC958 is a digital jack standard. Though, I figure it's just an integral part of this Intel chipset.) I do not have an .asoundrc but do have /etc/asound.state which looks reasonable but is too long to include here unless somebody asks for it. I have a pretty straight forward modules alias for alsa: $ cat /etc/modules.d/alsa alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss alias snd-card-0 snd-intel8x0 alias sound-slot-0 snd-intel8x0 Amarok plays just fine through either the built in speakers or through the headphones if I just plug them in. I am listening to a Beatles "Let it be" ogg vorbis track as I write this. Amarok is configured to use the "Xine engine" which is weird because amraok produces sound just fine but xine-ui doesn't and I would figure they both use the same "engine". gxine also doesn't make a difference. aplay /usr/share/sounds/alsa/Front_Right.wav also works just fine as does: aplay -D default /usr/share/sounds/alsa/Front_Right.wav aplay -D plughw:0,0 /usr/share/sounds/alsa/Front_Right.wav (-D hw:0,0) does not work and complains about "aplay: set_params:905: Channels count non available" Further, I can have amarok playing "Let it be" and I can simultaneously issue the aplay command to test the Front_Right wav file and I get the two sources mixed together and played simultaneously and correctly. Even sound in firefox-bn/flashplayer works. Basically, I think sound works on the laptop just fine I just can't get xine to make sound. One strange oddity is that whenever I reposition the stream by clicking on the slider I get a dialog that pops up and says: "The stream 'dvd:/' uses and unsupported codec: Audio Codec: AC3 (0x0) Start playback anyway ?". This error does not occur at initial playback. Here's what xine reports when run with a "Usual Suspects" DVD: $ xine dvd:// This is xine (X11 gui) - a free video player v0.99.5. (c) 2000-2007 The xine Team. libdvdread: Using libdvdcss version 1.2.9 for DVD access libdvdread: Attempting to use device /dev/hda3 mounted on / for CSS authentication libdvdread: Could not open /dev/hda3 with libdvdcss. libdvdread: Can't open /dev/hda3 for reading libdvdread: Device /dev/hda3 inaccessible, CSS authentication not available. libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed libdvdread: Can't open file VIDEO_TS.IFO. libdvdread: Using libdvdcss version 1.2.9 for DVD access libdvdread: Attempting to retrieve all CSS keys libdvdread: This can take a _long_ time, please be patient libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000013d libdvdread: Elapsed time 0 libdvdread: Found 1 VTS's libdvdread: Elapsed time 0 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 140 (XVideo) Minor opcode of failed request: 13 () Serial number of failed request: 2654 Current serial number in output stream: 2655 I'm a little worried about the XVideo failed opcode request but it doesn't seem to prevent me from getting a video image. I just have no sound to go with it. Here's my xine config (just a basic default) $ more .xine/config | sed -e 's,#.*,,g' | grep -v "^$" .version:2 audio.device.alsa_front_device:default engine.performance.memcpy_method:kernel I have also tried changing the audio output to "alsa" with default devices with no luck and I have also manually specified plughw:0,0 for all the devices wth no luck. alsamixer unmuted all channels and tried various settings for IEC958 and muting various sensible channels like Mic with no positive results. For the gentoo crowd (if such exists) my use flags are: USE="-3dfx -3dnow -accessibility aac acpi aiglx alsa apache2 arts bzip2 cdparanoia cdr -clama v crypt cups -doc dri dvd dvdr emacs flac foomaticdb gphoto2 gps gstreamer -gtk gtk2 imap inn odb jack java javascript jpeg jpeg2k kde lm_sensors maildir mmap mmx mozilla mp3 musicbrainz mysql mysqli ncurses offensive ogg oggvorbis opengl oss pam pcmcia pdf perl php ppds qt3suppo rt samba sse sse2 ssl swat tetex truetype usb visualization vorbis wifi xcomposite xine xscre ensaver" Does anybody have a clue what I can do to fix this and get sound? Thanks, - Jeff |