Hdmi linux no sound

Linux Mint Forums

Всем привет. Я новичок в линуксе, помогите плз звук настроить.
Несколько дней бьюсь с тем что нет звука по hdmi. Аналоговый выход работает отлично, bluetooth audio тоже, а вот по hdmi никак не получается.
Гуглил несколько дней, пробовал разные варианты, но ничего не помогает.

$ aplay -L default Playback/recording through the PulseAudio sound server null Discard all samples (playback) or generate zero samples (capture) samplerate Rate Converter Plugin Using Samplerate Library speexrate Rate Converter Plugin Using Speex Resampler jack JACK Audio Connection Kit oss Open Sound System pulse PulseAudio Sound Server upmix Plugin for channel upmix (4,6,8) vdownmix Plugin for channel downmix (stereo) with a simple spacialization sysdefault:CARD=PCH HDA Intel PCH, ALC295 Analog Default Audio Device front:CARD=PCH,DEV=0 HDA Intel PCH, ALC295 Analog Front speakers surround21:CARD=PCH,DEV=0 HDA Intel PCH, ALC295 Analog 2.1 Surround output to Front and Subwoofer speakers surround40:CARD=PCH,DEV=0 HDA Intel PCH, ALC295 Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=PCH,DEV=0 HDA Intel PCH, ALC295 Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=PCH,DEV=0 HDA Intel PCH, ALC295 Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=PCH,DEV=0 HDA Intel PCH, ALC295 Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=PCH,DEV=0 HDA Intel PCH, ALC295 Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers hdmi:CARD=PCH,DEV=0 HDA Intel PCH, HDMI 0 HDMI Audio Output hdmi:CARD=PCH,DEV=1 HDA Intel PCH, HDMI 1 HDMI Audio Output hdmi:CARD=PCH,DEV=2 HDA Intel PCH, HDMI 2 HDMI Audio Output hdmi:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 3 HDMI Audio Output hdmi:CARD=PCH,DEV=4 HDA Intel PCH, HDMI 4 HDMI Audio Output dmix:CARD=PCH,DEV=0 HDA Intel PCH, ALC295 Analog Direct sample mixing device dmix:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 0 Direct sample mixing device dmix:CARD=PCH,DEV=7 HDA Intel PCH, HDMI 1 Direct sample mixing device dmix:CARD=PCH,DEV=8 HDA Intel PCH, HDMI 2 Direct sample mixing device dmix:CARD=PCH,DEV=9 HDA Intel PCH, HDMI 3 Direct sample mixing device dmix:CARD=PCH,DEV=10 HDA Intel PCH, HDMI 4 Direct sample mixing device dsnoop:CARD=PCH,DEV=0 HDA Intel PCH, ALC295 Analog Direct sample snooping device dsnoop:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 0 Direct sample snooping device dsnoop:CARD=PCH,DEV=7 HDA Intel PCH, HDMI 1 Direct sample snooping device dsnoop:CARD=PCH,DEV=8 HDA Intel PCH, HDMI 2 Direct sample snooping device dsnoop:CARD=PCH,DEV=9 HDA Intel PCH, HDMI 3 Direct sample snooping device dsnoop:CARD=PCH,DEV=10 HDA Intel PCH, HDMI 4 Direct sample snooping device hw:CARD=PCH,DEV=0 HDA Intel PCH, ALC295 Analog Direct hardware device without any conversions hw:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 0 Direct hardware device without any conversions hw:CARD=PCH,DEV=7 HDA Intel PCH, HDMI 1 Direct hardware device without any conversions hw:CARD=PCH,DEV=8 HDA Intel PCH, HDMI 2 Direct hardware device without any conversions hw:CARD=PCH,DEV=9 HDA Intel PCH, HDMI 3 Direct hardware device without any conversions hw:CARD=PCH,DEV=10 HDA Intel PCH, HDMI 4 Direct hardware device without any conversions plughw:CARD=PCH,DEV=0 HDA Intel PCH, ALC295 Analog Hardware device with all software conversions plughw:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 0 Hardware device with all software conversions plughw:CARD=PCH,DEV=7 HDA Intel PCH, HDMI 1 Hardware device with all software conversions plughw:CARD=PCH,DEV=8 HDA Intel PCH, HDMI 2 Hardware device with all software conversions plughw:CARD=PCH,DEV=9 HDA Intel PCH, HDMI 3 Hardware device with all software conversions plughw:CARD=PCH,DEV=10 HDA Intel PCH, HDMI 4 Hardware device with all software conversions usbstream:CARD=PCH HDA Intel PCH USB Stream Output 
pacmd list-sinks|egrep -i 'index:|name:' * index: 47 name:

В регуляторе громкости Pulse Audio есть конфигурации с HDMI, но все они в названии отмечены словом (unavailable) и при включении любой звука нет.
Ноут HP Pavilion, CPU Intel, Video NVidia/Intel

$ pacmd list-sinks 1 sink(s) available. * index: 47 name: driver: flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY state: RUNNING suspend cause: (none) priority: 9030 volume: front-left: 71034 / 108% / 2,10 dB, front-right: 71034 / 108% / 2,10 dB balance 0,00 base volume: 65536 / 100% / 0,00 dB volume steps: 65537 muted: no current latency: 20,19 ms max request: 4 KiB max rewind: 4 KiB monitor source: 49 sample spec: s16le 2-канальный 4410 channel map: front-left,front-right Стерео used by: 1 linked by: 3 configured latency: 23,22 ms; range is 0,50 .. 371,52 ms card: 0 module: 26 properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "HDMI 0" alsa.id = "HDMI 0" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "3" alsa.card = "1" alsa.card_name = "HDA Intel PCH" alsa.long_card_name = "HDA Intel PCH at 0xb4528000 irq 144" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:1f.3" sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card1" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "a171" device.product.name = "CM238 HD Audio Controller" device.form_factor = "internal" device.string = "hdmi:1" device.buffering.buffer_size = "65536" device.buffering.fragment_size = "32768" device.access_mode = "mmap+timer" device.profile.name = "hdmi-stereo" device.profile.description = "Digital Stereo (HDMI)" device.description = "Встроенное аудио Digital Stereo (HDMI)" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" ports: hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no) properties: device.icon_name = "video-display" active port:

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Источник

Читайте также:  Kali linux mate xfce

Fix No Sound Through HDMI In External Monitor In Ubuntu Linux

Fix no sound through HDMI in Ubuntu Linux

The other day, I connected my Acer Aspire R13 running Ubuntu 15.04 with my Samsung TV to watch a movie. To my surprise, there was no sound through HDMI in TV. The movie was displayed in the TV but the audio was still coming through laptop’s inbuilt speakers.

I have been in this situations in the past when HDMI audio not working in Ubuntu. This post was written more than two years ago when I faced similar situation with Ubuntu 12.04. But the previous time I could see HDMI option in the input audio source but in Ubuntu 15.04, HDMI audio option was not even listed in the input audio source so a switch to HDMI input was (seemingly) impossible.

For this reason, I decided to upgrade this article with new solutions so that you could fix no sound through HDMI problem in Ubuntu 12.04, 14.04 and 15.04. Though I did it for Ubuntu, I presume these solutions should also work for Linux Mint, elementary OS and other Linux distributions based on Ubuntu.

Fix no audio through HDMI in Ubuntu

Solution 1: Change default sound setting

I saw a number of forum posts with trouble on the audio problem in extended monitor in Ubuntu. Thankfully this problem was not complex, at least in this case with Ubuntu 12.04. The reason in my case was that the default sound setting was “built-in speaker audio”. Changing it to HDMI saved my day.

Step 1

Open the sound setting. Type “sound” in Unity dash (by pressing the Super/Windows key) or from the top right corner choose the system settings and then look for sound setting.

Читайте также:  Linux несколько виртуальных машин

Ubuntu System Settings

Step 2

In the sound settings, in Output tab the built-in-audio was set to Analog Stereo Duplex. Change the mode to HDMI output Stereo. Note that you must be connected to an external monitor through a HDMI cable to see HDMI output option.

[Move to solution 2 and 3 if you do not see HDMI / DisplayPort in the listed output options]

When you change it to HDMI, a new icon for HDMI pops up in the left sidebar. Click on it and enjoy the sound of music.

Solution 2: Kill running Pulse audio daemon

This solution worked for me in Ubuntu 15.04. Unlike the previous solution, this time there was no option to change the output mode to Digital Stereo. I just saw the following screen in audio settings:

No HDMI audio in Ubuntu LInux

Interestingly, fixing it was even easier.

Step 1

Connect your TV or external monitor through HDMI while you are using Ubuntu.

Step 2

Open a terminal (Ctrl+Alt+T) and use the following command:

This kills the running daemon. The command doesn’t need super user access.

Step 3

Now, open Sound Settings again (steps described in solution 1). You should see the option of HDMI in the Output tab:

HDMI audio Ubuntu

Once you do this, from next time onwards, HDMi will automatically be detected when you plug in the cable. If you face issue again, just run that command again.

Solution 3: PulseAudio Volume Control program

Even if the second solution did not work, try changing the configuration with PulseAudio Volume Control.

Step 1

Open a terminal and use the following command to install PulseAudio Volume Control:

sudo apt-get install pavucontrol

Step 2

Open PulseAudio Volume Control

Читайте также:  Linux script при загрузке

Step 3

Under the Configuration tab, change the built in audio profile to HDMI:

No audio in HDMI in UBuntu

This should fix the issue of sound through HDMI.

Did it work for you?

Did the solutions discussed here helped you to get audio through HDMI? If yes, which solution worked for you. If you are still facing issues, feel free to ask questions in the comment section. I’ll try to help. Cheers 🙂

Источник

Sound stopped working after using HDMI

So a couple of days ago, I had my laptop hooked up to my tv via HDMI. I used pavucontrol to disable sound on my laptop and play it through the tv. I changed it back when I was done. Can’t remember if I used it right away. Last night I tried to use it and it didn’t work. I opened pavucontrol again and switched to the configuration tab where there had previously been a drop down menu allowing me to choose what device to output my sound through. Now there’s nothing. It says no card available for configuration. When I open asoundconf-gtk it only has «PCH» and selecting that does nothing either. Here is my output of pulseaudio -d http://pastebin.com/75SpLihg And using the guide on the Ubuntu Wiki Pulse Audio page, I made a log http://pastebin.com/rmARXUMD I’ve tried deleting the pulse folder from my home directory and restarting the server. After searching on Google, I found similar problems required me to edit /etc/pulse/client.conf and make sure autospawn is set to yes and everything is commented out with a semicolon, which it is. Tried using qasmixer to make sure sound isn’t disabled. Nothing works. . I’ve tried posting on the Ubuntu-Forums.org site and got no help there so I’m trying here because I dont want to reboot into Win7 to stream videos or listen to my mp3s. Since I don’t have reputation for more links, I’ll post in the comments for my client and daemon conf files. Running Lubuntu 12.10 with kernel 3.5.0-24-generic. I hope this is enough info. Edit: July 29th/13: I decided to create a new user account and everything shows up as normal in pavucontrol. I am able to see the sound card and adjust settings although I didn’t actually test the sound. So this appears to be a user configuration error (although if I run gksudo pavucontrol, I still cant access the sound card). I’ve deleted ~/.pulse as well as the pulse in ~/.config. Still nothing. Not sure what else to delete.

And here is pulse syslog pastebin.com/ySgnNmEb I assume it can’t find the files because I deleted the pulse folder from /tmp?

Источник

Оцените статью
Adblock
detector