I have tried to record audio in many different ways. I have tried recording with obs-studio, simplescreenrecorder, and via ffmpeg. None of these methods work. Usually I tried to record from /dev/dsp3 but I also tried to record from /dev/dsp4 and all other outputs, but nothing works. Playing sound works very well, it even sounds better than on macos, windows and linux (alsa). So it's only with recording that I have a problem.
mixer
dmesg | egrep "hda|pcm"
cat /dev/sndstat
Any help would be greatly appreciated.
mixer
Code:
Mixer vol is currently set to 100:100
Mixer pcm is currently set to 100:100
Mixer speaker is currently set to 100:100
Mixer line is currently set to 0:0
Mixer mic is currently set to 0:0
Mixer mix is currently set to 0:0
Mixer rec is currently set to 100:100
Mixer igain is currently set to 100:100
Mixer ogain is currently set to 100:100
Recording source: speaker
dmesg | egrep "hda|pcm"
Code:
hdac0: <NVIDIA (0x0fb9) HDA Controller> mem 0xf7080000-0xf7083fff irq 17 at device 0.1 on pci1
hdac1: <Intel Cougar Point HDA Controller> mem 0xf7800000-0xf7803fff irq 22 at device 27.0 on pci0
hdacc0: <NVIDIA (0x0080) HDA CODEC> at cad 0 on hdac0
hdaa0: <NVIDIA (0x0080) Audio Function Group> at nid 1 on hdacc0
pcm0: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 4 on hdaa0
pcm1: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 5 on hdaa0
pcm2: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 6 on hdaa0
hdacc1: <Realtek ALC887 HDA CODEC> at cad 0 on hdac1
hdaa1: <Realtek ALC887 Audio Function Group> at nid 1 on hdacc1
pcm3: <Realtek ALC887 (Rear Analog)> at nid 20 and 24,26 on hdaa1
pcm4: <Realtek ALC887 (Front Analog)> at nid 27 and 25 on hdaa1
hdac0: <NVIDIA (0x0fb9) HDA Controller> mem 0xf7080000-0xf7083fff irq 17 at device 0.1 on pci1
hdac1: <Intel Cougar Point HDA Controller> mem 0xf7800000-0xf7803fff irq 22 at device 27.0 on pci0
hdacc0: <NVIDIA (0x0080) HDA CODEC> at cad 0 on hdac0
hdaa0: <NVIDIA (0x0080) Audio Function Group> at nid 1 on hdacc0
pcm0: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 4 on hdaa0
pcm1: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 5 on hdaa0
pcm2: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 6 on hdaa0
hdacc1: <Realtek ALC887 HDA CODEC> at cad 0 on hdac1
hdaa1: <Realtek ALC887 Audio Function Group> at nid 1 on hdacc1
pcm3: <Realtek ALC887 (Rear Analog)> at nid 20 and 24,26 on hdaa1
pcm4: <Realtek ALC887 (Front Analog)> at nid 27 and 25 on hdaa1
hdac0: <NVIDIA (0x0fb9) HDA Controller> mem 0xf7080000-0xf7083fff irq 17 at device 0.1 on pci1
hdac1: <Intel Cougar Point HDA Controller> mem 0xf7800000-0xf7803fff irq 22 at device 27.0 on pci0
hdacc0: <NVIDIA (0x0080) HDA CODEC> at cad 0 on hdac0
hdaa0: <NVIDIA (0x0080) Audio Function Group> at nid 1 on hdacc0
pcm0: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 4 on hdaa0
pcm1: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 5 on hdaa0
pcm2: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 6 on hdaa0
hdacc1: <Realtek ALC887 HDA CODEC> at cad 0 on hdac1
hdaa1: <Realtek ALC887 Audio Function Group> at nid 1 on hdacc1
pcm3: <Realtek ALC887 (Rear Analog)> at nid 20 and 24,26 on hdaa1
pcm4: <Realtek ALC887 (Front Analog)> at nid 27 and 25 on hdaa1
hdac0: <NVIDIA (0x0fb9) HDA Controller> mem 0xf7080000-0xf7083fff irq 17 at device 0.1 on pci1
hdac1: <Intel Cougar Point HDA Controller> mem 0xf7800000-0xf7803fff irq 22 at device 27.0 on pci0
hdacc0: <NVIDIA (0x0080) HDA CODEC> at cad 0 on hdac0
hdaa0: <NVIDIA (0x0080) Audio Function Group> at nid 1 on hdacc0
pcm0: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 4 on hdaa0
pcm1: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 5 on hdaa0
pcm2: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 6 on hdaa0
hdacc1: <Realtek ALC887 HDA CODEC> at cad 0 on hdac1
hdaa1: <Realtek ALC887 Audio Function Group> at nid 1 on hdacc1
pcm3: <Realtek ALC887 (Rear Analog)> at nid 20 and 24,26 on hdaa1
pcm4: <Realtek ALC887 (Front Analog)> at nid 27 and 25 on hdaa1
hdac0: <NVIDIA (0x0fb9) HDA Controller> mem 0xf7080000-0xf7083fff irq 17 at device 0.1 on pci1
hdac1: <Intel Cougar Point HDA Controller> mem 0xf7800000-0xf7803fff irq 22 at device 27.0 on pci0
hdacc0: <NVIDIA (0x0080) HDA CODEC> at cad 0 on hdac0
hdaa0: <NVIDIA (0x0080) Audio Function Group> at nid 1 on hdacc0
pcm0: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 4 on hdaa0
pcm1: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 5 on hdaa0
pcm2: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 6 on hdaa0
hdacc1: <Realtek ALC887 HDA CODEC> at cad 0 on hdac1
hdaa1: <Realtek ALC887 Audio Function Group> at nid 1 on hdacc1
pcm3: <Realtek ALC887 (Rear Analog)> at nid 20 and 24,26 on hdaa1
pcm4: <Realtek ALC887 (Front Analog)> at nid 27 and 25 on hdaa1
hdac0: <NVIDIA (0x0fb9) HDA Controller> mem 0xf7080000-0xf7083fff irq 17 at device 0.1 on pci1
hdac1: <Intel Cougar Point HDA Controller> mem 0xf7800000-0xf7803fff irq 22 at device 27.0 on pci0
hdacc0: <NVIDIA (0x0080) HDA CODEC> at cad 0 on hdac0
hdaa0: <NVIDIA (0x0080) Audio Function Group> at nid 1 on hdacc0
pcm0: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 4 on hdaa0
pcm1: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 5 on hdaa0
pcm2: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 6 on hdaa0
hdacc1: <Realtek ALC887 HDA CODEC> at cad 0 on hdac1
hdaa1: <Realtek ALC887 Audio Function Group> at nid 1 on hdacc1
pcm3: <Realtek ALC887 (Rear Analog)> at nid 20 and 24,26 on hdaa1
pcm4: <Realtek ALC887 (Front Analog)> at nid 27 and 25 on hdaa1
cat /dev/sndstat
Code:
Installed devices:
pcm0: <NVIDIA (0x0080) (HDMI/DP 8ch)> (play)
pcm1: <NVIDIA (0x0080) (HDMI/DP 8ch)> (play)
pcm2: <NVIDIA (0x0080) (HDMI/DP 8ch)> (play)
pcm3: <Realtek ALC887 (Rear Analog)> (play/rec) default
pcm4: <Realtek ALC887 (Front Analog)> (play/rec)
No devices installed from userspace.
Any help would be greatly appreciated.