No Sound at all

Support with sound and multimedia cards on GhostBSD
Post Reply
Darknessraptor
Posts: 8
Joined: Tue Oct 17, 2023 1:31 am

No Sound at all

Post by Darknessraptor »

Hello

I have a fresh install of GhostBSD, and I have not sound at all on any device: (HDMI, Rear and Front analog input & outputs).

Here my sound hardware outputs:

Code: Select all

root@ghostbsd-pc:/home/admin # kldstat -v | grep snd
		268 hdac/snd_hda
		267 pci/snd_hda
		266 hdaa/snd_hda_pcm
		265 hdacc/snd_hda
		264 pci/snd_via8233
		263 pci/snd_ich
		262 pci/snd_es137x
		261 emu10kx/snd_emu10kx_midi
		260 emu10kx/snd_emu10kx_pcm
		259 pci/snd_emu10kx
		258 csa/snd_csapcm
		257 pci/snd_csa
		256 pci/snd_cmi

root@ghostbsd-pc:/home/admin # cat /dev/sndstat
Installed devices:
pcm0: <Intel Haswell (HDMI/DP 8ch)> (play)
pcm1: <Realtek ALC887 (Rear Analog)> (play/rec) default
pcm2: <Realtek ALC887 (Front Analog)> (play/rec)
No devices installed from userspace.

root@ghostbsd-pc:/home/admin # sysctl hw.snd.default_unit
hw.snd.default_unit: 1

root@ghostbsd-pc:/home/admin # dmesg | grep "Realtek"
hdacc1: <Realtek ALC887 HDA CODEC> at cad 2 on hdac1
hdaa1: <Realtek ALC887 Audio Function Group> at nid 1 on hdacc1
pcm1: <Realtek ALC887 (Rear Analog)> at nid 20 and 24,26 on hdaa1
pcm2: <Realtek ALC887 (Front Analog)> at nid 27 and 25 on hdaa1

root@ghostbsd-pc:/home/admin # dmesg | grep pcm
pcm0: <Intel Haswell (HDMI/DP 8ch)> at nid 3 on hdaa0
pcm1: <Realtek ALC887 (Rear Analog)> at nid 20 and 24,26 on hdaa1
pcm2: <Realtek ALC887 (Front Analog)> at nid 27 and 25 on hdaa1

root@ghostbsd-pc:/home/admin # mixer
Mixer vol      is currently set to  84:84
Mixer pcm      is currently set to 100:100
Mixer speaker  is currently set to  74:74
Mixer line     is currently set to   1:1
Mixer mic      is currently set to  67:67
Mixer mix      is currently set to  74:74
Mixer rec      is currently set to  35:35
Mixer igain    is currently set to   0:0
Mixer ogain    is currently set to 100:100
Recording source: mic
What can I do?
Thank you!
User avatar
neville
Developer
Posts: 88
Joined: Fri Aug 13, 2021 10:27 am
Location: Japan

Re: No Sound at all

Post by neville »

Welcome to GhostBSD.

What happens when you make the default sound device to 2.
Do you get sound through the headphone jack?

Your card should be working. It's supported.

What version of GhostBSD are you using?
wb7odyfred
Posts: 206
Joined: Sat Nov 12, 2016 5:44 pm

Re: No Sound at all

Post by wb7odyfred »

:D Glad you are here. "I can hear you now" Verizon TV quote.

pulseaudio , gstreamer-plugins-all... sudo sysctl hw.snd.default_unit=2 you unit may differ try that.

Please keep text notes on what you try and fail AND what you try and works. In the near future, I am working on application to support starting and enabling sound on new Ghostbsd installations. your intermediate notes on failures and success will help me write that Python app.

nids values are important.
Darknessraptor
Posts: 8
Joined: Tue Oct 17, 2023 1:31 am

Re: No Sound at all

Post by Darknessraptor »

neville wrote: Wed Oct 18, 2023 7:13 am Welcome to GhostBSD.

What happens when you make the default sound device to 2.
Do you get sound through the headphone jack?

Your card should be working. It's supported.

What version of GhostBSD are you using?
Hello Neville;

I set as device 2; and still nothing happen. I have two outputs connected and nothing. I agree, yes it's supported, so what could it be?

My Version is:
GhostBSD 23.06.01
Darknessraptor
Posts: 8
Joined: Tue Oct 17, 2023 1:31 am

Re: No Sound at all

Post by Darknessraptor »

wb7odyfred wrote: Wed Oct 18, 2023 2:05 pm :D Glad you are here. "I can hear you now" Verizon TV quote.

pulseaudio , gstreamer-plugins-all... sudo sysctl hw.snd.default_unit=2 you unit may differ try that.

Please keep text notes on what you try and fail AND what you try and works. In the near future, I am working on application to support starting and enabling sound on new Ghostbsd installations. your intermediate notes on failures and success will help me write that Python app.

nids values are important.
Okay, I'll do, Lol, yes I did understand the joke! :lol:
Last edited by Darknessraptor on Thu Oct 19, 2023 1:11 am, edited 1 time in total.
User avatar
neville
Developer
Posts: 88
Joined: Fri Aug 13, 2021 10:27 am
Location: Japan

Re: No Sound at all

Post by neville »

Are you using a laptop?
Darknessraptor
Posts: 8
Joined: Tue Oct 17, 2023 1:31 am

Re: No Sound at all

Post by Darknessraptor »

neville wrote: Wed Oct 18, 2023 8:41 pm Are you using a laptop?
No It's a desktop.
Darknessraptor
Posts: 8
Joined: Tue Oct 17, 2023 1:31 am

Re: No Sound at all

Post by Darknessraptor »

wb7odyfred wrote: Wed Oct 18, 2023 2:05 pm :D Glad you are here. "I can hear you now" Verizon TV quote.

pulseaudio , gstreamer-plugins-all... sudo sysctl hw.snd.default_unit=2 you unit may differ try that.

Please keep text notes on what you try and fail AND what you try and works. In the near future, I am working on application to support starting and enabling sound on new Ghostbsd installations. your intermediate notes on failures and success will help me write that Python app.

nids values are important.
I had this outputs:

Code: Select all

Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
luisadmin@luis-ghostbsd-pc ~> pulseaudio 
W: [(null)] caps.c: Normally all extra capabilities would be dropped now, but that's impossible because PulseAudio was built without capabilities support.
E: [(null)] pid.c: Daemon already running.
E: [(null)] main.c: Ha fallado pa_pid_file_create().
luisadmin@luis-ghostbsd-pc ~ [1]> sudo pulseaudio
Contraseña: 
W: [(null)] main.c: Este programa no tiene por qué ser ejecutado como root (a menos que --system sea especificado).
W: [(null)] oss-util.c: '/dev/dsp0' doesn't support full duplex
W: [(null)] authkey.c: Failed to open cookie file '/root/.config/pulse/cookie': No such file or directory
W: [(null)] authkey.c: Failed to load authentication key '/root/.config/pulse/cookie': No such file or directory
W: [(null)] authkey.c: Failed to open cookie file '/root/.pulse-cookie': No such file or directory
W: [(null)] authkey.c: Failed to load authentication key '/root/.pulse-cookie': No such file or directory
W: [(null)] cli-command.c: stat('/usr/local/etc/pulse/default.pa.d'): No such file or directory
luisadmin@luis-ghostbsd-pc ~> gstreamer-plugins-all
fish: Unknown command: gstreamer-plugins-all
luisadmin@luis-ghostbsd-pc ~ [127]> sudo gstreamer-plugins-all
sudo: gstreamer-plugins-all: command not found
luisadmin@luis-ghostbsd-pc ~ [1]> su
Password:
root@luis-ghostbsd-pc:/home/luisadmin # gstreamer-plugins-all
su: gstreamer-plugins-all: not found
root@luis-ghostbsd-pc:/home/luisadmin # sysctl hw.snd.default_unit=2
hw.snd.default_unit: 1 -> 2
root@luis-ghostbsd-pc:/home/luisadmin # 
root@luis-ghostbsd-pc:/home/luisadmin # 

I hope this could help.

Thank you!
Post Reply