You are not logged in.

#1 2015-10-06 23:00:54

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 624

No sound with Asus Xonar DGX with Pulseaudio without Alsa

Hi.

I would like to ask for some advice and help. My topic is related to this one:
https://bbs.archlinux.org/viewtopic.php?id=196632

I put the same topic name because in fact, it is somewhat similar, but not so closely. I would like to ask for help because this thing that happened to me is strange. But first thing first.



On my Arch setup i use mainly Pulseaudio with some libs that allow program that needs Alsa to run fine - Skype needs it so i hae pulseaudio-alsa installed. Everything works on my old sound card, that was Creative XFI Extreme Gamer - it is PCI device.


Because of stupidity of my brand new motherboard - Gigabyte Z170 HD3P, i need to replace my Creative XFI Extreme Gamer, because motherboard can't see my Adaptec and Digitus raid cards based on Silicon Image SIL 3132 (but it sees older one based on Silicon Image SIL 3114 and it is an PCI device) PCIEx1 devices. I come to a solution, or rather workaround. I will replace my Adaptec and Digitus PCIEx1 devices with Digitus PCI device but in order to do this, i need to replace also my PCI sound, mentioned above, to something with PCIEx1. I bought an Asus Xonar DGX -  PCIEx1 devices.


Asus on Windows works ok. With Arch i have problem. This is default Pulseaudio setup:

1. Pulseaudio configuration section
http://imgur.com/zOFYome

It is in polish but you can see that in "konfiguracja" (configuration) Xonar is being seen and CMI sound chip is being recognised.

2. Pulseaudio out devices
http://imgur.com/w88nw8k

As you can see, there is  my Xonar, there is CMI sound chip. This is where problem started. In section below, with Port name is something called "Słuchawki" - headphones. That's the main problem. See pictures bottom.



Please look at this:

3.This is screenshot from alsamixer with Xonar
http://imgur.com/f57KtES

4.This is also screenshot from alsamixer with Xonar
http://imgur.com/Gkten8W

Please look closely at the third column from the right side to the left side. It is named:

-Stereo Headphones FP
-Multichannel.


My problem, my question is with these two options. I have sound, everything works ok but only when option "Stereo Headphones FP" was changed to "Multichannel" (i saw this on some website, suggesting this).

So, my question is - how to change this option, on a system that uses only PULSEADIO. I'm not able to change it by pavucontrol, because on pavucontrol (picture 2) there are only headphones ("słuchawki") and this box can't be changed, scrolled down or something in order to change "headphones" to "multichannel". Is there a way to change outputs mentioned above without using alsamixer and alsa-utils? If i do not install alsa-utils, i won't be able to change outputs of my Xonar and i won't have sound at all.


Why there is no sound? Because this section refers to headphones for front panel. Pictures 3 and 4 shows that left column named "headphones" is at 100% but there is no sound comes from jacks till i change  "headpones FP" to mentioned "multichannel".


I want to be able to do it without alsa, alsa-utils and alsa related software. It is possible?

Thanks.


Something more - one last question. Why using Pulseaudio needs alsa-tools, alsa-utils? In fact, removing pulseaudio should be better because if i need alsa, i could use only alsa, not pulseaudio that requires alsa tools. That's not the Arch way, not something called KISS. Am i wrong here?

Why i won't use alsa? Becasue updates alsa broke my sound. No sound at because order of outputs from hdmi from my graphic card was being changed and swapped with my sound card - i created /etc/modprobe.d/alsa-base.conf with indexes for cards but it was not used when booting at all.

Last edited by firekage (2015-10-06 23:09:34)

Offline

#2 2015-10-07 17:13:21

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,076

Re: No sound with Asus Xonar DGX with Pulseaudio without Alsa

Pulseaudio uses ALSA's drivers, you can't avoid having some form of ALSA on your system. Usually switches like these can be configured by switching the profile (what other options do you have aside from audio duplex on the configuration tab of pavucontrol?), if this isn't possible you will likely need to use alsamixer, however I generally agree with your sentiment, and for pure volume control it is better to use pulseaudio's capabilities directly. What you can do, if you are bent on going without any ALSA tools, is write a proper pulseaudio profile configuration for your audiocard and the toggleable mixer's you want to expose [1] [2] (I will be getting a Xonar DGX, so I might go ahead and tackle this in the next few weeks if I find the time)

[1] https://wiki.ubuntu.com/Touch/Core/PulseaudioProfiles
[2] http://www.freedesktop.org/wiki/Softwar … /Profiles/

Offline

#3 2015-10-07 17:30:36

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 624

Re: No sound with Asus Xonar DGX with Pulseaudio without Alsa

I'm currently not able to check this things but thanks for your time.

I in pavuconotrol i have a lot of outputs named like:

-5.1
-4.1
-5.1 + IEC
-5.1 + analog input

and so on. But sound is only when in alsamixer i change Headphones FP to multichannel.

Offline

#4 2015-10-15 17:24:56

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 624

Re: No sound with Asus Xonar DGX with Pulseaudio without Alsa

Out of curiosity, because of this thread:

https://bbs.archlinux.org/viewtopic.php?id=184525

and the one otption:

amixer sset 'Analog Output' 'Multichannel'
# or
amixer sset 'Analog Output' 2
# both untested, you would have to figure it out yourself if those two do not work

It is possible to do this with pulseaudio? I tried playing with pacmd sinks, but profiles from pulseaudio does not allow to change anything, at all, to multichannel. There are like these:

[firekage@Arch_BX_100 ~]$ pacmd list
Memory blocks currently allocated: 1, size: 63,9 KiB.
Memory blocks allocated during the whole lifetime: 30138, size: 136,6 MiB.
Memory blocks imported from other processes: 0, size: 0 B.
Memory blocks exported to other processes: 0, size: 0 B.
Total sample cache size: 0 B.
Default sample spec: s16le 2 k 44100 Hz
Default channel map: front-left,front-right
Default sink name: alsa_output.pci-0000_07_04.0.analog-stereo
Default source name: alsa_output.pci-0000_07_04.0.analog-stereo.monitor
Memory blocks of type POOL: 1 allocated/17557 accumulated.
Memory blocks of type POOL_EXTERNAL: 0 allocated/5408 accumulated.
Memory blocks of type APPENDED: 0 allocated/0 accumulated.
Memory blocks of type USER: 0 allocated/0 accumulated.
Memory blocks of type FIXED: 0 allocated/11713 accumulated.
Memory blocks of type IMPORTED: 0 allocated/868 accumulated.
24 module(s) loaded.
    index: 0
        name: <module-device-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the volume/mute state of devices"
                module.version = "7.0"
    index: 1
        name: <module-stream-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the volume/mute/device state of streams"
                module.version = "7.0"
    index: 2
        name: <module-card-restore>
        argument: <>
        used: -1
        load once: yes
        properties:                                                                 
                module.author = "Lennart Poettering"                                
                module.description = "Automatically restore profile of cards"       
                module.version = "7.0"                                                                                                                                                                                                       
    index: 3                                                                                                                                                                                                                                 
        name: <module-augment-properties>                                                                                                                                                                                                    
        argument: <>                                                                                                                                                                                                                         
        used: -1                                                                                                                                                                                                                             
        load once: yes                                                                                                                                                                                                                       
        properties:                                                                                                                                                                                                                          
                module.author = "Lennart Poettering"                                                                                                                                                                                         
                module.description = "Augment the property sets of streams with additional static information"                                                                                                                               
                module.version = "7.0"                                                                                                                                                                                                       
    index: 4                                                                                                                                                                                                                                 
        name: <module-udev-detect>                                                                                                                                                                                                           
        argument: <ignore_dB=1>                                                                                                                                                                                                              
        used: -1                                                                                                                                                                                                                             
        load once: yes                                                                                                                                                                                                                       
        properties:                                                                                                                                                                                                                          
                module.author = "Lennart Poettering"                                                                                                                                                                                         
                module.description = "Detect available audio hardware and load matching drivers"                                                                                                                                             
                module.version = "7.0"                                                                                                                                                                                                       
    index: 5                                                                                                                                                                                                                                 
        name: <module-alsa-card>                                                                                                                                                                                                             
        argument: <device_id="0" name="pci-0000_07_04.0" card_name="alsa_card.pci-0000_07_04.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=yes deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1">                                                                                                                                                                                                                                     
        used: 1                                                                                                                                                                                                                              
        load once: no                                                                                                                                                                                                                        
        properties:                                                                                                                                                                                                                          
                module.author = "Lennart Poettering"                                                                                                                                                                                         
                module.description = "ALSA Card"                                                                                                                                                                                             
                module.version = "7.0"                                                                                                                                                                                                       
    index: 6                                                                                                                                                                                                                                 
        name: <module-esound-protocol-unix>
        argument: <>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "ESOUND protocol (UNIX sockets)"
                module.version = "7.0"
    index: 7
        name: <module-native-protocol-unix>
        argument: <>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "Native protocol (UNIX sockets)"
                module.version = "7.0"
    index: 8
        name: <module-default-device-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the default sink and source"
                module.version = "7.0"
    index: 9
        name: <module-rescue-streams>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
                module.version = "7.0"
    index: 10
        name: <module-always-sink>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Utrzymywanie zawsze co najmniej jednego wczytanego odpływu nawet, jeśli to pusty odpływ"
                module.version = "7.0"
    index: 11
        name: <module-intended-roles>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically set device of streams based on intended roles of devices"
                module.version = "7.0"
    index: 12
        name: <module-suspend-on-idle>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "When a sink/source is idle for too long, suspend it"
                module.version = "7.0"
    index: 13
        name: <module-console-kit>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Create a client for each ConsoleKit session of this user"
                module.version = "7.0"
    index: 14
        name: <module-systemd-login>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Create a client for each login session of this user"
                module.version = "7.0"
    index: 15
        name: <module-position-event-sounds>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
                module.version = "7.0"
    index: 16
        name: <module-role-cork>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Mute & cork streams with certain roles while others exist"
                module.version = "7.0"
    index: 17
        name: <module-filter-heuristics>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Detect when various filters are desirable"
                module.version = "7.0"
    index: 18
        name: <module-filter-apply>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Load filter sinks automatically when needed"
                module.version = "7.0"
    index: 19
        name: <module-device-manager>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Keep track of devices (and their descriptions) both past and present and prioritise by role"
                module.version = "7.0"
    index: 20
        name: <module-equalizer-sink>
        argument: <>
        used: 0
        load once: no
        properties:
                module.author = "Jason Newton"
                module.description = "Korektor graficzny ogólnego przeznaczenia"
                module.version = "7.0"
    index: 21
        name: <module-dbus-protocol>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Tanu Kaskinen"
                module.description = "D-Bus interface"
                module.version = "7.0"
    index: 22
        name: <module-x11-publish>
        argument: <display=:0>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "X11 credential publisher"
                module.version = "7.0"
    index: 23
        name: <module-cli-protocol-unix>
        argument: <>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "Command line interface protocol (UNIX sockets)"
                module.version = "7.0"
