Problems with the Nvidia ION2 Chipset.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a small Pico ITX  motherboard with an Nvidia ION2 chipset with both HDMI audio out (TV) and Stereo/Composite Audio out (Stereo.) You can run it with Composite Audio output, or HDMI audio output, but not both simultaneously, an not without heavy reconfiguration. The sound card is an Nvidia Chipset.

While I can independently get the HDMI audio output working individually, or get the Front speaker Jacks working, I can't get both of them working at once without locking up some older 32 bit programs.

Here is the output of aplay -L

null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
front:CARD=NVidia,DEV=0
    HDA NVidia, ALC887 Analog
    Front speakers
surround40:CARD=NVidia,DEV=0
    HDA NVidia, ALC887 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
    HDA NVidia, ALC887 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
    HDA NVidia, ALC887 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
    HDA NVidia, ALC887 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
    HDA NVidia, ALC887 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
    HDA NVidia, ALC887 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, NVIDIA HDMI
    HDMI Audio Output

here is the output of aplay -l

card 0: NVidia [HDA NVidia], device 0: ALC887 Analog [ALC887 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC887 Digital [ALC887 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Now as I said, I can get either the Composite playback working by having no  asound.conf setup, or, an asound.conf setup like this:

pcm.dmixer {
 type dmix
 ipc_key 1024
 ipc_key_add_uid false
 ipc_perm 0660
 slave {
   pcm "hw:0,3"
   rate 48000
   channels 2
   period_time 0
   period_size 1024
   buffer_time 0
   buffer_size 4096
 }
}

This will make just HDMI work.

I tried using dmix to make it output both as a joined socket, but the result was SDL lockups. Here is the configuration I used

pcm.2asone_NVSB_dmix {
    type dmix
    ipc_key 170300
    # "hw:0,0" is Card 0 Device 0 - ALC1200 Analog
    # Change this line bellow to accord you Analog Device
    slave.pcm "hw:0,0"
}

pcm.2asone_NVHDMI_dmix {
    type dmix
    ipc_key 170310
    # "hw:0,3 is Card 1 Device 3 - ATI HDMI
    # Change this line bellowto accord you HDMI Device
    slave.pcm "hw:0,3"
}

pcm.mic_dsnoop {
    type dsnoop
    ipc_key 15645
    slave {
        # "hw:0,0" is Card 0 Device 0 - ALC1200 Analog
        # I use the mic plugged in the Analog Card
        # Change this line bellow to accord you Mic Device
        pcm "hw:0,0"
    }
}

pcm.2sndcardas1 {
    type multi
    slaves.a.pcm "2asone_NVSB_dmix"
    slaves.a.channels 2
    slaves.b.pcm "2asone_NVHDMI_dmix"
    slaves.b.channels 2

    bindings.0.slave a
    bindings.0.channel 0
    bindings.1.slave a
    bindings.1.channel 1
    bindings.2.slave b
    bindings.2.channel 0
    bindings.3.slave b
    bindings.3.channel 1
}


pcm.2asone {
    type route
    slave.pcm "2sndcardas1"
    ttable.0.0 1
    ttable.1.1 1
    ttable.0.2 1
    ttable.1.3 1
}

# duplex device combining our PCM devices defined above
pcm.2asone_asym {
    type asym
    playback.pcm "2asone"
    capture.pcm "mic_dsnoop"
}

# This is if you don't want set he as default device
# You maybe know how to set up some application
# to use this plug
pcm.2as1plug
{
    type plug
    slave.pcm "2asone"
    # The line commented bellow is for ocasion
    # to use the mic, so comment the line above
    # and uncomment the line bellow
    # slave.pcm "2asone_asym"
    # hint for KDE phonon
    hint {
        show on
        description "HDMI and Analog as One"
    }
}


# Uncomment this to make the output
# to both sound card as system default
# pcm.!default {
#   type plug
#   slave.pcm "2asone_asym"
# }


pcm.!default {
   type plug
   slave.pcm "2asone_asym"
}



------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux