Ubuntu 18 使用NVIDIA上的HDMI输出声音

前言

在未做修改之前,Settings -> Sound -> Output 里面只有
Digital Output(S/PDIF) - Built-in Audio
不显示HDMI的输出设备

检查当前存在的音频设备

sudo lspci -v | grep -A7 -i "audio"

输出: 从输出可以看出来是有两个设备的
00:1f.3 Audio device: Intel Corporation Device 7ad0 (rev 11)
        Subsystem: ASUSTeK Computer Inc. Device 87fb
        Flags: bus master, fast devsel, latency 32, IRQ 145
        Memory at 4014220000 (64-bit, non-prefetchable) [size=16K]
        Memory at 4014000000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: [50] Power Management version 3
        Capabilities: [80] Vendor Specific Information: Len=14 <?>
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
--
01:00.1 Audio device: NVIDIA Corporation Device 10fa (rev a1)
        Subsystem: Device 7377:0000
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at 83080000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting

安装NVIDIA驱动

sudo ubuntu-drivers autoinstall
安装之后重启,使用下面命令查看驱动安装情况
nvidia-smi
然后再次打开Settings -> Sound -> Output 查看是否会出现
HDMI/DisplayPort 2 -HDA NVIDIA
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值