cat /dev/sndstat
please? We need to see what's being detected.What graphics card do you have? The sound is integrated on it, so we need know what you have.I still cannot get sound working through the hdmi to my tv monitor.
Can you post the output fromcat /dev/sndstat
please? We need to see what's being detected.
What graphics card do you have? The sound is integrated on it, so we need know what you have.
$ cat /dev/sndstat
Installed devices:
pcm0: <NVIDIA (0x001c) (HDMI/DP 8ch)> (play)
pcm1: <NVIDIA (0x001c) (HDMI/DP 8ch)> (play)
pcm2: <Realtek ALC662 (Analog 2.0+HP/2.0)> (play/rec)
pcm3: <Realtek ALC662 (Rear Digital)> (play) default
No devices installed from userspace.
I can tell from the sndstat output it's an NVidia card. You can find the exact model by looking at the output fromNot sure what graphics card I have. how do I tell?
pciconf -lv
. Did you install the x11/nvidia-driver?I can tell from the sndstat output it's an NVidia card. You can find the exact model by looking at the output frompciconf -lv
. Did you install the x11/nvidia-driver?
cat /dev/sndstat (search for NVIDIA...)
pcm0: <NVIDIA (0x001c) (HDMI/DP 8ch)> (play)
pcm1: <NVIDIA (0x001c) (HDMI/DP 8ch)> (play)
sysctl hw.snd.default_unit=0
sysctl hw.snd.default_unit=1
hw.snd.default_unit=1
in /etc/sysctl.conf.Hi,
On my FreeBSD desktop computer with GF119 hardware, i had to install nvidia-driver-390 and sound works well with HDMI monitor.
I do that to find right device after installing 390 driver :
Code:cat /dev/sndstat (search for NVIDIA...) pcm0: <NVIDIA (0x001c) (HDMI/DP 8ch)> (play) pcm1: <NVIDIA (0x001c) (HDMI/DP 8ch)> (play)
sysctl hw.snd.default_unit=0
try sound = NO SOUND
sysctl hw.snd.default_unit=1
try sound = OK
puthw.snd.default_unit=1
in /etc/sysctl.conf.
pkg info -D nvidia-driver-390
. kldstat | grep nvidia
should return:... nvidia-modeset.ko
... nvidia.ko
Section "Device"
Identifier "Card0"
Driver "nvidia"
EndSection
I tried that and I'm still not getting sound from my sound bar on the tv monitor through hdmi.
mixer
to display the volume values. Test the card in xorg from a terminal: cat /COPYRIGHT > /dev/dsp
(a short white noise should be heard, try multiple times). Make sure the volume of the TV and mixer is up. Try setting for pcm0 and pcm1 hw.snd.default_unit
again.I assume you have carried out what the NVIDIA package has displayed after the installation in the message, if not executepkg info -D nvidia-driver-390
.
kldstat | grep nvidia
should return:
Code:... nvidia-modeset.ko ... nvidia.ko
and in /usr/local/etc/X11/xorg.conf.d/nvidia.conf should be set:
Note: The NVIDIA driver provides only in xorg sound, not in the console.Code:Section "Device" Identifier "Card0" Driver "nvidia" EndSection
Is this a seperate bar? And have you checked if the TV's (bar's) volume is up? The cabeling in order? Runmixer
to display the volume values. Test the card in xorg from a terminal:cat /COPYRIGHT > /dev/dsp
(a short white noise should be heard, try multiple times). Make sure the volume of the TV and mixer is up. Try setting for pcm0 and pcm1hw.snd.default_unit
again.
I assume you have carried out what the NVIDIA package has displayed after the installation in the message, if not executepkg info -D nvidia-driver-390
.
kldstat | grep nvidia
should return:
Code:... nvidia-modeset.ko ... nvidia.ko
and in /usr/local/etc/X11/xorg.conf.d/nvidia.conf should be set:
Note: The NVIDIA driver provides only in xorg sound, not in the console.Code:Section "Device" Identifier "Card0" Driver "nvidia" EndSection
Is this a seperate bar? And have you checked if the TV's (bar's) volume is up? The cabeling in order? Runmixer
to display the volume values. Test the card in xorg from a terminal:cat /COPYRIGHT > /dev/dsp
(a short white noise should be heard, try multiple times). Make sure the volume of the TV and mixer is up. Try setting for pcm0 and pcm1hw.snd.default_unit
again.
My volume is up on the tv and mixer. I did kldstat and 1 nvidia came up. I've tried every pcm number too and no luck. The bar is part of the tv. Not separate.
nvidia
related delete it. Set in /etc/rc.conf:kld_list="nvidia-modeset"
Driver "nvidia"
set, haven't you?If you have set in /boot/loader.conf anythingnvidia
related delete it. Set in /etc/rc.conf:
Reboot, try testing the card in xorg with cat(1) and sysctl(8) hw.snd.default_unit.Code:kld_list="nvidia-modeset"
I assume you have a /usr/local/etc/X11/xorg.conf.d/nvidia.conf (or similar) file withDriver "nvidia"
set, haven't you?
linux_enable="YES"
kldload linux
kldload linux64
pkg install nvidia-driver-390
Section "Device"
Identifier "Device0"
Driver "nvidia"
Option "NoLogo" "true"
EndSection
kld_list="nvidia-modeset"
pkg install nvidia-settings
To make 390 Nvidia work on FreeBSD you need also :
in your /etc/rc.confCode:linux_enable="YES"
to install 390 driver the right way you also need to do :
Code:kldload linux kldload linux64 pkg install nvidia-driver-390
in /usr/local/etc/X11/xorg.conf.d
I have this file: 20-nvidia.conf
in /etc/rc.confCode:Section "Device" Identifier "Device0" Driver "nvidia" Option "NoLogo" "true" EndSection
thenCode:kld_list="nvidia-modeset"
pkg install nvidia-settings
to have Nvidia tool to test every thing is fine.
Maybe you should try to plug computer directly on TV without sound bar to start.
How do you test the sound?Still no sound though.
Please checkAlso, the cat command returns with no such file or directory.
ls -al /COPYRIGHT
ls -al /dev/dsp
kldstat | grep nvidia
return?That might not be a reliable source. Which browser are you using? Try the test with a file again: Take any file in the users directory,I test the sound through youtube
cat that_file > /dev/dsp
. Make sure the speaker settings on the TV are correct set (TV Speaker, not external), the TV's and mixers volume is up, and try setting for pcm0 and pcm1 sysctl hw.snd.default_unit=0
(or 1) .That might not be a reliable source. Which browser are you using? Try the test with a file again: Take any file in the users directory,cat that_file > /dev/dsp
. Make sure the speaker settings on the TV are correct set (TV Speaker, not external), the TV's and mixers volume is up, and try setting for pcm0 and pcm1sysctl hw.snd.default_unit=0
(or 1) .
I'm running x11/nvidia-driver-390 on a GeForce GT 630. For HDMI sound and video all it takes are the kernel modules and xorg driver setting. The sound on Youtube with www/firefox works fine (on 12.1-RELEASE).
Has Jaekelsson not the same graphics card?How did you know that I needed to load the 390 model nvidia driver though?
On my FreeBSD desktop computer with GF119 hardware, i had to install nvidia-driver-390 and sound works well with HDMI monitor.
after setting "sysctl hw.snd.default_unit=1" try running "cat /dev/sndstat" once more and see if "default" is now at pcm0 or pcm1. If that is the case, restart your music player and check if sound works. Try for both "_unit=0" and "_unit=1".I tried that and I'm still not getting sound from my sound bar on the tv monitor through hdmi. I heard there's a more in-depth fix for this problem. Do you know of any other solutions?