Sound running ghostbsd as a client under virtualbox

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
Post Reply
Ken E Unix
Posts: 29
Joined: Sat Jul 29, 2023 6:37 pm

Sound running ghostbsd as a client under virtualbox

Post by Ken E Unix »

Hi.

I have Ghostbsd 23.07.29 running under Virtualbox 7.0.10 under Ubuntu 22.04 and am unable
to get the sound working.

Everything else appears to work.

Any ideas?
Ken
wb7odyfred
Posts: 206
Joined: Sat Nov 12, 2016 5:44 pm

Re: Sound running ghostbsd as a client under virtualbox

Post by wb7odyfred »

cat /dev/sndstat
cat /etc/rc.conf
kldstat
pciconf -lv gives output of model number for sound device as well
sysctl hw.snd
sysctl hw.snd.default_unit
sysctl hw.snd.default_unit=3
Last edited by wb7odyfred on Tue Sep 26, 2023 2:25 pm, edited 1 time in total.
wb7odyfred
Posts: 206
Joined: Sat Nov 12, 2016 5:44 pm

Re: Sound examples

Post by wb7odyfred »

I am interested in your opinions and observations as you delve into GhostBSD. Keep notes in a file and share with me your thoughts and findings as you go. These seem like standard tasks. If you have enough ram space you can test install software packages with the Live.iso For mpd and cantata, use software-station and see if you can load. Headphones cat /dev/sndstat
cat /dev/sndstat
Installed devices:
pcm0: <Intel Haswell (HDMI/DP 8ch)> (play)
pcm1: <Intel Haswell (HDMI/DP 8ch)> (play)
pcm2: <Intel Haswell (HDMI/DP 8ch)> (play)
pcm3: <IDT 92HD91BXX (Analog 2.0+HP/2.0)> (play/rec) default
pcm4: <IDT 92HD91BXX (Analog)> (play/rec)
No devices installed from userspace.

$ sysctl hw.snd
hw.snd.maxautovchans: 16
hw.snd.default_unit: 3
hw.snd.version: 2009061500/amd64
hw.snd.default_auto: 1
hw.snd.verbose: 0
hw.snd.vpc_mixer_bypass: 1
hw.snd.feeder_rate_quality: 1
hw.snd.feeder_rate_round: 25
hw.snd.feeder_rate_max: 2016000
hw.snd.feeder_rate_min: 1
hw.snd.feeder_rate_polyphase_max: 183040
hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97
hw.snd.feeder_eq_exact_rate: 0
hw.snd.feeder_eq_presets: PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,48000,88200,96000,176400,192000
hw.snd.basename_clone: 1
hw.snd.compat_linux_mmap: 0
hw.snd.syncdelay: -1
hw.snd.usefrags: 0
hw.snd.vpc_reset: 0
hw.snd.vpc_0db: 45
hw.snd.vpc_autoreset: 1
hw.snd.timeout: 5
hw.snd.latency_profile: 1
hw.snd.latency:
hw.snd.report_soft_matrix: 1
hw.snd.report_soft_formats: 1
$
sysctl hw.snd.default_unit=3 use what pcm number matches your headphones
Post Reply