From: Alan Alan Subject: Re: ALSA patch Nvidia 8 channel hdmi audio Date: Wed, 3 Jun 2009 13:07:14 +0200 Message-ID: <410e92830906030407m5d1a89b1sfc60f6ab5e93d6fc@mail.gmail.com> References: <410e92830906021458x3d47a1d6jebba8bbe1150e76d@mail.gmail.com> <200906030022.07693.marek.vasut@gmail.com> <410e92830906021530l767478c4tae72c4b161583b6@mail.gmail.com> <200906030200.54455.marek.vasut@gmail.com> <15F501D1A78BD343BE8F4D8DB854566B058A63F1@hkemmail01.nvidia.com> <410e92830906030100m5a3d045dsa856382fa2396e60@mail.gmail.com> <15F501D1A78BD343BE8F4D8DB854566B058A63F2@hkemmail01.nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-fx0-f170.google.com (mail-fx0-f170.google.com [209.85.220.170]) by alsa0.perex.cz (Postfix) with ESMTP id 85F9424403 for ; Wed, 3 Jun 2009 13:07:14 +0200 (CEST) Received: by fxm18 with SMTP id 18so9522765fxm.32 for ; Wed, 03 Jun 2009 04:07:14 -0700 (PDT) In-Reply-To: <15F501D1A78BD343BE8F4D8DB854566B058A63F2@hkemmail01.nvidia.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Wei Ni Cc: Peer Chen , Marek Vasut , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Hello Wei ! If you used mplayer with this command, "mplayer -ao alsa:device=3Dhw=3D0.3 6ch.wav" than i think it might be that the test fiile is faulty. Why not try this test file with a dts stream saying the channles after each other: http://rapidshare.com/files/240315685/xbmc_dts_test.mkv I also tried xbmc media center which "treats" the hdmi device as a multichannel analog device and there i found the same mapping problem. Thanks 2009/6/3 Wei Ni > Hi, Alan > > I reproduced this problems with speaker-test. The channels are wrong > mapped. > > It=92s strange that if use mplayer to run, it looks ok. > > I=92m looking this problems, and try to find the root cause. > > > > Thanks > > > > *From:* Alan Alan [mailto:alanwww1@gmail.com] > *Sent:* Wednesday, June 03, 2009 4:00 PM > *To:* Wei Ni > *Cc:* Marek Vasut; alsa-devel@alsa-project.org; Peer Chen > > *Subject:* Re: ALSA patch Nvidia 8 channel hdmi audio > > > > Hello Wei ! > > Thanks for replying. > I tested it with speaker-test and xbmc babylon. Both had problems with > channel mapping. > I used this command: > > speaker-test -Dhdmi -c6 > or > speaker-test -Dhdmi -c8 > > alternatively you could try > > speaker-test -Dhw:0,3 -c6 > > > I had to rund Xorg first and have the command from an xterm, becasue from= a > normal terminal it would not work. > I think that is normal as a limitation of hdmi. > > What about the support for 24bits 192khz sound ? > > speaker-test -Dhdmi -c6 -r192000 does not work. > > Thanks for working on this. > > > > 2009/6/3 Wei Ni > > Hi, Marek and Alan > I'm a Nvidia engineer and develop this patch file. > > I used mplayer to test. The channels are mapped good. > Running mplayer -ao alsa:device=3Dhw=3D0.3 6ch.wav > > I tried to use speaker-test to test, but I can't get the hdmi device name. > I used speaker-test -Dsurround51:NVidia -c6, the sound output from the > analog jack. > Which device name should I use? > > I use aplay -l, it show > **** List of PLAYBACK Hardware Devices **** > card 0: NVidia [HDA NVidia], device 0: ALC1200 Analog [ALC1200 Analog] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 0: NVidia [HDA NVidia], device 1: ALC1200 Digital [ALC1200 Digital] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > > Thanks > Wei. > > > -----Original Message----- > From: Marek Vasut [mailto:marek.vasut@gmail.com] > Sent: Wednesday, June 03, 2009 8:01 AM > To: Alan Alan > Cc: alsa-devel@alsa-project.org; Wei Ni > Subject: Re: ALSA patch Nvidia 8 channel hdmi audio > > On Wednesday 03 of June 2009 00:30:04 Alan Alan wrote: > > Thank's for the info. > > How can i contact him ? > > He and alsa-devel mailing list are both in CC already, please preserve th= em > there or fix your mailer. > > > > > > 2009/6/3 Marek Vasut > > > > > I'm not the author of the patch, CCing alsa-devel and the original > > > author. > > > > > > On Tuesday 02 of June 2009 23:58:26 Alan Alan wrote: > > > > Hi Marek ! > > > > > > > > I just read your emailing with nvidia devs about alsa supporting 8 > > > > > > channel > > > > > > > lpcm over hdmi. > > > > > > > > I checked it out an i have to tell it is working awsome, except for= a > > > > few bugs: > > > > > > > > The channels are wrong mapped. Running a speakertest -Dhdmi -c6 giv= es > > > > the following result (first where it should sound) > > > > FL - FL > > > > C - RL > > > > FR - FR > > > > RR - LFE > > > > RL - C > > > > > > > > The other thing i realized that playback is limited to 16 bits 48 > khz. > > > > I think the minimum which is supported by nvidia hardware is 24bits > 96 > > > > (or 192) khz. > > > > Why not ? > > > > > > > > Could you contact the devs as i don't know how to reach them. > > > > > > > > ps.: Mybe my build methot was not 100% ok ? I used 1.020 Alsa with > the > > > > oatched nvidia.c file. Anyway the amplifier shows multichannel LPCM > and > > > > that's great news. > > > > -------------------------------------------------------------------------= ---------- > This email message is for the sole use of the intended recipient(s) and m= ay > contain > confidential information. Any unauthorized review, use, disclosure or > distribution > is prohibited. If you are not the intended recipient, please contact the > sender by > reply email and destroy all copies of the original message. > > -------------------------------------------------------------------------= ---------- > > >