tvogel / vaio-f11-linux

Automatically exported from code.google.com/p/vaio-f11-linux
7 stars 2 forks source link

No sound over HDMI #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Adding second monitor entry in xorg.conf enables external HDMI devices 
detection and working, but not with sound.

There is no sound over HDMI although regular analog laptop sound output works 
ok.

I'm not sure if the problem is on alsa or nvidia side, "aplayer -L" doesn't 
list any NVidia sound deviced, only ALC275's.

----
Sony Vaio VPCF1190x (US), Kernel 2.6.32, alsa 1.0.22.1, NVidia 195.36.15.

Original issue reported on code.google.com by shand...@gmail.com on 25 Mar 2010 at 9:08

GoogleCodeExporter commented 9 years ago
you may know that ALSA only give support for VAIO audio chipset in very recent
releases. For instance: Ubuntu 9.10 does no sound, but it seems that Ubuntu 
10.04
(yet to be released at the end of April) gives a working version al ALSA driver.
Maybe this also fixes the sound over HDMI?

Original comment by stephv...@gmail.com on 20 Apr 2010 at 10:33

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi, stephvast, aparently, and unfortunately, it seems that it's not. I'm using 
alsa 
1.0.22.1 (from Lucid repos) --- it gives me sound over built-in speakers and 
through 
analog output, but no microphone support (neither bult-in nor analog input) and 
no 
sound over hdmi.

I believe that released few days ago alsa 1.0.23 could fix at least some of 
these 
issues, but I haven't had a chance to give it a try, and it's not in Ubuntu 
repos yet 
of course.

Original comment by shand...@gmail.com on 21 Apr 2010 at 8:51

GoogleCodeExporter commented 9 years ago
The HDMI sound output isn't through the ALC275 chipset at all. It's an entirely
separate HDA interface in the nVidia graphics, and should show up as another 
card. I
do see it in /proc/asound/cards. However, it doesn't seem to show any pcm 
devices,
so we can't play through it. This might be a similar routing problem to the one 
that
causes the microphone to be disabled.

Original comment by yann.ver...@gmail.com on 22 Apr 2010 at 11:24

GoogleCodeExporter commented 9 years ago
i got it working!
in alsamixer select the HDA Nvidia Soundcard.
there you see 4 S/PDIF mixers - all muted.
so unmute all 4 with M.
dont forget to save things (sudo alsactl store)!
and finally sound over hdmi is working!

Original comment by elmar.sc...@gmail.com on 10 May 2010 at 7:13

GoogleCodeExporter commented 9 years ago
Hi elmar,

these are great news!
Would you be so kind to let us know what version of alsa do you have installed? 
Mine 
(1.0.22.1, from Lucid repos) doesn't show any mixers for HDA Nvidia card, 
therefore I 
can't unmute anything...

Original comment by shand...@gmail.com on 10 May 2010 at 8:20

GoogleCodeExporter commented 9 years ago
ah sorry, i forgot. i have alsa 1.0.23! installed it as mentioned in the "no 
sound 
under ubuntu 64bit" thread)

Original comment by elmar.sc...@gmail.com on 10 May 2010 at 8:40

GoogleCodeExporter commented 9 years ago
Ah,

I was expecting that, good news then! :)
By the way, would you also indicate if you have internal microphone working 
with alsa 
1.0.23? By any chance? :)

Thanks in advance.

Original comment by shand...@gmail.com on 10 May 2010 at 8:43

GoogleCodeExporter commented 9 years ago
@microphone: didn't test this, but i will let you know, if i do!!!

Original comment by elmar.sc...@gmail.com on 11 May 2010 at 7:22

GoogleCodeExporter commented 9 years ago
Hi there I try to do the alsamixer thing selecting with F6 the card "HDA 
Nvidia" but I 
get this:

"This device have no controls"

what did you do elmar.schamberger to get this card working?

Original comment by mayorgap...@gmail.com on 13 May 2010 at 10:54

GoogleCodeExporter commented 9 years ago
Hi mayorgapavel,

do you have alsa 1.0.23 installed?

Original comment by shand...@gmail.com on 13 May 2010 at 10:57

GoogleCodeExporter commented 9 years ago
Hi,

I am running UBUNTU 10.04 LTS 64 bit. updated alsa to 1.0.23.
After following all above comments, still no sound over hdmi.

aplay -l lists following sound card entries :

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC275 Analog [ALC275 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC275 Digital [ALC275 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Then I found another useful link which finally helped me out:
for all details See http://bbs.archlinux.org/viewtopic.php?pid=708951

Here's what to do:

1. I just added the following line in /etc/modprobe.d/alsa-base.conf

 options snd-hda-intel probe_mask=0xffff,0xfff2

 The "probe_mask" string (here "0xffff,0xfff2") depends on the card number of your
soundcard as listed by aplay -l 

  eg. if you have card number 0, add: 
  options snd-hda-intel probe_mask=0xfff2

  if you have card number 1, add: 
  options snd-hda-intel probe_mask=0xffff,0xfff2

  if you have card number 1, add:
  options snd-hda-intel probe_mask=0xffff,0xffff,0xfff2

  etc.

2. Reboot.

3. Set sound output in gnome sound preferences to the hdmi audio controller

Now I get sound over hdmi and aplay -l has follwing output :

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC275 Analog [ALC275 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC275 Digital [ALC275 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Original comment by tmb...@gmail.com on 24 May 2010 at 11:38

GoogleCodeExporter commented 9 years ago
Hi,
I also am running on my VPCF11M1E UBUNTU 10.04 LTS 64 bit. and updated to alsa 
to
1.0.23., 

aplay-l shows:

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], apparaat 0: ALC275 Analog [ALC275 Analog]
  Sub-devices: 1/1
  Sub-device #0: subdevice #0
card 0: Intel [HDA Intel], apparaat 1: ALC275 Digital [ALC275 Digital]
  Sub-devices: 1/1
  Sub-device #0: subdevice #0

What I miss is the NVIDIA card although I do have installled this
"nvidia.com/XFree86/Linux-x86_64/195.30/NVIDIA-Linux-x86_64-195.30" driver.
I don't get sound sound over HDMI the screen output over HDMI is excellent 
(1920x1080)
Can anyone help me with this?

Original comment by chakubie on 27 May 2010 at 12:17

GoogleCodeExporter commented 9 years ago
Fixed with latest alsa/options as reported by elmar.schamberger and tmbgrt.

Original comment by Jason.Donenfeld on 29 May 2010 at 2:52