Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Audio via HDMI [SOLVED]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Makro
Tux's lil' helper
Tux's lil' helper


Joined: 04 Feb 2010
Posts: 132

PostPosted: Fri Sep 16, 2011 4:21 pm    Post subject: Reply with quote

Code:
http://img821.imageshack.us/img821/2528/201109161801171920x1080.png

HDA NVidia
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 431
Location: Leeds

PostPosted: Fri Sep 16, 2011 4:25 pm    Post subject: Reply with quote

ok.. As your MOBO has a "Realtek® ALC889/ALC885" sound chip, make sure this is selected as selecting Nvidia is not going to help you. Do you have sound?
_________________
# touch it
touch: cannot touch `it': Permission denied
Back to top
View user's profile Send private message
Makro
Tux's lil' helper
Tux's lil' helper


Joined: 04 Feb 2010
Posts: 132

PostPosted: Fri Sep 16, 2011 4:31 pm    Post subject: Reply with quote

when I select HDA intel (Realtek ..) I still don't have sound. Or I don't understand ?
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 431
Location: Leeds

PostPosted: Fri Sep 16, 2011 4:34 pm    Post subject: Reply with quote

Keep that selected.. that IS your sound card.

For my Realtek via HDMI I have this compiled for the sound driver..
Code:
 .config - Linux/x86_64 3.0.4-gentoo Kernel Configuration
 ───────────────────────────────────────────────────────────────────────────────────
  ┌─────────────────────────────── Intel HD Audio ───────────────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.  Highlighted  │ 
  │  letters are hotkeys.  Pressing <Y> includes, <N> excludes, <M> modularizes  │ 
  │  features.  Press <Esc><Esc> to exit, <?> for Help, </> for Search.  Legend: │ 
  │  [*] built-in  [ ] excluded  <M> module  < > module capable                  │ 
  │ ┌──────────────────────────────────────────────────────────────────────────┐ │ 
  │ │    --- Intel HD Audio                                                    │ │ 
  │ │    [*]   Build hwdep interface for HD-audio driver                       │ │ 
  │ │    [ ]     Allow dynamic codec reconfiguration (EXPERIMENTAL)            │ │ 
  │ │    [*]   Support digital beep via input layer                            │ │ 
  │ │    (1)     Digital beep registration mode (0=off, 1=on, 2=mute sw on/off)│ │ 
  │ │    [ ]   Support jack plugging notification via input layer              │ │ 
  │ │    [ ]   Support initialization patch loading for HD-audio               │ │ 
  │ │    [*]   Build Realtek HD-audio codec support                            │ │ 
  │ │    [*]   Build Analog Device HD-audio codec support                      │ │ 
  │ │    [ ]   Build IDT/Sigmatel HD-audio codec support                       │ │ 
  │ │    [ ]   Build VIA HD-audio codec support                                │ │ 
  │ │    [*]   Build HDMI/DisplayPort HD-audio codec support                   │ │ 
  │ │    [ ]   Build Cirrus Logic codec support                                │ │ 
  │ │    [ ]   Build Conexant HD-audio codec support                           │ │ 
  │ │    [ ]   Build Creative CA0110-IBG codec support                         │ │ 
  │ │    [ ]   Build C-Media HD-audio codec support                            │ │ 
  │ │    [ ]   Build Silicon Labs 3054 HD-modem codec support                  │ │ 
  │ │    [ ]   Enable generic HD-audio codec parser                            │ │ 
  │ │    [ ]   Aggressive power-saving on HD-audio                             │ │ 
  │ │                                                                          │ │ 
  │ │                                                                          │ │ 
  │ └──────────────────────────────────────────────────────────────────────────┘ │ 
  ├──────────────────────────────────────────────────────────────────────────────┤ 
  │                       <Select>    < Exit >    < Help >                       │ 
  └──────────────────────────────────────────────────────────────────────────────┘

_________________
# touch it
touch: cannot touch `it': Permission denied
Back to top
View user's profile Send private message
Makro
Tux's lil' helper
Tux's lil' helper


Joined: 04 Feb 2010
Posts: 132

PostPosted: Fri Sep 16, 2011 4:53 pm    Post subject: Reply with quote

ok.I found old hdd where is windows.there it works so this is not problem of graphic card.I have everything enabled in hd intel kernel setting but I have compiled driver as module.I will try to build it in and I will talk more about the problem
Back to top
View user's profile Send private message
whiteghost
Guru
Guru


Joined: 26 Jul 2009
Posts: 374
Location: north dakota

PostPosted: Sat Sep 17, 2011 1:20 am    Post subject: Reply with quote

i have a gtx 460. what hell i had getting it to work. this connects to samsung tv/monitor.

i am only interested in hdmi output so i disabled onboard sound in bios.

Code:
.config - Linux/x86_64 3.0.4-zen Kernel Configuration
 ──────────────────────────────────────────────────────────────────────────────
  ┌─────────────────────────── PCI sound devices ───────────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.          │ 
  │  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, │ 
  │  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> │ 
  │  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       │ 
  │ ┌────^(-)─────────────────────────────────────────────────────────────┐ │ 
  │ │    < >   Emu10k1 (SB Live!, Audigy, E-mu APS)                       │ │ 
  │ │    < >   Emu10k1X (Dell OEM Version)                                │ │ 
  │ │    < >   (Creative) Ensoniq AudioPCI 1370                           │ │ 
  │ │    < >   (Creative) Ensoniq AudioPCI 1371/1373                      │ │ 
  │ │    < >   ESS ES1938/1946/1969 (Solo-1)                              │ │ 
  │ │    < >   ESS ES1968/1978 (Maestro-1/2/2E)                           │ │ 
  │ │    < >   ForteMedia FM801                                           │ │ 
  │ │    <M>   Intel HD Audio  --->               

 --- Intel HD Audio                                               │ │ 
  │ │    [ ]   Build hwdep interface for HD-audio driver                  │ │ 
  │ │    [ ]   Support digital beep via input layer                       │ │ 
  │ │    [ ]   Support jack plugging notification via input layer         │ │ 
  │ │    [ ]   Support initialization patch loading for HD-audio          │ │ 
  │ │    [*]   Build Realtek HD-audio codec support                       │ │ 
  │ │    [ ]   Build Analog Device HD-audio codec support                 │ │ 
  │ │    [ ]   Build IDT/Sigmatel HD-audio codec support                  │ │ 
  │ │    [ ]   Build VIA HD-audio codec support                           │ │ 
  │ │    [*]   Build HDMI/DisplayPort HD-audio codec support       


my .asoundrc
Code:
pcm.!default {
      type hw
      card 0
      device 7
 }

Code:
# lsmod
Module                  Size  Used by
snd_pcm_oss            38137  0
snd_mixer_oss          14979  1 snd_pcm_oss
nvidia              11974113  30
r8169                  40218  0
k10temp                 3199  0


snips of dmesg
Code:

[    1.121049] HDMI status: Pin=5 Presence_Detect=0 ELD_Valid=0
[    1.149048] HDMI status: Pin=5 Presence_Detect=0 ELD_Valid=0
[    1.178036] HDMI status: Pin=5 Presence_Detect=0 ELD_Valid=0
[    1.207036] HDMI status: Pin=5 Presence_Detect=0 ELD_Valid=0

[    1.251263] ALSA device list:
[    1.251370]   #0: HDA NVidia at 0xfbffc000 irq 19

[    6.830358] HDMI hot plug event: Pin=5 Presence_Detect=1 ELD_Valid=0
[    6.833037] HDMI status: Pin=5 Presence_Detect=1 ELD_Valid=0
[    6.852485] HDMI hot plug event: Pin=5 Presence_Detect=0 ELD_Valid=1
[    6.855033] HDMI status: Pin=5 Presence_Detect=1 ELD_Valid=1
[    7.151036] HDMI: detected monitor SAMSUNG
[    7.151037]       at connection type HDMI
[    7.151039] HDMI: available speakers: FL/FR
[    7.151042] HDMI: supports coding type LPCM: channels = 2, rates = 44100 48000 88200, bits = 16 20 24
[    7.798229] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.




alsamixer
Code:
─────────────────────────────────────────────────────── AlsaMixer v1.0.24.2 ────────────────────────────────────────────────────────┐
│ Card: HDA NVidia                                                                                           F1:  Help               │
│ Chip: Nvidia GPU 12 HDMI/DP                                                                                F2:  System information │
│ View: F3:[Playback] F4: Capture  F5: All                                                                   F6:  Select sound card  │
│ Item: S/PDIF                                                                                               Esc: Exit               │
│                                                                                                                                    │
│                                                                                                                                    │
│                                                                                                                                    │
│                                                                                                                                    │
│                                                                                                                                    │
│                                                                                                                                    │
│                                                                                                                                    │
│                                                                                                                                    │
│                                                                                                                                    │
│                                                                                                                                    │
│                                                                                                                                    │
│                                                  ┌──┐     ┌──┐     ┌──┐     ┌──┐                                                   │
│                                                  │OO│     │OO│     │OO│     │OO│                                                   │
│                                                  └──┘     └──┘     └──┘     └──┘                                                   │
│                                               < S/PDIF >S/PDIF 1 S/PDIF 2 S/PDIF 3                                                 │
│                                                                                                                       


 /proc/asound/cards ─────────────────┐                                       │
│                                      │ 0 [NVidia         ]: HDA-Intel - HDA NVidia         │                                       │
│                                      │                      HDA NVidia at 0xfbffc000 irq 19│   

 Sound Card ──────┐                                                      │
│                                                     │-  (default)           │                                                      │
│                                                     │0  HDA NVidia          │                                                      │
│                                                  ┌──│   enter device name...




Code:
rc-update add alsasound boot


rc.log
Code:
alsasound     | * Loading ALSA modules ...
alsasound     | *   Loading: snd-mixer-oss ...
 [ ok ]
alsasound     | *   Loading: snd-pcm-oss ...
 [ ok ]
 [ ok ]
alsasound     | * Restoring Mixer Levels ...


if you ever rebuild your system save your .asoundrc !!
_________________
www.informationclearinghouse.info
May you re-discover what the poor in 18th century France discovered, that rich people's heads can be mechanically separated from their shoulders if they refuse to listen to reason.
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 431
Location: Leeds

PostPosted: Sun Sep 18, 2011 1:15 pm    Post subject: Reply with quote

Not sure if the following will help at all... but I have this in my /etc/make.conf
Code:
ALSA_CARDS="emu10k1%* =maestro3 =ymfpci =aica =asihpi =darla20 =darla24 =echo3g =emi26 =emu1212 =emu1616 =emu1820 =gina20 =gina24 hda-intel =hdsp =hdspm =indigo =indigoio =korg1212 =layla20 =layla24 =mia =mixart =mona =msnd-pinnacle =pcxhr =sb16 =usb-usx2y =vx222 =wavefront"

_________________
# touch it
touch: cannot touch `it': Permission denied
Back to top
View user's profile Send private message
Makro
Tux's lil' helper
Tux's lil' helper


Joined: 04 Feb 2010
Posts: 132

PostPosted: Sun Sep 18, 2011 3:58 pm    Post subject: Reply with quote

ok guys.it works.
I installed kmix and I tried all devices via
Code:
aplay -D plughw:(number),(number) /usr/share/sounds/alsa/Front_Center.wav

and it was device 1,7.I dont know why it shows 8 outputs but I am extreme happy that it works.
Thank u for your help and for help of my friend.
Back to top
View user's profile Send private message
esteban_conde
Veteran
Veteran


Joined: 04 Jun 2003
Posts: 1670

PostPosted: Mon Oct 14, 2013 5:08 pm    Post subject: Reply with quote

instala alsa-tools y alsa-utils si no lo has hecho ya.
_________________
Saludos a tod@s, Esteban.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum