
주로 소리가 컴퓨터에서만 들리고 TV에서는 들리지 않습니다. 영상에는 문제가 없으며 올바르게 작동합니다.
우분투는 내 사운드 카드를 감지하지 못합니다 hdmi
.
명령:
aplay -l
결과:
**** Lista de PLAYBACK dispositivos hardware ****
tarjeta 0: PCH [HDA Intel PCH], dispositivo 0: ALC269VB Analog [ALC269VB Analog]
Subdispositivos: 1/1
Subdispositivo #0: subdevice #0
다음 명령을 사용하여 사운드 드라이버를 설치해 보았지만 여전히 성공하지 못했습니다.
sudo add-apt-repository ppa:ubuntu-audio-dev/alsa-daily
sudo apt-get update
sudo apt-get install oem-audio-hda-daily-dkms
다음 명령을 사용하여 사운드 카드 hdmi를 감지하려고 시도했지만 여전히 성공하지 못했습니다. (원천).
명령:
echo "Sound cards recognized by the system:"; lspci -nn | grep --color=none '\[04[80][13]\]'; echo "Sound cards recognized by ALSA:"; lspci -nn | grep '\[04[80][13]\]' | while read line; do lspci -nnk | grep -A 3 '\[04[80][13]\]' | grep -e 'Kernel modules: ..*' -e '\[04[80][13]\]' | grep --color=none -F "$line"; done; echo "Sound cards recognized by ALSA, and activated:"; lspci -nn | grep '\[04[80][13]\]' | while read line; do lspci -nnk | grep -A 3 '\[04[80][13]\]' | grep -e 'Kernel drivers in use: ..*' -e '\[04[80][13]\]' | grep --color=none -F "$line"; done
결과:
Sound cards recognized by the system:
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
Sound cards recognized by ALSA:
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
Sound cards recognized by ALSA, and activated:
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
그래서 "추가 드라이버"에서 Nvidia용 다른 비디오 드라이버를 설치하기로 결정했습니다.
Ubuntu를 시작할 때 "NVIDIA 바이너리 드라이버 - nvidia-346의 버전 346.59(독점, 테스트됨)"를 설치한 후 다음 메시지가 나타납니다.
ACPI PPC Probe failed.
Starting version 219
그리고 여전히 사운드 카드를 감지하지 못합니다 HDMI
.
누구든지 저를 도와주실 수 있나요?
관심을 가져주셔서 감사합니다.
2015년 7월 13일 업데이트
명령:
lspci
결과:
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM67 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 525M] (rev a1)
02:00.0 Network controller: Intel Corporation Centrino Wireless-N 1030 [Rainbow Peak] (rev 34)
03:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
명령:
sudo lspci -H1
결과:
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM67 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 525M] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1)
02:00.0 Network controller: Intel Corporation Centrino Wireless-N 1030 [Rainbow Peak] (rev 34)
03:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
답변1
의 출력에 lspci -H1
다음 줄이 없는 줄이 어떻게 포함되어 있는지 확인하셨나요 lspci
?
01:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1)
그게 HDMI 오디오 칩이에요. 문제는 Linux가 카드를 제대로 감지하지 못해 드라이버를 로드하지 않았다는 것입니다. 좋은 소식은 칩에 전원이 공급되므로 Linux를 속여 다시 감지하도록 할 수 있다는 것입니다. 따라야 할 단계는 사용 중인 드라이버(nvidia 또는 nouveau)에 따라 다릅니다.
경고: 문제가 발생하면 커널 패닉이 발생하고 재부팅 시 문제가 발생할 수 있지만 여러 번 재부팅하면 문제가 해결될 수 있습니다. 노트북을 다시 켜기 전에 2분 정도 기다리세요. 전원과 배터리를 일시적으로 제거합니다.
누보
첫 번째 단계는 드라이버가 GPU를 사용하고 있지 않은지 확인하는 것입니다. 달리다
lsmod | grep nouveau
.nouveau
0보다 큰 숫자 로 시작하고 끝나는 줄을 출력하면 사용 중인 것입니다. 한 가지 가능한 방법은 X를 중지하는 것입니다. 따라서 이 내용을 인쇄하거나 읽을 수 있는 다른 컴퓨터를 준비하십시오.- Ctrl+Alt+F1을 누르세요.
- 실행하여
runlevel
숫자를 적어보세요(내 PC에서는 5입니다). - 루트로 로그인:
sudo su
- 3 은
init 3
방금 기록한 숫자보다 작지만 최대 1인 숫자입니다. - 다시 실행하여
lsmod | grep nouveau
nouveau 드라이버가 더 이상 사용되지 않는지 확인합니다(출력이 없어야 하거나 nouveau로 시작하는 줄이 없거나 nouveau로 시작하는 줄이 0으로 끝나야 함).
온전한 상태인지 확인하기 위해 GPU와 오디오 칩에 전원이 공급되는지 확인하세요.
- 달리다
lspci -H1 | grep 01:00
. 두 줄이 출력되어야 합니다. - 다시 실행하여
lsmod | grep nouveau
nouveau 드라이버가 아직 사용되지 않는지 확인하세요.
- 달리다
이제 드라이버 없이 GPU에 전원이 공급되므로 이를 '제거'하겠습니다.
- 실행
echo 1 > /sys/bus/pci/devices/0000\:01\:00.0/remove
(GPU에 여전히 드라이버가 로드되어 있거나 사용 중인 경우 커널 패닉이 발생합니다). - 를 실행하여 GPU와 오디오 칩을 다시 검색합니다
echo 1 > /sys/bus/pci/rescan
. - 달리다
lspci | grep 01:00.1
. 결과가 나오면 축하드립니다! 귀하의 리눅스는 이제 GPU 오디오 칩을 인식합니다.
- 실행
nouveau GPU로 X를 실행해 보세요.
init 5
5를 실행한 후 적어둔 숫자로 실행하세요runlevel
. 이제 X가 다시 시작되는 것을 볼 수 있습니다. 그렇지 않으면 ctrl+alt+f7을 눌러보세요.- 을 실행하면
aplay -l
이제 HDMI 출력이 출력됩니다(내 PC에는 4개의 출력이 있고 1개만 작동합니다).
엔비디아
첫 번째 단계는 드라이버가 GPU를 사용하고 있지 않은지 확인하는 것입니다. nvidia 드라이버를 사용한다면 prime도 사용해야 합니다.
- 달리다
prime-select query
. - 가 출력되면
nvidia
드라이버를 실행sudo prime-select intel
하고 재부팅하여 비활성화할 수 있습니다. - 출력되면
unknown
이전 단계도 작동할 수 있지만 범블비 설정도 중단됩니다.
- 달리다
온전한 상태인지 확인하기 위해 GPU와 오디오 칩에 전원이 공급되는지 확인하세요.
- 루트로 로그인:
sudo su
- 달리다
lspci -H1 | grep 01:00
. 두 줄이 출력되어야 합니다. - 첫 번째 줄이 로 끝나면 를
(rev ff)
실행하여 GPU에 전원을 공급해야 합니다echo ON > /proc/acpi/bbswitch
. - 두 번째 줄이 없으면 GPU 오디오 칩에 더 이상 전원이 공급되지 않는다는 의미입니다. 랩톱을 일시 중지해 볼 수 있습니다. 다시 재개하세요. 그리고 GPU 오디오 칩에 전원이 공급되는지 다시 확인하세요. (그것이 당신에게 효과가 있기를 바랍니다. 그렇지 않으면 나처럼 운이 좋지 않을 것입니다.)
- 다시 실행하여
lsmod | grep nvidia
NVIDIA 드라이버가 아직 사용 중이 아닌지 확인하세요.
- 루트로 로그인:
이제 드라이버 없이 GPU에 전원이 공급되므로 이를 '제거'하겠습니다.
- 실행
echo 1 > /sys/bus/pci/devices/0000\:01\:00.0/remove
(GPU에 여전히 드라이버가 로드되어 있거나 사용 중인 경우 커널 패닉이 발생합니다). - 를 실행하여 GPU와 오디오 칩을 다시 검색합니다
echo 1 > /sys/bus/pci/rescan
. - 달리다
lspci | grep 01:00.1
. 결과가 나오면 축하드립니다! 귀하의 리눅스는 이제 GPU 오디오 칩을 인식합니다.
- 실행
NVIDIA GPU로 X를 실행해 보세요.
- 달리다
prime-select
. 가 출력되면intel
실행합니다prime-select nvidia
. - 로그아웃했다가 다시 로그인하세요.
- 지금 실행하면
aplay -l
HDMI 출력이 출력됩니다(내 PC에는 4개의 출력이 있고 1개만 작동합니다).
- 달리다
그런데. 이 버그는 이미 런치패드에서 보고되었습니다.https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1377653?comments=all
답변2
TV에 연결한 후 사운드 설정에서 오디오 소스를 변경하셨나요?
참고로 아래 이미지를 참조하세요. HDMI/디지털 스테레오로 변경해야 합니다.
답변3
HDMI에서도 같은 문제가 발생했습니다.
펄스 오디오를 설치한 후 해결되었습니다. 이제 영화를 볼 수 있고 TV에서 소리도 들을 수 있습니다