Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-29-10, 02:03 PM   #49
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: Enable audio through HDMI on GT240

Quote:
Originally Posted by paoleary View Post
Quote:
the remaining question is how do we get E-AC-3, TrueHD and DTS-HD output?
Your best bet is to decode them to LPCM
That was not what I meant ;-)

Can you reproduce my problems with -c3 and -c5?

Carl Eugen
cehoyos is offline   Reply With Quote
Old 05-29-10, 03:36 PM   #50
paoleary
Registered User
 
Join Date: Feb 2010
Posts: 37
Default Re: Enable audio through HDMI on GT240

Quote:
Originally Posted by cehoyos View Post
That was not what I meant ;-)
Well, then I'm not sure what you did mean. I don't have any high-end capabilities, just providing pointers to where I've seen these things come up.

Quote:
Originally Posted by cehoyos View Post
Can you reproduce my problems with -c3 and -c5?
I can't reproduce a darned thing. Stereo speakers.
paoleary is offline   Reply With Quote
Old 06-20-10, 02:35 PM   #51
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: Enable audio through HDMI on GT240

Quote:
Originally Posted by cehoyos View Post
the remaining question is how do we get E-AC-3, TrueHD and DTS-HD output?
I had success today with E-AC-3 (patch pending on ffmpeg-devel), if somebody has ideas for TrueHD and DTS-HD, please share them!

Carl Eugen
cehoyos is offline   Reply With Quote
Old 06-20-10, 03:47 PM   #52
sfer
Registered User
 
Join Date: Sep 2006
Posts: 35
Default Re: Enable audio through HDMI on GT240

Quote:
Originally Posted by cehoyos View Post
I had success today with E-AC-3 (patch pending on ffmpeg-devel), if somebody has ideas for TrueHD and DTS-HD, please share them!

Carl Eugen
Nice work! I hope DTS-HD can be made to work too. I find it the most interesting one since it's the only HD audio format for which ffmpeg has no decoder. If needed, I can try out patches. I have a GT240 and a receiver with the necessary decoders.

I'm also wondering why, on the Windows side of the fence, Radeon 5000 series cards are the only ones that supposedly have support for audio bitstreaming via HDMI. Is it because everything else lacks support for DRM crapware (PAP and what else) which of course is irrelevant with unencrypted streams?
sfer is offline   Reply With Quote
Old 06-21-10, 04:08 AM   #53
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: Enable audio through HDMI on GT240

Quote:
Originally Posted by sfer View Post
I have a GT240 and a receiver with the necessary decoders.
Including AAC, MP2, ATRAC or WMA Pro?
Quote:
I'm also wondering why, on the Windows side of the fence, Radeon 5000 series cards are the only ones that supposedly have support for audio bitstreaming via HDMI.
Could you provide a source for the fact that this does not work on Windows with Nvidia cards? (I had also read that but I was asked for a source myself.)

Carl Eugen
cehoyos is offline   Reply With Quote
Old 06-21-10, 10:43 AM   #54
sfer
Registered User
 
Join Date: Sep 2006
Posts: 35
Default Re: Enable audio through HDMI on GT240

Quote:
Originally Posted by cehoyos View Post
Including AAC, MP2, ATRAC or WMA Pro?

Could you provide a source for the fact that this does not work on Windows with Nvidia cards? (I had also read that but I was asked for a source myself.)

Carl Eugen
Sorry, just (E)AC-3, TrueHD and the DTS variants. It's a Denon AVR-1909.

I tried to find a reliable source for the bitstreaming issue but could not. All the guides and reviews only mentioned the 5000 series. I'm going to take a look at this in Windows 7 and see if the audio formats appear in the configuration.

edit: Apparently not.
sfer is offline   Reply With Quote
Old 07-20-10, 01:39 PM   #55
andrewju
Registered User
 
Join Date: Nov 2007
Posts: 12
Default Re: Enable audio through HDMI on GT240

Hi All,

I have a Zotac GT220 and Fedora 13, and I cannot get HDMI sound to work. In fact, aplay -l doesn't list my NVidia audio at all:

Code:
[root@frontend1 ~]# uname -a
Linux frontend1 2.6.33.6-147.fc13.i686.PAE #1 SMP Tue Jul 6 22:24:44 UTC 2010 i686 i686 i386 GNU/Linux
[root@frontend1 ~]# rpm -qa |grep alsa
alsa-utils-1.0.23-3.fc13.i686
alsa-lib-1.0.23-1.fc13.i686
[root@frontend1 ~]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC889A Analog [ALC889A Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC889A Digital [ALC889A Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[root@frontend1 ~]#
lspci shows the card and the audio device:

Code:
01:00.0 VGA compatible controller: nVidia Corporation GT216 [GeForce GT 220] (rev a2)
01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
What do I need to do to get NVidia HDMI listed by 'aplay -l' ?
I tried creating /etc/modprobe.d/sound.conf as it was described earlier, but it didn't help. Looks to me I'm missing something obvious here...
andrewju is offline   Reply With Quote
Old 07-21-10, 09:35 AM   #56
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: Enable audio through HDMI on GT240

Quote:
Originally Posted by andrewju View Post
I have a Zotac GT220 and Fedora 13, and I cannot get HDMI sound to work. In fact, aplay -l doesn't list my NVidia audio at all:

Code:
[root@frontend1 ~]# uname -a
Linux frontend1 2.6.33.6-147.fc13.i686.PAE #1 SMP Tue Jul 6 22:24:44 UTC 2010 i686 i686 i386 GNU/Linux
[root@frontend1 ~]# rpm -qa |grep alsa
alsa-utils-1.0.23-3.fc13.i686
alsa-lib-1.0.23-1.fc13.i686
My suspicion is that 2.6.33 does not contain the (necessary) kernel modules from ALSA 1.0.23: http://thread.gmane.org/gmane.linux.alsa.devel/69051
You can find them here: http://www.alsa-project.org/main/index.php/Main_Page ("alsa-driver-1.0.23")

Carl Eugen
cehoyos is offline   Reply With Quote

Old 07-21-10, 01:50 PM   #57
andrewju
Registered User
 
Join Date: Nov 2007
Posts: 12
Default Re: Enable audio through HDMI on GT240

Quote:
Originally Posted by cehoyos View Post
My suspicion is that 2.6.33 does not contain the (necessary) kernel modules from ALSA 1.0.23: http://thread.gmane.org/gmane.linux.alsa.devel/69051
Ah, I thought having alsa 1.0.23 installed also means respective drivers are available. Well, obviously I was wrong.
After installing the drivers I got a better output:

Code:
# cat /etc/modprobe.d/sound.conf
options snd-hda-intel enable_msi=0 probe_mask=0xffff,0xfff2
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC889A Analog [ALC889A Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC889A Digital [ALC889A Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
#
Sound works!!! (I could only test 2-channel stereo for now)
Thank you very much!
andrewju is offline   Reply With Quote
Old 07-30-10, 01:28 PM   #58
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: Enable audio through HDMI on GT240

Quote:
Originally Posted by cehoyos View Post
the remaining question is how do we get E-AC-3, TrueHD and DTS-HD output?
While the E-AC-3 patch is still not committed to FFmpeg, I've just heard that TrueHD works. Unfortunately, it needs patches to the alsa-modules (to signal "HBR"), so don't expect a working solution (too) soon!

Carl Eugen
cehoyos is offline   Reply With Quote
Old 07-30-10, 02:33 PM   #59
andrewju
Registered User
 
Join Date: Nov 2007
Posts: 12
Default Re: Enable audio through HDMI on GT240

I notice that after switching to use sound over HDMI, I seem to have lost sound in some of my videos. Primarily the ones made by a camera.

My HTPC (with a GT220) is running Fedora and is connected directly to a SONY LCD TV via HDMI. When I play a "problematic" movie with mplayer, I just get no sound from my TV at all. mplayer doesn't show any errors:

Code:
 Detected NON-INTERLEAVED AVI file format.
VIDEO:  [dvsd]  720x576  24bpp  25.000 fps  28800.0 kbps (3515.6 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdv] vfm: ffmpeg (FFmpeg DV)
==========================================================================
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 32000 Hz, 2 ch, s16le, 1024.0 kbit/100.00% (ratio: 128000->128000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [alsa] 22050Hz 2ch s16le (2 bytes per sample)
Starting playback...
I guess it has something to do with the sampling rate of the audio stream (44100 Hz audio in the other file is played back fine). I'm just not sure which way to go from here. Any ideas?

P.S. I used to have a 8600GT some time ago, also connected via HDMI. I also used sound over HDMI (with an internal S/PDIF cable) and I never had a problem of having no sound while playing my files. So I'm sure there should be a solution for more recent cards as well...
andrewju is offline   Reply With Quote
Old 07-30-10, 05:29 PM   #60
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: Enable audio through HDMI on GT240

andrewju,

Can you please provide an "nvidia bug report" (see forum sticky post), and also a copy of /proc/asound/card*/eld*, from when you are playing audio through MPlayer. Thanks.
Stephen Warren is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:21 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.