The sound was working perfectly, and I have not rebuilt the kernel since, so all the right modules SHOULD be loaded (I may of course have missed something)
Following the removal of pulseaudio I don't seem to have any sound at all.
If I list my soundcards, I get something that looks correct
Code: Select all
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
hdmi:CARD=NVidia,DEV=0
HDA NVidia, LS49AG95
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 1
HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
HDA NVidia, HDMI 2
HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
HDA NVidia, HDMI 3
HDMI Audio Output
usbstream:CARD=NVidia
HDA NVidia
USB Stream Output
default:CARD=Generic
HD-Audio Generic, ALC1220 Analog
Default Audio Device
sysdefault:CARD=Generic
HD-Audio Generic, ALC1220 Analog
Default Audio Device
front:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
Front output / input
surround21:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
usbstream:CARD=Generic
HD-Audio Generic
USB Stream Output
Code: Select all
lsmod | grep snd
snd_hda_codec_realtek 192512 1
snd_hda_codec_generic 102400 1 snd_hda_codec_realtek
snd_hda_scodec_component 20480 1 snd_hda_codec_realtek
snd_hda_codec_hdmi 81920 1
snd_hda_intel 53248 2
snd_intel_dspcfg 20480 1 snd_hda_intel
snd_hda_codec 184320 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hwdep 16384 1 snd_hda_codec
snd_hda_core 122880 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_pcm 155648 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 49152 1 snd_pcm
snd 131072 12 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
soundcore 16384 1 snd
However, I do not seem to be able to play any sound,
I seemed to have some issues with dbus, so unmerged and reemerge that, then figured out that I needed pipewire running, and as I use rc, I had to use
nohup gentoo-pipewire-launcher restart &
After that I got pw-cli to work
Code: Select all
pw-cli ls Node
id 30, type PipeWire:Interface:Node/3
object.serial = "30"
factory.id = "11"
priority.driver = "200000"
node.name = "Dummy-Driver"
id 31, type PipeWire:Interface:Node/3
object.serial = "31"
factory.id = "11"
priority.driver = "190000"
node.name = "Freewheel-Driver"
id 45, type PipeWire:Interface:Node/3
object.serial = "45"
factory.id = "14"
client.id = "42"
node.description = "BLE MIDI 1"
node.name = "bluez_midi.server"
media.class = "Midi/Bridge"
id 48, type PipeWire:Interface:Node/3
object.serial = "48"
object.path = "alsa:acp:NVidia:4:playback"
factory.id = "19"
client.id = "42"
device.id = "43"
priority.session = "696"
priority.driver = "696"
node.description = "AD106M High Definition Audio Controller Digital Stereo (HDMI)"
node.name = "alsa_output.pci-0000_01_00.1.hdmi-stereo"
node.nick = "LS49AG95"
media.class = "Audio/Sink"
id 49, type PipeWire:Interface:Node/3
object.serial = "49"
object.path = "alsa:acp:Generic:4:playback"
factory.id = "19"
client.id = "42"
device.id = "44"
priority.session = "1009"
priority.driver = "1009"
node.description = "Family 17h/19h/1ah HD Audio Controller Analog Stereo"
node.name = "alsa_output.pci-0000_0c_00.6.analog-stereo"
node.nick = "ALC1220 Analog"
media.class = "Audio/Sink"
id 50, type PipeWire:Interface:Node/3
object.serial = "50"
object.path = "alsa:acp:Generic:0:capture"
factory.id = "19"
client.id = "42"
device.id = "44"
priority.session = "2009"
priority.driver = "2009"
node.description = "Family 17h/19h/1ah HD Audio Controller Analog Stereo"
node.name = "alsa_input.pci-0000_0c_00.6.analog-stereo"
node.nick = "ALC1220 Analog"
media.class = "Audio/Source"
but if I try to use aplay to play a sample, I get an "unable to open slave"
Code: Select all
aplay sample-15s.mp3
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.14/work/alsa-lib-1.2.14/src/pcm/pcm_dmix.c:1000:(snd_pcm_dmix_open) unable to open slave
aplay: main:850: audio open error: No such file or directory
I get a similar issue with speaker-test
Code: Select all
speaker-test
speaker-test 1.2.14
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.14/work/alsa-lib-1.2.14/src/pcm/pcm_dmix.c:1000:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
Any help/advice greatly appreciated.


