You are not logged in.
Pages: 1
Hi,
I have Arch linux installed in Intel NUC DC3217IYE which has only hdmi output, no jack. I get no sound from HDMI and I can not triage why. The aplay output is:
[xan@cinezzin ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
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
[xan@cinezzin ~]$
Thanks in advance,
Last edited by xanb (2015-02-12 14:36:58)
Owning one OpenRC (artoo way) and other three systemd machines
Offline
I had the same issue and I fixed by setting up the followig line on my .xinitrc:
pactl set-sink-volume 1 -- -0%
Hope it helps to you
Offline
As root in tty2, it gives me
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
Same result with regular user
Last edited by xanb (2015-02-04 10:08:19)
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Yes, as far as I know, only works with X started
Offline
Yes, as far as I know, only works with X started
No, even in X.
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Ooops then maybe there is something else that I do not know.
Can you select the output with pavucontrol manually and check if works?
Offline
Are you using pure ALSA or do you have pulseaudio as well?
Which desktop environment/window manager are you using?
You appear to have two cards, both assigned to index "0" (==default card) -- they must be conflicting.
You can attempt to force the indexing by using /etc/modprobe.d/alsa-base.conf:
https://wiki.archlinux.org/index.php/AL … sound_card
If both devices are using the same module, you can set the order using the vendor ID & product ID.
Find out the values using:
lspci -knn|grep -iA2 audio
The VID & PID are found in the square brackets separated by a colon:
[vendor ID:product ID]
You can then index these in the config file:
options <module name> index=0 vid=<vendor ID> pid=<product ID>
options <module name> index=1 vid=<vendor ID> pid=<product ID>
You will need to (re)move any other sound configuration files (~/.asoundrc, /etc/asound.conf, etc) for this to work and it may not work at at all if the cards are using the "snd_hda_intel" module.
Last edited by Head_on_a_Stick (2015-02-04 11:15:19)
Offline
No, having multiple devices on the same card should be fine and is normal for HDMI.
Offline
I have only ALSA installed. The Intel NUC has has two hdmi outputs. The output:
[xan@cinezzin ~]$ lspci -knn|grep -iA2 audio
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
DeviceName: Intel(R) High Definition Audio Device
Subsystem: Intel Corporation Device [8086:2044]
Kernel driver in use: snd_hda_intel
[xan@cinezzin ~]$
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Any hint so?
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Read my post above and particularly the ArchWiki link I have provided (I don't think the [VID:PID] method works with that module).
Offline
Did you read my previous post. This is my output. How can I do with that? I have only one device soundcard, I think.
Last edited by xanb (2015-02-08 10:12:19)
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Intel says that
Intel® NUC Kits and Boards
Audio Driver Readme
The audio solution on Intel® NUC kits and boards is provided via the Intel® High Definition Audio via the HDMI v1.4a interface and/or the DisplayPort 1.1a interface through the PCH (depending on your model).
HDMI audio drivers are included with the graphics driver available for your Intel NUC product.
Is it belong to my problem?
Owning one OpenRC (artoo way) and other three systemd machines
Offline
I found this in debian forums and that. Perhaps the second could be the solution. Another trick is to upgrade de BIOS
Last edited by xanb (2015-02-08 12:04:56)
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Partial progress: following this guide, I got this:
[xan@cinezzin ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
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
[xan@cinezzin ~]$
Then, I created the .asoundrc file:
xan@cinezzin ~]$ cat .asoundrc
defaults.pcm.card 0
defaults.pcm.device 7
defaults.ctl.card 0
[xan@cinezzin ~]$
and with
speaker-test -D plughw:0,3 # for slot 1
I get sound [that is the HDMI output works]. With
speaker-test -D plughw:0,7
I get no sound.
But I cannot play any sound at all. If I reproduce a wav file, then I get no sound.
Any thought.
Thanks,
Last edited by xanb (2015-02-10 14:14:33)
Owning one OpenRC (artoo way) and other three systemd machines
Offline
so set the defaults.pcm.device to 3 then if that's the port you use? I don't really get what the problem is anymore if you say it works with 0,3.
Offline
Partial progress: following this guide, I got this:
[xan@cinezzin ~]$ aplay -l **** List of PLAYBACK Hardware Devices **** 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 [xan@cinezzin ~]$
Then, I created the .asoundrc file:
xan@cinezzin ~]$ cat .asoundrc defaults.pcm.card 0 defaults.pcm.device 7 defaults.ctl.card 0 [xan@cinezzin ~]$
and with
speaker-test -D plughw:0,3 # for slot 1
I get sound [that is the HDMI output works]. With
speaker-test -D plughw:0,7
I get no sound.
But I cannot play any sound at all. If I reproduce a wav file, then I get no sound.
Any thought.
Thanks,
I had similar issues the first time I tried to get HDMI sound to work. The issue is that these cards come with multiple devices so alsa/pulseaudio seem to have issues determining which one is actually used, and more often than not the incorrect one ends up being the default.
From your post it is quite obvious that you are attempting to default the one device which does not work, device 7. The device you report getting sound from is the third one so naturally that's the one you want to attempt defaulting to.
In pulseaudio you can edit /etc/default.pa and add the following entry at an appropriate place:
load-module module-alsa-sink device=hw:0,3
Restarting pulseaudio and choosing your device from something like pavucontrol should then do the trick. You could of course find some similar method of making the change permanent using just alsa, but since I never bothered using alsa directly I will leave that part to you.
Offline
I had similar issues the first time I tried to get HDMI sound to work. The issue is that these cards come with multiple devices so alsa/pulseaudio seem to have issues determining which one is actually used, and more often than not the incorrect one ends up being the default.
From your post it is quite obvious that you are attempting to default the one device which does not work, device 7. The device you report getting sound from is the third one so naturally that's the one you want to attempt defaulting to.
In pulseaudio you can edit /etc/default.pa and add the following entry at an appropriate place:
load-module module-alsa-sink device=hw:0,3
Restarting pulseaudio and choosing your device from something like pavucontrol should then do the trick. You could of course find some similar method of making the change permanent using just alsa, but since I never bothered using alsa directly I will leave that part to you.
I have no pulseaudio installed.
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Calibanio wrote:I had similar issues the first time I tried to get HDMI sound to work. The issue is that these cards come with multiple devices so alsa/pulseaudio seem to have issues determining which one is actually used, and more often than not the incorrect one ends up being the default.
From your post it is quite obvious that you are attempting to default the one device which does not work, device 7. The device you report getting sound from is the third one so naturally that's the one you want to attempt defaulting to.
In pulseaudio you can edit /etc/default.pa and add the following entry at an appropriate place:
load-module module-alsa-sink device=hw:0,3
Restarting pulseaudio and choosing your device from something like pavucontrol should then do the trick. You could of course find some similar method of making the change permanent using just alsa, but since I never bothered using alsa directly I will leave that part to you.
I have no pulseaudio installed.
Well, I gave you the most possible cause of the issue. If you aren't willing to figure out how to do certain things on your own then Arch is probably not a very good choice for you.
Offline
Well, I gave you the most possible cause of the issue. If you aren't willing to figure out how to do certain things on your own then Arch is probably not a very good choice for you.
I'm willing. If I weren't, then I wouldn't ask. If I ask is because I'm worried about my issues and I try to solve them. On the other hand, people are not be able to be experts in every feature of OS. Have I got the right to be non-expert in HDMI and sound? The newbie corner is for non-experts users, isn't? Should we remove it?
Returning to my original question, it's not necessary to have pulseaudio installed to have sound works properly, isn't? So what's wrong here? Why
speaker-test -D plughw:0,3 # for slot 1
works well, but there is no sound if I try to reproduce audio files in my browser or in Thunar?
Thanks,
Owning one OpenRC (artoo way) and other three systemd machines
Offline
You should have the following in your .asoundrc
defaults.pcm.card 0
defaults.pcm.device 3
defaults.ctl.card 0
you are on the right track, you simply have to switch your sounddevice to the one that actually produces sound (notice that there is a 3 now in defaults.pcm.device instead of a 7)
Offline
At V1del, thanks _a lot_ for your help. This makes this threat solved. I will be in debt with you all my life.
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Pages: 1