Saída de Áudio HDMI Não Encontrada (Linux Mint NVIDIA GTX 1050)

0

Não há opções de saída de áudio HDMI disponíveis. Nenhum dos tópicos que encontrei neste tópico funcionou para mim. Eu incluí links para tutoriais úteis que eu encontrei para os outros se beneficiarem. Eu selecionei 'Instalar codecs' durante o processo de instalação do Mint.

Sistema de alto nível:

  • OS - Mint 18.3 Canela
  • Kernel (mais recente) 4.15.2-041502-genérico (Ótimo tutorial para atualizar o kernel aqui: link )
  • Placa Gráfica NVIDIA GTX 1050 - Drivers mais recentes instalados (390.25-0ubuntu0 ~ gpu16.04.1) (Ótimo tutorial para atualizar para os drivers mais recentes da NVIDIA aqui: link ... s-in-linux)
  • Mini-PC: Zotac MagnusEN51050 link ... us-en51050

Instalei o Pavucontrol, mas não foi detectado nenhum dispositivo de saída HDMI, como você pode ver no código abaixo.

$ aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
$ lspci | grep -i audio

enter code here00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
$ cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xdf520000 irq 137
$ lspci
00:00.0 Host bridge: Intel Corporation Device 591f (rev 05)
00:01.0 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x16) (rev 05)
00:08.0 System peripheral: Intel Corporation Sky Lake Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #6 (rev f1)
00:1c.6 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #7 (rev f1)
00:1c.7 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #8 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1c8d (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)
04:00.0 Network controller: Intel Corporation Wireless 3165 (rev 81)
05:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller
    
por P. Kure 10.02.2018 / 18:39

1 resposta

0

Possivelmente você se deparou com o problema "Configuração do sistema para inicializar sem a função de áudio Nvidia ativada", conforme mencionado aqui em um post por Aaron Platner da Nvidia:

For some reason, a lot of recent laptops are set up to boot with the GPU's PCI audio function disabled. I haven't done much investigation, but you can turn on the audio function and make the kernel see it by setting the appropriate PCI configuration bit and then telling the kernel to rescan the PCI bus on the PCI bridge the GPU is connected to.

Unfortunately, the kernel won't see the audio function unless you remove the graphics function first, which temporarily breaks the console. Because of that, it works best if you write a script to do it so you don't have to SSH into the system or try to type the commands into the console blind. Obviously, you have to stop the X server first so that you can unload the NVIDIA drivers.

For example, on my system, the GPU is at 01:00.0 and its parent PCI bridge is 00:01.0. So the script I use is:

setpci -s 01:00.0 0x488.l=0x2000000:0x2000000

rmmod nvidia-drm nvidia-modeset nvidia

echo 1 > /sys/bus/pci/devices/0000:01:00.0/remove

echo 1 > /sys/bus/pci/devices/0000:00:01.0/rescan

modprobe nvidia-drm

xinit -- -retro

You can figure out your PCI topology with "lspci -t" but interpreting the results is pretty tricky.

Depois disso, o cartão deve aparecer em aplay -l . Se isso não acontecer, alguma outra coisa está errada.

Eu me lembro vagamente de que havia algum tipo de tentativa de corrigir isso sem intervenção manual, mas esqueci os detalhes.

    
por 11.02.2018 / 07:18

Tags