Solved FreeBSD 10.2 nvidia gtx750ti no hdmi sound

Good day to you all!
I am running FreeBSD 10.2 default install on a Nvidia gtx750ti video card with HDMI sound. Sound works in windows so the card is not the problem, (I dual boot.)

How can I go about debugging this? I'll try and give you some basics I am not entirely new to FreeBSD and I can follow instructions well. I am running KDE and in sound settings all that is listed is OSS but but my sound card, a Xonar DS, and my HDMI from Nvidia are listed but make no sound output.

Here is cat /dev/sndstat:
Code:
$ cat /dev/sndstat
Installed devices:
pcm0: <NVIDIA (0x0060) (HDMI/DP 8ch)> (play) default
pcm1: <NVIDIA (0x0060) (HDMI/DP 8ch)> (play)
pcm2: <NVIDIA (0x0060) (HDMI/DP 8ch)> (play)
pcm3: <USB audio> (rec)

Code:
root@bsd:/home/mike # kldstat -v | grep snd
                278 hdac/snd_hda
                277 pci/snd_hda
                276 hdaa/snd_hda_pcm
                275 hdacc/snd_hda
                274 pci/snd_via8233
                273 pci/snd_ich
                272 pci/snd_es137x
                271 emu10kx/snd_emu10kx_midi
                270 emu10kx/snd_emu10kx_pcm
                269 pci/snd_emu10kx
                268 csa/snd_csapcm
                267 pci/snd_csa
                266 pci/snd_cmi
4    1 0xffffffff82811000 10038    snd_uaudio.ko (/boot/kernel/snd_uaudio.ko)
root@bsd:/home/mike #
Thanks for any and all help as I want to run FreeBSD but no sound is quite the deal breaker!

**EDIT
Upon further investigation,
Code:
$ ls -l /dev/dsp*
crw-rw-rw-  1 root  wheel  0x87 Nov  3 19:33 /dev/dsp0.0
crw-rw-rw-  1 root  wheel  0x86 Nov  3 15:35 /dev/dsp1.0
crw-rw-rw-  1 root  wheel  0x85 Nov  3 15:35 /dev/dsp2.0
crw-rw-rw-  1 root  wheel  0x84 Nov  3 15:35 /dev/dsp3.0
$ dd if=/dev/urandom of=/dev/dsp0.0
^X^C149+0 records in
148+0 records out
75776 bytes transferred in 9.034183 secs (8388 bytes/sec)
$ dd if=/dev/urandom of=/dev/dsp1.0
^C36+0 records in
35+0 records out
17920 bytes transferred in 1.775577 secs (10092 bytes/sec)
$ dd if=/dev/urandom of=/dev/dsp1.0

The last command /dev/dsp1.0 gave me static, but I am not sure what my next step is. Awaiting your much appreciated help.
 
Figured it out after a little reading from these forums and the troubleshooting sound part of the handbook, thanks anyway fellas. For what its worth it had the sound cards confused and was outputting to the wrong one so I added hw.snd.default_unit=1 to /etc/sysctl.conf
 
I figured it would be that when I read the title of your post, but you found the answer yourself. But if you don't mind, now I have two questions: So the HDMI sound now really works? Do you have the video card connected to your TV set and both video and audio work through the HDMI cable?
Second question: The Xonar DS is a 7.1 sound card, right? Does 7.1 or 5.1 sound work with that card under FreeBSD? As far as I know, only the hda sound driver is capable of surround sound in FreeBSD?
 
Do you have the video card connected to your TV set and both video and audio work through the HDMI cable

Hi. Yes using just the HDMI cord from the card to my TV get both video and sound.

The Xonar DS is a 7.1 sound card, right? Does 7.1 or 5.1 sound work with that card under FreeBSD? As far as I know, only the hda sound driver is capable of surround sound in FreeBSD?
As far as I know from the last time I tried to run freebsdFreeBSD with that card it didn't even have a driver and that's why I ended up running Debian on that machine. I don't know if that has changed I'll have to look it up but I'm just glad I got sound through HDMI on my nvidia card. I dual boot the box with Windows, FreeBSD, and Debian hence the Xonar is there to stay anyway so maybe I'll play with it and let you know.
 
Back
Top