Page 1 of 3 123 LastLast
Results 1 to 10 of 30

Thread: HDMI no sound

  1. #1

    Default HDMI no sound

    Hi,
    I've been trying to output the sound via HDMI to a monitor which I'm using. I haven't managed to get it running, perhaps somebody else has managed to do so.
    Built-in Audio: Analog Stereo Duplex - no HDMI available
    PulseAudio: Configuration: same, everything else is with (unavailable)
    I've added some outputs, hope this helps.

    openSUSE Leap 15.3 x86_64
    Host: 81FV Lenovo Legion Y530-15ICH
    Kernel: 5.3.18-59.27-default
    Uptime: 1 hour, 29 mins
    Packages: 2535 (rpm)
    Shell: bash 4.4.23
    Resolution: 1920x1200, 1920x1200, 1920x1080
    DE: KDE
    WM: KWin
    Terminal: konsole
    CPU: Intel i5-8300H (8) @ 4.000GHz
    GPU: Intel CoffeeLake-H GT2 [UHD Graphics 630]
    GPU: NVIDIA GeForce GTX 1050 Mobile
    Memory: 2804MiB / 31981MiB

    uname -a
    Linux y530 5.3.18-59.27-default #1 SMP Tue Oct 5 10:00:40 UTC 2021 (7df2404) x86_64 x86_64 x86_64 GNU/Linux

    lspci

    00:00.0 Host bridge: Intel Corporation 8th Gen Core 4-core Processor Host Bridge/DRAM Registers [Coffee Lake H] (rev 07)
    00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07)
    00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
    00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 07)
    00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
    00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
    00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
    00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
    00:15.0 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #0 (rev 10)
    00:15.1 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #1 (rev 10)
    00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
    00:17.0 SATA controller: Intel Corporation Cannon Lake Mobile PCH SATA AHCI Controller (rev 10)
    00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
    00:1d.4 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #13 (rev f0)
    00:1d.5 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #14 (rev f0)
    00:1e.0 Communication controller: Intel Corporation Cannon Lake PCH Serial IO UART Host Controller (rev 10)
    00:1f.0 ISA bridge: Intel Corporation HM470 Chipset LPC/eSPI Controller (rev 10)
    00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
    00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
    00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
    01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
    06:00.0 Non-Volatile memory controller: Sandisk Corp PC SN520 NVMe SSD (rev 01)
    07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter
    08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

    aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: ALC236 Analog [ALC236 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

    aplay -L
    null
    Discard all samples (playback) or generate zero samples (capture)
    speexrate
    Rate Converter Plugin Using Speex Resampler
    pulse
    PulseAudio Sound Server
    upmix
    Plugin for channel upmix (4,6,8)
    default
    Default ALSA Output (currently PulseAudio Sound Server)
    sysdefault:CARD=PCH
    HDA Intel PCH, ALC236 Analog
    Default Audio Device
    front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC236 Analog
    Front output / input
    surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC236 Analog
    2.1 Surround output to Front and Subwoofer speakers
    surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC236 Analog
    4.0 Surround output to Front and Rear speakers
    surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC236 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC236 Analog
    5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC236 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC236 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

    lspci -v | grep -i audio

    00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,062
    Blog Entries
    15

    Default Re: HDMI no sound

    Hi and welcome to the Forum
    Is the sof-firmware package installed? You might also want to install pavucontrol and use that to configure.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: HDMI no sound

    Hi Malcom, thanks for the quick reply.

    'sof-firmware' is already installed.
    No update candidate for 'sof-firmware-1.6.1-2.9.noarch'. The highest available version i
    s already installed.

    Regarding pavucontrol, it is installed:

    "Built-in Audio: Analog Stereo Duplex - no HDMI available
    PulseAudio: Configuration: same, everything else is with (unavailable)"

    I've checked in Yast Sound and under "Sound Configuration":
    Cannon Lake PCH cAVS

    • The device is not configured

    Any tips on this?

    Thank you,
    BB


  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,062
    Blog Entries
    15

    Default Re: HDMI no sound

    Quote Originally Posted by blackedbananas View Post
    Hi Malcom, thanks for the quick reply.

    'sof-firmware' is already installed.
    No update candidate for 'sof-firmware-1.6.1-2.9.noarch'. The highest available version i
    s already installed.

    Regarding pavucontrol, it is installed:

    "Built-in Audio: Analog Stereo Duplex - no HDMI available
    PulseAudio: Configuration: same, everything else is with (unavailable)"

    I've checked in Yast Sound and under "Sound Configuration":
    Cannon Lake PCH cAVS

    • The device is not configured

    Any tips on this?

    Thank you,
    BB
    Hi
    The system BIOS is all up to date, no BIOS settings for sound? Hopefully a Plasma user may offer further advise.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5

    Default Re: HDMI no sound

    Hi,

    BIOS is up to date, same setup works in Windows 10 flawlessly: it shows VG245 on 1050.
    Could this be connected to NVIDIA?

    inxi -G
    Graphics:
    Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
    Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] driver: nvidia v: 470.86
    Device-3: Chicony Integrated Camera (1280x720@30) type: USB driver: uvcvideo
    Display: x11 server: X.org 1.20.3 driver: modesetting,nvidia
    resolution: <xdpyinfo missing>
    OpenGL:renderer: NVIDIA GeForce GTX 1050/PCIe/SSE2 v: 4.6.0 NVIDIA 470.86

    Thanks
    OS:Leap 15.3
    Kernel:5.3.18-59.27-default
    CPU:i5-8300H RAM: 31981MiB
    GPU:CoffeeLake-H GT2
    GPU:GeForce GTX 1050




  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,062
    Blog Entries
    15

    Default Re: HDMI no sound

    Hi
    OK so in windows hdmi audio works?

    Are you using suse-prime and switching gpu's?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,992
    Blog Entries
    40

    Default Re: HDMI no sound

    Your hardware is pretty new (I think with a core-i5-8300H and Intel CoffeeLake) ...

    I assume the HDMI comes via the Intel hardware, albeit I am not 100% certain.

    Could you run some tests, and stop if any one test works.

    The test is to run each of these commands, as a regular user, and also with root permissions, to see if anyone of them provides sound:

    Trying to push sound through HDMI-0:
    Code:
    aplay -D hw:0,3 -vv /usr/share/sounds/alsa/test.wav
    .
    and Trying to push sound through HDMI-1:
    Code:
    aplay -D hw:0,7 -vv /usr/share/sounds/alsa/test.wav
    .
    and Trying to push sound through HDMI-2:
    Code:
    aplay -D hw:0,8 -vv /usr/share/sounds/alsa/test.wav
    .
    and Trying to push sound through HDMI-3:
    Code:
    aplay -D hw:0,9 -vv /usr/share/sounds/alsa/test.wav
    .
    and Trying to push sound through HDMI-4:
    Code:
    aplay -D hw:0,10 -vv /usr/share/sounds/alsa/test.wav
    I am trying to ascertain if the issue is at the alsa driver level, or at the pulse/pipewire level.
    .

  8. #8

    Default Re: HDMI no sound

    Quote Originally Posted by malcolmlewis View Post
    Hi
    OK so in windows hdmi audio works?

    Are you using suse-prime and switching gpu's?

    Yes:
    sudo prime-select get-current

    Driver configured: nvidia

    In Windows, HDMI sound is being shown as output via NVIDIA.
    The hardware is relatively new, a Lenovo Legion Y530.

    As for your tests, the slider moves from 0 to 100 but no sound is audible (in the menu of the monitor, HDMI (both ports) sound is enabled and the volume is set to 100):

    aplay -D hw:0,7 -vv /usr/share/sounds/alsa/test.wav
    Playing WAVE '/usr/share/sounds/alsa/test.wav' : Signed 16 bit Little Endian, Rate 44100
    Hz, Stereo
    Hardware PCM card 0 'HDA Intel PCH' device 7 subdevice 0
    Its setup is:
    stream : PLAYBACK
    access : RW_INTERLEAVED
    format : S16_LE
    subformat : STD
    channels : 2
    rate : 44100
    exact rate : 44100 (44100/1)
    msbits : 16
    buffer_size : 22052
    period_size : 5513
    period_time : 125011
    tstamp_mode : NONE
    tstamp_type : MONOTONIC
    period_step : 1
    avail_min : 5513
    period_event : 0
    start_threshold : 22052
    stop_threshold : 22052
    silence_threshold: 0
    silence_size : 0
    boundary : 6207086186423386112
    appl_ptr : 0
    hw_ptr : 0
    # + | 02%

    aplay -D hw:0,8 -vv /usr/share/sounds/alsa/test.wav
    Playing WAVE '/usr/share/sounds/alsa/test.wav' : Signed 16 bit Little Endian, Rate 44100
    Hz, Stereo
    Hardware PCM card 0 'HDA Intel PCH' device 8 subdevice 0
    Its setup is:
    stream : PLAYBACK
    access : RW_INTERLEAVED
    format : S16_LE
    subformat : STD
    channels : 2
    rate : 44100
    exact rate : 44100 (44100/1)
    msbits : 16
    buffer_size : 22052
    period_size : 5513
    period_time : 125011
    tstamp_mode : NONE
    tstamp_type : MONOTONIC
    period_step : 1
    avail_min : 5513
    period_event : 0
    start_threshold : 22052
    stop_threshold : 22052
    silence_threshold: 0
    silence_size : 0
    boundary : 6207086186423386112
    appl_ptr : 0
    hw_ptr : 0
    #+ | 00%

    aplay -D hw:0,9 -vv /usr/share/sounds/alsa/test.wav
    Playing WAVE '/usr/share/sounds/alsa/test.wav' : Signed 16 bit Little Endian, Rate 44100
    Hz, Stereo
    Hardware PCM card 0 'HDA Intel PCH' device 9 subdevice 0
    Its setup is:
    stream : PLAYBACK
    access : RW_INTERLEAVED
    format : S16_LE
    subformat : STD
    channels : 2
    rate : 44100
    exact rate : 44100 (44100/1)
    msbits : 16
    buffer_size : 22052
    period_size : 5513
    period_time : 125011
    tstamp_mode : NONE
    tstamp_type : MONOTONIC
    period_step : 1
    avail_min : 5513
    period_event : 0
    start_threshold : 22052
    stop_threshold : 22052
    silence_threshold: 0
    silence_size : 0
    boundary : 6207086186423386112
    appl_ptr : 0
    hw_ptr : 0
    # + | 02%

    aplay -D hw:0,10 -vv /usr/share/sounds/alsa/test.wav
    Playing WAVE '/usr/share/sounds/alsa/test.wav' : Signed 16 bit Little Endian, Rate 44100
    Hz, Stereo
    Hardware PCM card 0 'HDA Intel PCH' device 10 subdevice 0
    Its setup is:
    stream : PLAYBACK
    access : RW_INTERLEAVED
    format : S16_LE
    subformat : STD
    channels : 2
    rate : 44100
    exact rate : 44100 (44100/1)
    msbits : 16
    buffer_size : 22052
    period_size : 5513
    period_time : 125011
    tstamp_mode : NONE
    tstamp_type : MONOTONIC
    period_step : 1
    avail_min : 5513
    period_event : 0
    start_threshold : 22052
    stop_threshold : 22052
    silence_threshold: 0
    silence_size : 0
    boundary : 6207086186423386112
    appl_ptr : 0
    hw_ptr : 0
    #+ | 00%


    OS:Leap 15.3
    Kernel:5.3.18-59.27-default
    CPU:i5-8300H RAM: 31981MiB
    GPU:CoffeeLake-H GT2
    GPU:GeForce GTX 1050




  9. #9
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,992
    Blog Entries
    40

    Default Re: HDMI no sound

    Quote Originally Posted by blackedbananas View Post

    In Windows, HDMI sound is being shown as output via NVIDIA.
    The hardware is relatively new, a Lenovo Legion Y530.

    ok ... then for me to understand this new Lenovo, more information is needed. Please run a diagnostic script that provides more information. To do so open a bash shell (ie xterm or konsole) and as a regular user with the PC connected to the Internet send the following command:
    Code:
    /usr/sbin/alsa-info.sh
    Select the share/upload option when prompted and let the script run to completion. When it completes, look in the xterm/konsole and it will give you a URL address as to where the content of the diagnostic script output was uploaded. Please past that URL address here on this thread so we can look at it. That may tell us a bit more useful information as to your Lenovo hardware.


    Quote Originally Posted by blackedbananas View Post


    As for your tests, the slider moves from 0 to 100 but no sound is audible (in the menu of the monitor, HDMI (both ports) sound is enabled and the volume is set to 100):
    OK, thanks, but it moves from 0 to 100 for each of those ? or for only one of those?

    What about hw:0,3 ?? If I had to guess, that is the one that IMHO is most likely to yield something useful.
    Code:
    aplay -D hw:0,3 -vv /usr/share/sounds/alsa/test.wav
    

  10. #10

    Default Re: HDMI no sound


    Code:
    /usr/sbin/alsa-info.sh
    Select the share/upload option when prompted and let the script run to completion. When it completes, look in the xterm/konsole and it will give you a URL address as to where the content of the diagnostic script output was uploaded. Please past that URL address here on this thread so we can look at it. That may tell us a bit more useful information as to your Lenovo hardware.
    http://alsa-project.org/db/?f=53c96d...a3809d60b7af75

    OK, thanks, but it moves from 0 to 100 for each of those ? or for only one of those?

    What about hw:0,3 ?? If I had to guess, that is the one that IMHO is most likely to yield something useful.
    [code]aplay -D hw:0,3 -vv /usr/share/sounds/alsa/test.wav
    I've rerun the tests once again and the bar is loading (pretty much in the same pattern for all tests) to 64% and it lowers then rises for the duration of the tests - no audio output
    ######################### + | 54%


    Thanks
    Last edited by blackedbananas; 15-Nov-2021 at 22:03. Reason: mistake
    OS:Leap 15.3
    Kernel:5.3.18-59.27-default
    CPU:i5-8300H RAM: 31981MiB
    GPU:CoffeeLake-H GT2
    GPU:GeForce GTX 1050




Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •