You are not logged in.

#1 2017-06-20 21:02:10

iKevin
Member
From: Ann Arbor, MI
Registered: 2003-07-20
Posts: 132

[Solved] Alsa Sound and HDMI output

Hi All

First, I have done quite a bit of searching and I can't seem to find the issue even though there are a numbers of posts from the past.  I am hoping something is a bit different in my case.

I just installed arch and I am running openbox and Volume Control 0.51.  I am having trouble getting sound output to my HDMI monitor.  "aplay -l" shows:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC1150 Analog [ALC1150 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC1150 Digital [ALC1150 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I can use the above to play a test sound correctly using:

aplay -D plughw:1,3 ./test.wav

After testing, I modified my ~/.asoundrc to look like:

$ cat ~/.asoundrc
pcm.!default {
    type hw
    card 1
    device 3
}

Logging out and/or rebooting results in no sound but the "aplay" test still works.   My next debugging step based on forum posts was to use "pavucontrol".  I noticed the first output device is a "GF100 High Definition Audio Controller" and the Port shows "HDMI/DisplayPort (plugged in)".   I enabled it and I get sound over HDMI and I can control the sound level using "pavucontrol".  However, my "Volume Control" can't control the audio volume.  I can select HDA Nvidia as a device but I can't select a channel, which is what I assume needs to be done to get it to control the HDMI audio.

Does anyone have an idea how I can get "Volume Control" working?

Last edited by iKevin (2017-06-20 23:30:25)

Offline

#2 2017-06-20 23:29:56

iKevin
Member
From: Ann Arbor, MI
Registered: 2003-07-20
Posts: 132

Re: [Solved] Alsa Sound and HDMI output

Ok All.  I am not sure what to say.  I changed the Volume Control preferences device to default and it works.

Sorry about the long post but I think it was solved once I modified .asoundrc.

Offline

Board footer

Powered by FluxBB