2 sink(s) available.
  * index: 0
        name: <alsa_output.pci-0000_07_04.0.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 9059
        volume: front-left: 65536 / 100%,   front-right: 65536 / 100%
                balance 0,00
        base volume: 65536 / 100%
        volume steps: 256
        muted: no
        current latency: 0,00 ms
        max request: 0 KiB
        max rewind: 0 KiB
        monitor source: 0
        sample spec: s16le 2 k 48000 Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 1
        configured latency: 0,00 ms; range is 0,50 .. 1837,50 ms
        card: 0 <alsa_card.pci-0000_07_04.0>
        module: 5
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "Multichannel"
                alsa.id = "Multichannel"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "Xonar DGX"
                alsa.long_card_name = "C-Media Oxygen HD Audio at 0xc000, irq 19"
                alsa.driver_name = "snd_oxygen"
                device.bus_path = "pci-0000:07:04.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1c.7/0000:06:00.0/0000:07:04.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "13f6"
                device.vendor.name = "C-Media Electronics Inc"
                device.product.id = "8788"
                device.product.name = "CMI8788 [Oxygen HD Audio]"
                device.string = "front:0"
                device.buffering.buffer_size = "352800"
                device.buffering.fragment_size = "352800"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analogowe stereo"
                device.description = "CMI8788 [Oxygen HD Audio] Analogowe stereo"
                alsa.mixer_name = "CMI8786"
                alsa.components = "CS4245 CMI8786"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-output-headphones: Słuchawki (priority 9000, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-headphones"
        active port: <analog-output-headphones>
    index: 1
        name: <alsa_output.pci-0000_07_04.0.analog-stereo.equalizer>
        driver: <module-equalizer-sink.c>
        flags: HW_MUTE_CTRL LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 1000
        volume: front-left: 65536 / 100%,   front-right: 65536 / 100%
                balance 0,00
        base volume: 65536 / 100%
        volume steps: 65537
        muted: no
        current latency: 0,00 ms
        max request: 0 KiB
        max rewind: 0 KiB
        monitor source: 2
        sample spec: float32le 2 k 44100 Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 1837,50 ms
        module: 20
        properties:
                device.description = "FFT based equalizer on CMI8788 [Oxygen HD Audio] Analogowe stereo"
                device.master_device = "alsa_output.pci-0000_07_04.0.analog-stereo"
                device.class = "filter"
                device.icon_name = "audio-card"
3 source(s) available.
  * index: 0
        name: <alsa_output.pci-0000_07_04.0.analog-stereo.monitor>
        driver: <module-alsa-card.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 1050
        volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
                balance 0,00
        base volume: 65536 / 100% / 0,00 dB
        volume steps: 65537
        muted: no
        current latency: 0,00 ms
        max rewind: 0 KiB
        sample spec: s16le 2 k 48000 Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 1837,50 ms
        monitor_of: 0
        card: 0 <alsa_card.pci-0000_07_04.0>
        module: 5
        properties:
                device.description = "Monitor of CMI8788 [Oxygen HD Audio] Analogowe stereo"
                device.class = "monitor"
                alsa.card = "0"
                alsa.card_name = "Xonar DGX"
                alsa.long_card_name = "C-Media Oxygen HD Audio at 0xc000, irq 19"
                alsa.driver_name = "snd_oxygen"
                device.bus_path = "pci-0000:07:04.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1c.7/0000:06:00.0/0000:07:04.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "13f6"
                device.vendor.name = "C-Media Electronics Inc"
                device.product.id = "8788"
                device.product.name = "CMI8788 [Oxygen HD Audio]"
                device.string = "0"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
    index: 1
        name: <alsa_input.pci-0000_07_04.0.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 9059
        volume: front-left: 28672 /  44%,   front-right: 28672 /  44%
                balance 0,00
        base volume: 65536 / 100%
        volume steps: 49
        muted: no
        current latency: 0,00 ms
        max rewind: 0 KiB
        sample spec: s16le 2 k 44100 Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 743,04 ms
        card: 0 <alsa_card.pci-0000_07_04.0>
        module: 5
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "Multichannel"
                alsa.id = "Multichannel"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "Xonar DGX"
                alsa.long_card_name = "C-Media Oxygen HD Audio at 0xc000, irq 19"
                alsa.driver_name = "snd_oxygen"
                device.bus_path = "pci-0000:07:04.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1c.7/0000:06:00.0/0000:07:04.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "13f6"
                device.vendor.name = "C-Media Electronics Inc"
                device.product.id = "8788"
                device.product.name = "CMI8788 [Oxygen HD Audio]"
                device.string = "front:0"
                device.buffering.buffer_size = "131072"
                device.buffering.fragment_size = "131072"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analogowe stereo"
                device.description = "CMI8788 [Oxygen HD Audio] Analogowe stereo"
                alsa.mixer_name = "CMI8786"
                alsa.components = "CS4245 CMI8786"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-input-front-mic: Przedni mikrofon (priority 8500, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-mic: Mikrofon (priority 8700, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-linein: Wejście liniowe (priority 8100, latency offset 0 usec, available: unknown)
                        properties:

                analog-input-aux: Wejście analogowe (priority 8000, latency offset 0 usec, available: unknown)
                        properties:

        active port: <analog-input-mic>
    index: 2
        name: <alsa_output.pci-0000_07_04.0.analog-stereo.equalizer.monitor>
        driver: <module-equalizer-sink.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 1000
        volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
                balance 0,00
        base volume: 65536 / 100% / 0,00 dB
        volume steps: 65537
        muted: no
        current latency: 0,00 ms
        max rewind: 0 KiB
        sample spec: float32le 2 k 44100 Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 1837,50 ms
        monitor_of: 1
        module: 20
        properties:
                device.description = "Monitor of FFT based equalizer on CMI8788 [Oxygen HD Audio] Analogowe stereo"
                device.class = "monitor"
                device.icon_name = "audio-input-microphone"
9 client(s) logged in.
    index: 0
        driver: <module-systemd-login.c>
        owner module: 14
        properties:
                application.name = "Login Session c2"
                systemd-login.session = "c2"
    index: 6
        driver: <protocol-native.c>
        owner module: 7
        properties:
                application.name = "KMix"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "30"
                application.process.id = "715"
                application.process.user = "firekage"
                application.process.host = "Arch_BX_100"
                application.process.binary = "kmix"
                application.language = "pl_PL.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "3d5563a206c0491eb013d31fb86ee4dc"
                application.process.session_id = "c2"
                application.icon_name = "kmix"
    index: 7
        driver: <protocol-native.c>
        owner module: 7
        properties:
                application.name = "QPulse"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "30"
                application.process.id = "640"
                application.process.user = "firekage"
                application.process.host = "Arch_BX_100"
                application.process.binary = "plasmashell"
                application.language = "pl_PL.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "3d5563a206c0491eb013d31fb86ee4dc"
                application.process.session_id = "c2"
    index: 9
        driver: <protocol-native.c>
        owner module: 7
        properties:
                application.name = "KMix"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "30"
                application.process.id = "546"
                application.process.user = "firekage"
                application.process.host = "Arch_BX_100"
                application.process.binary = "kdeinit5"
                application.language = "pl_PL.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "3d5563a206c0491eb013d31fb86ee4dc"
                application.process.session_id = "c2"
    index: 10
        driver: <protocol-native.c>
        owner module: 7
        properties:
                application.name = "Pidgin"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "30"
                window.x11.display = ":0"
                window.x11.screen = "0"
                application.process.id = "910"
                application.process.user = "firekage"
                application.process.host = "Arch_BX_100"
                application.process.binary = "pidgin"
                application.language = "pl_PL.UTF-8"
                application.process.machine_id = "3d5563a206c0491eb013d31fb86ee4dc"
                application.process.session_id = "c2"
                application.icon_name = "pidgin"
    index: 20
        driver: <protocol-native.c>
        owner module: 7
        properties:
                application.name = "Skype"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "30"
                application.process.id = "1837"
                application.process.user = "firekage"
                application.process.host = "Arch_BX_100"
                application.process.binary = "skype"
                application.language = "pl_PL.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "3d5563a206c0491eb013d31fb86ee4dc"
                application.process.session_id = "c2"
                application.icon_name = "skype.png"
    index: 21
        driver: <protocol-native.c>
        owner module: 7
        properties:
                application.name = "Firefox"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "30"
                window.x11.display = ":0"
                window.x11.screen = "0"
                application.process.id = "1921"
                application.process.user = "firekage"
                application.process.host = "Arch_BX_100"
                application.process.binary = "firefox"
                application.language = "pl_PL.UTF-8"
                application.process.machine_id = "3d5563a206c0491eb013d31fb86ee4dc"
                application.process.session_id = "c2"
                application.icon_name = "firefox"
    index: 22
        driver: <protocol-native.c>
        owner module: 7
        properties:
                application.name = "Firefox"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "30"
                application.icon_name = "firefox"
                application.version = "41.0.1"
                application.process.id = "1921"
                application.process.user = "firekage"
                application.process.host = "Arch_BX_100"
                application.process.binary = "firefox"
                window.x11.display = ":0"
                application.language = "pl_PL.UTF-8"
                application.process.machine_id = "3d5563a206c0491eb013d31fb86ee4dc"
                application.process.session_id = "c2"
    index: 27
        driver: <cli.c>
        owner module: 23
        properties:
                application.name = "UNIX socket client"
1 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_07_04.0>
        driver: <module-alsa-card.c>
        owner module: 5
        properties:
                alsa.card = "0"
                alsa.card_name = "Xonar DGX"
                alsa.long_card_name = "C-Media Oxygen HD Audio at 0xc000, irq 19"
                alsa.driver_name = "snd_oxygen"
                device.bus_path = "pci-0000:07:04.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1c.7/0000:06:00.0/0000:07:04.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "13f6"
                device.vendor.name = "C-Media Electronics Inc"
                device.product.id = "8788"
                device.product.name = "CMI8788 [Oxygen HD Audio]"
                device.string = "0"
                device.description = "CMI8788 [Oxygen HD Audio]"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                input:analog-stereo: Wejście Analogowe stereo (priority 60, available: unknown)
                input:iec958-stereo: Wejście Cyfrowe stereo (IEC958) (priority 55, available: unknown)
                output:analog-stereo: Wyjście Analogowe stereo (priority 6000, available: unknown)
                output:analog-stereo+input:analog-stereo: Analogowy dupleks stereo (priority 6060, available: unknown)
                output:analog-stereo+input:iec958-stereo: Wyjście Analogowe stereo + Wejście Cyfrowe stereo (IEC958) (priority 6055, available: unknown)
                output:analog-surround-40: Wyjście Analogowe surround 4.0 (priority 700, available: unknown)
                output:analog-surround-40+input:analog-stereo: Wyjście Analogowe surround 4.0 + Wejście Analogowe stereo (priority 760, available: unknown)
                output:analog-surround-40+input:iec958-stereo: Wyjście Analogowe surround 4.0 + Wejście Cyfrowe stereo (IEC958) (priority 755, available: unknown)
                output:analog-surround-41: Wyjście Analogowe surround 4.1 (priority 800, available: unknown)
                output:analog-surround-41+input:analog-stereo: Wyjście Analogowe surround 4.1 + Wejście Analogowe stereo (priority 860, available: unknown)
                output:analog-surround-41+input:iec958-stereo: Wyjście Analogowe surround 4.1 + Wejście Cyfrowe stereo (IEC958) (priority 855, available: unknown)
                output:analog-surround-50: Wyjście Analogowe surround 5.0 (priority 700, available: unknown)
                output:analog-surround-50+input:analog-stereo: Wyjście Analogowe surround 5.0 + Wejście Analogowe stereo (priority 760, available: unknown)
                output:analog-surround-50+input:iec958-stereo: Wyjście Analogowe surround 5.0 + Wejście Cyfrowe stereo (IEC958) (priority 755, available: unknown)
                output:analog-surround-51: Wyjście Analogowe surround 5.1 (priority 800, available: unknown)
                output:analog-surround-51+input:analog-stereo: Wyjście Analogowe surround 5.1 + Wejście Analogowe stereo (priority 860, available: unknown)
                output:analog-surround-51+input:iec958-stereo: Wyjście Analogowe surround 5.1 + Wejście Cyfrowe stereo (IEC958) (priority 855, available: unknown)
                output:iec958-stereo: Wyjście Cyfrowe stereo (IEC958) (priority 5500, available: unknown)
                output:iec958-stereo+input:analog-stereo: Wyjście Cyfrowe stereo (IEC958) + Wejście Analogowe stereo (priority 5560, available: unknown)
                output:iec958-stereo+input:iec958-stereo: Cyfrowy dupleks stereo (IEC958) (priority 5555, available: unknown)
                off: Wyłączone (priority 0, available: unknown)
        active profile: <output:analog-stereo+input:analog-stereo>
        sinks:
                alsa_output.pci-0000_07_04.0.analog-stereo/#0: CMI8788 [Oxygen HD Audio] Analogowe stereo
        sources:
                alsa_output.pci-0000_07_04.0.analog-stereo.monitor/#0: Monitor of CMI8788 [Oxygen HD Audio] Analogowe stereo
                alsa_input.pci-0000_07_04.0.analog-stereo/#1: CMI8788 [Oxygen HD Audio] Analogowe stereo
        ports:
                analog-input-front-mic: Przedni mikrofon (priority 8500, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-mic: Mikrofon (priority 8700, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-linein: Wejście liniowe (priority 8100, latency offset 0 usec, available: unknown)
                        properties:

                analog-input-aux: Wejście analogowe (priority 8000, latency offset 0 usec, available: unknown)
                        properties:

                iec958-stereo-input: Wejście cyfrowe (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
                        properties:

                analog-output-headphones: Słuchawki (priority 9000, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-headphones"
                analog-output: Wyjście analogowe (priority 9900, latency offset 0 usec, available: unknown)
                        properties:

                iec958-stereo-output: Wyjście cyfrowe (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
                        properties:

1 sink input(s) available.
    index: 0
        driver: <module-equalizer-sink.c>
        flags: 
        state: CORKED
        sink: 0 <alsa_output.pci-0000_07_04.0.analog-stereo>
        volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
                balance 0,00
        muted: no
        current latency: 0,00 ms
        requested latency: n/a
        sample spec: float32le 2 k 44100 Hz
        channel map: front-left,front-right
                     Stereo
        resample method: speex-float-1
        module: 20
        properties:
                media.name = "Equalized Stream"
                media.role = "filter"
                module-stream-restore.id = "sink-input-by-media-role:filter"
0 source output(s) available.
0 cache entrie(s) available.
[firekage@Arch_BX_100 ~]$ 

and sinks with pacmd list-sinks

[firekage@Arch_BX_100 ~]$ pacmd list-sinks
2 sink(s) available.
  * index: 0
        name: <alsa_output.pci-0000_07_04.0.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 9059
        volume: front-left: 65536 / 100%,   front-right: 65536 / 100%
                balance 0,00
        base volume: 65536 / 100%
        volume steps: 256
        muted: no
        current latency: 0,00 ms
        max request: 0 KiB
        max rewind: 0 KiB
        monitor source: 0
        sample spec: s16le 2 k 48000 Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 1
        configured latency: 0,00 ms; range is 0,50 .. 1837,50 ms
        card: 0 <alsa_card.pci-0000_07_04.0>
        module: 5
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "Multichannel"
                alsa.id = "Multichannel"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "Xonar DGX"
                alsa.long_card_name = "C-Media Oxygen HD Audio at 0xc000, irq 19"
                alsa.driver_name = "snd_oxygen"
                device.bus_path = "pci-0000:07:04.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1c.7/0000:06:00.0/0000:07:04.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "13f6"
                device.vendor.name = "C-Media Electronics Inc"
                device.product.id = "8788"
                device.product.name = "CMI8788 [Oxygen HD Audio]"
                device.string = "front:0"
                device.buffering.buffer_size = "352800"
                device.buffering.fragment_size = "352800"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analogowe stereo"
                device.description = "CMI8788 [Oxygen HD Audio] Analogowe stereo"
                alsa.mixer_name = "CMI8786"
                alsa.components = "CS4245 CMI8786"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-output-headphones: Słuchawki (priority 9000, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-headphones"
        active port: <analog-output-headphones>
    index: 1
        name: <alsa_output.pci-0000_07_04.0.analog-stereo.equalizer>
        driver: <module-equalizer-sink.c>
        flags: HW_MUTE_CTRL LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 1000
        volume: front-left: 65536 / 100%,   front-right: 65536 / 100%
                balance 0,00
        base volume: 65536 / 100%
        volume steps: 65537
        muted: no
        current latency: 0,00 ms
        max request: 0 KiB
        max rewind: 0 KiB
        monitor source: 2
        sample spec: float32le 2 k 44100 Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 1837,50 ms
        module: 20
        properties:
                device.description = "FFT based equalizer on CMI8788 [Oxygen HD Audio] Analogowe stereo"
                device.master_device = "alsa_output.pci-0000_07_04.0.analog-stereo"
                device.class = "filter"
                device.icon_name = "audio-card"
[firekage@Arch_BX_100 ~]$ 

while they said about "Multichannel" in alsa and in fact, changing "Stereo Headphones FP" to "Multichannel", works, so it is possible to choose it with pulseaudio?

Last edited by firekage (2015-10-15 17:29:44)

Offline

#5 2015-10-15 19:03:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,076

Re: No sound with Asus Xonar DGX with Pulseaudio without Alsa

Those flip switch like controls have never easily been switchable in pulseaudio iirc, it's not exclusive to this card, e.g. my earlier card had a Auto-Mute switch to keep speakers on/off on headphone plugin which I also had to flip in alsamixer or amixer. But when I read those links I posted correctly one should technically be able to set something up so that this becomes switchable via pulseaudio profiles, from what I gather those files don't really exist yet for this card so we would have to write them. I have my Xonar now so I'm going to experiment some

Offline

#6 2015-10-16 13:23:12

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 624

Re: No sound with Asus Xonar DGX with Pulseaudio without Alsa

I tried to play with pulseaudio profiles but all of them are something like

-analog output
-analog oputput + digital input
-51 audio channel output and so on

There is no single one named "multichannel".  "Multichannel" is only visible in alsamixer and related to "Headphones FP" - one output, two possibilities to choose from. Pulseaudio and tools for it, like pavucontrol and so on, won''t allow to change it. KDE alsa sees only "headphones".

Last edited by firekage (2015-10-16 13:23:52)

Offline

Board footer

Powered by FluxBB