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

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-06-10, 03:22 PM   #13
Ayla
Registered User
 
Join Date: Aug 2010
Posts: 4
Default Re: No audio from HDMI (MCP89 / Geforce 320M): Reason: no connected devices detected

Hi

I have the exact same problem as lintweaker.

I have a new 2010 mac mini (MCP89 / Geforce 320M) and I can't get any sound through HDMI in Ubuntu.

None of the /proc/asound/eld#?.0 lists a connected device.

Should I start a new thread or is it OK to post here?

I really hope that you can help me, as I have used a lot of days on this and I don't want to give up

Info:

I'm using Ubuntu 10.04.1 LTS Lucid.

Latest nvidia 256.44 drivers.

I have installed the latest Alsa snapshot from here the link from the last post:
ftp://ftp.kernel.org/pub/linux/kerne...a/alsa-driver/

But, when I look in the patch_hdmi.c file from the snapshot, I can't see the patch code that Stephen Warren posted, i don't get it?

Please advice,

Regards
Martin
Ayla is offline   Reply With Quote
Old 08-06-10, 03:30 PM   #14
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: No audio from HDMI (MCP89 / Geforce 320M): Reason: no connected devices detected

Ayla,

Which snapshot did you use? I checked alsa-driver-20100806.tar.bz2 and the official patch is there (which admittedly does look very different; search patch_hdmi.c and patch_nvhdmi.c for "old_pin_detect")

Did you power on the Mac with the monitor plugged into the HDMI port? It's possible right now that audio-over-HDMI only works on the port that the BIOS used for boot messages.

Can you please post an "nvidia bug report" after having booted all the way to X, and also a copy of all the eld files.

Thanks.
Stephen Warren is offline   Reply With Quote
Old 08-06-10, 04:16 PM   #15
Ayla
Registered User
 
Join Date: Aug 2010
Posts: 4
Default Re: No audio from HDMI (MCP89 / Geforce 320M): Reason: no connected devices detected

Stephen,

I have attached the bug report.

I used the snapshot from today, I guess I couldn't find your code, if they changed it, I'm not much of a programmer.

Weird - Just as I read your reply, the cat /proc/asound/card0/eld#5.0 showed something other than just 0's for the first time(!)

I have my receiver and TV powered on, before I power the Mac Mini on.

Here is the output - it does look promising... Anything else I need to do now?

I tried to play a movie in XBMC but still no sound.

I also tried to play a movie file with mplayer (alsa device 0.3, 0.7 and 0.8):
Code:
mplayer -ao alsa:device=hw=0.3 movie.mp4
But, I have yet to hear a single sound from any program, through HDMI.

I really appreciate the help

Code:
htpc@htpc:~$ cat /proc/asound/card0/eld#5.0 
monitor_present		1
eld_valid		1
monitor_name		Harman AVR  
connection_type		HDMI
eld_version		[0x2] CEA-861D or below
edid_version		[0x3] CEA-861-B, C or D
manufacture_id		0x6720
product_id		0x168
port_id			0x20000
support_hdcp		0
support_ai		0
audio_sync_delay	0
speakers		[0x5f] FL/FR LFE FC RL/RR RC RLC/RRC
sad_count		9
sad0_coding_type	[0x2] AC-3
sad0_channels		6
sad0_rates		[0xe0] 44100 48000 88200
sad0_max_bitrate	640000
sad1_coding_type	[0x7] DTS
sad1_channels		6
sad1_rates		[0x6e0] 44100 48000 88200 176400 192000
sad1_max_bitrate	1536000
sad2_coding_type	[0xa] E-AC-3/DD+ (Dolby Digital Plus)
sad2_channels		8
sad2_rates		[0xc0] 48000 88200
sad3_coding_type	[0xc] MLP (Dolby TrueHD)
sad3_channels		2
sad3_rates		[0x1ec0] 48000 88200 176400 192000 384000
sad4_coding_type	[0xc] MLP (Dolby TrueHD)
sad4_channels		6
sad4_rates		[0x1ec0] 48000 88200 176400 192000 384000
sad5_coding_type	[0xc] MLP (Dolby TrueHD)
sad5_channels		8
sad5_rates		[0x1ec0] 48000 88200 176400 192000 384000
sad6_coding_type	[0xb] DTS-HD
sad6_channels		2
sad6_rates		[0x1ec0] 48000 88200 176400 192000 384000
sad7_coding_type	[0xb] DTS-HD
sad7_channels		6
sad7_rates		[0x1ec0] 48000 88200 176400 192000 384000
sad8_coding_type	[0xb] DTS-HD
sad8_channels		8
sad8_rates		[0x1ec0] 48000 88200 176400 192000 384000
And here is dmesg:

Code:
htpc@htpc:~$ dmesg | grep HDMI
[   16.495149] HDMI hot plug event: Pin=5 Presence_Detect=1 ELD_Valid=0
[   16.515191] HDMI hot plug event: Pin=5 Presence_Detect=0 ELD_Valid=1
[   17.300072] HDMI: detected monitor Harman AVR   at connection type HDMI
[   17.300078] HDMI: available speakers: FL/FR LFE FC RL/RR RC RLC/RRC
[   17.300082] HDMI: supports coding type AC-3: channels = 6, rates = 44100 48000 88200, max bitrate = 640000
[   17.300085] HDMI: supports coding type DTS: channels = 6, rates = 44100 48000 88200 176400 192000, max bitrate = 1536000
[   17.300088] HDMI: supports coding type E-AC-3/DD+ (Dolby Digital Plus): channels = 8, rates = 48000 88200
[   17.300091] HDMI: supports coding type MLP (Dolby TrueHD): channels = 2, rates = 48000 88200 176400 192000 384000
[   17.300094] HDMI: supports coding type MLP (Dolby TrueHD): channels = 6, rates = 48000 88200 176400 192000 384000
[   17.300097] HDMI: supports coding type MLP (Dolby TrueHD): channels = 8, rates = 48000 88200 176400 192000 384000
[   17.300100] HDMI: supports coding type DTS-HD: channels = 2, rates = 48000 88200 176400 192000 384000
[   17.300103] HDMI: supports coding type DTS-HD: channels = 6, rates = 48000 88200 176400 192000 384000
[   17.300106] HDMI: supports coding type DTS-HD: channels = 8, rates = 48000 88200 176400 192000 384000
aplay -l and aplay -L output:

Code:
htpc@htpc:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: Cirrus Analog [Cirrus Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: Cirrus Digital [Cirrus Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


htpc@htpc:~$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=NVidia
    HDA NVidia, Cirrus Analog
    Default Audio Device
front:CARD=NVidia,DEV=0
    HDA NVidia, Cirrus Analog
    Front speakers
surround40:CARD=NVidia,DEV=0
    HDA NVidia, Cirrus Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
    HDA NVidia, Cirrus Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
    HDA NVidia, Cirrus Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
    HDA NVidia, Cirrus Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
    HDA NVidia, Cirrus Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
    HDA NVidia, Cirrus Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, NVIDIA HDMI
    HDMI Audio Output
Attached Files
File Type: gz nvidia-bug-report.log.gz (75.5 KB, 94 views)
Ayla is offline   Reply With Quote
Old 08-09-10, 11:59 AM   #16
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: No audio from HDMI (MCP89 / Geforce 320M): Reason: no connected devices detected

Ayla,

Can you please post the complete output from mplayer (also, add the "-v" command-line option). This should tell us which audio frequency your file is, or which audio frequency that MPlayer is sending out.

Looking at the "eld" file, it looks like your receiver claims it can't support PCM audio. Can you please run nvidia-setting, select the page for your display which will be named something like "DFP-1 - (HCG Harman AVR)", click the "Acquire EDID" button, and post the resultant file here.
Stephen Warren is offline   Reply With Quote
Old 08-11-10, 10:59 AM   #17
lintweaker
Registered User
 
Join Date: Oct 2004
Posts: 44
Question Re: No audio from HDMI (MCP89 / Geforce 320M): Reason: no connected devices detected

Ayla,

Maybe I've missed it, but did you check alsamixer to see if all s/pdif interfaces are enabled on boot?
I see a total of 5 toggles for S/PDIF: S/PDIF, S/PDIF Default PCM, S/PDIF 1, 2 and 3

BTW for me HDMI output for mplayer is on 0.8, so I use ao=alsa:device=hw=0.8
lintweaker is offline   Reply With Quote
Old 08-11-10, 11:15 AM   #18
Ayla
Registered User
 
Join Date: Aug 2010
Posts: 4
Default Re: No audio from HDMI (MCP89 / Geforce 320M): Reason: no connected devices detected

Stephen and lintweaker,

Thanks a lot for your replies!

I'm sorry for not posting sooner, but I finally have sound on my system

What I had to do was:

1. Enable bypass-mode on my Harman Kardon receiver's HDMI input, so the Mac Mini / GT 230 get's it's EDID info from my Lumagen Radiance XD audio/video processor instead.

2. Edit "/etc/modprobe.d/alsa-base.conf" to include this line: enable_msi=0 probe_mask=0xffff,0xfff2 (see info here: http://wiki.xbmc.org/index.php?title...T220,_or_GT240)

3. Use asound.conf, HDA-intel.conf (and general guidelines) from this post: http://forum.xbmc.org/showthread.php?t=74778

4. Unmute everything in alsamixer and use hw device 0.8 (as lintweaker correctly posted above) in Mplayer and XBMC (in XBMC it's "plughw:0,8" as custom "passthrough device")

I'm really happy it's working - and I hope I can replicate the above, if / when I have to do a Ubuntu re-install.

Thanks again for helping me out guys

Regards
Martin
Ayla is offline   Reply With Quote
Old 08-11-10, 12:43 PM   #19
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: No audio from HDMI (MCP89 / Geforce 320M): Reason: no connected devices detected

Ayla,

Could I please prevail upon you to test a few things so that I better understand your problems and can help others with similar issues better:

1)

Can you please describe how you have your receiver, AV processor, and TV connected together (i.e. what order they're in from PC to TV, what connectors are used, etc.).

2)

Could you please capture the EDID that our driver is seeing, using nvidia-settings as I described above, with the receiver both in "bypass mode" and not, i.e. the original configuration.

3)

I see the following in your kernel log:

hda_intel: Disable MSI for Nvidia chipset

I believe this means that you don't need to add "enable_msi=0" to alsa-base.conf. Can you please try removing this option, rebooting, and see if everything still works fine.

4)

Could you possibly check which combinations of probe_mask=0xffff,0xfff2, the updated asound.conf/HDA-intel.conf, and bypass mode on your receiver you need (try reverting each change individually). It's possible that only 1 or 2 of these things are needed, and the other is a red herring.

Thanks very much for any information at all you can provide!
Stephen Warren is offline   Reply With Quote
Old 08-11-10, 02:01 PM   #20
Ayla
Registered User
 
Join Date: Aug 2010
Posts: 4
Default Re: No audio from HDMI (MCP89 / Geforce 320M): Reason: no connected devices detected

Stephen,

I will investigate / test and get back to you.

In the meantime, do you know why my Mac Mini wakes up when the receiver is turned on?

I turn on my receiver, AV processor and TV to watch television and my Mac Mini wakes up from sleep.

Is "wake on HDMI" active with with the Nvidia card / drivers (it detects that the receiver turns on and tells the Mac Mini to turn on)?

If so, is there any way to turn it off (it's rather annoying)?
Ayla is offline   Reply With Quote

Old 08-12-10, 09:56 AM   #21
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: No audio from HDMI (MCP89 / Geforce 320M): Reason: no connected devices detected

Ayla, such a "wake on HDMI" feature is probably something implemented in the HW of the Mac Mini. Is there a BIOS option to disable this? I don't think our driver has any control over this. Sorry.
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:55 PM.


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