Bug 171082

Summary: Nvidia GeForce GTX 560 no HDMI Sound
Product: Base System Reporter: Paul Pathiakis <pathiaki2>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me CC: cukierski.lukasz
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Paul Pathiakis 2012-08-26 17:20:01 UTC
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. :-(
Comment 1 Yuri Pankov 2012-08-26 17:24:21 UTC
Try setting hint.hdac.0.msi=0 in /boot/loader.conf.
Comment 2 Paul Pathiakis 2012-08-27 14:12:48 UTC
Thank you, Yuri.

hint.hdac.0.msi=0 in /boot/loader.conf worked.

I also turned on dev.hdac.0.polling = 1 in sysctl.  (I don't know if that helped or not.)

However,

dev.hdac.0.%desc: NVidia (Unknown) High Definition Audio Controller
dev.hdac.0.%driver: hdac
dev.hdac.0.%location: slot=0 function=1
dev.hdac.0.%pnpinfo: vendor=0x10de device=0x0e0c subvendor=0x19da subdevice=0x1227 class=0x040300
dev.hdac.0.%parent: pci2
dev.hdac.0.polling: 1
dev.hdac.0.polling_interval: 250
dev.hdac.0.pindump: 0

and this is still undefined as "Unknown" above and below:

FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <HDA NVidia (Unknown) PCM #0 DisplayPort> (play)
pcm1: <HDA NVidia (Unknown) PCM #0 DisplayPort> (play) default
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)

Does this need to be in the devices in the kernel?  I would think in today's kernel we just extract this, however, if the chipset is non-defined....

Thank you for the help!

P.




________________________________
 From: Yuri Pankov <yuri.pankov@gmail.com>
To: Paul Pathiakis <pathiaki2@yahoo.com>; freebsd-bug-followup <bug-followup@FreeBSD.org> 
Sent: Sunday, August 26, 2012 12:24 PM
Subject: Re: misc/171082: Nvidia GeForce GTX 560 no HDMI Sound
 
Try setting hint.hdac.0.msi=0 in /boot/loader.conf.
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:30 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 4 Łukasz 2021-03-25 07:23:31 UTC
(In reply to Paul Pathiakis from comment #0)
maybe try FreeBSD 13.0-RC3