No Sound - Spdif TOslink Connected to A/V Receiver
I am still unsuccessful to get any sound from my speakers in Slackware 10.2 (default kernel 2.4). They are hooked up to my Pioneer receiver, which is then connected to my soundcard (Dynex DX-SC5.1) via optical spdif TOslink. I have found many people with the same problem as me, but many are left unsolved.
It works in windows using the "Envy 24 Family Audio (WDM)" driver (no cd driver required) and the only outputs needed are Master, Wave and PCM SPDIF. For listening to dvd movies, my receiver decodes the 44100 KHz signal. I tried a bunch of different slider combinations (including unmuting them) but still to no avail. Below is some more information about my system: Code:
bash-3.00# lspci Code:
bash-3.00# lsmod |
is there a driver for linux.
if this is that important to you, you can try linking it through wine. or upgrade your kernel. does knoppix or any other lin distro play nice with it? good luck. |
no ENG )+
aplay -l **** List of PLAYBACK Hardware Devices **** card 0: CK8S [NVidia CK8S], device 0: Intel ICH [NVidia CK8S] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: CK8S [NVidia CK8S], device 2: Intel ICH - IEC958 [NVidia CK8S - IEC958] Subdevices: 1/1 Subdevice #0: subdevice #0 1) analog hw:0,0 2) optical hw0,2 default systems (ALSA) 0,0 need switch on 0,2 in .asoundrc ---------------------- pcm.!default { type plug slave.pcm "dmixer" } pcm.dmixer { type dmix ipc_key 1024 slave { pcm "hw:0,2" period_time 0 period_size 1024 buffer_size 4096 rate 44100 } bindings { 0 0 1 1 } } ctl.dmixer { type hw card 0 } -------------------------- more alsa-project.org/alsa-doc/doc-php/asoundrc.php?company=Generic&card=Generic&chip=Generic&module=Generic |
There is no driver on the cd and they don't support linux (I called them). I tried running mepis 3.3 live and still had no luck (recognized the same card, no sound).
Here's what I have for aplay -l **** List of PLAYBACK Hardware Devices **** card 0: ICE1724 [ICEnsemble ICE1724], device 0: ICE1724 [ICE1724] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: ICE1724 [ICEnsemble ICE1724], device 1: IEC1724 IEC958 [IEC1724 IEC958] Subdevices: 1/1 Subdevice #0: subdevice #0 I created the .asoundrc in $HOME and /root but still no results. Everything appears to be playing fine (ex. from xmms, aplay, xine), but there's still no sound. At this point I would have to suspect the levels are wrong but I still have no idea which ones to modify. Here's a listing of what I have for playback in Alsamixer: Item ON/OFF Volume ------------------ Master ON 74 Master Mono OFF 0 Headphone ON 74 3D Control - Center 0 3D Control - Depth 0 3D Control Switch OFF PCM ON 90 Surround OFF 0 Center OFF 100 LFE ON 0 Line OFF 0 CD ON 90 Mic OFF 0 Mic Boost OFF Mic Select [Mic1] Video OFF 0 Phone OFF 0 IEC958 [PCM Out] IEC958 Output ON IEC958 1 [PCM Out] PC Speaker OFF 0 Aux OFF 0 Mono Output Select [Mix] Alternate Level to Surround Out ON Downmix LFD and Center to Front OFF Downmix Surround to Front OFF External Amplifier ON Multi Track Internal Clock 48000 Multi Track Peak 0 Multi Track Rate Locking OFF Multi Track Rate Reset ON If anything is wrong with my configurations above, I'd appreciate the input. Thanks again. |
ndiswrapper may be long shot since there is not a proper driver. i think one way this would work is you 'wrap' the windoz driver inside some lin code and give it a wirl.
or you can try using a generic one like sb. of course you could be done with it-- and buy a linux compatible card for your system and help support those that support linux :) again, good luck. |
Quote:
default put .asoundrc in /etc/ |
I have Turtle Beach Catalina sound card based on the same chipset. Optical output works with snd-ice1724 module (kernel 2.6.14), however I had to put .asoundrc file to direct the sound to digital output. My .asoundrc (copied somwhere from internet):
Code:
pcm.!default { Also, I did not try watching dvd movies, so I don't know if pass thru dts works - receiver detects signal as pcm, not dts, and AFAIK computer sound cards produce only stereo pcm signal, not 5.1, except for the new dolby cards designed for x-box. Don't quote me on this - I'm not an expert. And I only interested in optical output, so I don't know if the .asoundrc disabled analog master output. |
This is awesome! It made my SPDIF work and I thank you.
Now.... I'd really like to get either passthru our 5.1 working via fibre. Everytime I run Xine and set it to 5.1 there is silence - assume it's spitting it out on the copper connectors. Passthru says the device is not available. Same exact .asoundrc as above. FC4 2.6.14-1.1656_FC4 on an Athlon. If I move the .asoundrc out of the way and use plug:spdif and 5.1 output with Xine I get sound but it's like the center channel is not right - not enough voice, mostly background music and the like. lspci output: [root@tv ~]# lspci 00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (rev c1) 00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1) 00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1) 00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1) 00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1) 00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1) 00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4) 00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2) 00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4) 00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4) 00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4) 00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1) 00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3) 00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2) 00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1) 01:07.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01) 02:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 4000 AGP 8x] (rev c1) dmesg which concerns me some: [root@tv ~]# dmesg | grep 1724 ice1724: No matching model found for ID 0xc3140517 ice1724: Invalid EEPROM version 1 this is also a Dynex SC-5.1 card, latest ALSA version, etc. btw - mplayer balks at passthru too. Thanks! Jake |
what do you mean mplayer balks?
and by passthough-- you mean you can listen while recordering (or doing anything else basically with sound)? |
example mplayer output:
mplayer -ao alsa -ac hwac3 dvd://13 Using GNU internationalization Original domain: messages Original dirname: /usr/share/locale Current domain: mplayer Current dirname: /usr/share/locale MPlayer 1.0pre7-4.0.2 (C) 2000-2005 MPlayer Team CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Opening joystick device /dev/input/js0 Can't open joystick device /dev/input/js0 : No such file or directory Can't init input joystick Setting up LIRC support... mplayer: could not connect to socket mplayer: Connection refused Failed to open LIRC support. You will not be able to use your remote control. Playing dvd://13. Reading disc structure, please wait... There are 23 titles on this DVD. There are 2 chapters in this DVD title. There are 1 angles in this DVD title. DVD successfully opened. MPEG-PS file format detected. VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9800.0 kbps (1225.0 kbyte/s) ========================================================================== Forced audio codec: hwac3 Cannot find codec for audio format 0x2001. Read DOCS/HTML/en/codecs.html! ========================================================================== vo: X11 running at 1024x768 with depth 24 and 32 bpp (":10.0" => remote display)vo_xvmc: X-Video extension 2.2 vo_xvmc: No X-Video MotionCompensation Extension on localhost:10.0 It seems there is no Xvideo support for your video card available. Run 'xvinfo' to verify its Xv support and read DOCS/HTML/en/video.html#xv! See 'mplayer -vo help' for other (non-xv) video out drivers. Try -vo x11 ========================================================================== Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] The selected video_out device is incompatible with this codec. VDecoder init failed :( Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2)) ========================================================================== Audio: no sound Starting playback... VDec: vo config request - 720 x 480 (preferred csp: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. VO: [x11] 720x480 => 854x480 Planar YV12 Shared memory not supported Reverting to normal Xlib SwScaler: using unscaled Planar YV12 -> BGRA special converter V: 3.3 94/ 94 18% 433% 0.0% 0 0 Exiting... (Quit) Am I correct in the understanding that HWAC3 will pass the Dolby 5.1 directly to my Denon receiver via TOSLink? My only objective with this machine is to watch DVD's in surround sound. I'm not doing anything else soundwise at the same time. I use Xine, but tried mplayer to see if I could make it work. Thanks. |
Update:
I ran speaker-test to plug:spdif as I'm certain that plug:surround51 is copper: # speaker-test -Dplug:spdif -c6 -t2 speaker-test 1.0.11rc2 Playback device is plug:spdif Stream parameters are 48000Hz, S16_LE, 6 channels Sine wave rate is 440.0000Hz Rate set to 48000Hz (requested 48000Hz) Buffer size range from 8 to 8192 Period size range from 4 to 4096 Periods = 4 Buffer time size 2525 To choose buffer_size = 8192 To choose period_size = 2048 was set period_size = 2048 was set buffer_size = 8192 0 - Front Left 4 - Center 1 - Front Right 3 - Rear Right 2 - Rear Left 5 - LFE Tone on each speaker except center and LFE. I'm perplexed but it proves what I thought I was hearing - no center channel..... Thoughts??? |
jake i asume you compiled mplayer
|
no, I installed it from an rpm just to test things. the more I fiddle with it - the more it seems like the .asoundrc needs tweaking
|
argg. i hate surround sound. turns out I'm only getting FL & FR via the optical out. grrr. what a pain and buttload of hours wasted on this darn thing....
|
I used kibiras' .asoundrc file and changed the device to my own (which I had overlooked before). This enabled me to get sound from 2 speakers with the speaker-test. I still had no sound in xmms though. After searching the net, I found that I needed to change the audio output plugin from OSS to alsa and I was amazed... I finally had sound.
Only problem remaining is getting sound from all other applications (ex. videos, flash, system sounds) to work. Any ideas? |
All times are GMT -5. The time now is 10:51 PM. |