从 x.org x 服务器切换到 nvidia-driver-525 后,ubuntu 22.10 上没有声音

从 x.org x 服务器切换到 nvidia-driver-525 后,ubuntu 22.10 上没有声音

昨天,我将 nVidia 驱动程序从 515 切换到 525,然后关闭了 PC。今天早上启动后,驱动程序从 525 更改为 X Server,导致了一些图形问题,我通过再次切换到 nVidia 解决了这些问题。

现在真正的问题是:再次切换到 nVidia-driver-525 后,我没有声音。声音选项中的输出选项只显示“虚拟输出”,但没有实际的声音设备。

当我运行时aplay --list-devices,它返回以下内容:

aplay: device_list:274: no sound cards detected

pacmd工作正常。lspci返回此:

00:00.0 Host bridge: Intel Corporation Device 4650 (rev 05)
00:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 (rev 05)
00:08.0 System peripheral: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator (rev 05)
00:14.0 USB controller: Intel Corporation Alder Lake-S PCH USB 3.2 Gen 2x2 XHCI Controller (rev 11)
00:14.2 RAM memory: Intel Corporation Alder Lake-S PCH Shared SRAM (rev 11)
00:15.0 Serial bus controller: Intel Corporation Alder Lake-S PCH Serial IO I2C Controller #0 (rev 11)
00:16.0 Communication controller: Intel Corporation Alder Lake-S PCH HECI Controller #1 (rev 11)
00:17.0 SATA controller: Intel Corporation Alder Lake-S PCH SATA Controller [AHCI Mode] (rev 11)
00:1c.0 PCI bridge: Intel Corporation Alder Lake-S PCH PCI Express Root Port #1 (rev 11)
00:1f.0 ISA bridge: Intel Corporation Device 7a86 (rev 11)
00:1f.3 Audio device: Intel Corporation Alder Lake-S HD Audio Controller (rev 11)
00:1f.4 SMBus: Intel Corporation Alder Lake-S PCH SMBus Controller (rev 11)
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-S PCH SPI Controller (rev 11)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (17) I219-V (rev 11)
01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO
02:00.0 VGA compatible controller: NVIDIA Corporation GA106 [GeForce RTX 3060 Lite Hash Rate] (rev a1)
02:00.1 Audio device: NVIDIA Corporation GA106 High Definition Audio Controller (rev a1)

我当前的内核版本是这样的:5.19.0-28-generic

答案1

我找到了解决问题的方法:Ubuntu 没有识别声卡所需的模块,因此您需要安装这些模块。网站告诉您如何操作。

相关内容