[pulseaudio-discuss] observations using 9.15 test2

Florian Demmer florian at demmer.org
Sun Feb 15 09:21:47 PST 2009


i installed test2 to get spdif working primarily, but also found this
behavior:

channel order/map wrong with module-detect:
- when using module-detect hw:0 is detected with 6channels. when playing
2ch audio, rear-left and rear-right are used (tested by muting one
channel after the other)
- when using module-hal-detect front:0 is detected which is only 2ch
- when manually configuring hw:0 with the following line:
load-module module-alsa-sink device=hw:0 channels=6
channel_map=rear-left,rear-right,front-left,front-right,front-center,lfe
front-left and front-right are used correctly

about the new profile detection:
- with hal-detect (detect lists 0 cards, that's by design i guess?)
>>> ist-cards
1 card(s) available.
    index: 0
        name: <alsa_card.pci_8086_284b_sound_card_0>
        driver: <module-alsa-card.c>
        owner module: 0
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel"
                alsa.long_card_name = "HDA Intel at 0xfdff4000 irq 22"
                alsa.driver_name = "snd_hda_intel"
                hal.udi =
"/org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0"
                hal.product = "HDA Intel Sound Card"
                hal.card_id = "HDA Intel"
                device.string = "0"
        profiles:
                output-analog-stereo+input-analog-stereo: Output Analog
Stereo + Input Analog Stereo (priority 1010)
                output-analog-stereo+input-iec958-stereo: Output Analog
Stereo + Input IEC958 Digital Stereo (priority 1005)
                output-analog-stereo: Output Analog Stereo (priority 1000)
                output-iec958-stereo+input-analog-stereo: Output IEC958
Digital Stereo + Input Analog Stereo (priority 510)
                output-iec958-stereo+input-iec958-stereo: Output IEC958
Digital Stereo + Input IEC958 Digital Stereo (priority 505)
                output-iec958-stereo: Output IEC958 Digital Stereo
(priority 500)
                output-analog-surround-40+input-analog-stereo: Output
Analog Surround 4.0 + Input Analog Stereo (priority 710)
                output-analog-surround-40+input-iec958-stereo: Output
Analog Surround 4.0 + Input IEC958 Digital Stereo (priority 705)
                output-analog-surround-40: Output Analog Surround 4.0
(priority 700)
                output-analog-surround-41+input-analog-stereo: Output
Analog Surround 4.1 + Input Analog Stereo (priority 710)
                output-analog-surround-41+input-iec958-stereo: Output
Analog Surround 4.1 + Input IEC958 Digital Stereo (priority 705)
                output-analog-surround-41: Output Analog Surround 4.1
(priority 700)
                output-analog-surround-50+input-analog-stereo: Output
Analog Surround 5.0 + Input Analog Stereo (priority 710)
                output-analog-surround-50+input-iec958-stereo: Output
Analog Surround 5.0 + Input IEC958 Digital Stereo (priority 705)
                output-analog-surround-50: Output Analog Surround 5.0
(priority 700)
                output-analog-surround-51+input-analog-stereo: Output
Analog Surround 5.1 + Input Analog Stereo (priority 810)
                output-analog-surround-51+input-iec958-stereo: Output
Analog Surround 5.1 + Input IEC958 Digital Stereo (priority 805)
                output-analog-surround-51: Output Analog Surround 5.1
(priority 800)
                input-analog-stereo: Input Analog Stereo (priority 10)
                input-iec958-stereo: Input IEC958 Digital Stereo
(priority 5)
                off: Off (priority 0)
        active profile: <output-analog-stereo+input-analog-stereo>
        sinks:
                alsa_output.pci_8086_284b_sound_card_0/#0: HDA Intel -
ALC888 Analog
        sources:
                alsa_output.pci_8086_284b_sound_card_0.monitor/#0:
Monitor of HDA Intel - ALC888 Analog
                alsa_input.pci_8086_284b_sound_card_0/#1: HDA Intel -
ALC888 Analog

- why is there no "output-analog-surround-51+output-iec958-stereo"!?
only with input-iec958!
- i can configure analog and digital output manually using:
load-module module-alsa-sink device=surround51:CARD=Intel,DEV=0
sink_name=analog_out
load-module module-alsa-sink device=iec958:CARD=Intel,DEV=0
sink_name=digital_out
.. and both outputs work (at least in stereo)

- also why is the digital out only detected as 2ch? (manually configuring
to 6ch results in error)
.. is this an alsa limitiation? pulseaudio detection problem? (hardware?)


module-combine does not work anymore:
E: module-combine.c: failed to parse module arguments
E: module.c: Failed to load  module "module-combine" (argument:
"sink_name=combined master=analog_out slaves=digital_out"):
initialization failed.
E: main.c: Module load failed.
E: main.c: Failed to initialize daemon.
configured with:
load-module module-combine sink_name=combined master=analog_out
slaves=digital_out
(other sinks as above)
.. did the parameterlist change?

more hardware info (alsa 1.0.17):
root at blackpearl:~# aplay -L
front:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC888 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=Intel,DEV=0
    HDA Intel
    HDMI Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)
root at blackpearl:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
Controller (rev 03)
        Subsystem: AOPEN Inc. Device 062d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 22
        Region 0: Memory at fdff4000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+
Queue=0/0 Enable-
                Address: 0000000000000000  Data: 0000
        Capabilities: [70] Express (v1) Root Complex Integrated Endpoint,
MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s
<64ns, L1 <1us
                        ExtTag- RBE- FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+
TransPend-
                LnkCap: Port #0, Speed unknown, Width x0, ASPM unknown,
Latency L0 <64ns, L1 <1us
                        ClockPM- Suprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; Disabled- Retrain- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed unknown, Width x0, TrErr- Train- SlotClk-
DLActive- BWMgmt- ABWMgmt-
        Capabilities: [100] Virtual Channel <?>
        Capabilities: [130] Root Complex Link <?>
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel




More information about the pulseaudio-discuss mailing list