From nobody@FreeBSD.org  Sun Aug 26 16:16:18 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 0ED98106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 26 Aug 2012 16:16:18 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id D55338FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 26 Aug 2012 16:16:17 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q7QGGHW8035516
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 26 Aug 2012 16:16:17 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q7QGGH26035497;
	Sun, 26 Aug 2012 16:16:17 GMT
	(envelope-from nobody)
Message-Id: <201208261616.q7QGGH26035497@red.freebsd.org>
Date: Sun, 26 Aug 2012 16:16:17 GMT
From: Paul Pathiakis <pathiaki2@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Nvidia GeForce GTX 560 no HDMI Sound
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         171082
>Category:       misc
>Synopsis:       Nvidia GeForce GTX 560 no HDMI Sound
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 26 16:20:01 UTC 2012
>Closed-Date:    
>Last-Modified:  Mon Aug 27 13:20:02 UTC 2012
>Originator:     Paul Pathiakis
>Release:        FreeBSD 9.0 - RELEASE
>Organization:
Atlantis Services (self)
>Environment:
FreeBSD pcbsd-3052 9.0-RELEASE FreeBSD 9.0-RELEASE #3: Tue Dec 27 14:14:29 PST 2011     root@build9x64.pcbsd.org:/usr/obj/builds/amd64/pcbsd-build90/fbsd-source/9.0/sys/GENERIC  amd64

>Description:
I'm trying to enable HDMI output on the Nvidia GeForce GTX 560.  I have working speakers for my onboard sound and I have a monitor with built-in sound.

I've cycled through the 0-3 PCM devices as the default and nothing.  (If I switch to DVI with the PCM 4-7, everything is fine)

FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <HDA NVidia (Unknown) PCM #0 DisplayPort> (play) default
pcm1: <HDA NVidia (Unknown) PCM #0 DisplayPort> (play)
pcm2: <HDA NVidia (Unknown) PCM #0 DisplayPort> (play)
pcm3: <HDA NVidia (Unknown) PCM #0 DisplayPort> (play)
pcm4: <HDA Realtek ALC892 PCM #0 Analog> (play/rec)
pcm5: <HDA Realtek ALC892 PCM #1 Analog> (play/rec)
pcm6: <HDA Realtek ALC892 PCM #2 Digital> (play)
pcm7: <HDA Realtek ALC892 PCM #3 Digital> (play)


pciconf -lv shows:


vgapci0@pci0:2:0:0:     class=0x030000 card=0x122719da chip=0x120110de rev=0xa1 hdr=0x00
    vendor     = 'nVidia Corporation'
    class      = display
    subclass   = VGA
hdac0@pci0:2:0:1:       class=0x040300 card=0x122719da chip=0x0e0c10de rev=0xa1 hdr=0x00
    vendor     = 'nVidia Corporation'
    class      = multimedia
    subclass   = HDA
atapci0@pci0:3:0:0:     class=0x010185 card=0x824f1043 chip=0x2361197b rev=0x02 hdr=0x00


kldstat | grep nvidia
19    1 0xffffffff816b4000 e1ec38   nvidia.ko

I've tried both the 295.59 that comes stock with PCBSD/FreeBSD 9.0 and I've upgraded to 304.37 as the latest Nvidia driver available for 64-bit... Nothing.

I assume something is not proper in the device.hints or the definition of the chipset and the OS to identify the card.  



>How-To-Repeat:
Just install the GTX 560 card and try. :-(
>Fix:


>Release-Note:
>Audit-Trail:

From: Yuri Pankov <yuri.pankov@gmail.com>
To: Paul Pathiakis <pathiaki2@yahoo.com>, 
 freebsd-bug-followup <bug-followup@FreeBSD.org>
Cc:  
Subject: Re: misc/171082: Nvidia GeForce GTX 560 no HDMI Sound
Date: Sun, 26 Aug 2012 20:24:21 +0400

 Try setting hint.hdac.0.msi=0 in /boot/loader.conf.

From: Paul Pathiakis <pathiaki2@yahoo.com>
To: Yuri Pankov <yuri.pankov@gmail.com>,
  freebsd-bug-followup <bug-followup@FreeBSD.org>
Cc:  
Subject: Re: misc/171082: Nvidia GeForce GTX 560 no HDMI Sound
Date: Mon, 27 Aug 2012 06:12:48 -0700 (PDT)

 --1075677127-1542510142-1346073168=:26726
 Content-Type: text/plain; charset=iso-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 Thank you, Yuri.=0A=0Ahint.hdac.0.msi=3D0 in /boot/loader.conf worked.=0A=
 =0AI also turned on dev.hdac.0.polling =3D 1 in sysctl.=A0 (I don't know if=
  that helped or not.)=0A=0AHowever,=0A=0Adev.hdac.0.%desc: NVidia (Unknown)=
  High Definition Audio Controller=0Adev.hdac.0.%driver: hdac=0Adev.hdac.0.%=
 location: slot=3D0 function=3D1=0Adev.hdac.0.%pnpinfo: vendor=3D0x10de devi=
 ce=3D0x0e0c subvendor=3D0x19da subdevice=3D0x1227 class=3D0x040300=0Adev.hd=
 ac.0.%parent: pci2=0Adev.hdac.0.polling: 1=0Adev.hdac.0.polling_interval: 2=
 50=0Adev.hdac.0.pindump: 0=0A=0Aand this is still undefined as "Unknown" ab=
 ove and below:=0A=0AFreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)=
 =0AInstalled devices:=0Apcm0: <HDA NVidia (Unknown) PCM #0 DisplayPort> (pl=
 ay)=0Apcm1: <HDA NVidia (Unknown) PCM #0 DisplayPort> (play) default=0Apcm2=
 : <HDA NVidia (Unknown) PCM #0 DisplayPort> (play)=0Apcm3: <HDA NVidia (Unk=
 nown) PCM #0 DisplayPort> (play)=0Apcm4: <HDA Realtek ALC892 PCM #0 Analog>=
  (play/rec)=0Apcm5: <HDA Realtek ALC892 PCM #1 Analog> (play/rec)=0Apcm6: <=
 HDA Realtek ALC892 PCM #2 Digital> (play)=0Apcm7: <HDA Realtek ALC892 PCM #=
 3 Digital> (play)=0A=0ADoes this need to be in the devices in the kernel?=
 =A0 I would think in today's kernel we just extract this, however, if the c=
 hipset is non-defined....=0A=0AThank you for the help!=0A=0AP.=0A=0A=0A=0A=
 =0A________________________________=0A From: Yuri Pankov <yuri.pankov@gmail=
 .com>=0ATo: Paul Pathiakis <pathiaki2@yahoo.com>; freebsd-bug-followup <bug=
 -followup@FreeBSD.org> =0ASent: Sunday, August 26, 2012 12:24 PM=0ASubject:=
  Re: misc/171082: Nvidia GeForce GTX 560 no HDMI Sound=0A =0ATry setting hi=
 nt.hdac.0.msi=3D0 in /boot/loader.conf.
 --1075677127-1542510142-1346073168=:26726
 Content-Type: text/html; charset=iso-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 <html><body><div style=3D"color:#000; background-color:#fff; font-family:ti=
 mes new roman, new york, times, serif;font-size:12pt">Thank you, Yuri.<br><=
 br>hint.hdac.0.msi=3D0 in /boot/loader.conf worked.<br><br>I also turned on=
  dev.hdac.0.polling =3D 1 in sysctl.&nbsp; (I don't know if that helped or =
 not.)<br><br>However,<br><br>dev.hdac.0.%desc: NVidia (Unknown) High Defini=
 tion Audio Controller<br>dev.hdac.0.%driver: hdac<br>dev.hdac.0.%location: =
 slot=3D0 function=3D1<br>dev.hdac.0.%pnpinfo: vendor=3D0x10de device=3D0x0e=
 0c subvendor=3D0x19da subdevice=3D0x1227 class=3D0x040300<br>dev.hdac.0.%pa=
 rent: pci2<br>dev.hdac.0.polling: 1<br>dev.hdac.0.polling_interval: 250<br>=
 dev.hdac.0.pindump: 0<br><br>and this is still undefined as "Unknown" above=
  and below:<br><br>FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)<br=
 >Installed devices:<br>pcm0: &lt;HDA NVidia (Unknown) PCM #0 DisplayPort&gt=
 ; (play)<br>pcm1: &lt;HDA NVidia (Unknown) PCM #0 DisplayPort&gt; (play)
  default<br>pcm2: &lt;HDA NVidia (Unknown) PCM #0 DisplayPort&gt; (play)<br=
 >pcm3: &lt;HDA NVidia (Unknown) PCM #0 DisplayPort&gt; (play)<br>pcm4: &lt;=
 HDA Realtek ALC892 PCM #0 Analog&gt; (play/rec)<br>pcm5: &lt;HDA Realtek AL=
 C892 PCM #1 Analog&gt; (play/rec)<br>pcm6: &lt;HDA Realtek ALC892 PCM #2 Di=
 gital&gt; (play)<br>pcm7: &lt;HDA Realtek ALC892 PCM #3 Digital&gt; (play)<=
 br><br>Does this need to be in the devices in the kernel?&nbsp; I would thi=
 nk in today's kernel we just extract this, however, if the chipset is non-d=
 efined....<br><br>Thank you for the help!<br><br>P.<br><div><span><br></spa=
 n></div><div><br></div>  <div style=3D"font-family: times new roman, new yo=
 rk, times, serif; font-size: 12pt;"> <div style=3D"font-family: times new r=
 oman, new york, times, serif; font-size: 12pt;"> <div dir=3D"ltr"> <font fa=
 ce=3D"Arial" size=3D"2"> <hr size=3D"1">  <b><span style=3D"font-weight:bol=
 d;">From:</span></b> Yuri Pankov &lt;yuri.pankov@gmail.com&gt;<br> <b><span
  style=3D"font-weight: bold;">To:</span></b> Paul Pathiakis &lt;pathiaki2@y=
 ahoo.com&gt;; freebsd-bug-followup &lt;bug-followup@FreeBSD.org&gt; <br> <b=
 ><span style=3D"font-weight: bold;">Sent:</span></b> Sunday, August 26, 201=
 2 12:24 PM<br> <b><span style=3D"font-weight: bold;">Subject:</span></b> Re=
 : misc/171082: Nvidia GeForce GTX 560 no HDMI Sound<br> </font> </div> <br>=
 =0ATry setting hint.hdac.0.msi=3D0 in /boot/loader.conf.<br><br><br> </div>=
  </div>  </div></body></html>
 --1075677127-1542510142-1346073168=:26726--
>Unformatted:
