LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-25-2013, 04:54 PM   #1
fr19k
LQ Newbie
 
Registered: Jul 2008
Location: Poland
Distribution: Slackaware 14.1
Posts: 15

Rep: Reputation: 0
Nouveau HDMI audio


Hello

I'm trying to redirect audio from my notebook(asus 1215n) to TV Set via HDMI, but only image is working correctly(1080p).
aplay -l doesn't show me any outputs related with nvidia ion card, only HDA intel.
In alsamixer i don't have a SPDIF control.
Nouveau site shows that it is possible to playing audio via HDMI.

What i should do, to get audio via HDMI?

Slackware current, Kernel 3.13rc5, Mesa 10.0.1, Alsa 10.0.27.1, xorg 1.14.3, xf86-video-nouveau 1.0.10(git), xf86-video-intel 2.99.906(git), Direct Rendering are working on intel & nouveau
NVIDIA Corporation GT218 [ION 2]

Last edited by fr19k; 12-25-2013 at 04:58 PM. Reason: Added some informations
 
Old 12-25-2013, 07:55 PM   #2
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
These ASUS netbooks are a bit buggy with HDMI audio. Create a file that ends in .conf in '/lib/modprobe.d'. For example I create a file at '/lib/modprobe.d/sound.conf' with the following:

Code:
options snd-hda-intel probe_mask=0xffff,0xfff2
That should fix the card detection and SPDIF in alsamixer. This may require you to 'rmmod snd-hda-intel' and then modprobe it back in, or just reboot.

The other part of the puzzle involves telling programs to redirect the audio to a specific sound card. Most are able to do this.
 
Old 12-26-2013, 04:05 AM   #3
fr19k
LQ Newbie
 
Registered: Jul 2008
Location: Poland
Distribution: Slackaware 14.1
Posts: 15

Original Poster
Rep: Reputation: 0
Unfortunately, it doesn't work for me ..
The SPDIF control still does not appear. In /var/log/dmesg i see errors after adding options for snd-hda-intel
Code:
[  523.998024] hda-intel 0000:00:1b.0: Codec #1 probe error; disabling it...
[  525.004020] hda-intel 0000:00:1b.0: Codec #2 probe error; disabling it...
[  526.010021] hda-intel 0000:00:1b.0: Codec #3 probe error; disabling it...
My notebook is Asus EeePC 1215n, maybe there are differences between EeePC & 'pure' Asus
The full name of HDA intel soundcard is Realtek ALC269VB. In alsamixer in 'capture' section i can see a 'Digital' control, but not in playback
 
Old 12-26-2013, 11:45 AM   #4
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Can you post the output of 'aplay -l'.
 
Old 12-26-2013, 02:07 PM   #5
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
could you tell us what desktop you are using being it kde or xfce4 etc ,etc
when building new kernels and I have alsa problems I remove the /var/lib/alsa/asound.state
if using kde you need to remove the ~/.kde/share/config/kmixrc and kmixctrlrc
then reboot.
this causes alsa to probe your hardware and firmware.
! it is important at this point not to have any /etc/modprobe.d/snd-conf at the time.
this is so you can start your trouble shoot.

Last edited by Drakeo; 12-26-2013 at 02:22 PM.
 
Old 12-26-2013, 04:19 PM   #6
fr19k
LQ Newbie
 
Registered: Jul 2008
Location: Poland
Distribution: Slackaware 14.1
Posts: 15

Original Poster
Rep: Reputation: 0
Code:
root@laptek:~# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
btheadset
    BT Headset
default:CARD=Intel
    HDA Intel, ALC269VB Analog
    Default Audio Device
sysdefault:CARD=Intel
    HDA Intel, ALC269VB Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC269VB Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC269VB Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC269VB Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC269VB Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC269VB Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC269VB Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
i'm using KDE 4.10.5 x86_64. I tried to remove asound.state from /var/lib/alsa & kmix* files but the SPDIF control is still unavailable
 
Old 12-26-2013, 04:47 PM   #7
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Make sure you have CONFIG_SND_HDA_CODEC_HDMI enabled in the kernel. I would just enable all the Intel HD audio codecs.

If it still is not detected then you can try the nvidia blob driver. Otherwise, I'm not sure it will work.

If it is detected but is multiple versions are detected then see:
https://www.linuxquestions.org/quest...-linux-819172/
 
Old 12-26-2013, 10:48 PM   #8
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
ok now this should help you if you did build the configure the kernel correctly. Lot of hard work went into this.
Slack doc's
 
Old 12-27-2013, 09:44 AM   #9
fr19k
LQ Newbie
 
Registered: Jul 2008
Location: Poland
Distribution: Slackaware 14.1
Posts: 15

Original Poster
Rep: Reputation: 0
All HDA codecs are included to the kernel module.
Code:
CONFIG_SND_HDA_INTEL=m
CONFIG_SND_HDA_PREALLOC_SIZE=64
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_RECONFIG=y
# CONFIG_SND_HDA_INPUT_BEEP is not set
CONFIG_SND_HDA_INPUT_JACK=y
CONFIG_SND_HDA_PATCH_LOADER=y
CONFIG_SND_HDA_CODEC_REALTEK=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_HDMI=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_CODEC_CIRRUS=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
CONFIG_SND_HDA_CODEC_CA0110=y
CONFIG_SND_HDA_CODEC_CA0132=y
# CONFIG_SND_HDA_CODEC_CA0132_DSP is not set
CONFIG_SND_HDA_CODEC_CMEDIA=y
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=10
I tried to change model in snd-hda-intel but SPDIF is still unavailable.

Last edited by fr19k; 12-27-2013 at 09:49 AM.
 
Old 12-28-2013, 06:10 AM   #10
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
it seems the i2c_dev is not linking up to that or for some reason in that kernel models drm,i2c_dev,i2c_piix4,nvidia,videodev are not being read.
are they loaded ?. if the are then we may have an alsa problem in that kernel.
 
Old 12-29-2013, 07:16 AM   #11
fr19k
LQ Newbie
 
Registered: Jul 2008
Location: Poland
Distribution: Slackaware 14.1
Posts: 15

Original Poster
Rep: Reputation: 0
i2c_drivers are loaded
Code:
i2c_dev                 5157  0 
i2c_algo_bit            5207  2 i915,nouveau
i2c_i801                9613  0 
i2c_core               19126  8 drm,i915,i2c_i801,i2c_dev,drm_kms_helper,i2c_algo_bit,nouveau,videodev
Code:
root@laptek:~# lsmod |grep nouveau
nouveau              1018735  2 
ttm                    60315  1 nouveau
cfbfillrect             3882  2 i915,nouveau
cfbimgblt               2079  2 i915,nouveau
i2c_algo_bit            5207  2 i915,nouveau
cfbcopyarea             3422  2 i915,nouveau
drm_kms_helper         28175  2 i915,nouveau
drm                   231292  9 ttm,i915,drm_kms_helper,nouveau
mxm_wmi                 1347  1 nouveau
i2c_core               19126  8 drm,i915,i2c_i801,i2c_dev,drm_kms_helper,i2c_algo_bit,nouveau,videodev
video                  11036  3 i915,nouveau,asus_wmi
wmi                     7747  3 mxm_wmi,nouveau,asus_wmi
In past i tried to use original nvidia driver. Hdmi device was present in aplay -L but i could not to play anything via HDMI, in additionaly it very often caused system hangs. Performance was very poor beacuse i don't wanted to lose GLX in Intel card. In this kernel 3.13rc5 nouveau works nicely and performance in glxspheres is (in Full HD resolution)
Code:
Context is Direct
OpenGL Renderer: Gallium 0.4 on NVA8
105.210754 frames/sec - 138.498838 Mpixels/sec
89.954329 frames/sec - 183.075051 Mpixels/sec
89.350912 frames/sec - 181.846975 Mpixels/sec
in compare to intel(i915) 1366x768
Code:
Context is Direct
OpenGL Renderer: Gallium 0.4 on i915 (chipset: Pineview G)
21.702050 frames/sec - 19.214127 Mpixels/sec
21.274245 frames/sec - 18.835366 Mpixels/sec
20.555964 frames/sec - 18.978801 Mpixels/sec
21.712882 frames/sec - 21.384713 Mpixels/sec
Only sound doesn't work..
After modprobe nouveau in /vr/log/dmesg i can see these messages
Code:
[ 2367.483113] i915 0000:00:02.0: optimus capabilities: enabled, status dynamic power, hda bios codec supported
[ 2367.483139] ACPI Warning: \_SB_.PCI0.P0P4.GFX0._DSM: Argument #4 type mismatch - Found [Integer], ACPI requires [Package] (20131115/nsarguments-95)
[ 2367.483227] ACPI Warning: \_SB_.PCI0.P0P4.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 2367.483574] ACPI Warning: \_SB_.PCI0.P0P4.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 2367.483956] pci 0000:05:00.0: optimus capabilities: enabled, status dynamic power, hda bios codec supported
[ 2367.483969] VGA switcheroo: detected Optimus DSM method \_SB_.PCI0.P0P4.GFX0 handle
Code:
00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller (rev 02)
05:00.0 VGA compatible controller: NVIDIA Corporation GT218 [ION 2] (rev a2)
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 02)
 
Old 12-31-2013, 04:57 AM   #12
fr19k
LQ Newbie
 
Registered: Jul 2008
Location: Poland
Distribution: Slackaware 14.1
Posts: 15

Original Poster
Rep: Reputation: 0
I deal with this problem! . The reason for unavailable SPDIF control is switching on the notebook by regular power switch. I don't why, but when I switch on the notebook by "ExpressGate" button, then will HDA NVIDIA device present
Code:
05:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
cards i alsamixer
Code:
root@laptek:/var/log# cat /proc/asound/cards 
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf5bf8000 irq 22
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfbffc000 irq 17
aplay -L
Code:
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0u
    HDMI Audio Output
In kernel configuration i set CONFIG_VGA_SWITCHEROO to "N" or "is not set", beacuse after modprobe nouveau, system hangs after several seconds.
 
Old 12-31-2013, 11:34 AM   #13
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Maybe it is a BIOS setting that is doing it. Make sure HDMI audio is enabled there.
 
Old 01-01-2014, 08:24 AM   #14
fr19k
LQ Newbie
 
Registered: Jul 2008
Location: Poland
Distribution: Slackaware 14.1
Posts: 15

Original Poster
Rep: Reputation: 0
Unfortunately, the bios in the Asus 1215N does not have any options for HDMI..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SOLVED - HDMI Audio working with nVidia Ion Nouveau driver Flymo Linux - Hardware 0 09-27-2013 09:45 PM
[ProLiant MicroServer, ATI R6xx HDMI, Digital Out, HDMI] No HDMI sound at all vnatius Linux - Hardware 15 08-16-2012 01:09 PM
HDMI Audio doesn't work - Debian Squeeze (Intel HDMI) felipefv Linux - Hardware 8 02-06-2012 09:47 AM
HDMI Audio with 12.2 Woodsman Slackware 27 09-04-2009 10:53 PM
HDMI Audio with Current/13.0 Woodsman Slackware 2 08-24-2009 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration