Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Problems tryng to install / enable the snd_hda_intel driver on Debian 11

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
marietto
Posts: 80
Joined: 2014-07-13 16:30

Problems tryng to install / enable the snd_hda_intel driver on Debian 11

#1 Post by marietto »

Hello.

I've just virtualized Debian 11 with bhyve on FreeBSD,installing the nvidia driver inside the VM after having passed through my graphic card,the RTX 2080 ti within the vm. Everything is working great,my monitor turns on and I have a full 3d acceleration. Only a problem is still not fixed. I'm not able to hear any sound. In the dmesg log with the nvidia driver installed, there’s no sign of the snd_hda_intel driver loading at all. My hardware audio is detected correctly :

Code: Select all

root@marietto-BHYVE:~# sudo aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 12: HDMI 6 [HDMI 6]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
Below u can see all the hardware specs of my Host PC :

Code: Select all

netbsd-marietto# pcictl pci0 list

000:00:0: Intel Xeon E (S, Desktop) Host Bridge, DRAM (host bridge, revision 0x0d)

000:01:0: Intel Core 6G PCIe x16 (PCI bridge, revision 0x0d)

000:01:1: Intel Core 6G PCIe x8 (PCI bridge, revision 0x0d)

000:02:0: Intel UHD Graphics 630 (VGA display, revision 0x02)

000:18:0: Intel 300 Series Thermal (miscellaneous DASP, revision 0x10)

000:20:0: Intel 300 Series USB 3.1 xHCI (USB serial bus, xHCI, revision 0x10)

000:20:2: Intel 300 Series Shared SRAM (RAM memory, revision 0x10)

000:22:0: Intel 300 Series MEI (miscellaneous communications, revision 0x10)

000:23:0: Intel 300 Series SATA (AHCI) desktop (SATA mass storage, AHCI 1.0, revision 0x10)

000:27:0: Intel 300 Series PCIe (PCI bridge, revision 0xf0)

000:28:0: Intel 300 Series PCIe (PCI bridge, revision 0xf0)

000:28:5: Intel 300 Series PCIe (PCI bridge, revision 0xf0)

000:29:0: Intel 300 Series PCIe (PCI bridge, revision 0xf0)

000:31:0: Intel Z390 LPC (ISA bridge, revision 0x10)

000:31:3: Intel 300 Series cAVS (mixed mode multimedia, revision 0x10)

000:31:4: Intel 300 Series SMBus (SMBus serial bus, revision 0x10)

000:31:5: Intel 300 Series SPI (FLASH) (miscellaneous serial bus, revision 0x10)

000:31:6: Intel I219-V Ethernet Connection (ethernet network, revision 0x10)

001:00:0: NVIDIA product 1e04 (VGA display, revision 0xa1)

001:00:1: NVIDIA product 10f7 (mixed mode multimedia, revision 0xa1)

001:00:2: NVIDIA product 1ad6 (USB serial bus, xHCI, revision 0xa1)

001:00:3: NVIDIA product 1ad7 (miscellaneous serial bus, revision 0xa1)

002:00:0: NVIDIA GeForce GTX 1060 3GB (VGA display, revision 0xa1)

002:00:1: NVIDIA product 10f1 (mixed mode multimedia, revision 0xa1)

003:00:0: Micron/Crucial Technology product 5403 (Flash mass storage, NVMe, revision 0x03)

005:00:0: Renesas Technologies uPD720201 USB 3.0 Host Controller (USB serial bus, xHCI, revision 0x03)
Below u can see all the hardware specs of my VM :

Code: Select all

root@marietto-BHYVE:/home/marietto# lspci

00:00.0 Host bridge: Network Appliance Corporation Device 1275
00:02.0 SCSI storage controller: Red Hat, Inc. Virtio block device
00:03.0 VGA compatible controller: NVIDIA Corporation TU102 [GeForce RTX 2080 Ti] (rev a1)
00:03.1 Audio device: NVIDIA Corporation TU102 High Definition Audio Controller (rev a1)
00:03.2 USB controller: NVIDIA Corporation TU102 USB 3.1 Host Controller (rev a1)
00:03.3 Serial bus controller [0c80]: NVIDIA Corporation TU102 USB Type-C UCSI Controller (rev a1)
00:04.0 USB controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller (rev 03)
00:08.0 Ethernet controller: Red Hat, Inc. Virtio network device
00:1d.0 VGA compatible controller: Device fb5d:40fb
00:1e.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller
00:1f.0 ISA bridge: Intel Corporation Z390 Chipset LPC/eSPI Controller (rev 10)
Reading from this post :

https://www.reddit.com/r/debian/comment ... on_debian/

it seems that I should edit this file (with root privileges):

Code: Select all

$ sudoedit /etc/modprobe.d/alsa-base.conf

And at the end of the file add:

options snd-hda-intel dmic_detect=0
I did it and then I've looked again inside the dmesg file where I can read "the options snd-hda-intel dmic_detect=0 is deprecated,you should use "options snd-intel-dspcfg.dsp_driver=1".

I've tried both the options. First I tried the first one,then I tried the second suggested one,rebooting. I must say that the first one (the obsoleted) shows the snd driver on the dmsesg log file (even if pulseaudio still does not work),but if I try the second one,the snd driver is not even found between the dmesg.
The error is that pulseaudio can't connect and it hangs forever.

Sounds works correctly on Ubuntu 21.10 adding the parameter "snd-hda-intel.enable_msi=1" to the kernel. So,the problem is limited to Debian (11). only.

Post Reply