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

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-04-09, 02:22 PM   #13
|Blu@Sky|
Registered User
 
Join Date: Oct 2009
Posts: 3
Default Re: Problems with audio over HDMI on Apple TV

Hey wck555, thanks for your analysis and excellent posts.

I can confirm the behavior: the NVIDIA driver changes the HDA and stops the audio.

So I digged into this a little more and I believe that using hda-verb and/or hda-analyzer we can directly change those options after that the NVIDIA driver loaded (and changed them).

According to the Kernel.org ALSA HD-Audio Documentation enabling a couple of options into the kernel (CONFIG_SND_HDA_HWDEP and CONFIG_SND_HDA_RECONFIG) we should be able to access to some interfaces to directly manipulate HDA configs and pins.

It seems also possible to create a patch for the HDA to do this, so we could automate it.

I am recompiling my kernel just now (on an Apple TV it is not quick). I will tinker with this during the afternoon and post an update tonight.
|Blu@Sky| is offline   Reply With Quote
Old 10-04-09, 03:44 PM   #14
|Blu@Sky|
Registered User
 
Join Date: Oct 2009
Posts: 3
Default NVIDIA drivers change HDA config, use HDA-VERB to restore

Thanks to hda-emu while the kernel is compiling I discovered that to obtain

Quote:
Node 0x02 [Audio Output] wcaps 0x6211: 8-Channels Digital
Converter: stream=0, channel=0
Digital: Enabled
we can use against the node 0x02 the verb 0x70d with param 0x1

Code:
set_digi_cvt_1 1
and to obtain

Quote:
Node 0x03 [Pin Complex] wcaps 0x40738d: 8-Channels Digital Amp-Out CP
...
Pin-ctls: 0x40: OUT
we can use against the node 0x03 the verb 0x707 with param 0x40

Code:
set_pin_ctl 64
so the two commands would be

Quote:
hda-verb 0x02 0x70d 0x01
hda-verb 0x03 0x707 0x40
I ran this with the simulator and everything works there. I am still waiting for the AppleTV to finish compiling the kernel with CONFIG_SND_HDA_HWDEP to allow me to change these on-the-fly and try it out.

Will report the results later.

Last edited by |Blu@Sky|; 10-04-09 at 11:06 PM. Reason: changed title of post for better Google indexing
|Blu@Sky| is offline   Reply With Quote
Old 10-04-09, 10:36 PM   #15
|Blu@Sky|
Registered User
 
Join Date: Oct 2009
Posts: 3
Unhappy HDA-VERB restores HDA config, but SND-HWDEP breaks sound

I am here to report the results of today's experiments as promised but I do not have good news for now.

On the positive side, with the patched snd-hda-intel (loading snd-hwdep first) I can use hda-verb to change those settings and restore the original HDA configuration after the NVIDIA driver changes them.

Unfortunately, I noticed that whenever I load the snd-hwdep module, even with the original snd-hda-intel, the sound does not work even in console.

Finally, but I do not know if this is a symptom or the cause, while booting, when the sound does not work I do not see the following message

Quote:
HDA Intel 0000:00:1b.0: enabling device (0000 -> 0002)
Perhaps I can force it using the enable parameter while loading snd-hda-intel, but I have to confirm/check that.

If you have any idea, ping me.
|Blu@Sky| is offline   Reply With Quote
Old 10-05-09, 12:05 AM   #16
jyavenard
MythTV developer
 
Join Date: Mar 2006
Posts: 413
Default Re: Problems with audio over HDMI on Apple TV

Quote:
Originally Posted by toor View Post
In short, I've got audio over HDMI working on Apple TV with NVidia 100.14.19 driver, but other driver versions (173.14.12, 177.80, 180.06) don't work.
Probably too obvious, but why don't you stay with driviers 100.14.19 ?
None of the more recent drivers would add much with your hardware.

If it ain't broken, don't fix it as they say
jyavenard is offline   Reply With Quote
Old 10-05-09, 06:20 AM   #17
thefirstm
Registered User
 
Join Date: Feb 2009
Posts: 226
Default Re: Problems with audio over HDMI on Apple TV

He already said. Those drivers won't compile against the kernel he uses.
thefirstm is offline   Reply With Quote
Old 04-28-10, 12:00 PM   #18
andybz
Registered User
 
Join Date: Apr 2010
Posts: 1
Default Re: Problems with audio over HDMI on Apple TV

Has anyone had any luck with this? I see the thread hasn't been active for a while
andybz 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
IOGEAR 3D Complete+ 4-Port HDMI Switcher with 2D/3D Video Processor News Archived News Items 0 06-28-12 05:40 PM
Upgrade from 290.10 to 295.49 on GeForce 8300 = no hdmi audio + overscan tbubel NVIDIA Linux 2 06-15-12 03:55 AM
No HDMI audio on 302.07 fldc NVIDIA Linux 5 06-01-12 04:46 PM
Apple says DoJ "sides with monopoly, rather than competition" News Archived News Items 0 05-24-12 11:30 AM
HDMI audio ELD weirdness RockHound NVIDIA Linux 0 05-11-12 03:45 AM

All times are GMT -5. The time now is 06:52 PM.


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