Мой рабочий стол Ubuntu не воспроизводит звук через динамики, подключенные к звуковой карте. Он всегда воспроизводится через монитор HDMI, как будто это единственное подключенное устройство воспроизведения звука.
У меня есть эти настройки, и он все еще воспроизводится через монитор HDMI.
Когда я подключаю наушники - система видит их в «устройстве вывода», но звук по-прежнему идет через HDMI.
Когда я удаляю монитор HDMI (это мой дополнительный монитор), звук работает нормально.
UPD
cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xdf220000 irq 126
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xdf080000 irq 17
Вы можете помочь?
try if pavucontrol
lets you select a specific output
if you don't mind having both outputs enabled: https://wiki.archlinux.org/index.php/PulseAudio/Examples#Simultaneous_HDMI_and_analog_output ( found via https://unix.stackexchange.com/questions/143865/how-to-enable-both-built-in-audio-output-and-hdmi-audio-output-with-pulseaudio )
in alsamixer there might be a element named output
or switch output
or similar , enabling you to change output by muting/unmuting it ( also HDMI might be called something with LINE)
if you have more than one card , or a card that exports multiple output ports: https://unix.stackexchange.com/questions/62818/how-can-i-switch-between-different-audio-output-hardware-using-the-shell
if you have one card providing more than one output and it might be a routing problem: https://wiki.gentoo.org/wiki/ALSA#APlay_SPDIF.2FHDMI_output_has_incorrect_speaker_channels
if you are unlucky your card might be auto-switching , exporting only ONE sound card to the system ( e.g. IGP cards on mini PC's) then it WILL always cut line for HDMI
Workaround: get some audio extractor , example: https://www.reichelt.de/4khdmi-audio-extractor-n-vext3470at-p266927.html