All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Damjan Georgievski <gdamjan@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Audio out on DisplayPort but not HDMI, on AMD Ryzen APU/Vega
Date: Thu, 08 Jul 2021 13:37:43 +0200	[thread overview]
Message-ID: <s5hlf6h594o.wl-tiwai@suse.de> (raw)
In-Reply-To: <CAEk1YH4Jd0a8vfZxORVu7qg+Zsc-K+pR187ezNq8QhJBPW4gpw@mail.gmail.com>

On Fri, 02 Jul 2021 15:27:30 +0200,
Damjan Georgievski wrote:
> 
> I have a desktop computer with an AMD Ryzen 5 4650G PRO APU (CPU + on-die GPU).
> The motherboard (MSI Mortar B550m wifi / bios 1.6). has one
> displayport and one HDMI outputs.
> The displayport is connected to my Lenovo P27 monitor, and the HDMI to
> my Samsung TV.
> 
> When I choose the GPU as an audio out, I only get audio on the 3.5"
> headphones jack of the Lenovo monitor, while I would like to get the
> audio on the Samsung TV over HDMI.
> I can't find a way to switch the different outputs (neither over
> pipewire or just using native alsa).
> 
> pavucontrol configuration https://i.imgur.com/9nbVtNz.png
> alsamixer -c0 only has only one option to mute s/pdif, which mutes the
> output on the displayport -> Lenovo -> 3.5" jack.
> 
> 
> $ aplay -l
> **** List of PLAYBACK Hardware Devices ****
> card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
> card 2: Generic_1 [HD-Audio Generic], device 0: ALCS1200A Analog
> [ALCS1200A Analog]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
> card 2: Generic_1 [HD-Audio Generic], device 1: ALCS1200A Digital
> [ALCS1200A Digital]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
> 
> Am I correct that card 1 here ^ should have at least two devices?

It could have more entries, depending on the configuration.
I suppose you enabled CONFIG_SND_HDA_CODEC_HDMI properly?
Please give alsa-info.sh output for more detailed analysis.


Takashi

  parent reply	other threads:[~2021-07-08 11:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-02 13:27 Audio out on DisplayPort but not HDMI, on AMD Ryzen APU/Vega Damjan Georgievski
2021-07-07 12:26 ` Damjan Georgievski
2021-07-08 11:37 ` Takashi Iwai [this message]
2021-07-08 12:28   ` Damjan Georgievski
     [not found]   ` <CAEk1YH6ca3jDq4AD7tD8xk3Cht5aA9rhkmFsMjjjzrKvRgL3Lw@mail.gmail.com>
2021-07-08 12:53     ` Takashi Iwai
2021-07-09 14:40       ` Damjan Georgievski
2021-07-09 16:32         ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hlf6h594o.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=gdamjan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.