You are not logged in.
Pages: 1
I have an older Dell Inspiron 1525 that I can't configure for audio over HDMI. Everything was unmuted in alsamixer and I can configure it to play audio over other connections without issue (for example the headphone jack). I also believe that I've properly configured .asoundrc but none of the programs, I've tested produce any sound. Speaker-test hw:0,3 didn't produce an error message, but still didn't play any sound.
lspci | grep "Audio"
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
cat /proc/asound/modules
0 snd_hda_intel
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC9228 Analog [STAC9228 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC9228 Digital [STAC9228 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
My .asoundrc configuration (I also tried card 0, device 3).
pcm.!default {
type hw
card Intel
device "HDMI 0"
}
ctl.!default {
type hw
card Intel
device "HDMI 0"
}
The same laptop was a pain to configure for video over HDMI and the configuration I'm using still isn't ideal. I'm wondering if the two issues are related. To get video outside of x11, I had to pass kernel parameters explicitly enabling video over hdmi as well as setting the edid to the default one for 1920x1080. No edid is detected regardless of the display I connect the laptop to and this fix obvious would present a problem if I try connecting it to a display that doesn't support 1920x1080.
GRUB_CMDLINE_LINUX_DEFAULT="quiet video=LVDS-1:d video=VGA-1:d video=HDMI-1:e drm_kms_helper.edid_firmware=edid/1920x1080.bin"
In X11, it would still show the hdmi cable as unplugged, so I added the two following lines before starting my window manager in .xinitrc:
xrandr --addmode HDMI1 "1920x1080"
xrandr --output HDMI1 --mode "1920x1080"
xrandr still shows HDMI1 with "unknown connection" but it does at least show video now. If there's any other information that might be useful, please let me know.
edit: It's probably also worth pointing out that I've had this problem with both video and audio over hdmi for more than a year. Every few months, I'll try to get it working again, usually starting over with a fresh installation of Arch (or in the past Debian or Ubuntu). Whatever the issue is, it's existed across multiple distributions (and versions thereof). It's not a recent bug in the kernel or relevant drivers.
Last edited by fzd26 (2013-10-17 19:27:44)
Offline
So you went already through https://wiki.archlinux.org/index.php/Ad … s_not_work ?
What does
xrandr --props
for HDMI1 show?
Also instead of using xrandr in .xinitrc you should be able to get this display mode into xorg.conf.
Offline
Use this /etc/asound.conf or ~/.asoundrc to get the right device selected:
pcm.!default {
type plug
slave {
pcm "hw:0,3"
}
}
does it work?
.-. ,---,---.--.
| |__ \ \ \ \`//.
`----'`--'`--'`--'
Offline
emeres: Thanks. I did go over that section of the ALSA wiki before posting. I've configured HDMI output for alsa on my desktop without issue in the past and nothing there suggests it should be any different for the laptop. There is a note on the wiki about some Intel chipsets, but it doesn't look like it should concern my laptop. As to the output of xrandr --prop:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 32767 x 32767
LVDS1 disconnected (normal left inverted right x axis y axis)
BACKLIGHT: 0
range: (0, 7)
Backlight: 0
range: (0, 7)
scaling mode: Full aspect
supported: None, Full, Center, Full aspect
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 unknown connection 1920x1080+0+0 (normal left inverted right x axis y axis) 500mm x 281mm
EDID:
00ffffffffffff0031d8000000000000
051601036d321c78ea5ec0a4594a9825
205054000000d1c00101010101010101
010101010101023a801871382d40582c
4500f4191100001e000000ff004c696e
75782023300a20202020000000fd003b
3d42440f000a202020202020000000fc
004c696e7578204648440a2020200005
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235
audio: auto
supported: force-dvi, off, auto, on
1920x1080 60.0*+
TV1 disconnected (normal left inverted right x axis y axis)
bottom margin: 37
range: (0, 100)
right margin: 46
range: (0, 100)
top margin: 36
range: (0, 100)
left margin: 54
range: (0, 100)
mode: NTSC-M
supported: NTSC-M, NTSC-443, NTSC-J, PAL-M, PAL-N, PAL, 480p, 576p, 720p@60Hz, 720p@50Hz, 1080i@50Hz, 1080i@60Hz
The above is with the kernel parameters I mentioned earlier (so I don't believe that's the actual edid for my display). Also, I didn't expect changing the audio property would affect anything, but I did try forcing it to both "on" and "dvi-force". Neither setting had an impact.
legolas558: Thanks for the suggestion, but this doesn't appear to fix the problem either.
Offline
can you post the output of
amixer controls | grep PCM
Offline
cris9288:
numid=46,iface=MIXER,name='PCM Playback Volume'
numid=32,iface=MIXER,name='IEC958 Default PCM Playback Switch'
numid=42,iface=PCM,name='Capture Channel Map'
numid=41,iface=PCM,name='Playback Channel Map'
numid=43,iface=PCM,name='Playback Channel Map',device=1
numid=44,iface=PCM,name='Capture Channel Map',device=2
numid=45,iface=PCM,name='Capture Channel Map',index=1,device=2
numid=6,iface=PCM,name='ELD',device=3
numid=7,iface=PCM,name='Playback Channel Map',device=3
Offline
Pages: 1