public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mark Knecht <markknecht@gmail.com>
To: Gentoo User <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] Audio through second HDMI output on GPU?
Date: Sun, 23 May 2021 10:42:17 -0700	[thread overview]
Message-ID: <CAK2H+efWJ1e-C7sSjPQ0YJJqjQXu3eBU76mygqB=yU80icC1zg@mail.gmail.com> (raw)
In-Reply-To: <06528823-cd73-4c13-e6de-0ee2e38631df@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3259 bytes --]

On Sun, May 23, 2021 at 10:09 AM Dale <rdalek1967@gmail.com> wrote:
>
> Arve Barsnes wrote:
> > On Sun, 23 May 2021 at 18:22, Dale <rdalek1967@gmail.com> wrote:
> >> If you ever figure it out, please post what did it.  I watch TV from my
> >> puter too.  Right now, I tell Smplayer to send audio to the TV by
giving
> >> it the device name like you did.  Thing is, none of the entries in the
> >> drop down menu in settings works.  Odd but it is what it is.
> > Might be worth checking if the smplayer front-end is messing something
> > up, by going straight through mpv. My last steps for playing video
> > through the TV, with the audio going there as well:
> >
> > Get a list of all the audio devices on your system.
> > $ mpv --audio-device=help
> >
> > Use the correct device in your video command.
> > DISPLAY=:0.1 mpv --audio-device=alsa/hdmi:CARD=NVidia,DEV=0 -fs
video.mkv
> >
> > Also check what Mark mentioned about muted channels on the output card
> > through alsamixer.
> >
> > Regards,
> > Arve
> >
> >
>
>
> When I set mine up, I just set output driver to user defined and entered
> alsa:device=hw=1.7 in settings.  I only want Smplayer to output to the
> TV.  Everything else goes to the speakers hooked to the computer itself.
>
> The day may come when I use something other than Smplayer to watch TV
> tho.  If, or when, that day comes I'll have to figure out how to get the
> audio to work with it.  Right now, I'm still able to use the old gnome
> player still.  It's going to die one day tho since it is no longer
> maintained.
>
> I do find these audio topics interesting tho.  It seems it should be
> easy to send sound to any place it can go but it isn't easy to do for
> real.  It seems it is a problem for a lot of people doing what I think
> is at least somewhat common.
>
> Either way, glad you got it working.  It took me days to figure out mine
> too.
>
> Dale
>
> :-)  :-)

Dale and Arve,
   As I do home studio type recording using Linux I always find this topic
quite interesting but because of the more complicated setup of my audio
environment which makes use of a Hammerfall DSP card driving the speaker
but utilizes the internal Intel sound card for general audio, along with
cables outside to hook the two together, I'm just not sure what I see on my
system is very helpful to you two. Nonetheless I do have an older NVidia
GPU and would like to understand what's going on with all of this.

   A couple of requests:

1) instead of aplay -l please run aplay -L

2) Also provide the output of

cat /proc/asound/card2/codec#0

Note: Your card number may well be different than mine card0=Hammerfall,
card1=Internal Intel sound, card2=NVidia

   Also, there is an old (2014) document online from NVidia that provides a
lot of info on Alsa device naming and how NVidia GPUs handle audio. It's
one of the better ones I've found online making the dangerous assumption
that it hasn't all changed. There's lots of info in this document about
system config edits for non-pulseaudio users and things that might possibly
be of interest to Gentoo users with configuration more like Arve's, but
again, that's a guess on my part.

https://download.nvidia.com/XFree86/gpu-hdmi-audio-document/

   No rush on any of this.

Thanks,
Mark

[-- Attachment #2: Type: text/html, Size: 4159 bytes --]

  reply	other threads:[~2021-05-23 17:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-20  9:34 [gentoo-user] Audio through second HDMI output on GPU? Arve Barsnes
2021-05-21 20:47 ` Mark Knecht
2021-05-21 22:10   ` Arve Barsnes
2021-05-21 22:41     ` eric
2021-05-21 22:51     ` Mark Knecht
2021-05-23 11:21       ` Arve Barsnes
2021-05-23 12:46         ` Arve Barsnes
2021-05-23 14:13           ` Mark Knecht
2021-05-23 14:38             ` Arve Barsnes
2021-05-23 16:22               ` Dale
2021-05-23 16:34                 ` Arve Barsnes
2021-05-23 17:08                   ` Dale
2021-05-23 17:42                     ` Mark Knecht [this message]
2021-05-23 18:12                       ` Dale
2021-05-23 18:26                       ` Arve Barsnes

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='CAK2H+efWJ1e-C7sSjPQ0YJJqjQXu3eBU76mygqB=yU80icC1zg@mail.gmail.com' \
    --to=markknecht@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox